---
title: "Real-time systems"
description: "WebSockets, live updates, presence, real-time collaboration"
url: "https://swe.quest/tags/realtime?per=96"
---

# Real-time systems

Topic in Backend & APIs: WebSockets, live updates, presence, real-time collaboration

By difficulty: [Easy](https://swe.quest/tags/realtime.md?difficulty=easy) · [Medium](https://swe.quest/tags/realtime.md?difficulty=medium) · [Hard](https://swe.quest/tags/realtime.md?difficulty=hard)

Posts 1–71 of 71, page 1 of 1, newest first.

## 2026-11-06

- [A Jetstream for Spaces](https://swe.quest/articles/a-jetstream-for-spaces-24b1e147a2662e7d.md): AT Protocol · 2026-11-06 · Medium · 5 min read · Real-time systems, Identity & auth, Distributed systems, TypeScript
  Jetstream will be fully compatible with AT Protocol spaces, so apps that consume public atproto data can read non-public space data with the same client and replay-then-live cursor model.

## 2026-10-20

- [Serverless routing made sticky](https://swe.quest/articles/serverless-routing-made-sticky-bebd537ed004d584.md): Modal · 2026-10-20 · Medium · 5 min read · Serverless, Load balancing, System design, Real-time systems, Capacity planning
  Modal's Sticky Sessions pin every request in a session to the same serverless container, which suits stateful workloads like streaming speech-to-text, voice agents, shared rooms and multiplayer games without resorting to max\_containers=1.

## 2026-10-16

- [Pi Durable on Cloudflare](https://swe.quest/articles/pi-durable-on-cloudflare-1b649cdf3e489964.md): Earendil · 2026-10-16 · Medium · 8 min read · AI agents, Serverless, SQLite, Real-time systems, TypeScript
  A multiplayer chat agent built on Pi Durable maps each agent session to one SQLite-backed Cloudflare Durable Object, so idle agents hibernate instead of holding a running machine.

## 2026-10-15

- [Neon now has realtime](https://swe.quest/articles/neon-now-has-realtime-b9ed3cc150e396ae.md): Neon · 2026-10-15 · Medium · 10 min read · Real-time systems, PostgreSQL, TypeScript, React, AI for coding
  Neon Realtime, now in free public beta, turns any read-only deterministic SQL query (joins, aggregates, window functions, subqueries) into a live query whose result stays updated as data changes, running inside Postgres rather than as a separate realtime service.
- [Augment Your LiveKit Agent with Modal GPUs](https://swe.quest/articles/augment-your-livekit-agent-with-modal-gpus-7c537d7efe5221b2.md): Modal · 2026-10-15 · Medium · 2 min read · Serverless, Real-time systems, Inference & serving, Speech & audio, Video & media
  LiveKit agents can offload custom or open-weights models to Modal serverless GPUs, demonstrated with a BitHuman Expression video avatar voiced by Qwen3-TTS.

## 2026-10-14

- [Developer Experience Goals for Atproto Spaces](https://swe.quest/articles/developer-experience-goals-for-atproto-spaces-bb9e2607dec0b6d2.md): AT Protocol · 2026-10-14 · Easy · 5 min read · Distributed systems, Identity & auth, Real-time systems, System design
  Atproto spaces, a permissioned-data extension to the AT Protocol, is nearing launch with its core primitives stabilizing, and the team will publish weekly code samples until release.

## 2026-10-12

- [Shipping Media Over QUIC at Meta Scale for Instagram Live Ingest](https://swe.quest/articles/shipping-media-over-quic-at-meta-scale-for-instagram-live-ingest-7a7a466e4e081d91.md): Meta Engineering · 2026-10-12 · Medium · 8 min read · Video & media, Networking, Deployment, Real-time systems
  Instagram Live on iOS and Android now ingests live video over Media over QUIC (MoQ), an emerging IETF standard, replacing Meta's in-house QUIC-based RUSH protocol and reaching parity on streaming-quality and reliability metrics.

## 2026-09-04

- [Build a real-time market data app with ClickHouse and Massive](https://swe.quest/articles/build-a-real-time-market-data-app-with-clickhouse-and-massive-0320c9b65a8a9694.md): ClickHouse · 2026-09-04 · Medium · 15 min read · Analytics & OLAP, Real-time systems, JavaScript, SQL, React
  A real-time tick data app can stream stock trades and quotes from Massive (formerly Polygon.io) over WebSockets straight into ClickHouse, with a Node.js backend and a React frontend for live visualization.

## 2026-08-12

- [Neon Functions: backend logic next to your data](https://swe.quest/articles/neon-functions-backend-logic-next-to-your-data-fe00336dce0040ff.md): Neon · 2026-08-12 · Medium · 5 min read · Serverless, PostgreSQL, Real-time systems
  Neon Functions are long-running Node.js 24 compute deployed onto a Neon branch, in the same region and on the same infrastructure as its Lakebase Postgres database, with DATABASE\_URL and other Neon backend credentials injected automatically.

## 2026-08-05

- [Postgres Changes gets AND filters, new operators, and column selection](https://swe.quest/articles/postgres-changes-gets-and-filters-new-operators-and-column-selection-74cc67b661b6c154.md): Supabase · 2026-08-05 · Medium · 3 min read · Real-time systems, PostgreSQL, API design
  Supabase Realtime's Postgres Changes subscriptions now support AND-composed filters across multiple columns, new operators (like, ilike, is, match/imatch for POSIX regex, isdistinct, and not. negation), a typed filter builder, and a select option that returns only chosen columns plus the primary key.

## 2026-08-03

- [How we built a realtime system for responsive voice AI in six months](https://swe.quest/articles/how-we-built-a-realtime-system-for-responsive-voice-ai-in-six-months-00acf536a10a0c45.md): OpenAI · 2026-08-03 · Medium · 12 min read · Inference & serving, Real-time systems, Networking, Speech & audio, System design
  GPT-Live replaces turn-detector-based voice AI with a full-duplex voice model that listens and speaks simultaneously, delegating deeper reasoning and tool use to frontier models like GPT-5.5 over an asynchronous RPC path that never blocks media.

## 2026-05-05

- [Realtime or Pipelines? How to choose the right tool](https://swe.quest/articles/realtime-or-pipelines-how-to-choose-the-right-tool-61e0b980ce77be1d.md): Supabase · 2026-05-05 · Medium · 8 min read · PostgreSQL, Event-driven architecture, Real-time systems, Replication, Data pipelines
  Supabase Realtime and Supabase Pipelines both read Postgres changes via logical replication but serve different jobs.

## 2026-05-04

- [How OpenAI delivers low-latency voice AI at scale](https://swe.quest/articles/how-openai-delivers-low-latency-voice-ai-at-scale-fa481a5234e95d30.md): OpenAI · 2026-05-04 · Hard · 13 min read · Networking, Real-time systems, Load balancing, Kubernetes, Speech & audio
  OpenAI rearchitected its WebRTC stack for ChatGPT voice and the Realtime API by splitting a stateless UDP relay from a stateful Go/Pion transceiver that owns ICE, DTLS and SRTP state.

## 2026-04-22

- [Speeding up agentic workflows with WebSockets in the Responses API](https://swe.quest/articles/speeding-up-agentic-workflows-with-websockets-in-the-responses-api-7a1ff127c7fc35a3.md): OpenAI · 2026-04-22 · Medium · 6 min read · AI agents, API design, Performance engineering, Inference & serving, Real-time systems
  OpenAI cut end-to-end latency of agentic loops on the Responses API by about 40% by adding a WebSocket mode that keeps a persistent connection with a connection-scoped in-memory cache of prior response state.

## 2026-03-19

- [Building a Magic Mirror: AI retail experiences with Remix](https://swe.quest/articles/building-a-magic-mirror-ai-retail-experiences-with-remix-ffcfc35324fc55fe.md): Shopify Engineering · 2026-03-19 · Medium · 9 min read · LLMs, React, Real-time systems, Computer vision, Product engineering
  An AI-powered "magic mirror" hides a webcam and display behind glass.

## 2025-12-03

- [Behind the build: 2025's BFCM globe in a pinball machine 🌎🕹️](https://swe.quest/articles/behind-the-build-2025-s-bfcm-globe-in-a-pinball-machine-31ac98f2441d854c.md): Shopify Engineering · 2025-12-03 · Medium · 16 min read · Frontend, React, Performance engineering, Games, Real-time systems
  Shopify's 2025 BFCM live globe was embedded in a browser pinball game built with three.js and react-three-fiber, streaming real merchant orders via server-sent events and reacting to sales milestones and first sales.

## 2025-11-25

- [Run for your money: Engineering a treadmill that prints store credit](https://swe.quest/articles/run-for-your-money-engineering-a-treadmill-that-prints-store-credit-702ad79862116f35.md): Shopify Engineering · 2025-11-25 · Medium · 8 min read · E-commerce, Real-time systems, Hardware, Product engineering
  For NYC Marathon weekend, Shopify and Endorphins Running built a gamified curved manual treadmill that awards in-store credit for holding a chosen pace within a padded "zone" for 30 seconds, earning 1/30th of $75 per second in zone.

## 2025-11-04

- [One-second voice-to-voice latency with Modal, Pipecat, and open models](https://swe.quest/articles/one-second-voice-to-voice-latency-with-modal-pipecat-and-open-models-a0369eb06c4f6162.md): Modal · 2025-11-04 · Medium · 12 min read · Speech & audio, Inference & serving, Real-time systems, Performance engineering, RAG & retrieval
  A conversational voice bot on Modal reaches roughly one-second voice-to-voice latency.

## 2025-10-17

- [A refreshing take: using serverside rendering to reduce fragile DOM state](https://swe.quest/articles/a-refreshing-take-using-serverside-rendering-to-reduce-fragile-dom-state-949880494b413aac.md): FreeAgent Engineering · 2025-10-17 · Medium · 8 min read · Frontend, Ruby, Real-time systems
  Turbo's \`refresh\` stream action, unlike the original DOM-manipulating actions, exists to let servers broadcast "re-fetch this page" over Action Cable, with idiomorph morphing applying only the changed elements.

## 2025-09-16

- [Inside Modal Notebooks: How we built a cloud GPU notebook that boots in seconds](https://swe.quest/articles/inside-modal-notebooks-how-we-built-a-cloud-gpu-notebook-that-boots-in-seconds-cfb6050987f03347.md): Modal · 2025-09-16 · Medium · 8 min read · System design, Containers, Storage systems, Real-time systems, Developer tools
  Modal Notebooks runs Jupyter kernels inside Modal Sandboxes, using a \`modal-kernelshim\` daemon that translates ZeroMQ kernel protocol messages into HTTP tunneled through the control plane.

## 2025-08-07

- [TanStack DB with Sync – the future of real-time UI](https://swe.quest/articles/tanstack-db-with-sync-the-future-of-real-time-ui-23c7d45a5c87b6ef.md): Neon · 2025-08-07 · Medium · 8 min read · Local-first & sync, Real-time systems, React, PostgreSQL, TypeScript
  Pairing TanStack DB with the ElectricSQL sync engine gives web apps end-to-end real-time updates and optimistic mutations, with Postgres as the source of truth.

## 2025-06-18

- [Supporting faster file load times with memory optimizations in Rust](https://swe.quest/articles/supporting-faster-file-load-times-with-memory-optimizations-in-rust-9b748f81216508a0.md): Figma · 2025-06-18 · Medium · 6 min read · Rust, Memory management, Performance engineering, Data structures, Real-time systems
  Figma's Rust multiplayer server represented each file node as a BTreeMap from u16 property IDs to pointers, and memory profiling showed this map used over 60% of a file's memory.

## 2025-06-06

- [Incident Report: June 6th, 2025](https://swe.quest/articles/incident-report-june-6th-2025-9658b33640a716b2.md): Railway · 2025-06-06 · Medium · 3 min read · Incidents & postmortems, Resilience, Real-time systems, Identity & auth
  Database connection pressure at Railway tripped backend circuit breakers, which set off aggressive websocket reconnects from every connected client at once.

## 2025-05-21

- [SignalR Scalability: Scaling Real-Time SignalR Applications on Heroku](https://swe.quest/articles/signalr-scalability-scaling-real-time-signalr-applications-on-heroku-1ba3b1c0a22c9917.md): Heroku Engineering · 2025-05-21 · Medium · 11 min read · Real-time systems, .NET, Scaling, Load balancing, Cloud platforms
  Scaling a SignalR chat app across multiple Heroku dynos takes two pieces: a Redis backplane so every instance relays hub messages to its own connected clients, and sticky sessions so long-lived WebSocket connections stay pinned to one dyno.

## 2025-04-02

- [Realtime: Broadcast from Database](https://swe.quest/articles/realtime-broadcast-from-database-42fdc3186500936d.md): Supabase · 2025-04-02 · Medium · 3 min read · Real-time systems, PostgreSQL, Replication
  Supabase Realtime's Broadcast from Database sends database change events to clients through Postgres triggers that write to a \`realtime.messages\` table.

## 2025-02-25

- [FastRTC: The Real-Time Communication Library for Python](https://swe.quest/articles/fastrtc-the-real-time-communication-library-for-python-e889b4f612747a64.md): Hugging Face · 2025-02-25 · Medium · 6 min read · Speech & audio, Real-time systems, Python, LLMs
  FastRTC is a Python library for building real-time audio and video AI applications over WebRTC or WebSockets without needing WebRTC expertise.

## 2024-12-13

- [Deploy a Dart App on Railway, Part 2](https://swe.quest/articles/deploy-a-dart-app-on-railway-part-2-287e095280b728a4.md): Railway · 2024-12-13 · Medium · 10 min read · Identity & auth, Real-time systems, Deployment, Mobile
  Building Trivyal, a Kahoot-style trivia app, on Serverpod and Flutter and deploying it to Railway.

## 2024-12-03

- [Supabase Edge Functions: Introducing Background Tasks, Ephemeral Storage, and WebSockets](https://swe.quest/articles/supabase-edge-functions-introducing-background-tasks-ephemeral-storage-and-e15d228ef0b3c73e.md): Supabase · 2024-12-03 · Medium · 6 min read · Serverless, Real-time systems, JavaScript
  Supabase Edge Functions gain background tasks, ephemeral /tmp file storage, and inbound/outbound WebSocket support.

## 2024-10-30

- [SSH Remoting is Here!](https://swe.quest/articles/ssh-remoting-is-here-e8b971cd6a36c791.md): Zed · 2024-10-30 · Easy · 2 min read · Developer tools, Real-time systems, Rust
  Zed can now open projects on any SSH-reachable machine, keeping the UI local while language servers, tasks and terminals run on the remote host.

## 2024-10-22

- [Deploying Speech-to-Speech on Hugging Face](https://swe.quest/articles/deploying-speech-to-speech-on-hugging-face-f49accac75643214.md): Hugging Face · 2024-10-22 · Medium · 10 min read · Inference & serving, Speech & audio, Containers, Real-time systems, Python
  Hugging Face's Speech-to-Speech pipeline (VAD, speech-to-text, LLM, text-to-speech) can be deployed to Inference Endpoints by forking the huggingface-inference-toolkit into a custom Docker image.

## 2024-10-02

- [Streaming Real-Time Visualizations with ClickHouse, Apache Arrow and Perspective](https://swe.quest/articles/streaming-real-time-visualizations-with-clickhouse-apache-arrow-and-perspective-7d2ccb1a3cd92435.md): ClickHouse · 2024-10-02 · Medium · 13 min read · Analytics & OLAP, Frontend, Real-time systems, SQL, WebAssembly
  A ~100-line browser demo streams forex tick data from ClickHouse into the Perspective visualization library (Rust/C++ compiled to WebAssembly) using Apache Arrow over HTTP.

## 2024-09-23

- [Local-first Realtime Apps with Expo and Legend-State](https://swe.quest/articles/local-first-realtime-apps-with-expo-and-legend-state-f16eaf0818ab58cf.md): Supabase · 2024-09-23 · Medium · 8 min read · Local-first & sync, Mobile, React, PostgreSQL, Real-time systems
  Expo and React Native apps can go local-first by pairing Legend-State's sync engine with Supabase.

## 2024-09-05

- [Building an Uber Clone with Flutter and Supabase](https://swe.quest/articles/building-an-uber-clone-with-flutter-and-supabase-eaa64bc8188b0796.md): Supabase · 2024-09-05 · Medium · 15 min read · Mobile, PostgreSQL, Maps & geospatial, Real-time systems
  An Uber-style consumer ride app can be built with Flutter on top of Supabase, using PostGIS geography columns to store driver locations and Supabase Realtime to stream the driver's position onto a Google Map.

## 2024-08-13

- [Supabase Realtime: Broadcast and Presence Authorization](https://swe.quest/articles/supabase-realtime-broadcast-and-presence-authorization-db4d8e985aa735a7.md): Supabase · 2024-08-13 · Medium · 6 min read · Real-time systems, Identity & auth, PostgreSQL
  Supabase Realtime now supports authorization for Broadcast and Presence channels using Postgres Row Level Security policies on a managed \`realtime.messages\` table, where SELECT policies govern receiving and INSERT policies govern sending.

## 2024-07-04

- [Postgres Realtime location sharing with MapLibre](https://swe.quest/articles/postgres-realtime-location-sharing-with-maplibre-f6d03ffa8efe5716.md): Supabase · 2024-07-04 · Medium · 5 min read · Real-time systems, Maps & geospatial, PostgreSQL, React, Serverless
  Live location sharing is built by having a Telegram bot running in a Supabase Edge Function (grammY on Deno) capture edited-location updates and write them to Postgres through a PL/pgSQL RPC.

## 2024-06-27

- [Text Coordinate Systems](https://swe.quest/articles/text-coordinate-systems-5ea8fbb000ee9f93.md): Zed · 2024-06-27 · Medium · 11 min read · Rust, Data structures, Developer tools, Real-time systems, Time & clocks
  Zed represents text positions with several coordinate types, each suited to a different job.

## 2024-06-13

- [MLow: Meta’s low bitrate audio codec](https://swe.quest/articles/mlow-meta-s-low-bitrate-audio-codec-c51bb9c2ff6f3402.md): Meta Engineering · 2024-06-13 · Easy · 6 min read · Speech & audio, Communications, Real-time systems
  MLow is a CELP-based low-bitrate speech codec Meta built for calls on poor networks and low-end devices, where ML codecs like Encodec are too compute-heavy.

## 2024-05-22

- [Speeding up file load times, one page at a time](https://swe.quest/articles/speeding-up-file-load-times-one-page-at-a-time-6f46ca8213350490.md): Figma · 2024-05-22 · Medium · 13 min read · Web performance, Real-time systems, Data structures, System design
  Figma extended dynamic page loading from view-only files and prototypes to editable files, cutting load times for the slowest 5% of loads by 33% and reducing client memory.

## 2024-05-17

- [Keeping it 100(x) with real-time data at scale](https://swe.quest/articles/keeping-it-100-x-with-real-time-data-at-scale-3b49e279c5a600f2.md): Figma · 2024-05-17 · Medium · 19 min read · Caching, Real-time systems, Scaling, PostgreSQL, System design
  Figma rebuilt LiveGraph, its real-time GraphQL-like subscription service over Postgres, to scale reads and database update load 100x as the database moved from one instance to vertical and horizontal shards.

## 2024-05-09

- [The open source Kahoot alternative](https://swe.quest/articles/the-open-source-kahoot-alternative-f1d3ab02612a0905.md): Supabase · 2024-05-09 · Medium · 5 min read · Real-time systems, PostgreSQL, Identity & auth, Frontend, Open source
  Supabase built an open-source Kahoot-style quiz game for its GA Week meetups.

## 2024-03-18

- [More Reliable Connections to Your Repls](https://swe.quest/articles/more-reliable-connections-to-your-repls-07578bd14f5efb1d.md): Replit · 2024-03-18 · Medium · 5 min read · Load balancing, System design, Resilience, SRE, Real-time systems
  Replit split reverse WebSocket proxying out of Conman, its container manager on GCE VMs, into a dedicated service called Eval that sits between clients and Conman VMs.

## 2024-03-14

- [Lambda on hard mode: Inside Modal's web infrastructure](https://swe.quest/articles/lambda-on-hard-mode-inside-modal-s-web-infrastructure-9e5302ebea41d109.md): Modal · 2024-03-14 · Medium · 17 min read · Serverless, Networking, Rust, System design, Real-time systems
  Modal's modal-http service, written in Rust on hyper and Tokio, serves HTTP and WebSocket traffic for serverless functions by translating each request into a function call instead of reverse-proxying to containers.

## 2024-01-26

- [Create a Figma Clone app with Flutter and Supabase Realtime](https://swe.quest/articles/create-a-figma-clone-app-with-flutter-and-supabase-realtime-bc5c75e7ac04059a.md): Supabase · 2024-01-26 · Medium · 20 min read · Real-time systems, Mobile, Frontend, PostgreSQL
  A collaborative design canvas, a simplified Figma, built by combining Supabase Realtime Broadcast for low-latency client-to-client messaging with Flutter's CustomPainter for low-level canvas rendering.

## 2024-01-23

- [Improving performance with incremental frame loading](https://swe.quest/articles/improving-performance-with-incremental-frame-loading-2561f28b61e84c3a.md): Figma · 2024-01-23 · Medium · 8 min read · Web performance, Real-time systems, Memory management, Performance engineering, System design
  Figma's prototype player used to load entire documents into memory, causing multi-minute loads and crashes on memory-constrained mobile devices.

## 2023-10-06

- [Zed Weekly: #22](https://swe.quest/articles/zed-weekly-22-1c922abde503e316.md): Zed · 2023-10-06 · Easy · 7 min read · Developer tools, Rust, Real-time systems, Product engineering
  Zed team members report weekly progress: GPUI is being rewritten with a ported Metal renderer that uses plane-split for primitive draw ordering, multi-threaded entity access, and a MainThread\<T: Context\> wrapper so native UI APIs are only called from the main thread.

## 2023-08-01

- [Sidekick’s Improved Streaming Experience](https://swe.quest/articles/sidekick-s-improved-streaming-experience-14ee0919ebe52814.md): Shopify Engineering · 2023-08-01 · Medium · 6 min read · LLMs, Real-time systems, Frontend, JavaScript, Product engineering
  Shopify's Sidekick fixes two LLM chat streaming problems: Markdown rendering jank, where partial syntax shows up as raw text, and the long wait while tool calls finish.

## 2023-07-21

- [This Week at Zed Industries: #12](https://swe.quest/articles/this-week-at-zed-industries-12-12effbc7b871501a.md): Zed · 2023-07-21 · Medium · 7 min read · Rust, Real-time systems, Consistency models, Developer tools, Replication
  Zed publicly launched its preview channel and reports progress across the editor: Vim search commands, macOS ctrl-click remapped to right click in the platform layer, terminal Cmd+hover navigation, a semantic index that collapses nested tree-sitter symbols to cut embedding tokens, and a lock-contention bug where slow git status in huge repos serializes file scanning.

## 2023-05-03

- [How Figma draws inspiration from the gaming world](https://swe.quest/articles/how-figma-draws-inspiration-from-the-gaming-world-d8a336bcdbd13832.md): Figma · 2023-05-03 · Easy · 13 min read · Real-time systems, WebAssembly, System design, Games, Debugging
  Figma's architecture resembles a game engine more than a typical web stack: a C++ canvas compiled to WebAssembly for 2D rendering, a React/TypeScript UI layer, and a Rust multiplayer server, plus layered systems for multiplayer, animation, collisions, chat and plugins.

## 2023-04-11

- [Real-time Messaging](https://swe.quest/articles/real-time-messaging-63eff1981479ebae.md): Slack Engineering · 2023-04-11 · Medium · 6 min read · Real-time systems, System design, Distributed systems, Communications, Scaling
  Slack's real-time messaging runs on four Java services: stateful in-memory Channel Servers sharded by consistent hashing, regionally deployed Gateway Servers holding websocket subscriptions, stateless Admin Servers bridging the Webapp backend, and Presence Servers tracking online users.

## 2023-04-07

- [Designing with AI: Generating unique artwork for every user](https://swe.quest/articles/designing-with-ai-generating-unique-artwork-for-every-user-1fecb862c87a12d2.md): Supabase · 2023-04-07 · Medium · 8 min read · PostgreSQL, Serverless, Real-time systems, Caching
  Supabase's Launch Week 7 tickets combine Midjourney-generated artwork with a per-user Open Graph image pipeline built on the Supabase stack.

## 2023-02-14

- [How to build a real-time multiplayer game with Flutter Flame](https://swe.quest/articles/how-to-build-a-real-time-multiplayer-game-with-flutter-flame-cc7e275b27a553e7.md): Supabase · 2023-02-14 · Medium · 18 min read · Games, Real-time systems, Mobile
  A real-time multiplayer UFO shooting game can be built with Flutter, the Flame game engine and Supabase Realtime.

## 2022-12-10

- [pg\_crdt - an experimental CRDT extension for Postgres](https://swe.quest/articles/pg-crdt-an-experimental-crdt-extension-for-postgres-19dd4ebad247eefd.md): Supabase · 2022-12-10 · Easy · 7 min read · PostgreSQL, Consistency models, Local-first & sync, Real-time systems
  pg\_crdt is an experimental, open-source Postgres extension that adds CRDT column types (wrapping the Yjs and Automerge Rust libraries via pgx), so a column like a post's content can be a Yjs Doc whose updates are commutative and idempotent.

## 2022-12-01

- [How CRDTs make multiplayer text editing part of Zed's DNA](https://swe.quest/articles/how-crdts-make-multiplayer-text-editing-part-of-zed-s-dna-b0f0df37585dbddf.md): Zed · 2022-12-01 · Medium · 12 min read · Local-first & sync, Real-time systems, Consistency models, Algorithms, Rust
  Zed builds collaborative editing into its core using CRDTs rather than Operational Transformation, making concurrent edits commutative by addressing text through stable logical anchors (insertion id plus offset) instead of absolute offsets.

## 2022-11-30

- [Using Server Sent Events to Simplify Real-time Streaming at Scale](https://swe.quest/articles/using-server-sent-events-to-simplify-real-time-streaming-at-scale-27a5424d07541ac7.md): Shopify Engineering · 2022-11-30 · Medium · 9 min read · Real-time systems, Stream processing, Go, Scaling, Load balancing
  Shopify replaced its 2021 BFCM Live Map delivery path, in which WebSocket fed a presentation layer that clients polled through a mailbox system every 10+ seconds, with a Go Server Sent Events server.

## 2022-11-22

- [Flutter Authorization with RLS](https://swe.quest/articles/flutter-authorization-with-rls-f1170d28eed05738.md): Supabase · 2022-11-22 · Medium · 25 min read · PostgreSQL, Identity & auth, Mobile, Real-time systems
  Extends a basic Flutter real-time chat app into a 1-on-1 chat with authorization enforced by PostgreSQL Row Level Security on Supabase.

## 2022-11-17

- [Fetching and caching Supabase data in Next.js 13 Server Components](https://swe.quest/articles/fetching-and-caching-supabase-data-in-next-js-13-server-components-3caa6b52da5f9612.md): Supabase · 2022-11-17 · Medium · 11 min read · React, Frontend, Caching, Real-time systems
  Next.js 13's app directory lets async Server Components query Supabase directly, with caching controlled by an exported \`revalidate\` value instead of separate getStaticProps/getServerSideProps functions.

## 2022-10-20

- [Making multiplayer more reliable](https://swe.quest/articles/making-multiplayer-more-reliable-3fb296ccf52c818b.md): Figma · 2022-10-20 · Medium · 10 min read · Real-time systems, Storage systems, Resilience, Rust, Cloud platforms
  Figma added a write-ahead journal to its in-memory multiplayer service, which previously persisted files only via full checkpoints to S3 every 30–60 seconds.

## 2022-10-19

- [Bun v0.2.1](https://swe.quest/articles/bun-v0-2-1-3bfed6610fb07736.md): Bun · 2022-10-19 · Medium · 2 min read · JavaScript, Runtimes & VMs, Real-time systems
  Bun.serve() gains built-in server-side WebSocket support powered by uWebSockets, with a server.upgrade(req) call that handles the Sec-WebSocket-Key check automatically.

## 2022-08-24

- [Building a Realtime Trello Board with Supabase and Angular](https://swe.quest/articles/building-a-realtime-trello-board-with-supabase-and-angular-8c67e5fbd416633e.md): Supabase · 2022-08-24 · Medium · 30 min read · PostgreSQL, Identity & auth, Real-time systems, Frontend, TypeScript
  A Trello-style board clone built on Supabase, Angular and Tailwind, with boards, lists and cards stored in Postgres tables.

## 2022-08-18

- [Realtime: Multiplayer Edition](https://swe.quest/articles/realtime-multiplayer-edition-cca475e0a0be51ab.md): Supabase · 2022-08-18 · Medium · 8 min read · Real-time systems, Elixir & Erlang, PostgreSQL, JavaScript
  Supabase Realtime's Broadcast and Presence features are now generally available, with every feature organized around Channels that also carry Postgres change events.

## 2022-06-30

- [Flutter Tutorial: building a Flutter chat app](https://swe.quest/articles/flutter-tutorial-building-a-flutter-chat-app-942d133b45bb7fa6.md): Supabase · 2022-06-30 · Medium · 19 min read · Mobile, Real-time systems, PostgreSQL, Communications
  A real-time single-room chat app can be built with Flutter on the frontend and Supabase as the entire backend, using the supabase\_flutter SDK instead of a custom API.

## 2022-06-14

- [How We Built Shopify Party](https://swe.quest/articles/how-we-built-shopify-party-138ce85fd801204a.md): Shopify Engineering · 2022-06-14 · Medium · 13 min read · Games, Real-time systems, Performance engineering, WebAssembly
  Shopify Party is a browser-based multiplayer 3D hangout space built in Unity WebGL with Normcore for networking.

## 2022-03-23

- [Making a Real-Time Chat App with Supabase on Replit](https://swe.quest/articles/making-a-real-time-chat-app-with-supabase-on-replit-0a77c4de25e9cc9d.md): Replit · 2022-03-23 · Medium · 8 min read · Real-time systems, Frontend, JavaScript, PostgreSQL
  A real-time public chat app can be built with a Vue 3 and Tailwind CSS frontend on Replit backed by Supabase's hosted Postgres.

## 2022-02-15

- [Make a Multiplayer Game with Kaboom.js and Heroic Labs](https://swe.quest/articles/make-a-multiplayer-game-with-kaboom-js-and-heroic-labs-c70665185deec0fa.md): Replit · 2022-02-15 · Medium · 19 min read · Games, Real-time systems, JavaScript
  A multiplayer platformer can run in Replit's browser IDE using the Kaboom.js game library on the client and Heroic Labs' open source Nakama server, run locally via Docker Compose with Postgres, as the backend.

## 2021-12-10

- [Scaling Shopify's BFCM Live Map: An Apache Flink Redesign](https://swe.quest/articles/scaling-shopify-s-bfcm-live-map-an-apache-flink-redesign-bcbe156fa7990bd0.md): Shopify Engineering · 2021-12-10 · Medium · 9 min read · Stream processing, Scaling, System design, Real-time systems
  Shopify scaled its Black Friday/Cyber Monday live sales map by putting Apache Flink in front of Cricket, its home-grown Go stateful streaming service.

## 2021-12-01

- [Realtime Postgres RLS now available on Supabase](https://swe.quest/articles/realtime-postgres-rls-now-available-on-supabase-037d74a22092b0d5.md): Supabase · 2021-12-01 · Medium · 5 min read · PostgreSQL, Real-time systems, Identity & auth, Replication, Performance engineering
  Supabase Realtime now enforces PostgreSQL Row Level Security on change broadcasts.

## 2021-11-30

- [Web Streams at the Edge](https://swe.quest/articles/web-streams-at-the-edge-9c3ab22babd10448.md): Deno · 2021-11-30 · Medium · 3 min read · JavaScript, Serverless, Real-time systems, TypeScript
  Deno Deploy supports the Web Streams standard, so a streaming, event-driven HTTP server can be written in a few lines of TypeScript.

## 2021-10-14

- [GraphQL, meet LiveGraph: a real-time data system at scale](https://swe.quest/articles/graphql-meet-livegraph-a-real-time-data-system-at-scale-0852462beb79152e.md): Figma · 2021-10-14 · Medium · 11 min read · Real-time systems, GraphQL, PostgreSQL, System design, Event-driven architecture
  LiveGraph is Figma's real-time data layer on Postgres: frontend code declares GraphQL-like live queries via a React useSubscription hook, and the server keeps results updated by tailing the Postgres write-ahead log distributed over Kafka instead of polling.

## 2021-04-23

- [Load Testing with Koi Pond](https://swe.quest/articles/load-testing-with-koi-pond-0d1865c57c75034d.md): Slack Engineering · 2021-04-23 · Medium · 14 min read · Testing, Performance engineering, Scaling, Real-time systems, Capacity planning
  Koi Pond is Slack's load-testing tool that boots lightweight simulated clients (koi), grouped into schools of up to 5,000, which open real websocket connections and call Web APIs.

## 2021-03-15

- [Migrating Millions of Concurrent Websockets to Envoy](https://swe.quest/articles/migrating-millions-of-concurrent-websockets-to-envoy-b99b542be70019c3.md): Slack Engineering · 2021-03-15 · Medium · 11 min read · Load balancing, Real-time systems, Deployment, Configuration management, Networking
  Slack moved its websocket ingress tier, serving millions of concurrent connections, from HAProxy to Envoy Proxy.

## 2020-10-12

- [Lessons learnt from building reactive microservices for Canva Live - Canva Engineering Blog](https://swe.quest/articles/lessons-learnt-from-building-reactive-microservices-for-canva-live-canva-1f351c423d5adf5b.md): Canva Engineering · 2020-10-12 · Medium · 14 min read · Real-time systems, Caching, Microservices, Scaling, System design
  Canva Live delivers near real-time audience questions to presenters through a hybrid design: presenters receive updates over WebSockets, while audience members use plain request/response APIs, all behind a gateway that multiplexes client sockets onto single connections per RPC node and uses service discovery instead of an ALB.

Same list as RSS: [https://swe.quest/feed.xml?tag=realtime](https://swe.quest/feed.xml?tag=realtime). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
