@sid_sarasvati @GrantSlatton You can have 16 load balancer nodes each independently performing random choice of two with no knowledge of each other and exchanging no load balancing state. You can use distributed, stateless solutions like flow hashing or DNS to spread traffic over the nodes.
@sid_sarasvati @GrantSlatton Despite people using the term, DNS has never done round robin. It's a complicated (by caching etc) version of random in practice.
@sid_sarasvati @GrantSlatton Those systems are distributed and stateless and don't keep track of each other. True round robin requires all nodes to know the last used node state.
@aap_twak @sid_sarasvati @GrantSlatton If eight load balancer nodes perform round robin independently across a fleet, they can, in certain situations, sync up and become very unbalanced. If the same nodes perform random, they won't.
@aap_twak @sid_sarasvati @GrantSlatton Some common point of failure will probably exist (e.g. the DNS entry or routing layer). But there are benefits in making any coordination as minimal and async as possible. Round robin is sequential and can't be distributed. Random can.
@theburningmonk As a rule, if you need to fail as independently as possible, you want to be suspicious of anything that touches (and can therefore cause failure of) both regions at the same time.
@theburningmonk It's less convenient obviously, but if you want the regional stacks to fail as independently as possible, ensuring they have separate creds that rotate at different times removes a couple of coincident failure scenarios.
@theburningmonk If you operate in multiple regions to improve availability, regions sharing a common cred and rotating together risks creating a multi-region failure and undoing your multi-region efforts.
@sid_sarasvati @GrantSlatton Round robin is okay until you try to do it in a distributed (scalable) manner. If it's just one load balancer node it can always know what's next. If there are many load balancer nodes, they all have to coordinate to know.
@joeklein@robertgraham Presumably the packets in the examples use the same 4-tuple of ip/ports, by definition.
I tend to think of a SYN as "proposing a sequence number and options (e g. wscale)". When a peer sends a second syn, does it preserve those or can they change?