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
Jun 13
kTLS - Kernel level TLS
Fundamentals of Operating Systems Course https://oscourse.winktls is brilliant.TLS encryption/decryption often happens in userland. While TCP lives in the kernel. With ktls, userland can hand the keys to the kernel and the kernel does crypto. When calling write, the kernel encryp ... Show More
22m 55s
May 9
The beauty of the CPU
If you are bored of contemporary topics of AI and need a breather, I invite you to join me to explore a mundane, fundamental and earthy topic.The CPU.A reading of my substack article https://hnasr.substack.com/p/the-beauty-of-the-cpu 
9m 38s
Apr 2025
Sequential Scans in Postgres just got faster
This new PostgreSQL 17 feature is game changer. They know can combine IOs when performing sequential scan. Grab my database coursehttps://courses.husseinnasser.com 
27m 36s
Recommended Episodes
Oct 2024
837: You Should Drop Express and Try Hono
CJ joins Scott and Wes to dive into why he’s all-in on Hono, a fast and lightweight web framework for every JavaScript runtime. From familiar route creation to type-safe middleware, find out how Hono keeps things simple, powerful, and ready to use inside Next.js. Show Notes 00:00 ... Show More
29m 33s
Oct 2024
How Meta wants to shape our digital future with open source AI w/ Ragavan Srinivasan
Llama is Meta’s Large Language Model trained on over 15 trillion tokens of publicly available information. It’s available to anyone – from people making custom fan-made entertainment on a smartphone… to, potentially, complex projects that may not have the public’s well-being in m ... Show More
50m 14s
Sep 2024
#308 - Série Tech : Qu’est-ce qu’un middleware, quand y recourir et combien ça coûte ?
“Un middleware vient combler un manque d’interfaçage API entre deux applications”.  Pour ce troisième épisode de la série spéciale Tech, Laurent Kretz questionne Kévin Couvet, le CTO de CosaVostra, sur le sujet du middleware. A quoi sert cet outil qui s’intercale entre deux appli ... Show More
10m 17s
Oct 2024
835: How to Pick a JavaScript Framework
Do you really need a framework? Scott and Wes bring on CJ to break down when frameworks like Vue, Svelte, and Astro are worth it—and when they might just add complexity. They dive into everything from rendering strategies to auth solutions, deployment options, and how to choose t ... Show More
58m 35s
Apr 2025
Simplifying Data Pipelines with Durable Execution
Summary In this episode of the Data Engineering Podcast Jeremy Edberg, CEO of DBOS, about durable execution and its impact on designing and implementing business logic for data systems. Jeremy explains how DBOS's serverless platform and orchestrator provide local resilience and r ... Show More
39m 49s
Mar 2024
Cette nouvelle puce dédiée à l’IA est prodigieuse
Groq, c’est un énième chatbot basé sur des modèles d’IA, comme il en existe des dizaines aujourd’hui. Mais derrière Groq, se cache une prouesse technique. Une nouvelle puce, un nouveau type de processeur, spécifiquement dédié aux modèles de langages. Et ça pourrait vraiment tout ... Show More
31m 47s
Sep 2024
Looking under the hood of multimodal AI
Multimodal AI combines different modalities—audio, video, text, etc.—to enable more humanlike engagement and higher-quality responses from the AI model. WebRTC is a free, open-source project that allows developers to add real-time communication capabilities that work on top of an ... Show More
29m 23s
Apr 2025
Back to Back Barries: Could soft voters prove the polls wrong?
There’s only a week to go, and polls are showing that the gap between the two major parties is widening in favour of Anthony Albanese – but with such a high number of soft voters, can we count the Coalition out? 
26m 31s
Jan 2025
866: 2025 Web Development Predictions
Scott and Wes look into their crystal ball to predict what’s coming in web development next year. From the rise of on-device AI to the vanilla CSS comeback, Bun’s big moves, and React’s evolution, this episode is packed with bold predictions and hot takes! Show Notes 00:00 Welcom ... Show More
52m 48s
Nov 2024
POLLS SHOW THE NEXT US PRESIDENT 23 English Idioms and Phrasal Verbs for the ITELS and TOEFL
If you like learning about the current news and improving your English for the IELTS or TOEFL at the same time, this English lesson is for you. While watching a news report about the current polls predicting our next US president, you will learn English phrasal verbs, English idi ... Show More
31m 24s