jamie_chen
New York, NY
312 likes
jamie_chen Late night DMs ๐ฌ
Tap the heart to start
HTTP is request-response โ the client must ask. Real-time requires the server to push. WebSocket gives you a persistent bidirectional connection with sub-50ms latency, but scale to multiple servers and you have a problem: User A is on Server 1, User B is on Server 2. A pub-sub layer (Redis or Kafka) bridges them โ Server 1 publishes, Server 2 delivers.
โ Tap the heart button to begin