[erlang-questions] Re: 20k messages in 4s but want to go faster!

Joel Reymont joelr1@REDACTED
Tue Jul 14 00:13:33 CEST 2009


On Jul 13, 2009, at 9:04 PM, Dave Smith wrote:

> Based solely on your numbers, I think it's clear you're dealing with a
> pretty skewed latency distribution and you should find a histogram
> enlightening. :)


Something like this?

I split maximum time into 10 buckets and counted the latencies falling  
into them.

	Thanks, Joel

---

setup: 4191.96ms, n: 10000, run time: 6278.44ms
min: 2.05ms, avg: 2011.78ms, max: 2011.94ms

   201.1936ms | 362
   402.3872ms | 374
   603.5808ms | 673
   804.7744ms | 802
  1005.9680ms | 928
  1207.1616ms | 1015
  1408.3552ms | 1151
  1609.5488ms | 1296
  1810.7424ms | 1493
  2011.9360ms | 1906

setup: 576644.57ms, n: 20000, run time: 583199.64ms
min: 1.95ms, avg: 6397.46ms, max: 6397.54ms
   639.7537ms | 926
  1279.5074ms | 894
  1919.2611ms | 1054
  2559.0148ms | 1393
  3198.7685ms | 1580
  3838.5222ms | 1735
  4478.2759ms | 2053
  5118.0296ms | 2319
  5757.7833ms | 3184
  6397.5370ms | 4862

---
Mac hacker with a performance bent
http://www.linkedin.com/in/joelreymont



More information about the erlang-questions mailing list