Skip to content

feat: improve configuration options #65

@SgtPooki

Description

@SgtPooki

see comment from @achingbrain at #63 (comment):

I wonder if we couldn't just merge the USE_BITSWAP and USE_LIBP2P vars to just be use @helia/http or use helia?

Like, USE_HTTP_GATEWAYS_ONLY or something to select @helia/http.


I think the original intent was to surface metrics for the following:

  1. helia with libp2p & bitswap + trustless gateways + delegated routing
  2. helia with libp2p and delegated routing only (no bitswap)
  3. helia via trustless gateways only.

so we can see where fetching is the least performant and target improvements there. ipns://probelab.io/websites/#websites-http-comparison-ttfb-p90 has some explainers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions