1. Only showing results from lib.rs

    Clear filter to show all search results

  2. Dec 4, 2024This crate provides an implementation of a time-to-live (TTL) and capacity based cache. It stores key-value pairs and automatically evicts expired entries based on their TTL. The design trades off exact TTL-based expiration for better performance, which means that expired items may not be removed immediately upon expiration, and an item may be ...
  3. ttl_cache_with_purging. A time-to-live (TTL) cache implementation with optional background purging for expired entries. v 0.2.0 # cache # ttl # expire # expiring. common-cache. A hierarchical cache data structure that prioritizes the most commonly used and recently accessed items and can dynamically grow and shrink in size.
  4. Feb 9, 2025See also: http-cache, aws-sdk-mediapackagev2, moq-relay, moq-clock, countme, gst-plugin-togglerecord, rustywatch, sheldon, google-manager1_beta2-cli, cache-advisor, simpl_cache Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski.It contains data from multiple sources, including heuristics, and manually curated data.Content of this page is not necessarily endorsed by the ...
  5. Jan 6, 2025Moka in Production. Moka is powering production services as well as embedded Linux devices like home routers. Here are some highlights: crates.io: The official crate registry has been using Moka in its API service to reduce the loads on PostgreSQL.Moka is maintaining cache hit rates of ~85% for the high-traffic download endpoint. (Moka used: Nov 2021 — present)
  6. Nov 24, 2024Time to live (TTL): A cached entry will be expired after the specified duration past from insert. Time to idle (TTI): A cached entry will be expired after the specified duration past from get or insert. Per-entry expiration policy: The per-entry expiration lets you sets a different expiration time for each entry.
  7. 2 days agoThe TTL value is the number of requests that can be made with the same IP. When the TTL value is reached, the IP will be changed. Session Extension; Append -session-id to the username, where session is a fixed value and ID is an arbitrary random value (e.g., username-session-123456). Keep the Session ID unchanged to use a fixed IP.
  8. Nov 6, 2024The basic usage looks like: use cached::proc_macro::cached; /// Defines a function named `fib` that uses a cache implicitly named `FIB`. /// By default, the cache will be the function's name in all caps. /// The following line is equivalent to #[cached(name = "FIB", unbound)] #[cached] fn fib(n: u64)-> u64 {if n == 0 || n == 1 {return n } fib(n-1) + fib(n-2)}
  9. Jun 16, 2024See also: reso, mfform, qoqo, statsig, risc0-zkp, decaf377, snarkvm-circuit-network, predicates, gix-filter, bevy_logic, rrs-succinct Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski.It contains data from multiple sources, including heuristics, and manually curated data.Content of this page is not necessarily endorsed by the authors of the crate.
  10. Apr 28, 2024Features. Internal Mutability - Do not need to use Arc<RwLock<Cache<...>> for concurrent code, you just need Cache<...> or AsyncCache<...>; Sync and Async - Stretto support sync and runtime agnostic async.. In sync, Cache starts two extra OS level threads. One is policy thread, the other is writing thread. In async, AsyncCache starts two extra green threads.
  11. Can’t find what you’re looking for?

    Help us improve DuckDuckGo searches with your feedback

Custom date rangeX