# elixir-nebulex/nebulex

In-memory and distributed caching toolkit for Elixir.

Repository: https://github.com/elixir-nebulex/nebulex
Canonical: https://ross.abutalabs.com/products/nebulex
Homepage: https://nebulex.hexdocs.pm
Language: Elixir
License: MIT
License Family: permissive
Topics: cache, distributed, ecto, elixir, caching, framework, declarative
Last push: 2026-08-09T17:15:45+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 82, longevity 100
- inputs: {"age_days": 3487, "days_push": 24, "days_rel": 122, "gap_med": 20, "n_releases_24m": 8}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1398, forks 79 (observed 2026-08-28T04:04:36.837708+00:00)

## What it is
Nebulex is an in-memory and distributed caching toolkit for Elixir that provides a cache abstraction layer similar to Ecto's database abstraction. It supports multiple cache backends via adapters (Redis, Memcached, local caches) and offers declarative decorator-based caching, cache usage patterns, and distributed cache topologies.

## Use cases
- add caching to an existing Elixir application transparently
- set up a distributed cache across Elixir nodes
- cache Ecto query results declaratively with decorators
- swap cache backends like Redis or Memcached without changing application code
- implement cache-aside and read-through patterns in Elixir
- build a generational local in-memory cache

## When to choose
- you are building an Elixir application and need a flexible caching abstraction with pluggable adapters
- you need distributed cache topologies or declarative caching decorators
- you want an Ecto-like consistent API across different cache implementations

## When to avoid
- you need a simple standalone key-value store without an abstraction layer
- your project is not in the Elixir/BEAM ecosystem
- you need a cache server itself rather than a client-side caching framework

## Facets
- artifact type: framework
- maturity: stable
- function: caching, middleware
- domain: backend, web-development, microservices, developer-tools
- platform: elixir, cross-platform
- tags: cache-abstraction, distributed-cache, declarative-caching, ecto, redis, memcached, adapters

## Member repositories
- elixir-nebulex/nebulex (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:36.837708+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:39:13.222157+00:00, confidence not recorded.
  - readme: https://github.com/elixir-nebulex/nebulex (fetched 2026-08-28T04:04:36.837708+00:00, sha d69fc6c8abd7)
  - homepage: https://nebulex.hexdocs.pm (fetched 2026-08-29T11:53:31.532584+00:00, sha 3b1144dc7416)
- Data as of 2026-08-30T08:39:29.467469+00:00.
