-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Description
While I love the idea of a pure-Node alternative to ZeroMQ and the like, there are a number of areas that need some improvement before it can replace it for dynamic clusters with nodes coming in and out periodically:
- Support for
disconnect-ing existing peers - This is required, but tricky. I played around on a fork for a little while, but it'd be a pretty substantial undertaking. The biggest hurdle is overhauling howaxondoes automatic reconnect: there's not currently a way to turn it off at all, let alone disable it for a specific peer. - Per-peer elastic backoff - Currently, the
retrytime is per Axon socket, not per peer. One good peer and one bad peer will cause a lot of connection thrashing. - Multiple-peer-aware connection state - Currently, the
connectedflag is flipped as soon as any peer accepts or disappears. - Reconnection timers aren't cleared on
destroy- This is more an issue with cleanly shutting down, which is impossible to do if a peer has ever disappeared suddenly.
I could certainly be misunderstanding the code, but tinkering in the guts confirms these concerns. Thoughts? How would y'all feel about my fixing some (or all) of these?
Metadata
Metadata
Assignees
Labels
No labels