20 August 2026

Posts published on funGyaan on 20 August 2026.

August 2026

MTWTFSS
12
3456789
10111213141516
17181920212223
24252627282930
31

  1. How do you build real-time chat?

    WebSockets for the live connection, but the database is the source of truth: messages get a server-assigned sequence per conversation, clients acknowledge what they've seen, and reconnecting clients fetch what they missed. Polling, long polling and server-sent events still have their place.

    · 6 min read · System Design