3 ms·
A little surprised that it isn't normal for load balancers to weight machines or consumers differently. I'm not super familiar with them I guess even in this ca
by gmm1990 2y ago
A little surprised that it isn't normal for load balancers to weight machines or consumers differently. I'm not super familiar with them I guess even in this case they add a lot of complexity with the secondary service that reads the load data.
- stackskipton 2y agoSRE here, some load balancers do support weighting. However, most of time since we are using cloud machines or hardware refreshes are mostly in large cycles, the fleets running X service is the same and therefore standard round robin works well enough. It appears that Dropbox does not do that and therefore, they needed a solution like they built. One of those, "At your scale, this makes sense. Few companies are at this scale." EDIT: It probably wouldn't be hard to home roll something like using HAProxy/Caddy APIs and Prometheus.
- hinkley 2y agoNginx can do weighting. Nginx plus can do a lot more.