Skip to content

Conversation

@bbengfort
Copy link
Contributor

@bbengfort bbengfort commented Sep 10, 2025

Scope of changes

The locks package implements a key-based lock mechanism that uses a crc32 hash to
distribute keys across a fixed number of locks. This allows for concurrent access
to different keys without contention, but fixes the number of locks (and therefore the
amount of available concurrency) to ensure that memory usage is bounded.

Type of change

  • new feature
  • bug fix
  • documentation
  • testing
  • technical debt
  • other (describe)

Author checklist

  • I have manually tested the change and/or added automation in the form of unit tests or integration tests
  • I have added new test fixtures as needed to support added tests

@bbengfort bbengfort merged commit ced2fb2 into main Sep 10, 2025
3 checks passed
@bbengfort bbengfort deleted the multi-locks branch September 10, 2025 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants