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

ben-manes / caffeine / 1732 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 02 May 2016 08:15AM UTC
Files 65
Run time 3s
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

02 May 2016 07:13AM UTC coverage: 94.495%. Remained the same
TERM=dumb

push

travis-ci

ben-manes
An early prototype of an adaptive W-TinyLFU policy

Experiments have shown that in many workloads TinyLFU is an excellent
filter. However, in some workloads where recency plays a larger role
the frequency filter is too strict. We then devised an admission window
(W-TinyLFU) to capture sparse bursts. In many workloads a 1% window was
satisfactory, by not degrading frequency workloads and helping recency
workloads. However, finding the optimal window size is workload
specific.

Can we adjust the window size based on the workload? If we detect that
TinyLFU mispredicted and the new arrival was rejected twice within a
short period, then we increase the window size. If we see that the this
is not the case, then we decrease the window size. Thus for workloads
like OLTP we see an improvement. For other workloads we see now changes
as no adjustments are made.

The implementation needs some refinement, but the idea appears to work.

5321 of 5631 relevant lines covered (94.49%)

0.94 hits per line

Source Files on job 1732.1 (TERM=dumb)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1732
  • Travis Job 1732.1
  • ea26ce73 on github
  • Prev Job for TERM=dumb on master (#1731.1)
  • Next Job for TERM=dumb on master (#1733.1)
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