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

d00rman / restbase / 517 / 4
91%
master: 84%

Build:
Build:
LAST BUILD BRANCH: parsoidproxy/mirror-html2html
DEFAULT BRANCH: master
Ran 06 Sep 2016 12:56PM UTC
Files 20
Run time 1s
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

06 Sep 2016 12:48PM UTC coverage: 91.369%. First build
517.4

push

travis-ci

d00rman
Feeds: Split the aggregated feed request and cache it

Instead of requesting the whole response of the aggregated feed endpoint
in MCS, it is much faster to request its individual pieces and then
assemble them in RESTBase. The process happens in parallel, so different
MCS workers get to work on a part of the response.

Moreover, in order to decrease the amount of requests to MCS, store the
response using the `ttl` revision retention policy. Currently, we begin
with the conservative ttl of 10 minutes, but it is likely we can
increase it in the future. The random component needs to change more
frequently than that, so whenever we have a cache hit, we re-request a
random title from MCS and incorporate it in the new response. We also
tell Varnish to cache the response for 30 seconds. This means that the
number of requests will be:
- 1 request for the random title every 30 seconds
- 5 requests for the various response components every 10 minutes

1281 of 1402 relevant lines covered (91.37%)

21.38 hits per line

Source Files on job 517.4
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 517
  • Travis Job 517.4
  • 9d51f090 on github
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