• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ben-manes / caffeine / #3141
100%

Build:
DEFAULT BRANCH: master
Ran 12 Jun 2022 12:54AM UTC
Jobs 1
Files 77
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
#3141

push

github-actions

ben-manes
Add Coherence to analysis suite

The next release of Coherence (expected this month) will adopt Caffeine
and advocate it as the preferred local cache. The current in-memory
cache is retained for backwards compatibility (a 20yr old code base).

Coherence is one of the most well respected distributed data grids and
used heavily at large enterprises (banks, train logistics, etc). While
their cache mitigates many bottlenecks due to being distributed and
partitioned, they still observe problems at scale. An internal customer
at Oracle is making the switch due to the high rate of evictions and
coarse write locking causing their application to block and timeout on
puts.

An analysis of the eviction throughput shows that Caffeine is 2.9x to
2050x faster, depending on the cache size (1 - 10M entries). Caffeine
evicts in the low millions of entries per second, which is more than
enough for real workloads.

An analysis of the concurrent read/write throughput shows Caffeine
being 3.8x faster on reads 17.8x faster on writes. This was performed
on an old 4 core macbook for a rough estimate.

The hit rate improvement ranges from 8% to 33% on a variety of real
workloads. A higher hit rate results in fewer writes, fewer evictions,
and less garbage generated (reducing GC overhead).

This data indicates that we should be able to solve or greatly alleviate
their customer's performance problems.

7069 of 7194 relevant lines covered (98.26%)

0.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #3141.1 12 Jun 2022 12:54AM UTC 0
98.26
Source Files on build #3141
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #3141
  • 27bc5942 on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc