logo
episode-header-image
Sep 2024
25m 23s

Frontend and Backends Timeouts

Hussein Nasser
About this episode


I am fascinated by how timeouts affect backend and frontend programming.

When a party is waiting on something you can place a timeout to break the wait. This is useful for freeing resources to more critical processes, detecting slow operations and even avoiding DOS attacks.

Contrary to common beliefs, timeouts are not exclusive to request processing, they can be applied to other parts of the frontend-backend communications. Let us explore this briefly.


0:00 Intro

2:30 Connection Timeout

5:00 Request Read timeout

10:00 Wait Timeout 

12:00 Usage Timeout

14:00 Response Timeout

16:00 Canceling a request

19:50 Proxies and timeouts

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
Jan 2025
Tech Bytes: Can SD-WAN Solve Latency Issues for Modern Applications? (Sponsored)
Traditional SD-WAN ensures that business-critical apps get the best-performing network path to deliver a good user experience and meet service levels. But as SaaS and cloud adoption increase, the best path across a WAN may not be enough. Techniques like WAN ops and legacy caching ... Show More
21m 8s
Apr 2025
188 How to use Interruptions in Coaching
Is interrupting ever a good thing in coaching? Many of us have been taught that interrupting is rude, disrespectful, or unhelpful, but what if the right kind of interruption could be transformational for a client? In this episode, we explore the complex role of interruptions in c ... Show More
18m 26s
May 14
902: Fullstack Cloudflare with React and Vite (Redwood SDK)
Wes talks with Peter Pistorius about RedwoodSDK, a new React framework built natively for Cloudflare. They dive into real-time React, server components, zero-cost infrastructure, and why RedwoodSDK empowers developers to ship faster with fewer tradeoffs and more control. Show Not ... Show More
46m 53s
Sep 2024
Pausing to think about scikit-learn & OpenAI o1
Recently the company stewarding the open source library scikit-learn announced their seed funding. Also, OpenAI released “o1” with new behavior in which it pauses to “think” about complex tasks. Chris and Daniel take some time to do their own thinking about o1 and the contrast to ... Show More
50m 10s
Aug 2024
Picking a database should be simple (Changelog & Friends #56)
Database aficionado, Ben Johnson, joins Jerod to answer the age ol’ question: which database should you use? Answering that isn’t always easy, which means it’s time to play the “It Depends” jingle & weigh (some of) the options. Leave us a commentChangelog++ members save 9 minutes ... Show More
1h 6m
Jan 2025
S11 E3: Underrated DTC Tactics and Strategies
There’s a TON of DTC tactics out there—and you might not be using them as much as you should. In this episode, Nik breaks down tactics and strategies you should absolutely use. From leveraging AI in creative generation to setting up a real time dashboard with all of your analytic ... Show More
29m 44s
Feb 2025
Upselling Conversation Starters Part 1 - Sales Influence Podcast - SIP 537
Upselling Techniques 🔍 "Will that be enough?" creates artificial scarcity, prompting clients to question their initial purchase and potentially buy more. 💡 Casually mentioning additional products with "By the way" serves as an effective upsell conversation starter for complemen ... Show More
8m 51s
Dec 2024
Tech Bytes: Protecting OT/IoT Devices With FortiLink NAC (Sponsored)
Today on the Tech Bytes podcast, sponsored by Fortinet, we talk about IoT and OT risks and how to mitigate them. One option from Fortinet is FortiLink NAC, a free feature that can help you segment and protect IoT and OT devices and can even help deploy virtual patches. Another op ... Show More
18m 49s
Aug 2024
Battling ticket bots and untangling taxes at the frontiers of e-commerce
You can find Ilya on LinkedIn here.You can listen to Ilya talk about Commerce Components here, a system he describes as a "modern way to approach your commerce architecture without reducing it to a (false) binary choice between microservices and monoliths."As Ilya notes, “there a ... Show More
30m 52s
Oct 2024
#479: Designing Effective Load Tests for Your Python App
You're about to launch your new app or API, or even just a big refactor of your current project. Will it stand up and deliver when you put it into production or when that big promotion goes live? Or will it wither and collapse? How would you know? Well you would test that of cour ... Show More
59m 6s