Hi Paul,

I had a little research on availability of latency statistics. There are 2
types of latency values which can be retrieved from Cassandra jmx mbeans.

1) Read/write latency for keyspaces
2) Read/write latency for column families

The first one is calculated by (total time spent for requests *since server
started*)/(number of requests *since server started*),

and the second one is calculated by (total time spent for requests *since
last call to jmx mbean*)/(number of requests *since last call to jmx mbean*
).

So, to have an average value for latency, it seems the first one is more
suitable. So I'm going to use those values as latency. Since I have
read/write counts as well, average latency for whole system can be
calculated.

Thanks.



On Thu, May 9, 2013 at 3:52 PM, Paul Fremantle <[email protected]> wrote:

> Very nice. Is there any way we can get average ms per read and write? I
> know that is important to many users.
>
> Paul
>
>
> On 9 May 2013 11:07, Bhathiya Jayasekara <[email protected]> wrote:
>
>> Hi Prabath,
>>
>> As you suggested, I wrote a simple table gadget to show other relevant
>> statistics too. Comments are welcome.
>>
>> I'm attaching screenshots of the gadgets herewith.
>>
>> Thanks.
>>
>>
>> On Thu, May 9, 2013 at 11:22 AM, Prabath Abeysekera <[email protected]>wrote:
>>
>>> Hi Bhathiya,
>>>
>>> On Thu, May 9, 2013 at 10:10 AM, Bhathiya Jayasekara 
>>> <[email protected]>wrote:
>>>
>>>> Hi devs,
>>>>
>>>> I started working on [1] few weeks back. The initial milestone is to
>>>> implement Cassandra data publishing, analyzing and monitoring part. The
>>>> billing task will be done later. Currently I have completed Cassandra disk
>>>> space usage and node status monitoring implementation. So with this now,
>>>> Cassandra disk space usages can be monitored in different time periods such
>>>> as "in last hour", "in last day", "in last week" and in "last month".
>>>>
>>>> In addition to disk space usage, other statistics such as sstablecount,
>>>> read and write counts etc. are also published and analyzed now, and can be
>>>> added to monitoring dashboard if required. (Need to write gadgets
>>>> accordingly)
>>>>
>>>
>>> Good work. Please attach a few screenshots of the available dashboard
>>> artifacts you've come up with too. Also, I believe, if possible, writing a
>>> few other gadgets to display the information on read/write counts,
>>> latency, sstablecounts, etc too would be helpful to make it a more complete
>>> toolbox. (Referring your mail, I hope it's going to be straightforward as
>>> the necessary information is already available.)
>>>
>>>
>>>>
>>>> Currently data publishing and viewing is available for super tenant
>>>> only, and I'm planning to extend it to tenant level.
>>>>
>>>> [1] https://redmine.wso2.com/issues/1163
>>>>
>>>>
>>>> Thanks.
>>>>
>>>> --
>>>> *Bhathiya Jayasekara*
>>>> *Software Engineer,*
>>>> *WSO2 inc., http://wso2.com*
>>>> *
>>>> *
>>>> *Phone: +94715478185*
>>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj*
>>>> *Twitter: https://twitter.com/bhathiyax*
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>> Regards,
>>> Prabath
>>> --
>>> Prabath Abeysekara
>>> Email: [email protected] <[email protected]>
>>> Mobile: +94774171471
>>>
>>> <http://harshana05.blogspot.com/>
>>>
>>
>>
>>
>> --
>> *Bhathiya Jayasekara*
>> *Software Engineer,*
>> *WSO2 inc., http://wso2.com*
>> *
>> *
>> *Phone: +94715478185*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj*
>> *Twitter: https://twitter.com/bhathiyax*
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Paul Fremantle
> CTO and Co-Founder, WSO2
> OASIS WS-RX TC Co-chair, VP, Apache Synapse
>
> UK: +44 207 096 0336
> US: +1 646 595 7614
>
> blog: http://pzf.fremantle.org
> twitter.com/pzfreo
> [email protected]
>
> wso2.com Lean Enterprise Middleware
>
> Disclaimer: This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may have
> received this communication in error, please reply to the sender indicating
> that fact and delete the copy you received and in addition, you should not
> print, copy, retransmit, disseminate, or otherwise use the information
> contained in this communication. Internet communications cannot be
> guaranteed to be timely, secure, error or virus-free. The sender does not
> accept liability for any errors or omissions.
>



-- 
*Bhathiya Jayasekara*
*Software Engineer,*
*WSO2 inc., http://wso2.com*
*
*
*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj*
*Twitter: https://twitter.com/bhathiyax*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to