Realtime Sockets
Realtime sockets deliver events such as new orders, updates, messages, and driver tracking without polling full collections. Event names and room authorization vary by product. Store connection credentials securely, authorize subscriptions, reconnect with backoff, and reconcile state after gaps.