Tagged “Websockets”
2 articles with this tag.
- Chat SystemA one-to-one and group chat system designed with the 18-step framework: WebSocket gateways and a session registry, message IDs and per-chat ordering, store-then-fan-out delivery, offline sync and push notifications, delivery receipts, presence, media, end-to-end encryption, and storing trillions of messages in a wide-column store.
- Real-time communicationHow servers push data to clients over HTTP: short polling, long polling (hanging GET), WebSockets for full-duplex communication, and Server-Sent Events for one-way streams — how each works, overhead, scaling stateful connections, fallbacks, and Spring support.