Skip to content

Request coalescing middleware #11

@bjaus

Description

@bjaus

Middleware that deduplicates identical in-flight requests. When multiple clients request the same resource simultaneously, only one backend call is made and the response is shared.

Scope:

  • Key function to identify duplicate requests (default: method + path)
  • Single-flight execution per key
  • Configurable TTL for coalesced responses

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions