ttl_memoizeable

Cross-thread memoization in ruby with eventual consistency. (by huntresslabs)

Ttl_memoizeable Alternatives

Similar projects and alternatives to ttl_memoizeable

  1. memo_ttl

    MemoTTL is a thread-safe memoization utility for Ruby that supports TTL (Time-To-Live) and LRU (Least Recently Used) eviction. It's designed for scenarios where memoized values should expire after a period and memory usage must be constrained.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better ttl_memoizeable alternative or higher similarity.

ttl_memoizeable discussion

Log in or Post with

ttl_memoizeable reviews and mentions

Posts with mentions or reviews of ttl_memoizeable. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-04-22.
  • Show HN: I built a Ruby gem that handles memoization with a ttl
    3 projects | news.ycombinator.com | 22 Apr 2025
    See https://github.com/huntresslabs/ttl_memoizeable for an alternative implementation.

    For those who don’t understand why you might want something like this: if you’re doing high enough throughput where eventual consistency is effectively the same as atomic consistency and IO hurts (i.e. redis calls) you may want to cache in memory with something like this.

    My implementation above was born out of the need to adjust global state on-the-fly in a system processing hundreds of thousands of requests per second.

Stats

Basic ttl_memoizeable repo stats
1
5
3.7
8 months ago

huntresslabs/ttl_memoizeable is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of ttl_memoizeable is Ruby.

Popular Comparisons


Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Ruby is
the 12th most popular programming language
based on number of references?