Skip to content

Single-flight (dogpile prevention) #7

@toloco

Description

@toloco

Priority: Medium impact / medium effort

Why

Real workloads often suffer from thundering-herd misses.

Goal

  • Only one computation per key at a time
  • Others wait and reuse result

Acceptance Criteria

  • Optional feature (opt-in)
  • Correct behavior with exceptions (waiters see the exception, not stale data)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions