26 Temmuz 2021 Pazartesi

Http Long Polling

Giriş
Açıklaması şöyle
In long polling, clients can request information from the server to expect that the server may not respond immediately. If the server has no new data for the client when the poll is received, instead of sending an empty response, the server holds the request open and waits for response information to become available. Once it does have new information, the server immediately sends the response to the client, completing the open request. Upon receipt of the server response, the client can immediately issue another server request for future updates. This gives a lot of improvements in latencies, throughputs, and performance. However, the long polling request can timeout or receive a disconnect from the server. In that case, the client has to open a new request.

Hiç yorum yok:

Yorum Gönder