---
title: "Discussion on \"Web Sockets Vs Long/API Polling\" | Hashnode"
description: "Discussion on \"Web Sockets Vs Long/API Polling\". Websockets and API polling are both methods for establishing communication between a client (such as a web browser) and a server. However, they differ in their approach and usage scenarios.\nWeb Sockets :\n\nWebsockets provide full-duplex communication ..."
url: "https://hashnode.com/posts/web-sockets-vs-longapi-polling/646d2044f76e0b870f641ca9"
---

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

Discussion

# [Web Sockets Vs Long/API Polling](https://krishna14.hashnode.dev/web-sockets-vs-longapi-polling?utm_source=hashnode&utm_medium=feed)

Websockets and API polling are both methods for establishing communication between a client (such as a web browser) and a server. However, they differ in their approach and usage scenarios. Web Sockets : Websockets provide full-duplex communication ...

May 23, 2023 · 2 min read · krishna14.hashnode.dev  
Read the article

-   [#web-sockets-vs-api-polling-api-polling-react](https://hashnode.com/tag/web-sockets-vs-api-polling-api-polling-react)

## Written by

[Krishna vamsi](https://hashnode.com/@krishna141100)

@krishna141100

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

Interested in Learning Things.

Software Engineer | React | Redux | Tailwind CSS | Javascript

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
