Skip to content

Load test bitswap retrieval with Piece Directory #892

@dirkmc

Description

@dirkmc

Depends on


Create a tool (or script) that load tests bitswap retrieval by targetting a specific provider with a predefined set of cids to fetch, with configurable concurrency factor. We want to start building intuition on what the limits of retrieval are for Boost at the moment.

Given that currently our devnets support only small sector sizes (8MiB), this tool would initially have to target a mainnet provider, such as sofiaminer / https://filfox.info/en/address/f0127896, until we add 32GiB sector support with fake proofs to the devnet.

During and after the load test we should be able to extract insight from the metrics/tracing systems on performance of various internal components

  • total number. rate and latency of requests to Boost -- on API layer
  • total number, rate and latency of requests to Boost -- on Piece directory
  • total number, rate and latency of requests to Boost -- piece reader handlers
  • total number, rate and latency of requests to Lotus -- piece reader handlers

This task is somewhat open-ended and attempts to tie together the metrics/tracing effort with the devnet effort and create a framework to evaluate Boost retrievals consistently.


Related:

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions