Crate foyer_common
source ·Expand description
Shared components and utils for foyer.
Modules§
- A structured async batch pipeline.
- The util that convert the blocking call to async call.
- The bitwise utils.
- The
bytes::Buf
andbytes::BufMut
extensions. - The trait for the key and value encoding and decoding.
- A concurrent count down util.
- File system utils.
- The shared metrics for foyer.
- A concurrent object pool.
- The range extensions.
- A rate limiter that returns the wait duration for limitation.
- A ticket-based rate limiter.
- A runtime that automatically shutdown itself on drop.