InterviewSolution
| 1. |
What Is Long Polling, How Does It Work, And Why Would You Use It? |
|
Answer» There are two important drawbacks that need to be considered when using long polling: Long polling requests are not different from any other HTTP request and web servers HANDLE them the same way. This means that EVERY long poll connection will reserve SERVER resources, potentially MAXING out the number of connections the server can handle. This can lead to HTTP connection TIMEOUTS. Each web browser will limit the maximum number of connections web application can make. There are two important drawbacks that need to be considered when using long polling: Long polling requests are not different from any other HTTP request and web servers handle them the same way. This means that every long poll connection will reserve server resources, potentially maxing out the number of connections the server can handle. This can lead to HTTP connection timeouts. Each web browser will limit the maximum number of connections web application can make. |
|