Open talkol opened 6 years ago
Potential performance improvements (requires benchmarks):
Adding buffered IO may improve performance (bufio reader/writer) https://stackoverflow.com/questions/49580394/sending-millions-of-short-messages-over-tcp-socket-in-golang
Adding buffer pools may reduce allocations
Measure ping in keepalives (logging and reporting metrics of the turnaround time it takes to communicate with every node)
Improving the way we cleanup connections and goroutines when context is ended. Here is a proposal (unmerged branch) to do it with a watchdog: https://github.com/orbs-network/orbs-network-go/tree/feature/experimental-gossip-watchdog
Handle context intents
QoS for send queues
quoting from closed issue #273 (that provided initial spec):
Summary of tasks left to do, excluding performance optimizations; we need to decide which, if any, we deal with; some of these are product features and some are tech debt. @OdedWx - thoughts?
@OdedWx please review
services/gossip/adapter/direct_transport
(this is the production e2e gossip for v1)auth on connect and keepalive (TLS style challenge response)
exponential backoff for retries