You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -137,7 +137,7 @@ Available algorithm names you can pass to `WithEvictionAlgorithm`:
137
137
138
138
Note: ARC is experimental and isn’t included in the default registry. If you choose to use it, register it manually or enable it explicitly in your build.
139
139
140
-
#### Sharded eviction (default since v2.0.0)
140
+
#### Sharded eviction (default since v0.5.0)
141
141
142
142
The configured algorithm is wrapped by a 32-shard router (`pkg/eviction/sharded.go`) that uses the same key hash as `ConcurrentMap` — so a key's data shard and eviction shard line up. This eliminates the global mutex contention single-instance algorithms (LRU/LFU/Clock/CAWOLFU) suffer from. Total capacity is honored within ±32 (one slot of slack per shard), and items evict per-shard rather than in strict global LRU/LFU order.
143
143
@@ -263,7 +263,7 @@ Limitations / not yet implemented:
263
263
- Compression on the wire.
264
264
- Persistence / durability (out of scope presently).
265
265
266
-
#### Transport hardening (since v2.0.0)
266
+
#### Transport hardening (since v0.5.0)
267
267
268
268
The dist HTTP server and the auto-created HTTP client share a single configuration surface — apply the same option to every node in the cluster.
269
269
@@ -347,7 +347,7 @@ Test helpers `AddPeer` and `RemovePeer` simulate join / leave events that trigge
0 commit comments