cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stu Hood (JIRA)" <>
Subject [jira] Commented: (CASSANDRA-1024) Latency Histograms
Date Wed, 28 Apr 2010 22:37:48 GMT


Stu Hood commented on CASSANDRA-1024:

Hey Ryan, this looks good.

As discussed in IRC, can you:
* Use Arrays.binarySearch in EstimatedHistogram
* Either statically calculate or explain in a comment the calculation of the buckets
* I don't think it is a big deal, but in EstimatedHistogram.get(boolean), you swap the reference
to the buckets without synchronization. The caller should just get the missed updates the
next time he comes around.

Also, would you mind cleaning this up for a little


> Latency Histograms
> ------------------
>                 Key: CASSANDRA-1024
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Ryan King
>            Assignee: Ryan King
>            Priority: Minor
>         Attachments: 1024.patch
> In addition to total and recent latency, I would like to keep track of histograms. We
have a way for doing estimated histograms (whose error domain gets worse the higher the latency
and whose storage requirements are constant). It works pretty well for us:
> I'm planning on doing the work, but wanted to know if it would be useful to others.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message