Expand description
Bounded idempotence cache for request_id deduplication.
Provides a FIFO cache with O(1) lookups that prevents unbounded memory growth while maintaining efficient duplicate detection.
Structs§
- Bounded
Idempotence Cache - A bounded FIFO cache for idempotency checking.
Constants§
- DEFAULT_
CAPACITY - Default capacity for the idempotence cache. ~3.2 MB memory for 32-byte average request_ids.