Menu

Performance

Hitesh Amritlal Viseria
There is a newer version of this page. You can find it here.

Performance Benchmarks

All the performance benchmarks done in various configuration and regression testing, have delivered consistent results.

NitroCache scales with O(c) as number of threads increase. The fetch time remains constant irrespective of thread load. The put time increases linearly with threads, the performance and graph curve for put is similar to ehCache.


Performance Testing

System configuration

System Type: x64-based PC
Processor: Intel(R) Core(TM) i5 CPU 650@3.20GHz, 3333 Mhz, 2 Core(s), 4 Logical Processor(s)
OS: Windows 7

Test Setup

Threads = 1,2,5,10,15,25,50
Cache Sizes = 100,200,500,1000,5000,25000,50000
Number of get operations per test = ~4000000
Ratio of put v/s get: 20 get operations per put operation

Test Data

A random set 2000 key-value pairs. Refer to dataRand.csv

Use cases

  1. EHCache (LRU mode), In-memory mode only
  2. cache4j, In-memory mode only
  3. NitroCache - FIFO mode
  4. NitroCache - LRU mode

MongoDB Logo MongoDB