Skip to content

Is it possible to configure the window size of range requests? #42

@pie6k

Description

@pie6k

When reading from the file, the demuxer performs a lot of small requests, each of which seems to be approximately 32 KB.

Image

Is it possible to increase this window, e.g., to 1 MB?

Reason:

We are experiencing an issue where our app crashes after a few minutes with large exports, only when DevTools are open, but we struggle to figure out why exactly.

  • It crashes ONLY if DevTools are open.
  • It never crashes 'early', only after a few minutes of export, but always at a different point.
  • The app itself seems to not fully crash, as it still reacts to some external events, but it is not able to continue the main work (hard to tell why as DevTools are crashed and there is no way to restore it without closing the entire app window (Electron)).

My bet:

  • It is easily doing ~40 requests per second, which easily adds up to tens of thousands of requests listed in the DevTools.

I know it is not solving the root issue for us, but would be more of a workaround. But if this worked, it would help us. Also, in our case, where we always fetch forward in export, it probably makes a lot of sense to have larger chunks of file fetched at once

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