Skip to content

babloo80/benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

                _._
           _.-``__ ''-._
      _.-``    `.  `_.  ''-._           Redis 5.0.5 (00000000/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._
 (    '      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 43882
  `-._    `-._  `-./  _.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |           http://redis.io
  `-._    `-._`-.__.-'_.-'    _.-'
 |`-._`-._    `-.__.-'    _.-'_.-'|
 |    `-._`-._        _.-'_.-'    |
  `-._    `-._`-.__.-'_.-'    _.-'
      `-._    `-.__.-'    _.-'
          `-._        _.-'
              `-.__.-'
              
|------------------------------------|-------------------------------------|------------------------------------|-----------------| 
|                                    |     $500 AMD Ryzen 2 2600x Desktop  | $3500 MacBook Pro 2016             | Xeon E5-2680 v3 | 
|                                    |-----------|-----------|-------------|----------|-----------|-------------|-----------------| 
| Benchmark                          | Baremetal | Docker    | Perf Loss   | Baremetal| Docker    | Perf Loss   | Baremetal       | 
|------------------------------------|-----------|-----------|-------------|----------|-----------|-------------|-----------------| 
| PING_INLINE                        | 113122.17 | 94073.38  | 16.83913065 | 89605.73 | 10957.7   | 87.77120615 | 114678.9        | 
| PING_BULK                          | 106044.54 | 97181.73  | 8.357629728 | 84104.29 | 10326.31  | 87.72201751 | 118623.96       | 
| SET                                | 114678.9  | 97465.88  | 15.00975332 | 91074.68 | 10944.51  | 87.98292786 | 120048.02       | 
| GET                                | 119047.62 | 96246.39  | 19.15303305 | 89047.2  | 10361.62  | 88.36390139 | 103199.18       | 
| INCR                               | 121506.68 | 96805.42  | 20.32913746 | 91157.7  | 9705.91   | 89.3526164  | 121065.38       | 
| LPUSH                              | 115606.94 | 96246.39  | 16.74687523 | 92336.11 | 9701.2    | 89.49360115 | 124533.01       | 
| RPUSH                              | 112359.55 | 96993.21  | 13.67604267 | 90826.52 | 10222.86  | 88.74463097 | 120627.27       | 
| LPOP                               | 116959.06 | 95877.28  | 18.02492257 | 90909.09 | 10020.04  | 88.97795589 | 126582.27       | 
| RPOP                               | 111358.58 | 95693.78  | 14.06698972 | 91407.68 | 11650.94  | 87.25387188 | 123609.39       | 
| SADD                               | 114678.9  | 96618.36  | 15.74879075 | 93196.65 | 8700.95   | 90.66388116 | 123915.74       | 
| HSET                               | 109769.48 | 95969.28  | 12.57198267 | 92336.11 | 10186.41  | 88.96811876 | 124223.6        | 
| SPOP                               | 118623.96 | 95785.44  | 19.25287269 | 92081.03 | 10667.8   | 88.41476904 | 122549.02       | 
| LPUSH (needed to benchmark LRANGE) | 117096.02 | 96711.8   | 17.40812369 | 91659.03 | 10939.72  | 88.06476569 | 136054.42       | 
| LRANGE_100 (first 100 elements)    | 71581.96  | 60422.96  | 15.58912329 | 24295.43 | 7595.9    | 68.73527244 | 65019.51        | 
| LRANGE_300 (first 300 elements)    | 27901.79  | 26737.97  | 4.171130239 | 9974.07  | 5207.25   | 47.79212498 | 26343.52        | 
| LRANGE_500 (first 450 elements)    | 20593.08  | 19661.82  | 4.522198719 | 6800.87  | 4095      | 39.78711547 | 18971.73        | 
| LRANGE_600 (first 600 elements)    | 16382.7   | 15969.34  | 2.52314942  | 5201.83  | 3123.05   | 39.96247474 | 14952.15        | 
| MSET (10 keys)                     | 114942.53 | 94786.73  | 17.53554581 | 68259.38 | 10210.33  | 85.04186531 | 117508.81       | 
|------------------------------------|-----------|-----------|-------------|----------|-----------|-------------|-----------------|

Redis is, mostly, a single-threaded server from the POV of commands execution (actually modern versions of Redis use 
threads for different things). It is not designed to benefit from multiple CPU cores. People are supposed to launch 
several Redis instances to scale out on several cores if needed. It is not really fair to compare one single Redis 
instance to a multi-threaded data store.

Yet, the benchmarks give performance numbers in comparing a desktop to portable device to a server hardware.
Also notice that docker does degrade performance by a factor.

About

random-benchmarks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published