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
Oct 22
Developers will be prompters (and that is bad)
I discuss the state of what will be happening in the coming few years and why I encourage the 3 of you who want to be elite engineers to keep their critical thinking sharp. To pause and think before prompting. 
9m 26s
Oct 15
AI will not replace elite engineers
This is a conversation with Rashed Hasan, a PhD Candidate from the University of Nebraska. We chatted about databases, ORMs and how to use AI without losing yourself. Rashed pagehttps://www.mdrashedulhasan.me/homepage 
56m 28s
Sep 25
Engineers will be out of the 'Loops'
I discuss loops engineering and how it will numb creative thinking and critical system design for engineers. 
12m 58s
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