Skip to content

Bigger GET chunk size #90

Open
Open

Description

@ctengel

Starlette's FileResponse streams at a fixed 64 KiB. Subclassing to raise chunk_size would make reads use larger blocks.

Activity

  1. added this to the Performance milestone on Jul 27, 2026
  2. ctengel commented on Jul 27, 2026

    @ctengel
    OwnerAuthor

    I guess ideally we want to just read entire partial content in one shot (up to a reasonable max like 64MB?)...but balance performance on generally... I guess 64MB takes ~0.5 s on 1Gbps link to transfer anyway so maybe OK?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions