Hacker News new | ask | show | jobs
by lil_tee 4872 days ago
I'm not familiar with minimum-of-two-random routing, but it does seem like assigning request to dynos in sequence would perform much better than assigning randomly (ie in a scenario with n dyno capacity, request 1 => dyno 1, request 2 => dyno 2, ... request n => dyno n, request n+1 => dyno 1, ..., repeat)

That'd be probably significantly better than the case of (request i => dyno picked out of hat) for all i

1 comments

That's essentially round-robin, but it still requires syncing the data of which dyno is next, which is probably what they're trying to avoid.