The best WebSocket tutorial I've found. This video is so underrated.
@dashaxedit Жыл бұрын
We need more of the websocket lessons. Thank you, really apppreciate it. So much production-related use cases we are in demand of. Please make more videos! For example, how to send messages in controllers, how to separate websocket, how to authenticate etc. etc.
@abhilashmukherjee95368 ай бұрын
Really appreciate how you explained everything from scratch. Helped me build the basic intuition of websockets. Keep doing the good work. Cheers
@ninadbaruah13042 ай бұрын
I don't understand why this guy has only 7k subs, he deserves more
@metric1523 ай бұрын
this was a great video. i setup the manual upgrade and created a really simple server and client. it just worked! not used to that. keep up the good work.
@datalyrics Жыл бұрын
Everything is here. Not too much not too little and also the explanations for productive use are super. However, I admit that I always had to stop. The speed is ok nonetheless. Thank you very much for your effort. Without your video and GPT I would not be where I am now in 4 weeks!
@covalence-io Жыл бұрын
Glad you're enjoying the content!
@JasonLayton Жыл бұрын
Hey Matt, good video, thank you for all your help. A suggestion for future videos, maybe zoom out a bit and make the window you're coding in a bit bigger; it would help me to see more of the code at once. Thank you.
@covalence-io Жыл бұрын
Noted! Appreciate the feedback.
@otmanm4095 Жыл бұрын
That channel is so under rated
@stockanalogy8108 Жыл бұрын
increase your sound in the video i will start watching your videos, you are creating quality content just keep it up, whenever I watch videos from this channel I have seen to grow their channel much faster after my continue watch. Quality content attracts me and youtube recommends that
@mavisakal772 ай бұрын
just what I was looking for. thanks
@Varun-ms5iv10 ай бұрын
Thank you for the tutorial very simple and very informative. Can you please share the resources you used to know about ws other than ws-docs.
@covalence-io9 ай бұрын
Apologies, the only resources I have are from looking at their code, working with the library myself, and various feedback from the experiences of colleagues working with the libraries
@erice.3892 Жыл бұрын
could you do a video on amqplib and rabbitMQ?
@marvelfancollection36905 ай бұрын
Bro great video..however can you increase your audio volume in future videos please..tx
@supremeleader55164 ай бұрын
finaly a worthy tutorial
@thomas-sinkala9 ай бұрын
At 8:33, you talked about auth, can you make video about this part? Thank you.
@covalence-io9 ай бұрын
We have this video kzbin.info/www/bejne/qqixmJmoepmGnqc you can check out!
@paulojo72010 ай бұрын
My react app is unable to connect, am getting response 404 status
@covalence-io10 ай бұрын
when are you getting a 404? when the websocket is trying to connect or when the page loads or what? where do you see the 404 error?
@andrewandrosow4797 Жыл бұрын
Hello! I tried to write a simple (non-scalable) web server. But there are in satellite phone networks a connection can be destroyed unexpectedly - but a channel of data transmission in phone stay alive (an indicator on a phone show that data transmission in action) . When a server sending ping to a client each minute (for example) - you can set timeout and kill the connection when a response has`n been received. But a client think - the connection is alive... In my opinion - the solution is the next: we can send from a frontend (browser) pings periodically and responding by a server. Timeout mechanisms must be on both sides: s frontend side and a backend side. But a browser hasn't any event handlers for websocket`s 'ping'. It also can't sends pings to server (a browser only responding on websocket pings) . In fact, I can`t listen 'ping' on a browser side. It`s a disadvantage. Classical TCP Socket in Nodejs can sending keep-alive events from a client or from a server side
@covalence-io Жыл бұрын
We have another video that should solve this problem here! kzbin.info/www/bejne/mYaqg5-DaLiNZ9k
@andrewandrosow4797 Жыл бұрын
@@covalence-io Thanks!
@braddockbrawlerАй бұрын
10k connections is not "scaling", it's family business. 1 million would be real scaling.
@akshatlifts1446 Жыл бұрын
how to deploy it on server
@Sammysapphira7 ай бұрын
It is a server.
@RecapFreak6 ай бұрын
Can we host this on vercel ?
@covalence-io6 ай бұрын
I'm not sure if Vercel has websocket support or not. I would look into whether or not Next.js will work with websockets and if so then Vercel probably has some way to support them as well
@RecapFreak6 ай бұрын
@@covalence-io Yes I found out that vercel doesn't have support for websockets, so I hosted my backend on Render but it is little slow. I can see the delay in responses.
@yapayzeka5 ай бұрын
why if(!!ws) instead of if(ws)
@sfsadfsadfasdf2 ай бұрын
thinking the same..
@ohiasdxfcghbljokasdjhnfvaw4ehr2 ай бұрын
i dont think starting with the complicated and unnecessary "upgrading" function was a good idea.
@JonStaples-c6q Жыл бұрын
Why do you use --save for, that is completely useless.
@covalence-io Жыл бұрын
--save adds the package as a dependency in your package.json, if you do --save-dev it'll add it as a dev dependency
@JonStaples-c6q Жыл бұрын
@@covalence-io all packages are saved to your list of dependencies since npm version 5 ^ --save-dev however is sill necessary to save to your list of dev dependencies.
@covalence-io Жыл бұрын
@@JonStaples-c6q old habits die hard haha. I explicitly use --save, --save-dev, and --no-save every time i install for some reason but yes you are 100% correct in that the --save is the default behavior
@JonStaples-c6q Жыл бұрын
Can't trust somebody who is constantly looking at his notes, lol!