The Backend Engineering Show with Hussein Nasser
The Backend Engineering Show with Hussein Nasser
Hussein Nasser
Frontend and Backends Timeouts
25 minutes Posted Sep 7, 2024 at 11:02 pm.
Intro
Connection Timeout
Request Read timeout
Wait Timeout
Usage Timeout
Response Timeout
Canceling a request
Proxies and timeouts
0:00
25:23
Download MP3
Show notes
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.