Purpose and Methodology
These measurements are meant to give a ballpark figure that starts a discussion, and are in no way definitive of actual performance for Redis or Redis-V8. Your own mileage may vary.
Details such as specific versions of libraries used can be gleaned from the source files linked below each benchmark graph.
Using a `micro-instance` sporting one virtual core with 1GB of RAM
(graciously hosted by www.yooclouds.com)
|Software:||CentOS release 6.3 (Final)|
|Memory:||1GB DDR3 @ 1066Mhz|
|CPU:||1 dedicated core @ 2.4 Ghz|
NodeJS + node_redis library
Testing basic operations where each "1 call" is looping on the order of hundreds of thousands of iterations, using NodeJS with the node_redis library. This is done as a ghetto way of building a performance scaling graph out of individual tests.
Test source files: github.com/h0x91b/redis-v8/tree/master/benchmarks (all files ending in *.js)
PHP + predis library
Basic ops are run in a tight loop on the order of hundreds of thousands for each call, with the goal to establish a rough estimate of performance scaling. Tests are run by PHP5 using predis library to communicate with the memory store.
Test source located at github.com/h0x91b/redis-v8/tree/master/benchmarks (all the files with a *.php extension)
redis-benchmark tool (part of official Redis distribution)
You can try this test for yourself by typing:
$ cd redis-v8/redis/src $ ./redis-server ../redis.conf $ ./redis-benchmark -q -s /tmp/redis.sock