# davidyaha/graphql-redis-subscriptions

A graphql subscriptions implementation using redis and apollo's graphql-subscriptions

Repository: https://github.com/davidyaha/graphql-redis-subscriptions
Canonical: https://ross.abutalabs.com/products/graphql-redis-subscriptions
Language: TypeScript
License: MIT
License Family: permissive
Topics: redis, graphql-subscriptions, redis-subscriptions, graphql
Last push: 2025-05-21T16:11:59+00:00

## Health v2 (maintenance only)
Score: 33/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 22, release rhythm 8, longevity 100
- inputs: {"age_days": 3653, "days_push": 469, "days_rel": 628, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1118, forks 134 (observed 2026-08-28T04:03:39.174395+00:00)

## What it is
A TypeScript library implementing the PubSubEngine and AsyncIterator interfaces from graphql-subscriptions on top of Redis Pub/Sub. It lets GraphQL subscription managers scale across multiple server instances by sharing events through Redis.

## Use cases
- scale graphql subscriptions across multiple server instances
- publish graphql subscription events via redis pub/sub
- use async iterators for graphql subscriptions
- dynamically create subscription topics from query args
- subscribe to redis topics with patterns in graphql

## When to choose
- you run multiple graphql server instances and need shared subscription state
- you already use apollo's graphql-subscriptions and need a redis-backed engine

## When to avoid
- you run a single graphql server instance where in-memory pubsub suffices
- you need persistent event storage rather than fire-and-forget pub/sub

## Facets
- artifact type: library
- maturity: active
- function: websocket, middleware, message-queue
- domain: web-development, backend, apis
- platform: -
- tags: graphql-subscriptions, redis-pubsub, pubsub-engine, apollo, typescript, real-time, nodejs, web-server

## Member repositories
- davidyaha/graphql-redis-subscriptions (main) score 33

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:39.174395+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-30T06:41:28.071499+00:00, confidence not recorded.
  - readme: https://github.com/davidyaha/graphql-redis-subscriptions (fetched 2026-08-28T04:03:39.174395+00:00, sha 504db6783ddb)
  - registry_npm: https://registry.npmjs.org/graphql-redis-subscriptions (fetched 2026-08-29T12:45:14.493267+00:00, sha 085de83f691f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
