Skip to content

Commit

Permalink
[readme] experience section
Browse files Browse the repository at this point in the history
  • Loading branch information
0exp authored Mar 30, 2024
1 parent 97a0dc8 commit f43ee6d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Each lock request is put into the request queue (each lock is hosted by it's own
## Table of Contents

- [Requirements](#requirements)
- [Experience](#experience)
- [Algorithm](#algorithm)
- [Installation](#installation)
- [Setup](#setup)
Expand Down Expand Up @@ -47,6 +48,13 @@ Each lock request is put into the request queue (each lock is hosted by it's own

---

### Experience

- Battle-tested on huge projects in production: `~1500` locks-per-second are obtained and released;
- Works well with `hiredis` driver enabled (it is enabled by default on our projects where `redis_queued_locks` are used);

---

### Algorithm

> Each lock request is put into the request queue (each lock is hosted by it's own queue separately from other queues) and processed in order of their priority (FIFO). Each lock request lives some period of time (RTTL) which guarantees that the request queue will never be stacked.
Expand Down

0 comments on commit f43ee6d

Please sign in to comment.