---
title: "Discussion on \"Realtime Systems: Polling, WebSockets, SSE, and Pub/Sub\" | Hashnode"
description: "Discussion on \"Realtime Systems: Polling, WebSockets, SSE, and Pub/Sub\". How does WhatsApp deliver a message instantly, the moment it's sent, without you ever refreshing the app? This article builds toward that answer progressively: polling → long polling → SSE → WebSocket"
url: "https://hashnode.com/posts/realtime-systems-polling-websockets-sse-and-pub-sub/6a61e215cdd93693a9defdfa"
---

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

Discussion

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

How does WhatsApp deliver a message instantly, the moment it's sent, without you ever refreshing the app? This article builds toward that answer progressively: polling → long polling → SSE → WebSocket

Jul 23 · 12 min read · dt89.hashnode.dev  
Read the article

## Written by

[Tamal Sarkar](https://hashnode.com/@dt89)

@dt89 · Kolkata

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
