8000 Get-or-insert-with semantics / Dogpile Effect Mitigation · Issue #9 · al8n/stretto · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Get-or-insert-with semantics / Dogpile Effect Mitigation #9
Open
@Dessix

Description

@Dessix

Async Caches benefit from being able to ensure that - if a value is not currently cached - a future imminently fulfilling the entry will be passed to the other asynchronous readers. I haven't found a way to implement this pattern without adding another layer of internal mutability within the existing Stretto cache; is there an officially endorsed way to deduplicate cache fulfillment requests? If not, I'd like to request the feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0