Installieren Sie die genialokal App auf Ihrem Startbildschirm für einen schnellen Zugriff und eine komfortable Nutzung.
Tippen Sie einfach auf Teilen:
Und dann auf "Zum Home-Bildschirm [+]".
Your page needs to show a new order, a chat message or a colleague's status the moment it changes, without anyone pressing refresh. This book shows how to build that and how to keep it working when real networks misbehave. You will compare long polling, Server-Sent Events and WebSockets, then run small local servers and clients for each one. Later chapters cover heartbeats that catch silently dead connections, reconnection with exponential backoff and jitter, sequence numbers and replay so no message is lost or repeated, presence that survives page reloads, scaling across several servers, and the size, rate and origin limits every public endpoint needs. A closing chapter ties the pieces into one support desk design, with a list of failure drills to run before launch.
Imad Muratspahic is an independent author of practical how-to guides, technical handbooks, history and fiction. The books aim to be clear, honest and useful from the first page.