Select from following answers:- Increase latency
- Connection Timeout
- Slow response time
- Faster request time
- All Above
The concept of long polling is described as under
Step 1: Client send request to server
Step 2: Server checks if it has data to respond back or not
Step 3: If Server has data, it will give a response back to the client
Step 4: If not, it(Server) will keep the connection open.
Step 5: Client makes a further call to the server after a specified time interval.
Step 6: Repeat Step 2 to Step 4.
Step 7: Once Server has the data, it responded back to the client.
Hence, it can be figure out that, only there can be a connection timeout problem. And in that case, it is needed to create a new connection
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator