qmetrics.net

Nebulex

Elixir caching abstraction with pluggable adapters

Nebulex screenshot

Nebulex adds caching to Elixir apps through a unified API and optional declarative decorators. Swap local, Redis, Memcached, or other backends without rewriting call sites.

Overview

Nebulex is an in-memory and distributed caching toolkit for Elixir modeled after Ecto-style abstractions. Application code targets Nebulex APIs instead of calling Redis, Memcached, or local caches directly, so backends can change with limited impact.

Nebulex.Cache defines standard create, read, update, and delete operations for cache entries. Nebulex.Caching adds decorator-based caching on functions, including patterns such as read-through and write-through described in the guides.

Adapters ship as separate packages; a typical setup adds Nebulex plus an adapter such as the generational local cache, optional decorator and telemetry dependencies, a cache module in the supervision tree, and configuration for sizes and garbage collection intervals.

Telemetry hooks expose stats and metrics. Nebulex Streams can broadcast cache events through Phoenix.PubSub. Documentation covers adapter selection, declarative caching, usage patterns, and writing custom adapters.

Key features

  • Unified cache API across adapters
  • Pluggable local and remote backends
  • Declarative caching decorators
  • Read-through and write-through patterns
  • OTP supervision-friendly caches
  • Telemetry stats and metrics
  • Distributed cache topologies
  • Phoenix.PubSub cache streaming

Use cases

  • Application-level Elixir response caching
  • Swapping Redis or Memcached via one API
  • Decorator-based method memoization
  • Local generational in-process caches
  • Observable cache stats in production

Tags

Similar software

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

GORM

Feature-rich ORM library for Go applications

GORM maps Go structs to SQL databases with migrations, associations, hooks, and a fluent query API. It targets developer-friendly access patterns for common CRUD and relationship modeling.

★ 40k⟳ 1 month agoMIT
Frameworks & PlatformsDesktop/CLI app

TypeORM

TypeScript and JavaScript ORM for many SQL and NoSQL databases

TypeORM maps objects to relational and document databases from Node.js, browsers, and mobile shells. It supports TypeScript and JavaScript with both Data Mapper and Active Record styles.

★ 36.7k⟳ 3 days agoMIT
Frameworks & PlatformsDesktop/CLI app

MyBatis 3

Java SQL mapper with XML or annotation config

MyBatis links Java objects to SQL and stored procedures via XML or annotations. It trims repetitive JDBC parameter and result handling.

★ 20.4k⟳ yesterdayApache-2.0

Node Redis

High-performance Redis client for Node.js

node-redis connects Node.js applications to Redis with typed commands, clustering, pub/sub, transactions, and optional client-side caching.

★ 17.6k⟳ yesterdayMIT
Frameworks & PlatformsDesktop/CLI app

MyBatis-Plus

Enhanced MyBatis toolkit for Java database access

MyBatis-Plus extends MyBatis with code generation, conditional query builders, and pagination helpers. It stays compatible with MyBatis while adding convenience APIs for common CRUD work.

★ 17.5k⟳ todayApache-2.0
Frameworks & PlatformsDesktop/CLI app