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

mp911de / lettuce / 1158
92%

Build:
DEFAULT BRANCH: master
Ran 26 Sep 2016 03:45PM UTC
Jobs 1
Files 252
Run time 16s
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
1158

Pull #365

travis-ci

web-flow
Add jitter backoff strategies for spreading reconnection timing

When users use exponential backoff streategy and connection pool with more than thousands of application servers, sometimes connection bursting is occured in Redis instance.
Because it's reconnection timings are all same when Redis server is under slowlog or network problem.
This patch will fix the problem using well known jitter backoff strategies.

Equal Jitter

    sleep = random_between(0, min(cap, base * 2 ** attempt))

Full Jitter

    temp = min(cap, base * 2 ** attempt)
    sleep = temp / 2 + random_between(0, temp / 2)

Decorrelated Jitter

    sleep = min(cap, random_between(base, sleep * 3))

Rerenrence: https://www.awsarchitectureblog.com/2015/03/backoff.html
Pull Request #365: Add jitter backoff strategies for spreading reconnection timing

10391 of 11210 relevant lines covered (92.69%)

0.93 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/main/java/com/lambdaworks/redis/protocol/RedisStateMachine.java
16
100.0
src/main/java/com/lambdaworks/redis/protocol/ConnectionWatchdog.java
16
100.0
src/main/java/com/lambdaworks/redis/resource/DefaultClientResources.java
Jobs
ID Job ID Ran Files Coverage
1 1158.1 (PROFILE=netty-40) 26 Sep 2016 03:45PM UTC 0
92.69
Travis Job 1158.1
Source Files on build 1158
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1158
  • Pull Request #365
  • PR Base - master (#1154)
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