Developer guides
Practical patterns for building reliable real-time applications, replaying WebSocket events and streaming AI responses with Folkways.
Learn how to design connected applications with real-time infrastructure. These guides focus on architecture and practical implementation; see the SDK documentation for API details.
-
How to replay missed WebSocket messages after reconnecting: Recover missed WebSocket events with ordered history, cursors, automatic resubscription and explicit handling of retention gaps.
-
How to resume an AI response stream after a page reload: Decouple AI generation from the browser connection and rebuild a response from ordered chunks after a reload or network interruption.
-
How to build reliable WebSocket applications: Design real-time apps for network failure, reconnect backoff, offline publishing, bounded queues and explicit connection state.