swarm icon indicating copy to clipboard operation
swarm copied to clipboard

Retrieval protocol improvements

Open janos opened this issue 6 years ago • 1 comments

  • Price discovery protocol
  • Investigate if handshake specifies initial prices (might not be needed)
  • Basic SWAP pricing strategy:
    • Hardcoded fixed price for different distances
    • No strategy to deviate from hardcoded fixed price
    • Minimal strategy to react to price changes from downstream peers
      • There may be a possibility that when all downstream peers increase price, we must engage in discovery of other peers in that bin.
      • (based on bullet above) In the kademlia, you calculate the saturation based on the capability of the peer of serving you your request. Therefore, if a peer is overpriced, he should not be taken in to account in counting the saturation => hive protocol will start to kick in and try to populate the unsaturated part with new peer

janos avatar Dec 11 '19 14:12 janos

why is swap pricing strategy a part of retrieval protocol? shouldn't the swap protocol negotiate these terms?

acud avatar Jan 20 '20 08:01 acud