Skip to content

Decision Guide ​

Not sure which plugin you need? This guide helps you decide in under 2 minutes.

Quick Decision Flowchart ​

Decision Matrix ​

ScenarioPluginWhy
Slow database queriesCacheStore results, serve from memory
Duplicate form submissionsIdempotencyDetect and replay responses
Payment processingIdempotency + LocksPrevent double charges
Cron job on multiple instancesLocksOnly one instance executes
API abuse protectionRate LimitThrottle excessive requests
Login brute forceRate LimitProgressive delays
Flaky third-party APICircuit BreakerFail fast, probe recovery
Payment gateway outagesCircuit BreakerFallback while OPEN
User login sessions ("log out everywhere", device page, seat limits)SessionStore for express-session/@fastify/session + per-user index
Cron/migrations/cleanup on a multi-instance fleetLeader@LeaderOnly: exactly one instance runs the work, automatic failover
Real-time cross-instance eventsPub/SubInstant fan-out, fire-and-forget
WebSocket broadcast on a clusterPub/SubEvery instance receives and relays
Background job processingStreamsReliable async with retries
Event-driven architectureStreamsPub/sub with persistence
Production monitoringMetricsPrometheus integration
Request tracingTracingOpenTelemetry spans

Common Combinations ​

E-commerce / Payments ​

Idempotency + Locks + Cache + Metrics
  • Idempotency: Prevent duplicate orders/charges
  • Locks: Serialize payment processing per order
  • Cache: Product catalog, user sessions
  • Metrics: Monitor transaction rates

Public API ​

Rate Limit + Cache + Metrics + Tracing
  • Rate Limit: Protect from abuse, implement tiers
  • Cache: Reduce backend load
  • Metrics: Track usage per client
  • Tracing: Debug slow requests

Event-Driven Microservices ​

Streams + Idempotency + Locks + Tracing
  • Streams: Event bus between services
  • Idempotency: Handle duplicate events
  • Locks: Coordinate distributed operations
  • Tracing: Follow requests across services

Background Processing ​

Streams + Locks + Metrics
  • Streams: Job queue with consumer groups
  • Locks: Prevent duplicate cron execution
  • Metrics: Monitor queue depth and processing time

What RedisX Does NOT Solve ​

NeedUse Instead
Job scheduling with delaysBullMQ
Complex workflows/sagasTemporal
Full-text searchElasticsearch
Graph queriesNeo4j
Time-series dataTimescaleDB
Message broker with routingRabbitMQ

Plugin Dependencies ​

All plugins depend on Core. Metrics and Tracing enhance other plugins with observability.

Next Steps ​

Once you've identified your plugins:

  1. Installation — Install required packages
  2. Quick Start — Basic configuration
  3. Choose your concept guide:

Released under the MIT License.