Skip to content

Instantly share code, notes, and snippets.

@goyox86
Created April 4, 2018 11:06
Show Gist options
  • Save goyox86/abbcf36f9df203430a5109254ae3b51d to your computer and use it in GitHub Desktop.
Save goyox86/abbcf36f9df203430a5109254ae3b51d to your computer and use it in GitHub Desktop.
Results of a memcached ruby clients benchmark
================== memcached ==================
user system total real
memcached:set 0.390000 0.430000 0.820000 ( 2.312446)
memcached:set:plain 0.880000 0.890000 1.770000 ( 4.815406)
memcached:get 0.450000 0.490000 0.940000 ( 6.856909)
memcached:get:plain 0.960000 1.020000 1.980000 ( 14.312675)
memcached:multiget 0.350000 0.180000 0.530000 ( 5.529004)
memcached:missing 0.950000 0.950000 1.900000 ( 4.950421)
memcached:mixed 1.730000 1.960000 3.690000 ( 20.680805)
================== dalli ==================
user system total real
dalli:set 1.740000 0.780000 2.520000 ( 13.205835)
dalli:set:plain 3.380000 1.590000 4.970000 ( 26.552834)
dalli:get 1.670000 0.860000 2.530000 ( 9.243547)
dalli:get:plain 3.220000 1.640000 4.860000 ( 16.757876)
dalli:multiget 2.590000 0.810000 3.400000 ( 11.371127)
dalli:missing 2.940000 1.640000 4.580000 ( 20.854648)
dalli:mixed 6.660000 3.150000 9.810000 ( 41.065831)
================== memcached_store ==================
user system total real
memcached_store:mixed 4.420000 1.810000 6.230000 ( 16.350682)
memcached_store:mixed:rails-localcache 4.180000 1.430000 5.610000 ( 13.142938)
memcached_store:set 1.390000 0.540000 1.930000 ( 3.607354)
memcached_store:set:rails-localcache 1.460000 0.540000 2.000000 ( 3.642392)
memcached_store:get 1.270000 0.550000 1.820000 ( 8.010513)
memcached_store:get:rails-localcache 1.430000 0.560000 1.990000 ( 8.516457)
memcached_store:big_read_multi 5.460000 1.760000 7.220000 ( 39.234454)
memcached_store:big_read_multi:rails-localcache 4.360000 1.190000 5.550000 ( 29.030408)
================== dalli_store ==================
user system total real
dalli_store:mixed W, [2018-04-04T12:01:58.839083 #12421] WARN -- : localhost:11211 failed (count: 0) Timeout::Error: IO timeout
W, [2018-04-04T12:02:13.117401 #12421] WARN -- : localhost:11211 failed (count: 0) Timeout::Error: IO timeout
7.800000 2.640000 10.440000 ( 49.641606)
dalli_store:mixed:rails-localcache 7.260000 2.240000 9.500000 ( 30.309717)
dalli_store:set 2.290000 0.750000 3.040000 ( 12.974564)
dalli_store:set:rails-localcache 2.400000 0.780000 3.180000 ( 12.885327)
dalli_store:get 2.290000 0.860000 3.150000 ( 8.787069)
dalli_store:get:rails-localcache 2.390000 0.840000 3.230000 ( 8.788212)
dalli_store:big_read_multi 12.350000 3.750000 16.100000 ( 40.352986)
dalli_store:big_read_multi:rails-localcache 4.820000 0.950000 5.770000 ( 11.977637)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment