Ross ROSS = Recommend OSS · open-source software intelligence for agents

Shopify/identity_cache

IdentityCache is a blob level caching solution to plug into Active Record. Don't #find, #fetch! observed · 2026-08-28

github.com/Shopify/identity_cache · homepage · Ruby · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

88/100

  • Activity 99
  • Release rhythm 67
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 227
  • age_days: 4934
  • days_rel: 8
  • days_push: 9
  • n_releases_24m: 4

Full methodology

Adoption not part of the score

1968 stars · 174 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

IdentityCache is a Ruby gem that adds opt-in, read-through blob caching to Active Record models, backed by Memcached. It lets you fetch records via cache indexes instead of database queries and automatically expires cached objects on changes via after_commit hooks.

Use cases

  • cache active record models in memcached
  • reduce database load for hot reads in rails
  • fetch records by secondary index without hitting the database
  • embed associations in cached parent objects
  • speed up high-traffic rails read paths

When to choose

  • you run a Rails app with heavy read traffic on Active Record models
  • you already use Memcached and want model-level read-through caching
  • you want automatic cache invalidation tied to record commits

When to avoid

  • you don't use Rails or Active Record
  • you need write-heavy workloads where invalidation overhead dominates
  • you have no Memcached or compatible cache backend available

Facets

library · maturity stable

caching orm database web-development databases backend performance ruby activerecord memcached read-through-cache rails shopify web-server

2 sources

Member repositories

RepositoryRoleHealth v2
Shopify/identity_cachemain88

For agents

markdown · JSON · MCP: product_card(name="Shopify/identity_cache")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem