Pages

Monday, March 3, 2014

Redis Performance Evaluation

Redis is an open source, BSD licensed, advanced key-value store. Recently I came across few projects that support redis as their storage. So I think lets explore it a bit more. 
Evalution of redis becomes more easier as it provides a support of redis-benchmark.

Lets see what was result for me. 

System Details : Core 2 Duo , 32-bit, Centos 6.5.

All operations are performed with no pipeline. 

  • Set Operation Performance:

  • Get Operation Performance

  • LPush Operation Performance

  • LPop Operation Performance


Redis perfomed quite well , but how much the performance will get affected on the use of jedis (java client for redis). That will be discussed in next blog.

Sunday, March 2, 2014

Drools Performance Benchmark

Drools performing well in standalone mode, rate is ~ 114285 records/sec for state-full session and ~4760 records/sec for stateless session. Standalone mode refers to just triggering rules on records. There no integration with camel, spring or any other framework.

Have a look on graph for more details:

Statefull vs Stateless session over 1 rule



Statefull vs Stateless session over 10 rule



Performance comparison on 32 bytes, 64 bytes & 128 bytes java object


Note: Performance is almost same for larger java object the variation is due to limitation of java heap memory of VM