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

grpc / grpc-java / 11084
89%

Build:
DEFAULT BRANCH: master
Ran 01 Aug 2018 08:26PM UTC
Jobs 1
Files 249
Run time 1min
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
11084

push

travis-ci

zhangkun83
core: initialize round robin load balancer picker to random index (#4462)

RoundRobinLoadBalancerFactory creates a new Picker instance every time the set of provided address groups changes or the connection state of subchannels associated with existing address groups changes. In certain scenarios, such as deployment/replacement of the target service cluster, this can lead to high churn of Picker objects. Given that each new Picker's subchannel index is initialized to zero, in these scenarios requests can end up getting disproportionately routed through subchannels (and hence server nodes) which are earlier in the list of address groups.

At Netflix we have measured that some service nodes end up taking 3-4x the load that of other nodes during deployment.

This commit randomizes the start index of the RoundRobinLoadBalancerFactory.Picker which eliminates this behavior.

14535 of 16617 relevant lines covered (87.47%)

0.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11084.1 01 Aug 2018 08:26PM UTC 0
87.47
Travis Job 11084.1
Source Files on build 11084
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11084
  • b9d1bb8b on github
  • Prev Build on master (#11077)
  • Next Build on master (#11085)
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