You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to write toxics that are upstream aware e.g. drop if client's IP = x.
This will be useful for testing peer 2 peer systems rather than client server.
The usecase I have in mind is for a service that forms a cluster e.g. a Cassandra Cluster or an Akka Cluster I'd like to have toxi proxy between each P2P connection and be able to simulate a node misbehaving. As these are P2P systems each node will connect to a subset of other nodes so I only wan to disrupt incoming traffic from a given source.
To support this I think we'd need to add more information to ToxicStub or create a new toxic type.
WDYT? Is this something you'd accept if I worked on it?
The text was updated successfully, but these errors were encountered:
One way to do that would be to add more information about the connection to the ToxicStub as you suggest. I can't think of a better approach. I think we'd accept something like this.
(Mostly unrelated, FYI that #50 protocol aware toxics have been a WIP for a while.)
Thanks @jpittis I raised #246 and have been testing with it and some custom toxics and it works. We could instead not have a toxic added to the link rather than all the toxics that want to be client specific doing the check.
I'd like to be able to write toxics that are upstream aware e.g. drop if client's IP = x.
This will be useful for testing peer 2 peer systems rather than client server.
The usecase I have in mind is for a service that forms a cluster e.g. a Cassandra Cluster or an Akka Cluster I'd like to have toxi proxy between each P2P connection and be able to simulate a node misbehaving. As these are P2P systems each node will connect to a subset of other nodes so I only wan to disrupt incoming traffic from a given source.
To support this I think we'd need to add more information to
ToxicStub
or create a new toxic type.WDYT? Is this something you'd accept if I worked on it?
The text was updated successfully, but these errors were encountered: