5. Design a Chat System
Send durable messages, reconnect devices and explain ordering and delivery receipts.
ClassicMedium
Pick a system. Work through the problem. Compare your approach.
Company tags are community-reported. Counts on cards show how many people reported that design.
Send durable messages, reconnect devices and explain ordering and delivery receipts.
To push a message to someone you must find the one server out of hundreds that currently holds their connection — and connections are long-lived, unevenly distributed, and disappear without warning.