This is a template for the Bitswap measurements report. More measurements are ongoing. The shape of plots and data presentation will get improved too. This document serves of template in order to understand which data is missing and how we can display it. All suggestions are more than welcome ๐Ÿ™‚

Introduction

Motivation

Data

Available Data

Each request contains the requested CID.

Each request is categorized either as SUCCESS, FAILURE, NO_PROVS or FETCH_FAILED. SUCCESS is when Bitswap can find the content (in at most 15 seconds). FAILURE is when Bitswap isnโ€™t able to find the content (in 15 seconds), but the DHT was able to find a Provider Records & download the data from the content provider. NO_PROVS is when the DHT walk didnโ€™t return any provider record. FETCH_FAILED is when the DHT walk returned at least one provider record, but the selfish bitswap client wasnโ€™t able to fetch the block from any of them.

Each request has a timestamp, marking the beginning of the request.

Each request is associated with the number of open connections at the time the request returns.

Each request categorized as SUCCESS or FAILURE records the content provider peerid.

Each request categorized as SUCCESS records the duration of the request until the block was fetched.

Data analysis

Request categorization

SUCCESS 50062
FAILURE 831
NO_PROV 20779
FETCH FAILED 97
TOTAL 71769
Overall success rate 98.37% (within 15 seconds)
Available content rate 70.91%

Content Provider distribution for successful bitswap requests

Top 1 peers serve 10.78% of the successful bitswap requests
Top 3 peers serve 26.07% of the successful bitswap requests
Top 5 peers serve 38.56% of the successful bitswap requests
Top 10 peers serve 59.07% of the successful bitswap requests
Top 20 peers serve 76.64% of the successful bitswap requests
Top 50 peers serve 85.65% of the successful bitswap requests
Top 355 peers serve 98.64% of the successful bitswap requests
Top 711 peers serve 100.0% of the successful bitswap requests

Top 10 block providers (with number of blocks served)

1. 12D3KooWGtRcWvihm4hX2gT6bQu3uyjb78rgyQR3hPhkxMwivscY : 5398
2. 12D3KooWLsSWaRsoCejZ6RMsGqdftpKbohczNqs3jvNfPgRwrMp2 : 4113
3. 12D3KooWGRJo1vLDBtfS8a4cVss2QVqvbCaPgtmwwgpUtW675QRa : 3542
4. 12D3KooWAuBxG5uMBkeyFwHD9JyHaJGTqn7NhJbmmukNDPHSLKts : 3167
5. 12D3KooWJc7GbwkjVg9voPNxdRnmEDS3i8NXNwRXD6kLattaMnE4 : 3085
6. 12D3KooWEGeZ19Q79NdzS6CJBoCwFZwujqi5hoK8BtRcLa48fJdu : 2357
7. 12D3KooWJ59N9z5CyLTtcUTnuTKnRTEVxiztijiEAYbP16aZjQ3D : 2286
8. 12D3KooWENiDwDCPnbEQKHHsDnSsE5Y3oLyXnxuyhjcCEBK9TvkU : 2051
9. 12D3KooWC9L4RjPGgqpzBUBkcVpKjJYofCkC5i5QdQftg1LdsFb2 : 1826
10. 12D3KooWKd92H37a8gCDZPDAAGTYvEGAq7CNk1TcaCkcZedkTwFG : 1749

Plots

Bitswap latency (on success only)