| 1 | * 参考ベンチマーク |
|---|
| 2 | - get_multiが遅いのはリクエストヘッダサイズに制限があるので分割してるため。 |
|---|
| 3 | - compressが速いのは、クライアント側での圧縮を使用せず、Tokyo Cabinetの圧縮オプション(deflate)を使用しているため |
|---|
| 4 | - ttserverは64bitマルチコア別サーバー、Tokyo Tyrantの更新ログ使用せず、ext3でwritebackモードは不使用 |
|---|
| 5 | |
|---|
| 6 | Module Information: |
|---|
| 7 | + Cache::Memcached => 1.24 |
|---|
| 8 | + Cache::Memcached::Fast => 0.12 |
|---|
| 9 | + Cache::TokyoTyrant => 0.01 |
|---|
| 10 | |
|---|
| 11 | Options: |
|---|
| 12 | + Memcached server: localhost:11211 |
|---|
| 13 | + Include no block mode (where applicable)? :NO |
|---|
| 14 | |
|---|
| 15 | Prepping clients... |
|---|
| 16 | |
|---|
| 17 | ==== Benchmark "Simple get() (scalar)" ==== |
|---|
| 18 | Rate perl_memcached tokyotyrant memcached_fast |
|---|
| 19 | perl_memcached 4444/s -- -71% -87% |
|---|
| 20 | tokyotyrant 15198/s 242% -- -55% |
|---|
| 21 | memcached_fast 34014/s 665% 124% -- |
|---|
| 22 | ==== Benchmark "Simple get_multi() (scalar)" ==== |
|---|
| 23 | Rate tokyotyrant perl_memcached memcached_fast |
|---|
| 24 | tokyotyrant 1593/s -- -37% -88% |
|---|
| 25 | perl_memcached 2546/s 60% -- -81% |
|---|
| 26 | memcached_fast 13333/s 737% 424% -- |
|---|
| 27 | ==== Benchmark "Serialization with get()" ==== |
|---|
| 28 | Rate perl_memcached tokyotyrant memcached_fast |
|---|
| 29 | perl_memcached 4119/s -- -65% -81% |
|---|
| 30 | tokyotyrant 11655/s 183% -- -46% |
|---|
| 31 | memcached_fast 21645/s 426% 86% -- |
|---|
| 32 | ==== Benchmark "Simple get() (w/compression)" ==== |
|---|
| 33 | Rate perl_memcached memcached_fast tokyotyrant |
|---|
| 34 | perl_memcached 1873/s -- -39% -81% |
|---|
| 35 | memcached_fast 3092/s 65% -- -69% |
|---|
| 36 | tokyotyrant 10101/s 439% 227% -- |
|---|
| 37 | ==== Benchmark "Simple set() (scalar)" ==== |
|---|
| 38 | Rate perl_memcached tokyotyrant memcached_fast |
|---|
| 39 | perl_memcached 11682/s -- -23% -64% |
|---|
| 40 | tokyotyrant 15152/s 30% -- -53% |
|---|
| 41 | memcached_fast 32258/s 176% 113% -- |
|---|
| 42 | ==== Benchmark "Simple set() (w/seriale)" ==== |
|---|
| 43 | Rate perl_memcached tokyotyrant memcached_fast |
|---|
| 44 | perl_memcached 6353/s -- -3% -35% |
|---|
| 45 | tokyotyrant 6536/s 3% -- -33% |
|---|
| 46 | memcached_fast 9728/s 53% 49% -- |
|---|
| 47 | ==== Benchmark "Simple set() (w/compress)" ==== |
|---|
| 48 | Rate memcached_fast perl_memcached tokyotyrant |
|---|
| 49 | memcached_fast 577/s -- -3% -95% |
|---|
| 50 | perl_memcached 594/s 3% -- -95% |
|---|
| 51 | tokyotyrant 12500/s 2066% 2003% -- |
|---|