From ceb4baefa1e75c15bd9b13a2d13fce6071cf1565 Mon Sep 17 00:00:00 2001 From: Mark Date: Wed, 11 Sep 2024 17:01:56 +0800 Subject: [PATCH] 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 --- .../backend/content/long-polling@osvajAJlwGI3XnX0fE-kA.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/data/roadmaps/backend/content/long-polling@osvajAJlwGI3XnX0fE-kA.md b/src/data/roadmaps/backend/content/long-polling@osvajAJlwGI3XnX0fE-kA.md index b0433ad64..c0cd6b4b6 100644 --- a/src/data/roadmaps/backend/content/long-polling@osvajAJlwGI3XnX0fE-kA.md +++ b/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. \ No newline at end of file +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)