The most literal conclusion to draw from this story is that MRU connection pools shouldn’t be used for connections that traverse aggregated links. Not just connections which traverse aggregated links. If you're load-balancing between multiple database replicas -- or between several S3 endpoints -- this sort of MRU connection pool will cause metastable load imbalances on the targets. What I don't understand is why Fac…
Solving the Mystery of Link Imbalance: A Metastable Failure State at Scale
11–20 of 40 posts
Re: Solving the Mystery of Link Imbalance: A Metastable Failure State at Scale
#12Color me confused. Just a week ago they posted "We also have server-side means to “hash away” and route around trouble spots, if they occur." https://code.facebook.com/posts/360346274145943/introducing-... Does the server side flow hash manipulation dependent on ip tuple manipulation? Only enabled for some hosts/devices? A bit disappointed, was hoping for clever dscp or mpls tag manipulation. If they rely on new stre…
Re: Solving the Mystery of Link Imbalance: A Metastable Failure State at Scale
#13The most literal conclusion to draw from this story is that MRU connection pools shouldn’t be used for connections that traverse aggregated links. Not just connections which traverse aggregated links. If you're load-balancing between multiple database replicas -- or between several S3 endpoints -- this sort of MRU connection pool will cause metastable load imbalances on the targets. What I don't understand is why Fac…
Without a bit more information I think I am just speculating and don't really know. Their solution doesn't really taste bad to me though.
Re: Solving the Mystery of Link Imbalance: A Metastable Failure State at Scale
#14Oh man, this reminds me of troubleshooting a host behind a router that didn't support window scaling. It took a week or two to figure out why we couldn't transfer data but could connect, ssh, ping, etc.
Broken TCP window scaling? The connection should still work, with the sender backing off right? If you mean busted PMTUD yeah thats awesome when the handshake and GET works, but you cant get data back.
Re: Solving the Mystery of Link Imbalance: A Metastable Failure State at Scale
#15Re: Solving the Mystery of Link Imbalance: A Metastable Failure State at Scale
#16Re: Solving the Mystery of Link Imbalance: A Metastable Failure State at Scale
#17The most literal conclusion to draw from this story is that MRU connection pools shouldn’t be used for connections that traverse aggregated links. Not just connections which traverse aggregated links. If you're load-balancing between multiple database replicas -- or between several S3 endpoints -- this sort of MRU connection pool will cause metastable load imbalances on the targets. What I don't understand is why Fac…
Within their solution just had to convert the LIFO stack into an FIFO queue, keeping it simple.
Re: Solving the Mystery of Link Imbalance: A Metastable Failure State at Scale
#18This is pretty neat, as the application can default to a round robin distribution and dynamically weigth the link selection key based on detected congestion/overload to shift the load to other links - since then I've often wished the TCP/IP world offered something similar.
Re: Solving the Mystery of Link Imbalance: A Metastable Failure State at Scale
#19The most literal conclusion to draw from this story is that MRU connection pools shouldn’t be used for connections that traverse aggregated links. Not just connections which traverse aggregated links. If you're load-balancing between multiple database replicas -- or between several S3 endpoints -- this sort of MRU connection pool will cause metastable load imbalances on the targets. What I don't understand is why Fac…