Skip to content

Support for readers-writers lock semantics #11

@trydzynski-zen

Description

@trydzynski-zen

Hi! This link works great for serializing updates. In my application, I'm doing some reloads and invalidations after an update. I could serialize them as well, but that adds latency which I don't need, as reads could happen in parallel. So for now, I'm using this link only for updates, and I use some workarounds to trigger reloads at the right time.

It would be a nice feature to be able to decorate writes and reads differently, and then serialize them so that when writing happens, only one writing request at a time is possible (and readers wait), but when reading, all readers can progress in parallel.

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