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

ben-manes / caffeine / 1733
100%

Build:
DEFAULT BRANCH: master
Ran 02 May 2016 08:44AM UTC
Jobs 1
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

pending completion
1733

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.

5322 of 5631 relevant lines covered (94.51%)

0.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1733.1 (TERM=dumb) 02 May 2016 08:44AM UTC 0
94.51
Travis Job 1733.1
Source Files on build 1733
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1733
  • 5deaca08 on github
  • Prev Build on master (#1732)
  • Next Build on master (#1734)
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