Guys Jump codes for your convenience, HTTP 2:00 WebSockets 5:40 WebSockets Handshake 8:00 WebSockets Usecases 11:20 WebSockets Example Code 14:30 WebSockets Pros and Cons 36:40 Do you have to use webSockets? 42:10 Stay awesome!
@josepetoshi8135
4 жыл бұрын
Greate course mate!
@thanasisathanasi4965
4 жыл бұрын
Man, every part of your video is really for us. Very well documented and comprehensive! The best I could find./
@TheDroiDGch
4 жыл бұрын
The best channel about computer science!! thank you so much for these wonderful and helpful videos!
@reinohaider4239
4 жыл бұрын
I need your help.. I need project for MSc computer network guys can any one help me!
@computeering
3 жыл бұрын
Can you please make a comprehensive video about keeping track of clients using Websockets?
@truphenalwanga9829
4 жыл бұрын
I always like it when a channel has the perfect balance of comedy and education. Subscribed! Great stuff!
@hnasr
4 жыл бұрын
Truphena Lwanga thanks ! Yeah hard to keep the balance. Do tell me if it gets little much. Any feedback helps. Enjoy the content. Cheers
@tdias25
5 жыл бұрын
I cant believe i found this channel, this kinda of content is gold, please keep it up, also gonna watch that one about nodejs and webservers
@hnasr
5 жыл бұрын
Thanks! Very happy your enjoying the content
@langsonchibili1329
5 жыл бұрын
THE FIRST 5 MINUTES INTO YOUR VIDEO MADE ME UNDERSTAND OVER 3 YEARS WORTH OF INFORMATION, U ARE A BLESSING Hussein Nasser
@GoldenBeholden
3 жыл бұрын
I love these very bare-bones tutorials; after all, once you understand the essence of an API, using it to build an application is just a matter of applying whatever programming experience you may already have.
@hnasr
3 жыл бұрын
👍👍
@molangdogma796
5 жыл бұрын
I HAVE NEVER KNOWN A GUY AS INTELLIGENT AT EXPLAINING STUFF LIKE Hussein Nasser, MUCH THANKS TO YOU SIR.
@hnasr
5 жыл бұрын
Molang dogma Thank you for watching you humbled me ❤️
@sailendrapavan3475
Жыл бұрын
I think Its better to search any topic in this channel first rather than wasting time in searching docs !!! Thanks Hussein Nasser 🤟
@parmvirsidhu7563
3 жыл бұрын
I loved the way you start with WHY? then reasoning, when to use and when not to use, very practical approach to all the concepts. That helps in real life implementation decisions of the technology. Many Thanks for wonderful videos!
@MrDeeb00
11 ай бұрын
The most passionate instructor I have ever seen. Thank you for this awesome video!
@shahinbayat
4 жыл бұрын
That was an amazing video, I didn't imagine to understand websockets this much comprehensive and with so much fun! keep going mate 👍
@hnasr
4 жыл бұрын
Appreciate you Sir! Thanks 😊 glad you enjoyed the content!
@shahinbayat
4 жыл бұрын
@@hnasr I can't stop enjoying the content you have created with such a great energy and giving them for free! That's amazing! I am suggesting your channel to everyone who is interested to learn about network with a simple language! 🙏
@metinagaoglu4332
4 жыл бұрын
Simple and very understandable.Thank you from Turkey, Hussein. I'm gonna watch your all videos.
@hnasr
4 жыл бұрын
Thank you Metin!!
@gnack420
4 жыл бұрын
I gotta say, I love the way you present. It's very casual while still including a lot of information. Great video!
@hnasr
4 жыл бұрын
Nick Coad thanks! Glad you enjoy the content 😊
@naimurhasanrwd
2 жыл бұрын
Clicked the video, and this guy started explaining with the topic right from 0.00000 seconds! No channel intro, no personal intro.
@marcosvalderrey5063
2 жыл бұрын
Not every day I find great content that is also as engaging and entertaining as yours. Amazing job, Hussein!
@BizimanaIsingizweChristian
3 ай бұрын
Very good tutorial. I've been learning web sockets for a while without understanding them well but this video came as a solution. Thanks very much
@shubhamkala5514
4 жыл бұрын
for me it's really difficult to watch such a long videos but your way of explaining things is so good that no one can resist it.Do make a video on EventSource.
@hnasr
4 жыл бұрын
Thanks ! I really appreciate your feedback. It is hard to explain complex topic in short video that is why my lectures are long. i try to include time codes of table of contents.. EventSource is on the list! 👍 Thanks!
@Akonitx
Жыл бұрын
Bro, your videos with so passion and emotions is really something unbelievable comparing to other plain content in inet. Thanks for your existing!
@hnasr
4 жыл бұрын
WebSockets Secure Video kzitem.info/news/bejne/s5xsp5qeqnx8q5w
@tech3425
Жыл бұрын
I love how you always show the tech in the browser(the webRTC video also comes to mind), making it seem so simple that you can type it out in the console. No need for so much tooling. This is literally the only channel I've seen that does it like this.
@hnasr
Жыл бұрын
i find it easier for simple things plus everyone has a browser and can quickly do it. not to say editors are not useful of course.
@tech3425
Жыл бұрын
@@hnasr knowingly or not, it greatly reduces the cognitive overhead for viewers when learning a new tech
@thanasisathanasi4965
4 жыл бұрын
This definitely gets a like and saved in my favorite videos. Best tutorial on the subject !!!!
@hnasr
4 жыл бұрын
Thanks!! Enjoy the content ☺️☺️
@tech3425
Жыл бұрын
I was on another channel watching some web sockets stuff. It's amazing how simple and easy you make stuff sound.
@pragmaticsoftwareengineer7965
5 жыл бұрын
excellent stuff mate. so glad I stumbled upon your channel.
@Gringo0517
4 жыл бұрын
Love the conversational tone. Great video!
@youee1234
4 жыл бұрын
Everything you publish is so pro! thanks for making our lives easier to grasp!
@hnasr
4 жыл бұрын
Thanks 😊 enjoy the content and let me know what you want to see next! Cheers and love
@taulantus
4 жыл бұрын
i usually don't comment, but i have to give you the props for this amazing video. good job
@hnasr
4 жыл бұрын
Thanks for taking the time to comment! Appreciate it , glad I could help. have a beautiful day. 😊
@paulstaley4245
4 жыл бұрын
I'm 11 minutes into this video and I love how professional this video is. Well done with the structuring! I can't believe this only has 4k views.
@hnasr
4 жыл бұрын
Thanks Paul! I appreciate your comment glad the content is of high value to you. Let me know what software engineering content would you like me to make. Cheers
@sajithtm4864
3 жыл бұрын
You're such an amazing guy who brings out toughest concepts too simple. Keep doing Bro..👌
@Mfbzai
3 жыл бұрын
Apple need this guy, the speaking way is awesome.
@patrickconrad396
4 жыл бұрын
Just saying you're accent is fantastic man. No need to ever apologize. Well on you. I'm sure that took a lot of time
@hnasr
4 жыл бұрын
Patrick Conrad thanks Patrick
@patrickconrad396
4 жыл бұрын
@@hnasr no thank you man. Only came across your videos today. Started learning a few months back but I feel like I've gained a way more enlightened idea of node and the backend itself just by watching your videos! Wish I'd have found them sooner! Can you recommend a playlist or perhaps even create one (I know you're probably busy) that is a good order for newbies to follow? **NVM I found it Thanks again!!
@akashmocha4846
3 жыл бұрын
Never felt learning was this "ENTERTAINING" before. More power to you❤️
@hnasr
3 жыл бұрын
❤️❤️❤️
@voxhominem
4 жыл бұрын
damn that was actually helpful. I swear I've read 4 tutorials before now that couldn't have been harder to understand if they'd tried. you earned yourself a new subscriber my dude
@hnasr
4 жыл бұрын
Thank you Vox for watching and I am glad I earned your trust. Hopefully I deliver the content you enjoy cheers! thanks ..
@raffayhussain6717
2 жыл бұрын
The great John Danaher says learning should be playful. When I see you, it reminds me of him.
@moneeshkumar1838
Жыл бұрын
Great Explanation Subscribed Keep posting
@thomastaylor1799
2 жыл бұрын
#1 Your a smart dude. #2 You are a great teacher. #3 Don't apologize for your accent, it is cool!
@ajayraja1998
4 жыл бұрын
the only video which explains very well thanks a lot brother
@mhh263
3 жыл бұрын
Everyone thiinks Client-Server model is dead, but hey Hussein comes to rescue. Great stuff man 👍
@dabbopabblo
2 жыл бұрын
Everything I make is with websockets. Maybe that's for the better or maybe its for the worst. I just loooove the bidirectional communication soo much, it allows me to monitor absolutely every little thing about the clients connected to my website in real time and provide them with live updates for the pages they are on
@tech3425
Жыл бұрын
Dude your accent is perfect. Fuck everybody making fun of it. I literally enjoy the way you pronounce stuff differently
@ishdx9374
4 жыл бұрын
Thanks for this video, I found it really easy interesting, since I'm working on a web game right now.
@hnasr
4 жыл бұрын
Amazing! Keep us up to date with the progress of your game. Cheers!
@kidjr.9520
Жыл бұрын
Very clear and the illustrations made it easier to visualize! Very Efficient video on web sockets!
@annyni6640
3 жыл бұрын
Love your videos! Have never found anyone else who can teach better
@briandines
2 жыл бұрын
Excellent tutorial. You're funny which made this a little bit easier.
@ashishmaikhuri3950
3 жыл бұрын
Nice work Hussain. I am finally able to understand websocket
@hnasr
3 жыл бұрын
🙏
@sohamnavadiya992
2 жыл бұрын
Learn a lot from your videos. Thank you for sharing. I have one request please upload one video on long pooling.
@hnasr
2 жыл бұрын
I Made a video a while back Long Polling and how it differs from Push, Poll and SSE - The Backend Engineering Show kzitem.info/news/bejne/q2al0aaXgniBfWU
@seems-legit
3 жыл бұрын
You beautiful man, All other tutorials ive found have tried to make websockets seem like this dark mystic old gods tech that you haver to handle handshakes manually and send control frames. you got a subscriber
@connordelaney2536
2 жыл бұрын
Thank you for taking the time to make this. :)
@sumedh1771
2 жыл бұрын
This is so awesome
@zolika154
3 жыл бұрын
literally had me laughing out loud like 3 times
@bardhan.abhirup
4 жыл бұрын
Hey Hussein, thanks a ton for the videos. Just discovered them. The content seems great! I hope you don't mind me saying that you volume levels need adjusting. At times it sounds like you're whispering into the mic and it's not audible, other times it's super loud. If you could somehow normalize that, it'd be great. Thanks!
@hnasr
4 жыл бұрын
Thank you so much! I am working on my audio and making better I think it got better on my new videos.
@shrestha0144
3 жыл бұрын
I just love your teaching style
@chintukarthi1781
2 жыл бұрын
thank you so much for the explanation. Really appreciate all your effort in making this video.
@reemachourey9462
4 жыл бұрын
Came here from your Spotify Podcast! Happy to find awesome content.
@hnasr
4 жыл бұрын
Thanks Reema!!! Welcome to the channel. Enjoy the content 😊😊
@stevemcguigan8359
2 жыл бұрын
Been waiting for an ah-ha moment on this for a while and this was it. Subbed.
@SohailKhan-cb9ls
3 жыл бұрын
Thank you brother, you just solved a system design problem for me. You have a great and unique teaching technique, don't change it. I would really appreciate if you also cover cloud system designs. Thanks again 👍
@hnasr
3 жыл бұрын
🙏🙏🙏
@webrevolution.
2 жыл бұрын
19:15 Right there man. Right there you got my subscription. LOL.
@iyxan23
2 жыл бұрын
I just love this channel!
@edwinroman30
2 жыл бұрын
New subscriber. Awesome content and great explanation. I'm speechless many thanks for all and the recommended sources.
@JoaoRodrigues-yw3bh
10 ай бұрын
Amazing and timeless!!
@TheMathematicalMan
2 жыл бұрын
Thanks for the step-by-step guide!
@jervex-e3514
Жыл бұрын
such as a treasure thanks!!
@kaloyangeorgiev6824
8 ай бұрын
Thank you very much, amazing explanation!
@coutinhotiago
3 жыл бұрын
Concerning the 2 TCP connections necessary to have redis pub/sub + req/rep: I believe that since redis RESP3 protocol (redis >=6) it possible to share both in the same TCP connection. BTW, it would be great to see you do a video on redis 6. Stay awesome 😎
@richardmaduka4747
4 жыл бұрын
I'm glad I found your channel, you are great at explaining concepts.
@hnasr
4 жыл бұрын
Thank you! I am glad too that the content is useful 🙏😊
@369-davian
5 ай бұрын
nice voice, my greetings from dominican republic
@SachinKumar-js8yd
4 жыл бұрын
Liked, subscribed. Your content is GOLD.
@massimoaristide8879
3 жыл бұрын
Really easy and entertaining introduction.
@uchennanwanyanwu2777
4 жыл бұрын
7:14 ...it's the wild west. very funny explanation. cool
@newtonsarr1234
3 жыл бұрын
Your tutorials are just amazing. I love it.
@coding3438
Жыл бұрын
Great video but can you please explain when you said at the start of the video, what does “opening a connection” mean? What exactly happens in the computer when you “open a connection”
@singaravelann3671
4 жыл бұрын
Hi Hussain, I am really loving the way you deliver the content, can you please make a video to do the load balancer for websocket and how can we scale it horizontally.
@singaravelann3671
4 жыл бұрын
I know we can do this by having the pub/sub model in the Backend, If you can make little crash course on this we will have clear idea.
@hnasr
4 жыл бұрын
Thanks ! I do explain how to secure web socket and load balance it through a reverse proxy here Secure WebSockets Explained by Example (with HAProxy) kzitem.info/news/bejne/s5xsp5qeqnx8q5w
@singaravelann3671
4 жыл бұрын
@@hnasr thanks hussian that's wonderful.
@jeppechristensen5707
2 жыл бұрын
Thanks alot. You made me reconsider the EventSource API 🙂
@azazel-oss
2 жыл бұрын
Love your content man, so full of information everytime I re-watch any of your long videos I always learn something new. Appreciate your work
@taihatranduc8613
4 жыл бұрын
you're so funny in the middle of the boring, cold, unemotional, coding world
@sakuranooka
3 жыл бұрын
@26:58: when I hit enter, I get an error message: Content Security Policy: The page’s settings blocked the loading of a resource at wss://localhost:8082/ (“connect-src”). What's the problem, how can I solve it? [PS: port 8082 is correct, I chose a different one than in the video]
@lonewolf2547
3 жыл бұрын
A M A Z I N G.....!!!!! awesome explanation dude
@alitariq7726
Жыл бұрын
Love your work. 👍👍👍
@okage_
11 ай бұрын
pretty good video, i learnt alot! thank you
@dramen555
3 жыл бұрын
Great video Huso, but i would like to give you a suggestion on your friendly comments almost on everything. It's good to hear your friendly comments but it's a bit too much and at some point, it starts to get annoyed. It becomes hard to track the things you are talking about. Maybe lowering amount of your "funny comments" will help to make your videos more valuable. I hope you don't get me wrong. Thanks.
@Pscribbled
Жыл бұрын
13:30 multiplayer games are inherently stateful. Multiplayer games are also pretty short lived as well so they don’t need to be stateless. You design the game servers along with the underlying hardware requirements based on the requirements of your game and you ‘horizontally scale’ by having multiple (independent) games running at the same time
@sunnysingh9270
3 жыл бұрын
@hussein. Sir, at time 28:43 , when i am typing form debug console --- connection.send("Hello client !!! its me a server"). Its throwing an error in the debug console itself ----Uncaught ReferenceError: connection is not defined. Can u please help me on that.
@guilhermecortes202
3 жыл бұрын
Same here guys. After running the command: connection.send("Hello from server here!") got this error: Uncaught ReferenceError: connection is not defined
@lex-fridman
2 жыл бұрын
@@guilhermecortes202 connection is available inside the callback function passed to websocket.on; So you will be able to do connection.send only durring the moment when debugger pauses on the call of that anonymous function (put a breakpoint inside its body).
@AhmedAli-go7wx
3 жыл бұрын
thanks, Nasser for this great content ...
@hamidRaven13
11 ай бұрын
thanks it was very teachingful💯💯💯
@madanmohanpachouly6135
2 жыл бұрын
Real cool explanation.
@rodeschorpioen
4 жыл бұрын
Cool and comprehensive video. thx and keep up the good work!
@hnasr
4 жыл бұрын
Thank you Wouter! 🙏
@pallanti_techtalk
2 жыл бұрын
Great explanation
@kefahissa
3 жыл бұрын
I love your comprehensive coverage and depth. Keep it up! 💚
@hnasr
3 жыл бұрын
So glad! thanks Kefah
@marianbieda
Жыл бұрын
Dziękujemy.
@ayanSaha13291
Жыл бұрын
Thanks for the video. It helps.
@sadihassan8407
2 жыл бұрын
Can I borrow your brain for some hours (only those cells that has stored backend knowledge) in my upcoming interview? :D You are awesome man! Salute!
@kjahirhussain
3 жыл бұрын
Love the explanation!
@seaofcuriosity
3 жыл бұрын
On sending data from server to client it says Uncaught Reference Error and it also not display message when new client is connected ....
@VamsiKrishna-yt5hi
3 жыл бұрын
14:27 Very important point
@PabloGnesutta
2 жыл бұрын
Any hints on how to build your own web socket implementation? Hussein always talks about understanding the underlying tech before using a library, but I can't fathom how to even start building one for websockets
@KazLA
4 жыл бұрын
Wow you’re awesome - fun to follow
@hnasr
4 жыл бұрын
Wow, thank you appreciate it
@jhonaraujo2009
4 жыл бұрын
hola, nose mucho ingles, quiero aprender web socker , pero al parecer la informacio. que se da en español, es o practicmente nula o mala, que me ah tocado ver video en ingles, para aprender, estubo chevere tu video tutorial te dejare mi me gusta
@guilhermecortes202
3 жыл бұрын
Congrats Hussein it is a great tutorial and explanation about WebSockets. I like the way you start it simple. Unfortunately, the example didn't work for me. After following all the code when I was trying to run the command (on 28:40): connection.send("Hello from server here!") I got this error: Uncaught ReferenceError: connection is not defined (running the server on debug mode on VSCode). I tried to make some breakpoints like you did but still not working. Thanks for any help.
@lex-fridman
2 жыл бұрын
connection is available inside the callback function passed to websocket.on; So you will be able to do connection.send only durring the moment when debugger pauses on the call of that anonymous function (put a breakpoint inside its body).
Пікірлер: 342