logo
episode-header-image
Dec 2024
28m 57s

The genius of long polling

Hussein Nasser
About this episode

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

Up next
Sep 11
Caching is a cop-out
In this episode I explore why you should take some time to examine the operation you are caching before doing so. And why caching is a cop-out 
15m 41s
Aug 23
How open ai agents "hacked" hugging face
How open ai agents "hacked" hugging face 
17m 57s
Jul 10
How a query optimization gave birth to infinite scroll
The infinite scroll in social media as we know it today is despised by all. But it always start as a bad idea. It originated as a result of UI change to relief the backend database from inefficient queries. I explore this in this episode of the backend engineering. 0:00 Intro1:00 ... Show More
21m 20s
Recommended Episodes
Oct 2019
Lab 015: Big Poll Energy
The primary election is in full swing, and our feeds are full of political polls that are surveying everything from who’s on top, to each candidates favorite comfort food. In this episode, Titi & Zakiya dive into polling to understand survey methodology (how polls are designed) a ... Show More
31m 7s
Nov 2021
Poll Positions
Assessing how the latest polls might translate on election day. Mark chats to Suzanne Breen, David McCann, and Peter Donaghy. 
28m 38s
Nov 2021
Polling in the Deep
<p>What can the polls tell us? Matt Chorley speaks to Chris Curtis from Pollsters Opinium and Political Scientist Paula Surridge to reveal what's really going on in British politics.</p><br><p>PLUS: India Knight and James Marriott discuss the rail review, and other stories from t ... Show More
41m 4s
Feb 2023
Opinion Dynamics Models
On the show today, Dino Carpentras, a post-doctoral researcher at the Computational Social Science group at ETH Zürich joins us to discuss how opinion dynamics models are built and validated. He explained how quantifying opinions is complex, and strategies to develop robust model ... Show More
35m 45s
Mar 2023
Survey Design Working Session
Susan Gerbic joins Kyle to review some of the surveys Data Skeptic has launch, draft a new survey about podcast listening habits, and then review the results of that survey. You can see those results at the link below. https://survey.dataskeptic.com/survey/result/1675102237053 Wa ... Show More
1h 1m
Sep 2020
How Election Polling Works and Doesn't Work
<p>Election polling had a pretty good rep until 2016. But it turns out they weren't far off even then. It's really the media driving the narrative. Learn all about how election polling works today.</p><p> </p> Learn more about your ad-choices at <a href="https://www.iheartpodcast ... Show More
46m 59s
Oct 2023
Is Polling a Science or an Art?
The outcome of a race is ultimately up to voters to decide. And while polls aren’t always perfect, they can be helpful to gauge support for a candidate and inform decisions for a campaign. CNN Political Director David Chalian sits down with prominent Republican pollster Neil Newh ... Show More
22m 30s