The Backend Engineering Show with Hussein Nasser cover image

why it is very hard to cancel an HTTP request

The Backend Engineering Show with Hussein Nasser

00:00

Cancel a HTTP Request?

You can build a database where we're storing the state of every request. But what if your request is going to definitely hit another server? It's like, what the hell is this request? I don't know anything about it. Then you might say, that's not hard. We can use an IP hash load balancing algorithm so that if my request IDs matches and hashes always goes to the, to a certain server, you can definitely do that. You cannot cancel a HTTP request. Stop saying you can't, you can't just vanilla. See how complex this thing is.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app