pg-wire 0.2.0.0
·
1 commit
to main
since this release
Changed (breaking)
- Replaced the per-connection prepared-statement cache with SIEVE (NSDI'24). In standalone microbenchmarks, SIEVE is 2.3-3.8x faster than the previous HashPSQ-based LRU across fill, hit-only, mixed, eviction-storm, uniform-random, and Zipf-skewed workloads.
Connectionrecord fields changed:connStmtCacheis nowSieveCache ByteString ByteString(wasIORef (HashPSQ ByteString Word64 ByteString)), andconnStmtTickwas removed (SIEVE doesn't need a monotonic tick).
Added
PgWire.Cache.Sieve.clear,capacity, andfoldEntriesfor managing and inspecting the per-connection cache.
Removed
psqueuesdependency.