4 ms·
What's the advantage of randomized routing over intelligent routing? Why would this change be made?
by pdog 14y ago
What's the advantage of randomized routing over intelligent routing? Why would this change be made?
- regularfry 14y agoIntelligent routing would presumably need to know and act on a lot of state across their cluster, and if that's got to flow through a single node, you can see how it would present a bottle-neck as the cluster size and requests per second increased. On the other hand, you can do randomised routing without knowing any state at all. You can do it with more than one routing node as well, which makes scaling almost trivial. I presume there are Hard Problems associated with partitioning a Heroku-style cluster for intelligent routing, or that's what they would have done.
- gojomo 14y agoStatelessness. You don't have to remember where you've sent recent requests, which ones are still in process, or how long they've taken.
- deleted 14y ago[deleted]
- Mc_Big_G 14y agoIt's easier/cheaper for them to maintain and you have to pay for more dynos. A lot more.
- reddit_clone 14y agoWin/Win. For them.