Skip to content

Introducing network partitions #3068

Answered by robgjansen
b-naber asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah the network model is just a static connectivity graph and we don't currently have a rich routing layer in which it would be natural to introduce dynamic route changes. One way to work around this and simulate failures of connections from leader nodes to replica nodes would be to introduce a forwarding proxy that forwards traffic between pairs of nodes, and then you could implement your failure logic inside of that proxy. The proxy would be pretty simply, either "blocking" connections between some nodes if certain conditions are met, or else "allowing" connections by forwarding the application traffic.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jtracey
Comment options

@b-naber
Comment options

@robgjansen
Comment options

Answer selected by b-naber
@b-naber
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants