{"id":29586636,"url":"https://github.com/basecamp/memcached_bench","last_synced_at":"2025-07-20T03:31:14.193Z","repository":{"id":25766724,"uuid":"29204915","full_name":"basecamp/memcached_bench","owner":"basecamp","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-19T01:38:01.000Z","size":23,"stargazers_count":7,"open_issues_count":8,"forks_count":3,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-07-18T05:34:48.103Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/basecamp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-13T18:43:01.000Z","updated_at":"2025-05-31T03:14:17.000Z","dependencies_parsed_at":"2023-02-10T19:30:17.992Z","dependency_job_id":null,"html_url":"https://github.com/basecamp/memcached_bench","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/basecamp/memcached_bench","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basecamp%2Fmemcached_bench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basecamp%2Fmemcached_bench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basecamp%2Fmemcached_bench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basecamp%2Fmemcached_bench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/basecamp","download_url":"https://codeload.github.com/basecamp/memcached_bench/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basecamp%2Fmemcached_bench/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266063095,"owners_count":23870716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-20T03:30:53.385Z","updated_at":"2025-07-20T03:31:14.168Z","avatar_url":"https://github.com/basecamp.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Memcached Client Benchmarking\n\n## What clients?\n\n- [memcache-client](https://github.com/mperham/memcache-client)\n- [memcached](https://github.com/evan/memcached)\n- [dalli](https://github.com/mperham/dalli)\n- mem_cache_store\n- [memcached_store](https://github.com/Shopify/memcached_store)\n- dalli_store\n\n## How?\nDownload and Bundle\n```\ngit clone git@github.com:basecamp/memcached_bench.git \u0026\u0026 cd memcached_bench\nbundle install\n```\nStart local memcached instance:\n```\nmemcached -vv -m 64\n```\nRun benchmarks:\n```\n./memcached_bench\n```\n\n## Example Results\n\u003c!-- results_table --\u003e\n```\n================== mem_cache ==================\n                                                                                  user     system      total        real\nmem_cache:set                                                                 1.160000   0.280000   1.440000 (  1.463249)\nmem_cache:set:plain                                                           2.140000   0.580000   2.720000 (  2.780642)\nmem_cache:get                                                                 1.410000   0.320000   1.730000 (  1.756619)\nmem_cache:get:plain                                                           2.770000   0.620000   3.390000 (  3.451330)\nmem_cache:multiget                                                            1.060000   0.090000   1.150000 (  1.164813)\nmem_cache:missing                                                             1.930000   0.540000   2.470000 (  2.512572)\nmem_cache:mixed                                                               5.140000   1.180000   6.320000 (  6.421799)\n\n================== memcached ==================\n                                                                                  user     system      total        real\nmemcached:set                                                                 0.220000   0.220000   0.440000 (  0.702720)\nmemcached:set:plain                                                           0.480000   0.430000   0.910000 (  1.408405)\nmemcached:get                                                                 0.250000   0.190000   0.440000 (  0.660413)\nmemcached:get:plain                                                           0.430000   0.450000   0.880000 (  1.279175)\nmemcached:multiget                                                            0.230000   0.060000   0.290000 (  0.365968)\nmemcached:missing                                                             0.460000   0.520000   0.980000 (  1.420940)\nmemcached:mixed                                                               0.960000   0.790000   1.750000 (  2.668685)\n\n================== memcached_disable_binary ==================\n                                                                                  user     system      total        real\nmemcached_disable_binary:set                                                  0.280000   0.170000   0.450000 (  0.707164)\nmemcached_disable_binary:set:plain                                            0.420000   0.480000   0.900000 (  1.414783)\nmemcached_disable_binary:get                                                  0.240000   0.210000   0.450000 (  0.667521)\nmemcached_disable_binary:get:plain                                            0.480000   0.430000   0.910000 (  1.316484)\nmemcached_disable_binary:multiget                                             0.200000   0.080000   0.280000 (  0.354720)\nmemcached_disable_binary:missing                                              0.550000   0.390000   0.940000 (  1.323871)\nmemcached_disable_binary:mixed                                                0.860000   0.870000   1.730000 (  2.662431)\n\n================== memcached_rails ==================\n                                                                                  user     system      total        real\nmemcached_rails:set                                                           0.260000   0.200000   0.460000 (  0.716207)\nmemcached_rails:set:plain                                                     0.310000   0.520000   0.830000 (  1.693508)\nmemcached_rails:get                                                           0.260000   0.320000   0.580000 (  1.032739)\nmemcached_rails:get:plain                                                     0.470000   0.580000   1.050000 (  1.776318)\nmemcached_rails:multiget                                                      0.220000   0.080000   0.300000 (  0.414793)\nmemcached_rails:missing                                                       0.600000   0.490000   1.090000 (  1.619777)\nmemcached_rails:mixed                                                         0.880000   0.920000   1.800000 (  2.747018)\n\n================== memcached_rails_disable_binary ==================\n                                                                                  user     system      total        real\nmemcached_rails_disable_binary:set                                            0.260000   0.210000   0.470000 (  0.744760)\nmemcached_rails_disable_binary:set:plain                                      0.350000   0.400000   0.750000 (  1.264912)\nmemcached_rails_disable_binary:get                                            0.230000   0.210000   0.440000 (  0.638570)\nmemcached_rails_disable_binary:get:plain                                      0.340000   0.400000   0.740000 (  1.140283)\nmemcached_rails_disable_binary:multiget                                       0.190000   0.120000   0.310000 (  0.394131)\nmemcached_rails_disable_binary:missing                                        0.520000   0.440000   0.960000 (  1.344471)\nmemcached_rails_disable_binary:mixed                                          0.870000   0.920000   1.790000 (  2.746256)\n\n================== dalli ==================\n                                                                                  user     system      total        real\ndalli:set                                                                     0.880000   0.280000   1.160000 (  1.263827)\ndalli:set:plain                                                               1.530000   0.570000   2.100000 (  2.338174)\ndalli:get                                                                     0.790000   0.250000   1.040000 (  1.136878)\ndalli:get:plain                                                               1.510000   0.610000   2.120000 (  2.292976)\ndalli:multiget                                                                0.900000   0.220000   1.120000 (  1.134238)\ndalli:missing                                                                 1.350000   0.470000   1.820000 (  1.998903)\ndalli:mixed                                                                   3.380000   1.150000   4.530000 (  4.964549)\n\n================== mem_cache_store ==================\n                                                                                  user     system      total        real\nmem_cache_store:mixed                                                         4.990000   0.870000   5.860000 (  6.142565)\nmem_cache_store:mixed:rails-localcache                                        4.350000   0.800000   5.150000 (  5.450127)\nmem_cache_store:set                                                           1.510000   0.310000   1.820000 (  1.947190)\nmem_cache_store:set:rails-localcache                                          1.660000   0.290000   1.950000 (  2.133841)\nmem_cache_store:get                                                           1.670000   0.260000   1.930000 (  1.997019)\nmem_cache_store:get:rails-localcache                                          1.720000   0.290000   2.010000 (  2.095898)\nmem_cache_store:big_read_multi                                                7.780000   1.530000   9.310000 ( 10.110451)\nmem_cache_store:big_read_multi:rails-localcache                               7.070000   1.000000   8.070000 (  8.840837)\n\n================== memcached_store ==================\n                                                                                  user     system      total        real\nmemcached_store:mixed                                                         2.780000   0.980000   3.760000 (  4.551252)\nmemcached_store:mixed:rails-localcache                                        2.860000   0.700000   3.560000 (  4.187399)\nmemcached_store:set                                                           0.930000   0.280000   1.210000 (  1.503208)\nmemcached_store:set:rails-localcache                                          0.990000   0.270000   1.260000 (  1.530528)\nmemcached_store:get                                                           0.800000   0.290000   1.090000 (  1.297880)\nmemcached_store:get:rails-localcache                                          0.910000   0.290000   1.200000 (  1.434191)\nmemcached_store:big_read_multi                                                3.560000   1.200000   4.760000 (  5.485074)\nmemcached_store:big_read_multi:rails-localcache                               2.940000   0.870000   3.810000 (  4.297155)\n\n================== memcached_store_disable_binary ==================\n                                                                                  user     system      total        real\nmemcached_store_disable_binary:mixed                                          2.940000   0.970000   3.910000 (  4.689338)\nmemcached_store_disable_binary:mixed:rails-localcache                         2.940000   0.720000   3.660000 (  4.294590)\nmemcached_store_disable_binary:set                                            0.980000   0.270000   1.250000 (  1.535586)\nmemcached_store_disable_binary:set:rails-localcache                           1.060000   0.300000   1.360000 (  1.666404)\nmemcached_store_disable_binary:get                                            0.900000   0.240000   1.140000 (  1.351099)\nmemcached_store_disable_binary:get:rails-localcache                           1.000000   0.250000   1.250000 (  1.466146)\nmemcached_store_disable_binary:big_read_multi                                 3.720000   1.160000   4.880000 (  5.612295)\nmemcached_store_disable_binary:big_read_multi:rails-localcache                3.130000   0.930000   4.060000 (  4.845301)\n\n================== dalli_store ==================\n                                                                                  user     system      total        real\ndalli_store:mixed                                                             4.970000   1.080000   6.050000 (  7.068584)\ndalli_store:mixed:rails-localcache                                            4.080000   0.890000   4.970000 (  5.288698)\ndalli_store:set                                                               1.340000   0.310000   1.650000 (  1.767724)\ndalli_store:set:rails-localcache                                              1.380000   0.330000   1.710000 (  1.820832)\ndalli_store:get                                                               1.240000   0.300000   1.540000 (  1.619246)\ndalli_store:get:rails-localcache                                              1.370000   0.260000   1.630000 (  1.691986)\ndalli_store:big_read_multi                                                    6.100000   1.470000   7.570000 (  7.936526)\ndalli_store:big_read_multi:rails-localcache                                   2.780000   0.250000   3.030000 (  3.110808)\n```\n\u003c!-- result_table_end --\u003e\n\nTest Server:\n\n- Ubuntu 12.04.4 LTS, Intel(R) Xeon(R) CPU E3-1270 V2 @ 3.50GHz, 32GB 1600 MHz DDR3.\n- Rails 4.2.0 on ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux]\n\n## Inspiration\nMuch of this test suite is based off of https://github.com/mperham/dalli/blob/master/test/benchmark_test.rb\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasecamp%2Fmemcached_bench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasecamp%2Fmemcached_bench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasecamp%2Fmemcached_bench/lists"}