The genius of long polling

The genius of long polling

Update: 2024-12-06
Share

Description

Polling is the ability to interrogate a backend to see if a piece of information is ready. It can introduce a chatty system and as a result long polling was born. In this video I explain the beauty of this design pattern and how we can push it to its limit.

0:00 Intro
0:45 Polling
2:30 Problem with Polling
3:50 Long Polling
8:18 Timeouts
10:00 Long Polling Benefits
12:00 Make requests into Long Polling
17:36 Request Resumption
21:40 Summary

Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

The genius of long polling

The genius of long polling

Hussein Nasser