Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
JConsoleRawData.xlsx | 2012-05-07 | 143.7 kB | |
PerformanceLogRawData.csv | 2012-05-07 | 4.5 kB | |
NitroFIFOMemCpuThread.jpg | 2012-05-07 | 73.7 kB | |
InfinispanMemCpuThread.jpg | 2012-05-07 | 75.7 kB | |
NitroLRUMemCpuThread.jpg | 2012-05-07 | 77.0 kB | |
Cache4jMemCpuThread.jpg | 2012-05-07 | 90.5 kB | |
EHCacheMemCpuThread.jpg | 2012-05-07 | 84.0 kB | |
JCSMemCpuThread.jpg | 2012-05-07 | 81.1 kB | |
FetchTimeByThreadsAll.jpg | 2012-05-07 | 30.1 kB | |
FetchThroughputByThreadsAll.jpg | 2012-05-07 | 41.9 kB | |
PutTimeByThreadsAll.jpg | 2012-05-07 | 29.9 kB | |
TotalThroughputByThreadsAll.jpg | 2012-05-07 | 38.4 kB | |
Totals: 12 Items | 770.6 kB | 0 |
ReadMe ====== NitroCache is a 100% pure java in-memory cache. It is designed with an aim to provide high throughput, extremely fast and scalable cache api. It uses concepts of B-tree, Hashing and Skiplist to optimize performance. Result is, its one of the fastest in-memory cache in java providing constant time fetches. Features ========= + Extremely fast, fetch operations execute at constant time, O(c), irrespective of number of threads or cache size + 100% Pure Java, in-memory + Extremely light weight, with no need of any external library + Simple to configure and use + Available with FIFO and LRU modes Sample Usage ============= NitroCache<String,String> _cache = null; _cache = NitroCache.getInstance(5000, CacheEviction.FIFO); _cache.put("1000","hello world"); System.out.println(_cache.get("1000"); Note ====== + NitroCache uses hashCode() and equals() methods internally for storing and retrieving data. Hence its necessary for Key to have proper hashCode and equals implementation. + Implements java.util.Map, corresponding operations are now supported + FIFO setting is slightly faster then LRU setting + NitroCache is completely thread-safe and meant for use in multi-threaded system System Requirement ================== jre1.6 or above Contact ======= If you have problems, questions, ideas or suggestions, please contact us by posting to a suitable message in sourceforge forum Release .4Beta ============== + Improvements to LRU algorithm. Now speed is comparable to FIFO setting