Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/agliznetsov/cache-demo
https://github.com/agliznetsov/cache-demo
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/agliznetsov/cache-demo
- Owner: agliznetsov
- Created: 2019-12-03T07:42:31.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-20T13:29:10.000Z (almost 5 years ago)
- Last Synced: 2024-11-04T18:46:40.353Z (about 1 month ago)
- Language: Java
- Size: 67.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ccamel - agliznetsov/cache-demo - (Java)
README
# Cache Demo
## Benchmarks
### Read/Write single cache element by ID```
Benchmark Mode Cnt Score Error Units
CacheBenchmark.clusterRead avgt 5 1.216 ± 0.621 ms/op
CacheBenchmark.clusterWrite avgt 5 1.590 ± 0.580 ms/op
CacheBenchmark.heapClusterRead avgt 5 ≈ 10⁻⁴ ms/op
CacheBenchmark.heapClusterWrite avgt 5 1.462 ± 0.334 ms/op
CacheBenchmark.heapRead avgt 5 ≈ 10⁻⁴ ms/op
CacheBenchmark.heapWrite avgt 5 0.002 ± 0.001 ms/op
CacheBenchmark.offHeapRead avgt 5 0.006 ± 0.001 ms/op
CacheBenchmark.offHeapWrite avgt 5 0.004 ± 0.001 ms/op
```### Hazelcast benchmarks
```
remote:
write: 3.0 read ~1.5local:
write: 0.1 read 0.05alone:
write: 0.01 read: 0.01
```### Infinispan:
read: e-4
write:
replicate_sync: 3 - 6 ms
replicate_async: 3 - 6 ms
invalidate_sync: 3 - 6 ms
invalidate_async: 0.04, 0.08, 0.15, 0.3