Everything about HTTP Streaming and how Airbnb leverages it in production

preview_player
Показать описание

Build Your Own Interpreter / Redis / DNS / BitTorrent / SQLite - with CodeCrafters.

HTTP is the language of the internet and we almost always write APIs that compile the entire response and send it to the client, but there is another way of doing it and it is called HTTP Streaming.

In this video, we understand what HTTP streaming is, how to implement it, and how Airbnb uses it to improve its user experience.

# Recommended videos and playlists

If you liked this video, you will find the following videos and playlists helpful

# Things you will find amusing

# Other socials

I keep writing and sharing my practical experience and learnings every day, so if you resonate then follow along. I keep it no fluff.

Thank you for watching and supporting! it means a ton.

I am on a mission to bring out the best engineering stories from around the world and make you all fall in
love with engineering. If you resonate with this then follow along, I always keep it no-fluff.
Рекомендации по теме
Комментарии
Автор

Arpit is true to the etymological roots of his name: that which is offered. He offers knowledge, joy, and nudges that curiosity faculty, which is latent in all of us. If only we could clone such people and have them teach the young ones too, be it an field of study, at the grassroots level, when they are in "alpha" and "beta" stages of their life! They would be that much more prepared to do wonders in "prod" :) Kudos!

devanthanki
Автор

Hi Arpit, great video! I just wanted to make a request. The notes you make to explain the concepts are very good. Could you please start providing these notes in your video descriptions? This will be very helpful for us to revise these concepts later. Thanks.

sonudas
Автор

I am getting addicted to your videos! :)

acosmicabberation
Автор

Hey can you explain how youtube manages watched videos data? how do they store every users watched data? what technique they use? how they efficiently do queries so fast on these giants data for particular user? A video on it would be gem

VAIBHAVVARSHNEY-pj
Автор

Excellent video on http streaming. This reminds me of Qwik framework 😅

akash-kumar
Автор

Thank you Mr Arpit! Truly great content as always

deezydoezeet
Автор

It was a good one sir. I relate with the LLMs slow rendering issue & I understand how useful this is in that section. Please keep making such. It helps learning, exploring & breaking the barriers we set in our minds.

PS: Koi itna daravna pic kese rakh sakta hai yaar Github par hahaha

Aditya_Vyas
Автор

I remember while implementing SSE in Django, we struggled a lot because the response was not coming to frontend as expected. The after lots of searching on the web, we found the solution - disable caching on the proxy.

iajaydandge
Автор

Have to admit, I've become a fan of all the content that you're putting out. Just pure engineering stuff, which is what we want to see. Thank you, Arpit!

divyeshio
Автор

Loved the video and the breakdown🔥 . Small suggestion - You can record [screen&video] both in 4k and upload in same, it would make reading the code snippets much easier and overall enhance the feel 😃

sandeepsinha
Автор

Can this be used to load pages on a streaming website, considering the video player makes an api call that does constant streaming of chunks, which the http streaming protocal can't build late chunk of response beforehand to the client right?

sashpawar
Автор

With react server components, we can just stream entire components of a page much easier

nawed
Автор

It seems similar to reactive programming and the concept of backpressure. Can u highlight the difference if any?

debangshubanerjee
Автор

This is a good optimization, but tradeoff is that it's moving all of the logic away from browser to to server, this would mean server has to have the knowledge to bring all of those data that browser needs and it would also make overall response larger.. i wonder if they apply this logic to all of their webpages or is it only for specific cases of heavy data logic ? Also correct me if am wrong.. every chunk is requested by client, as it's a request response, so the diagram of sending response from server is not one side., it's still request response

nitish
Автор

Hi arpit,
Where can i find these notes?,

denishclarke
Автор

Isn't this going to be CPU intensive for server ? Isn't it better to load static components via different API calls ? Why to use streaming exactly ?

sahiHaiTech
Автор

Well archicted video ... btw which app you use for writing on screen in your videos?

Adnan
Автор

Hi @arpit, is spring Flux framework is also do the same like python flaskr.

rajk.
Автор

So basically Http Streaming is similar to SSE(Server Sent Events) or there is any difference between them?

SEVERANCE
Автор

Is this exact same concept used in HTTP Live Streaming (HLS)?

rushidesai