node: Have multiple fetch queues
In the current design it’s possible for one peer to fill the fetch queue so that fetches from other peers are delayed.
To improve fairness, we move to a queue per peer. We then try to dequeue from all peers in a random order for good measure.
In the current design it’s possible for one peer to fill the fetch queue so that fetches from other peers are delayed.
To improve fairness, we move to a queue per peer. We then try to dequeue from all peers in a random order for good measure.
Add a few more things.
Review feedback.