---
title: "Discussion on \"Different ways of handling real-time data (Long Polling, Short Polling, WebSockets)\" | Hashnode"
description: "Discussion on \"Different ways of handling real-time data (Long Polling, Short Polling, WebSockets)\". Explore real-time data communication evolution - from HTTP limitations to WebSockets power. Learn polling techniques and how WebSockets work."
url: "https://hashnode.com/posts/different-ways-of-handling-real-time-data-long-polling-short-polling-websockets/66500fdb6918b897ee1389b8"
---

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

Discussion

# [Different ways of handling real-time data (Long Polling, Short Polling, WebSockets)](https://zaidahmad.hashnode.dev/different-ways-of-handling-real-time-data-long-polling-short-polling-websockets?utm_source=hashnode&utm_medium=feed)

Explore real-time data communication evolution - from HTTP limitations to WebSockets power. Learn polling techniques and how WebSockets work.

May 24, 2024 · 5 min read · zaidahmad.hashnode.dev  
Updated May 25, 2024  
Read the article

-   [#what-are-websockets](https://hashnode.com/tag/what-are-websockets)
-   [#websockets](https://hashnode.com/tag/websockets)
-   [#real-time](https://hashnode.com/tag/real-time)
-   [#longpolling](https://hashnode.com/tag/longpolling)
-   [#short-polling](https://hashnode.com/tag/short-polling)
-   [#socketio](https://hashnode.com/tag/socketio)
-   [#realtimecommunication](https://hashnode.com/tag/realtimecommunication)

## Written by

[Zaid Ahmad](https://hashnode.com/@zaidahmad25)

@zaidahmad25 · Calgary, Alberta

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

Check out my portfolio- zaidahmad.com

## Responses 1

Markdown supported · ⌘↵ to post

[victor immanuel](https://hashnode.com/@Itachi1402)

[May 24, 2024](https://hashnode.com/posts/different-ways-of-handling-real-time-data-long-polling-short-polling-websockets/66500fdb6918b897ee1389b8/comment/665068f0574d33f88270b391)

Great explanation zaid.

you keep telling it keeps the request open, but it's more like it keeps the TCP connection open right?

[Zaid Ahmad](https://hashnode.com/@zaidahmad25)

[May 24, 2024](https://hashnode.com/posts/different-ways-of-handling-real-time-data-long-polling-short-polling-websockets/66500fdb6918b897ee1389b8/comment/665068f0574d33f88270b391#reply-6650b28daffcb2b22070217c)

Thanks Victor, yes it's the TCP connection that remains open not the request!!

I'll edit the blog asap
