metrics performance

126 views
Skip to first unread message

Yair Ogen

unread,
Mar 2, 2014, 9:22:36 AM3/2/14
to metric...@googlegroups.com
I want to use this fine library for TPS calculation using the sliding window support.

Is it safe to use this in a critical path? Was this tested in highly concurrent environments?

Erik van Oosten

unread,
Mar 3, 2014, 1:50:32 PM3/3/14
to metric...@googlegroups.com, Yair Ogen
Hi Yair,

If you dig a little in the source code, you'll see that Coda Hale knows what he's doing :)

Metrics was developed for Yammer, I am guessing a highly concurrent system. I am also using it in several critical paths in a highly concurrent systems (10K+ threads).

Be careful if you're going to use the spiral window counter from ssch...@jibe.com's last mail. In its current form it has a synchronized block so it might be less suitable for highly concurrency environments.

Kind regards,
     Erik.


Op Sun Mar 2 15:22:36 2014, Yair Ogen schreef:
--
You received this message because you are subscribed to the Google
Groups "metrics-user" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to metrics-user...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/
Reply all
Reply to author
Forward
0 new messages