|
|
|||
|
||||
OverviewBuild real time chat apps, multiplayer games, and AI agents on Cloudflare Workers with confidence from first WebSocket to production launch. Many developers like the idea of real time systems at the edge, but run into platform limits, state management problems, and fragile designs once real users arrive. It is easy to get a demo working and much harder to ship chat, games, and AI features that stay reliable under load. Building Real Time Applications with Cloudflare Workers gives you a complete, honest path from the Workers execution model through Durable Objects, storage, and WebSockets into full architectures for production systems. You learn how to think about state, consistency, performance, and security in a way that fits Cloudflare instead of fighting it. Understand the Workers runtime, CPU budgets, and event loop behavior for real time workloads Use Durable Objects as stateful building blocks with strong consistency per room, match, or tenant Design WebSocket flows on Workers and Durable Objects, including hibernation and connection lifecycle Model data across Durable Objects storage, D1, KV, R2, Queues, and Vectorize for chat, games, and agents Build a production grade chat backend with presence, typing indicators, read receipts, search, and moderation Implement multiplayer game backends with one object per match, simulation loops, matchmaking, replays, and leaderboards Create AI agents with Workers AI and Vectorize, including prompt design, tool calling, long term memory, and real time streaming UX Add observability with logging, metrics, traces, testing strategies, staging, replay, and incident debugging Apply performance tuning and scaling patterns, rate limiting, abuse controls, and multi tenant isolation Work through end to end projects for AI assisted chat, a small multiplayer game, and a team AI workspace This is a code heavy guide with fully worked JavaScript and SQL examples for Workers, Durable Objects, WebSockets, D1, R2, Queues, Vectorize, and Workers AI so you can adapt real patterns instead of guessing from theory. Grab your copy today and start shipping real time Cloudflare applications that hold up in production. Full Product DetailsAuthor: Cai EvansPublisher: Independently Published Imprint: Independently Published Dimensions: Width: 17.80cm , Height: 1.80cm , Length: 25.40cm Weight: 0.590kg ISBN: 9798275220599Pages: 340 Publication Date: 19 November 2025 Audience: General/trade , General Format: Paperback Publisher's Status: Active Availability: Available To Order We have confirmation that this item is in stock with the supplier. It will be ordered in for you and dispatched immediately. Table of ContentsReviewsAuthor InformationTab Content 6Author Website:Countries AvailableAll regions |
||||