Man, I just came across your channel and its very sad that you stopped for a year now. The way you explaining things is spot on.
@yosvelquintero2 жыл бұрын
WebHooks: Good for updating clients on certain events and avoiding pulling style endpoints WebSockets: Good for low latency two-way communications HTTP Streaming: Good for long-term connections over HTTP
@Zen-t2j2 жыл бұрын
I assume HTTP streaming would be optimal for updating notifications for a social app? Or would that be a WebHook?
@LucasSilva-mw7pk2 жыл бұрын
@@Zen-t2j WebHook is more indicated if you need a bi-directional fast communication (eg: a shooter online game). In your case of social app, your cliente just need to receive new messages, so might be better if you use streaming. For things like chat messages, I would said that the better options should be use something like MQTT. You can also do it by using Long Pooling, but it can be quite inefficient
@dhanishthaghosh95483 жыл бұрын
Good explanation! One request, please keep the background music on a lower note (/volume) since it is causing hindrance in concentration and hearing.
@ambientcoder54623 жыл бұрын
I’m glad you liked the explanation! Thanks for the feedback, it’s very valuable to me. I’ll definitely keep the background music in mind for future videos 👌
@subramanyamramasani17592 жыл бұрын
Hi bro can you help me how to create webhooks for springboot microservices
@robinmaurer26452 жыл бұрын
@@ambientcoder5462 the music genre is perfect and for any other video format than information/explanation /education the volume is too but here as the comment said just a smidge too loud. Have agreat day!
@Zen-t2j2 жыл бұрын
@@ambientcoder5462 I assume HHTP streaming would be optimal for updating notifications for a social app? Or would that be a WebHook?
@alibaba8883 жыл бұрын
One of the best youtube channels explaining APIs
@ambientcoder54623 жыл бұрын
Thanks for the kind words! Hope you’re enjoying the content 🙂
@TaoLi3023 жыл бұрын
Your channel deserve 400K subscribers. let's make it to 10K first. Really clear explanation to none engineer. Hope you make more videos.
@ambientcoder54623 жыл бұрын
Thanks for your kind words, really appreciate them 🙂
@toekneema3 жыл бұрын
truly an amazing video, especially since you also reviewed the Request/response at the beginning!
@ambientcoder54623 жыл бұрын
Thank you :)
@carltone3 жыл бұрын
Great comparison video. The connection graphics, pro/con format is well done. Thanks for sharing your knowledge.
@ambientcoder54623 жыл бұрын
Thanks for the kind words 🙂
@daniel2801873 жыл бұрын
Great explanation. I appreciate the comparison of the 3 methods with visualizations. Thanks for sharing!
@ambientcoder54623 жыл бұрын
Thank you :) I’m glad you liked the visualizations.
@louicoder3 жыл бұрын
You are such a great teacher, I like the simplicity in the explanation 🎉 🎉 🎉 🎉 🎉 🎉 🎉
@ambientcoder54623 жыл бұрын
Thanks a lot! I’m glad you liked my explanations 🙂
@user-zb5jp4ti1d2 жыл бұрын
This is so helpful. Thank you so much. It would be great if you could also provide the source of this information, books or articles that you referred to in order to put this together.
@wagnermoreira7863 жыл бұрын
great explanation! I haven't seen the webhooks implementation on the client-side yet, now I need to try!
@ambientcoder54623 жыл бұрын
Thanks!
@ammadkhan46879 ай бұрын
Very helpful. Gold worth information at one place. Thanks for sharing.. really appreciate
@molletik3 жыл бұрын
Hi, it is a very good presentation. It is very helpful. If my application is very complex where it need to handle "Request-Response" and "Event-driven" API, how to define and aggregate both this API's?
@ambientcoder54623 жыл бұрын
Your API will contain multiple endpoints. So each endpoint can be a different style of endpoint depending on your use case. For example, retrieving a list of videos on a server is a request-response style endpoint. However, to stream an individual video would not necessarily be request-response style endpoint. It is important that you document these traits to the end user. Hope this helps 🙂
@johnswanson2173 жыл бұрын
Very clean and clear one! Thank you!!
@ambientcoder54623 жыл бұрын
Thank you 🙂
@Prostopravda Жыл бұрын
Keeping a long-living connection is another issue with WebSocket if you use a cloud platform like Cloudflare for DDoS protection. Long-living connections cause Cloudflare servers to run out of ports, so the company has to take fee for that.
@Kathiisu3 жыл бұрын
Thanks for the informative video! It is a great help in my process of creating an application.
@ambientcoder54623 жыл бұрын
Glad it was helpful!
@muathithanhcong3 жыл бұрын
Great explanation! Thanks for sharing!
@ambientcoder54623 жыл бұрын
Glad you enjoyed it!
@sureshsambana52193 жыл бұрын
Thank you very much. That is a neat and smooth explanation. It helped me.
@ambientcoder54623 жыл бұрын
Happy to hear it helped you Suresh! And thanks for your kind words 🙂
@prabhakarreddyg3 жыл бұрын
Thanks for crystal clear explanation
@ambientcoder54623 жыл бұрын
I’m glad you liked the explanation. Thanks for your support 🙂
@MrJonnis133 жыл бұрын
Thank you. Very informative. Subscribed!
@ambientcoder54623 жыл бұрын
Appreciate the support! 🙂
@johnnychang34563 жыл бұрын
Clear and concise explanation. Thank you!
@ambientcoder54623 жыл бұрын
Thanks Johnny 🙂
@foobar78893 жыл бұрын
Is a con of the websocket approach that if there isn't that much traffic, it's a wasted thread keeping the connection open?
@ambientcoder54623 жыл бұрын
Yup you’re right. If there isn’t much traffic, websockets might be overkill. If you’d still like to keep things event driven, then webhooks might be an option worth considering.
@isurujn3 жыл бұрын
Nice video. Informative and to the point without any fluff 👍🏼
@ambientcoder54623 жыл бұрын
Thank you!
@shadestorm39953 жыл бұрын
i still don't follow webhooks but other two were crystal clear
@ambientcoder54623 жыл бұрын
Thanks 🙂
@jan5310 Жыл бұрын
you as client need to provide an public endpoint which the server can call when a certain (by the user/client) specfied event occurs.
@rohitiyer2302 жыл бұрын
Does MPEG DASH use http streaming under the hood or websockets for streaming videos?
@ambientcoder54622 жыл бұрын
Most, if not all, video streaming platforms use HTTP streaming as far as I know. Hope this helps!
@javi_v7.0 Жыл бұрын
Great video, brief, to the point.. Thanks!
@faketrump36052 жыл бұрын
you're very good at explaining the concepts. thanks.
@ambientcoder54622 жыл бұрын
Glad you think so!
@idc19 Жыл бұрын
Great content. Very enlighting.
@chiragarora39853 жыл бұрын
Amazing explanation 👍
@ambientcoder54623 жыл бұрын
I’m glad you liked it! Thanks for your kind words :)
@mrsbootsworkouts Жыл бұрын
Very useful, thank you!
@SaintSaint2 жыл бұрын
This was perfect. Thank you so much.
@BradleyADavis3 жыл бұрын
Great video, thanks!
@ambientcoder54623 жыл бұрын
Thanks! 🙂
@victorpinasarnault91353 жыл бұрын
Real good Thank you
@ambientcoder54623 жыл бұрын
Thank you!
@allezvenga7617 Жыл бұрын
Thanks for your sharing
@C0sm1c_Owl3 жыл бұрын
Thanks!
@michaelamir252 жыл бұрын
What about the GraphQL subscriptions? 🤔
@thatgenzdev3 жыл бұрын
Great explanation.
@ambientcoder54623 жыл бұрын
Thanks 🙂
@datapro0072 жыл бұрын
Good overview, thanks
@pratheejgc22503 жыл бұрын
Perfect!!!
@JemilOyebisiDeveloper3 жыл бұрын
Great explanation!
@ambientcoder54623 жыл бұрын
Thanks Jemil 🙂
@rhtservicestech2 жыл бұрын
This is useful information
@enfieldli92962 жыл бұрын
Hi, which technique were used in push notification, like when someone replied our comment, and we get a notified in the inbox area with the amount of replies we are getting? like the bell icon in youtube
@lagua0003 жыл бұрын
Great video!
@ambientcoder54623 жыл бұрын
Thank you! 🙂
@yogeshyadav5778 Жыл бұрын
Excellent !!!
@AtifShafiinheritance2 жыл бұрын
Great
@JNET_Reloaded3 жыл бұрын
Can you show how to make a secure node js running from php cli that uses cert an key pem files that allow voice streaming 2 way like a phone call app?
@ambientcoder54623 жыл бұрын
Thanks for the suggestion, I’ll consider it 🙂
@dopamine_Seeker3 жыл бұрын
Website socket is best
@aryanrahman32122 жыл бұрын
Just what I needed 😃
@baghdadiabdellatif158110 ай бұрын
Thank you
@jan5310 Жыл бұрын
Where does pub-sub with for example MQTT fall under?
@gauravpurohit37553 жыл бұрын
anyone here.. my question is can we use any of these connection type to any Api or it depends on Api.
@ambientcoder54623 жыл бұрын
Hey Gaurav, basically it depends on the API. For example, websockets require both the client and server to establish a websockets connection. Hope this helps! 🙂
@ashutoshpathak13872 жыл бұрын
Thanks.
@pagarevijayy3 жыл бұрын
nice man!
@ambientcoder54623 жыл бұрын
Thanks bro! 🙂
@srinivasasowmiyan2272 Жыл бұрын
Thank a lot man❤Happy that I found your channel
@shubhankar915 Жыл бұрын
In webhooks, the client is actually another api server, which exposes an end point rather than a mobile or web client, is that correct?
@mornemarais4198 Жыл бұрын
well done thanks! :)
@AlexJaeger716 Жыл бұрын
Can i send an http post request while streaming over http?
@stevenlemmo44963 жыл бұрын
You need to put your contact info in the KZbin about section.
@ambientcoder54623 жыл бұрын
Thanks for pointing this out Steven. I've updated the about section with my channel contact :)
@RaffayDoesTechАй бұрын
When did http become event driven?
@sangamsahai9823 Жыл бұрын
greatttttt video
@DdPk3d Жыл бұрын
great video but music is distracting
@sravanisajjan57353 жыл бұрын
The music in the background is really disturbing and distracting
@ambientcoder54623 жыл бұрын
Thanks for the feedback. I'll keep that in mind for future videos
@sandeshth4667 ай бұрын
Why not SSE
@masudofficial76news122 жыл бұрын
🏆🇮🇩
@rishikeshpawar3230 Жыл бұрын
Just remove that background music.... Its annoying
@joshr.260011 ай бұрын
🎶 music is weird.
@elchemista Жыл бұрын
put speed 1.5.. you welcome 😉
@kamertonaudiophileplayer8473 жыл бұрын
No, no, again you explain not right. You do not explain why it is inefficient. Oh boy, misinforming people is really bad.
@ambientcoder54623 жыл бұрын
I've cleared explained why it's inefficient. Of course I have not gone into deep details but I've covered as much as I can in a short video. How exactly am I misinforming people?
@kamertonaudiophileplayer8473 жыл бұрын
@@ambientcoder5462 A frequent request isn't a cause of the slowness. I appreciate your attempt to educate people, but before doing that, you need have a clear understanding for yourself.