Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lowflyingcondor
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
lowflyingcondor
3y ago
Would be cool to supplement this with what we know happens to all of these strategies when the load balancer's snapshot of server load is stale. https://brooker.co.za/blog/2012/01/17/two-random.html
2.
▲
by
lowflyingcondor
3y ago
Inverting this is actually better because it avoids the stale data / herd behavior. i.e. randomly choose X candidate servers and then pick the one with least load. also, 2 may be better than 3 https://brooker.co.za/blog
3.
▲
by
lowflyingcondor
3y ago
https://www.eecs.harvard.edu/~michaelm/postscripts/handbook2... and > Best of 2 is good because it combines the best of both worlds: it uses real information about load to pick a host (unlike random), but rejec