Skip to content

Speed-based storage throttling #5419

@westonpace

Description

@westonpace

We currently have some basic controls for storage throttling:

  • We have a per-scan throttle (configured as part of the scan) that controls how much data we buffer to avoid running out of RAM
  • We have a per-scan throttle (configured as part of the object store) that controls how many concurrent requests we make to storage
  • We have a per-process throttle (configured with environment variables) that controls how many concurrent requests we make to storage (across the entire process)

Some storage systems (e.g. hugging face) have speed-based limits (3000 requests / five minutes). We should introduce a new throttling mechanism, configured at the object store, which can control this.

Alternatively, this could be an object_store feature (we could presumably move the concurrent requests throttle into object_store as well).

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