Add article links for short/long polling articles in Backend Roadmap (#7061)

* Add article links for short/long polling articles in Backend Roadmap

* Update src/data/roadmaps/backend/content/short-polling@Tt7yr-ChHncJG0Ge1f0Xk.md

removed duped article from short polling

---------

Co-authored-by: dsh <daniel.s.holdsworth@gmail.com>
fix/pnpm-lock
Mark 1 month ago committed by GitHub
parent c387a6b843
commit ceb4baefa1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      src/data/roadmaps/backend/content/long-polling@osvajAJlwGI3XnX0fE-kA.md

@ -1,3 +1,8 @@
# Long Polling
Long polling is a technique where the client polls the server for new data. However, if the server does not have any data available for the client, instead of sending an empty response, the server holds the request and waits for some specified period of time for new data to be available. If new data becomes available during that time, the server immediately sends a response to the client, completing the open request. If no new data becomes available and the timeout period specified by the client expires, the server sends a response indicating that fact. The client will then immediately re-request data from the server, creating a new request-response cycle.
Long polling is a technique where the client polls the server for new data. However, if the server does not have any data available for the client, instead of sending an empty response, the server holds the request and waits for some specified period of time for new data to be available. If new data becomes available during that time, the server immediately sends a response to the client, completing the open request. If no new data becomes available and the timeout period specified by the client expires, the server sends a response indicating that fact. The client will then immediately re-request data from the server, creating a new request-response cycle.
Visit the following resources to learn more:
- [@article@Long polling](https://javascript.info/long-polling)
- [@article@What are Long-Polling, Websockets, Server-Sent Events (SSE) and Comet?](https://stackoverflow.com/questions/11077857/what-are-long-polling-websockets-server-sent-events-sse-and-comet)

Loading…
Cancel
Save