go-spacemesh
go-spacemesh copied to clipboard
collect latency and failure from every request and adjust latency based on response size
peers for sync are prioritized based on observed latency and failure rate.
what we want to improve?
- [ ] not all protocols are instrumented (only hs/1) to track latency
- [ ] latency should be adjusted based on response size, difference protocol response can range from 1KB to 4MB of data