From the first day I came across one of your TH-cam shorts I discovered you have liquid gold here and I subscribed right away. Keep the knowledge flowing
This part is so crazy :)). There is a problem with the connections order when websocket handle them. The handshake should occurs after the disconnect, but sometimes, the disconnect occurs before handshake.
The handshake occurs before the websocket connection is established. There can be more websocket connections open at the same time, so you might see some overlaps in the console.
@@ajudmeister Hmm, I have tested it. When we refresh the page, the browser will create a new connection to Websocket and it disconnect the previous connection. If the new connection occurs after the previous connection disconnects, it's okay. Otherwise, the new occurs before the old, the user will be deleted out of the online users because the disconnect of previous connection.
Thank you! For deployment I made a series, check it out here: th-cam.com/video/BO6O3I88mU4/w-d-xo.html. The only difference to a standard deployment is the asgi server and the redis setup which I cover in the redis video. If you get stuck or have any questions, please let me know. :)
Hi, thanks! I have made a video on how to set up redis and the asgi startcommad, the rest is a normal django deployment, I made a whole tutorial series on it: th-cam.com/video/BO6O3I88mU4/w-d-xo.html
From the first day I came across one of your TH-cam shorts I discovered you have liquid gold here and I subscribed right away. Keep the knowledge flowing
Awesome ❤️
Doooddeee!!!! Your content is top class... Plz don't stop posting.. Quality stuff ❤️
Thanks a lot!
Excellent stuff Bro, continue your work. I hope all is well. the Algotythmn protects. i hope this text is long enough.
This part is so crazy :)). There is a problem with the connections order when websocket handle them. The handshake should occurs after the disconnect, but sometimes, the disconnect occurs before handshake.
The handshake occurs before the websocket connection is established. There can be more websocket connections open at the same time, so you might see some overlaps in the console.
@@ajudmeister Hmm, I have tested it. When we refresh the page, the browser will create a new connection to Websocket and it disconnect the previous connection. If the new connection occurs after the previous connection disconnects, it's okay. Otherwise, the new occurs before the old, the user will be deleted out of the online users because the disconnect of previous connection.
That was amazing thankS ☺️
But how can we deploy this project whole
Thank you! For deployment I made a series, check it out here: th-cam.com/video/BO6O3I88mU4/w-d-xo.html. The only difference to a standard deployment is the asgi server and the redis setup which I cover in the redis video. If you get stuck or have any questions, please let me know. :)
Amazing series! Is it possible to implement end to end encryption?
Thank you! I covered encryption already when building the inbox feature. Here is the video: th-cam.com/video/K9FFFPEcZHk/w-d-xo.html
@@ajudmeister Thank you!
@@ajudmeister Please teach us deployment as well, how to deploy this application to AWS?
Hi thanks please can you add a video on how we can deploy django channels on server?
Hi, thanks! I have made a video on how to set up redis and the asgi startcommad, the rest is a normal django deployment, I made a whole tutorial series on it: th-cam.com/video/BO6O3I88mU4/w-d-xo.html
Thank you!
thank you