Skip to content

Implement a multithreaded locking mechanism #309

Closed

Description

@RubenVerborgh

For instance, file-based or Redis.

Then we will be able to run a server with multiple workers.

We perhaps also want to emit a warning when the single-threaded locker is used in presence of workers.

Activity

  1. jvherweg commented on Nov 17, 2020

    @jvherweg
    Member

    Related discussion on why not to use lockfile libraries: #32 (comment)

  2. jvherweg commented on Nov 17, 2020

    @jvherweg
    Member

    redlock seems to be the recommended library for using redis locks.

  3. jvherweg commented on Nov 17, 2020

    @jvherweg
    Member

    We can use this issue to keep track of the general progress. Once #324 and #325 have been implemented we want generic integration tests with all 3 locking mechanisms (the 2 mentioned before and the single threaded mechanism), both with expiring and non-expiring locks. This will require setting up with docker in the integration scripts since one of them requires Redis.

  4. added
    🐜 worker threads
    on May 5, 2021
  5. self-assigned this
    on Apr 22, 2022
  6. jvherweg commented on Apr 29, 2022

    @jvherweg
    Member

    Done in #1274 and #1263

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

🐜 worker threadsdifficulty:mediumeffort:medium☀️ enhancement➕ feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions