You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: Currently when the Bitswap ProviderSearchDelay is set to 0, the Time To First Byte is worse than when the ProviderSearchDelay is set to 1 second, which doesn’t make sense from a protocol perspective. When the ProviderSearchDelay is set to 0, all requests go through the DHT (compared with only 5% when the ProviderSearchDelay is set to 1 second). One theory that could explain these strange results, is that the DHT implementation is slowing down Kubo.
We need to investigate around parallel requests in the DHT, and try to understand any resource limitation that the implementation may have. The DHT is much less chatty than Bitswap, hence there must be a way to have a more efficient use of resources (even tough the DHT opens more new connections than Bitswap).
Upon completion
Once we are satisfied with the DHT performances, we can set the Bitswap ProviderSearchDelay to 0 (unless we encounter new problems). This is a good step to get rid of Bitswap dumb broadcast!
ETA: 2023-08-31
Description: Currently when the Bitswap
ProviderSearchDelay
is set to0
, the Time To First Byte is worse than when theProviderSearchDelay
is set to1
second, which doesn’t make sense from a protocol perspective. When theProviderSearchDelay
is set to0
, all requests go through the DHT (compared with only 5% when theProviderSearchDelay
is set to 1 second). One theory that could explain these strange results, is that the DHT implementation is slowing down Kubo.We need to investigate around parallel requests in the DHT, and try to understand any resource limitation that the implementation may have. The DHT is much less chatty than Bitswap, hence there must be a way to have a more efficient use of resources (even tough the DHT opens more new connections than Bitswap).
Upon completion
Once we are satisfied with the DHT performances, we can set the Bitswap
ProviderSearchDelay
to0
(unless we encounter new problems). This is a good step to get rid of Bitswap dumb broadcast!References
The text was updated successfully, but these errors were encountered: