Library Settings Get Help
Stacktora
Stacktora / Vault / Real-time
Real-time

Real-time recipes

17 admin-reviewed Real-time starting points in the Vault, each installable with one command. Browse every category →

Bun + Postgres + Redis: Live Trivia / Game Show Host Backend

Host-driven, synchronized live rounds with timed audience responses — distinct from the Turn-Based Multiplayer recipe: that's async turns at each player's own pace, this is a live host controlling pacing for everyone simultaneously, Kahoot-shaped.

by @ops

Bun 1.3 PostgreSQLRedis

Bun + Postgres + Redis: Real-time Collaborative Code Editor Backend

Multi-cursor, multi-editor operation sync for a shared code editing surface — distinct from the Whiteboard recipe: same broadcast-and-sync shape, applied to a text/code document instead of a drawing canvas, a genuinely different data model and conflict-resolution need.

by @ops

Bun 1.3 PostgreSQLRedis

Chat & Messaging Backend

Message history in Postgres, presence and pub/sub fan-out via Redis — the actual backend shape a real-time chat feature needs, not just a raw WebSocket server with nowhere to put the messages.

by @ops

Node.js 24 PostgreSQLRedis

Deno + Postgres + Redis: Real-time Collaborative Presentation/Slide Deck Backend

Live slide editing and multi-cursor presence for a shared deck — completes the family alongside the Whiteboard, Code Editor, and Spreadsheet recipes: same broadcast-and-sync shape, applied to a slide/deck data model.

by @ops

Deno 2.8.2 PostgreSQLRedis

Elixir + Postgres + Redis: Live Sports Score & Event Ticker

Live-updating scores and event feeds broadcast to many simultaneous viewers — Elixir/OTP's connection-handling model suiting the fan-out-to-thousands-of-viewers shape of this problem specifically.

by @ops

Elixir 1.20 PostgreSQLRedis

Elixir + Postgres + Redis: Multiplayer Card Game Backend (Hidden Information)

Imperfect-information game state (each player sees only their own hand) — distinct from the Turn-Based Multiplayer recipe: that's full-information turns like chess, this specifically handles hidden state and what each player is and isn't allowed to see.

by @ops

Elixir 1.20 PostgreSQLRedis

Elixir + Postgres + Redis: Real-time Collaborative Spreadsheet Backend

Live cell edits, formula recalculation events, and multi-cursor presence — distinct from the Whiteboard and Code Editor recipes: same broadcast-and-sync shape, applied to a cell/formula data model instead of canvas operations or text.

by @ops

Elixir 1.20 PostgreSQLRedis

Elixir + Postgres + Redis: Turn-Based Multiplayer Game Backend

Persisted game state and move history in Postgres, Redis for active-turn/presence state — distinct from the Rust + Redis + NATS multiplayer recipe: that's fast-tick real-time games, this is async turn-based play (chess/word-game shaped), a genuinely different latency and consistency profile.

by @ops

Elixir 1.20 PostgreSQLRedis

Elixir + Redis: Presence & Broadcast Service

Who's-online presence and pub/sub broadcast built on Elixir/OTP — the runtime this exact pattern (Phoenix Presence) was designed around, not a port of the idea into a language that has to work harder for the same guarantees.

by @ops

Elixir 1.20 Redis

Go + Postgres + Redis + NATS: Real-time Chat Starter

A real-time messaging backend: Go API, Postgres for message history and rooms, Redis for presence and rate limiting, and NATS as the pub/sub backbone for live delivery across instances.

by @ops

Go 1.26 PostgreSQLRedis NATS

Leaderboard & Matchmaking Backend

Score tracking, rankings, and matchmaking queue state via Redis sorted sets, Postgres for persisted match history. The backend shape behind any competitive/gaming feature that needs a live leaderboard, not just a stored high-score table.

by @ops

Node.js 24 PostgreSQLRedis

Live Polling & Audience Engagement Backend

Live polls, Q&A, and real-time result tallying via Redis — the backend behind an event/webinar engagement feature, distinct from Leaderboard/Matchmaking and Auction/Bidding.

by @ops

Node.js 24 PostgreSQLRedis

Real-time Auction & Bidding Backend

Timed bidding windows, live bid updates via Redis pub/sub, and winner determination with proper tie-breaking — distinct from the Marketplace recipe's fixed-price listings: bids change the price in real time and the clock matters.

by @ops

Node.js 24 PostgreSQLRedis

Real-time Collaboration & Presence Backend

Live cursors, who's-online presence, and shared editing state via Redis pub/sub, with Postgres for persisted document snapshots. Distinct from the Chat recipe: chat persists messages as the point; this is ephemeral shared state where the live view IS the point.

by @ops

Node.js 24 PostgreSQLRedis

Rust + Postgres + Redis: Real-time Collaborative Whiteboard Backend

Drawing/canvas operations broadcast and persisted, Redis for the live operation stream, Postgres for saved board state — distinct from the general Collaboration & Presence recipe: this is specifically canvas-operation sync, the Figma/Miro-shaped problem.

by @ops

Rust 1.96 PostgreSQLRedis

Rust + Redis + NATS: Multiplayer Game Backend

A low-latency multiplayer game backend: Rust for predictable, high-performance tick processing, Redis for fast-changing player/session state, and NATS as the pub/sub backbone for broadcasting game state across server instances.

by @ops

Rust 1.96 Redis NATS

Rust + Redis: Live Stock/Crypto Price Ticker & Watchlist Backend

A worker streaming live price data into Redis, broadcasting updates to watchlist subscribers — built for the update-every-second-to-thousands-of-viewers shape this specific problem has.

by @ops

Rust 1.96 Redis