---
title: "Discussion on \"Realtime Systems: Polling, WebSockets, SSE, and Pub/Sub\" | Hashnode"
description: "Discussion on \"Realtime Systems: Polling, WebSockets, SSE, and Pub/Sub\". Imagine Suprabhat sends a message to a friend. Within a fraction of a second, the message appears on the other person’s phone. No refresh button. No waiting. No manually checking the server again and"
url: "https://hashnode.com/posts/realtime-systems-polling-websockets-sse-and-pub-sub/6a7c8500f7f0b224bc2a0f91"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Realtime Systems: Polling, WebSockets, SSE, and Pub/Sub](https://blog.suprabhat.site/realtime-systems-polling-websockets-sse-and-pub-sub?utm_source=hashnode&utm_medium=feed)

Imagine Suprabhat sends a message to a friend. Within a fraction of a second, the message appears on the other person’s phone. No refresh button. No waiting. No manually checking the server again and

Aug 12 · 10 min read · blog.suprabhat.site  
Read the article

-   [#realtime](https://hashnode.com/tag/realtime)
-   [#polling](https://hashnode.com/tag/polling)
-   [#websockets](https://hashnode.com/tag/websockets)
-   [#sse](https://hashnode.com/tag/sse)
-   [#pub-sub](https://hashnode.com/tag/pub-sub)
-   [#chaicode](https://hashnode.com/tag/chaicode)

## Written by

[SUPRABHAT](https://hashnode.com/@Suprabhatt)

@Suprabhatt · india

  
[View profile](https://hashnode.com/@Suprabhatt)

Unlocking Growth, Inspiring Leadership

Building Web &amp; GenAI Software that (usually) work | Son of proud parents.

## Responses 1

Markdown supported · ⌘↵ to post

[Duko tools](https://hashnode.com/@talha24ramzan)

[Aug 14](https://hashnode.com/posts/realtime-systems-polling-websockets-sse-and-pub-sub/6a7c8500f7f0b224bc2a0f91/comment/6a7ee96c15dd11f4469ebc3e)

The horizontal scaling section ties everything together well, Pub/Sub as the answer to "user A on server 1, user B on server 2" is the exact moment this stuff stops being theoretical and becomes a real architecture decision.

Good reminder too that Pub/Sub isn't a client-server replacement, easy to conflate it with WebSockets/SSE when skimming, but it's solving a completely different problem (backend fan-out vs client delivery).
