Tag: Real-Time
11 posts
-
Real-Time Apps with WebSocket and Socket.io: RFC 6455 Frames, Rooms and Redis Scale-Out
Build real-time features with WebSocket: native API, Socket.io, chat patterns, Redis scaling, plus RFC 6455 handshake, frames, text vs binary.
-
Data Fetching with SWR: Revalidation, Mutations, Dependent Requests and Infinite Loading
Fetch data in React with SWR: cache keys, revalidation on focus, optimistic mutations, conditional and dependent requests, infinite loading and Next.js.
-
Peer-to-Peer Video with WebRTC: Signaling, RTCPeerConnection, Data Channels and TURN in Production
Building real-time peer-to-peer apps with WebRTC: a signaling server, RTCPeerConnection, a complete video call, data channels, screen sharing, media controls and production considerations.
-
WebSocket vs SSE vs Long Polling
WebSocket, SSE or long polling? Node.js examples of each, SSE for AI streaming, reconnect logic, the WebSocket handshake and frames, and scaling concerns.
-
PocketBase: SQLite Backend with Auth, Realtime Subscriptions, File Uploads and Production Setup
PocketBase in practice: API rules, the JS SDK for CRUD, auth and realtime, file uploads, SQLite limits, and deploying the binary with persistent data.
-
Socket.IO v4 in Production: Rooms, Acks, Missed Events and Redis Scale-Out
How Socket.IO v4 really works: why a raw WebSocket client can't connect, CORS, acks with timeouts, volatile emits, connection state recovery, sticky sessions and Redis.
-
Supabase as a Postgres Backend: Auth, Row Level Security, Realtime, Storage and Edge Functions
Supabase as a Postgres backend: email and OAuth auth, queries with filters and joins, Row Level Security, realtime, storage, Edge Functions and Next.js.
-
Building on Firebase: Firestore Data Modeling, Security Rules, Auth and Cloud Functions
Building production apps with Firebase: Firestore data modeling and real-time listeners, security rules, authentication patterns, Cloud Storage, Cloud Functions, and cost control.
-
Realtime Backends with Convex: Schemas, Queries vs Mutations, Actions and React Hooks
How Convex works: reactive queries, transactional mutations, why actions exist, indexes vs filter, auth checks, file uploads, and scheduling side effects.
-
UDP in Practice: Datagrams, MTU, App-Level Reliability, DNS, Games and QUIC
Connectionless UDP: headers, checksums, ports, app-level reliability and ordering, and how HTTP/3 QUIC builds on UDP—realtime-focused guide.
-
Chat Server Architecture in C++: Scaling Out with Pub/Sub, Presence, Backpressure and Reconnects [#50-1]
Scale a C++ chat server past one process: gateway tiers, pub/sub fan-out, per-room sequence numbers, TTL-based presence, backpressure and jittered reconnects.