I already completed this series in your playlist. But just came here to click the like button
@ruuia2 ай бұрын
thank you for taking the time and sharing your teachings for free.
@StuartWoodwardJP2 жыл бұрын
I really like your presentation style. No attempt at humour or to be entertaining just explaining clearly what is on the screen. Thanks!!
@beerus789i2 жыл бұрын
Love your video as u cleared my doubt regarding socket...before ur video socket was nightmare but now it is like piece of cake.
@paulshortridge8703 жыл бұрын
Best tutorial I have seen all year! Thank you !
@dunderstr4 жыл бұрын
Dear Miguel, thank you for the excellent tutorial I've commented to notify you that in video the part 8 appear at the end, after parts 9,10 thanks again
@dunderstr4 жыл бұрын
1:21:21 - Part 8
@kleyderfernandomoranflores10573 жыл бұрын
Really needed this. Thank you Miguel!!!
@TutooJoe2 жыл бұрын
Thanks
@Santosamapaio3 жыл бұрын
Thank you so much!! I was a bit lost on this subject, but not anymore!
@salma-amlas Жыл бұрын
this tutorial saved my course project! thank you so so much for this clear explanation ! ❤
@dreawing63973 жыл бұрын
Thanks you for your videos, Miguel. I am learning coding now and your videos on websockets have helped me immensely. Greatly appreciate your work and clear explanations.
@petreiordanescu40053 жыл бұрын
Excellent, practical and useful. Thank you Miguel!
@hfe18333 жыл бұрын
Thanks for the great effort providing and open source library and examples
@rangabharath42534 жыл бұрын
awesome as always. Thanks
@elbajadourvillacampa51493 жыл бұрын
Needed this
@daanvanleeuwen8435 Жыл бұрын
Is it possible to upload files using SocketIO File Upload (siofu) from a JS client to a Python server? any recommendations on where to find information on that subject?
@beautybeast865 Жыл бұрын
Hi sir.. I'm using django in a container. I would like to know how can I set my workers more than 1.. or should i make another container to serve my django app for using 4 workers.. if i do that my nginx can't see my socket connections.
@alvaromartin63014 жыл бұрын
Thanks sir!
@Ali_Hassan123452 жыл бұрын
When i run guinicorn -threads 50 app:app I get error fcnt1 not found
@miguelgrinberg2 жыл бұрын
On windows? Try inside the WSL, gunicorn does not run natively on that OS
@Ali_Hassan123452 жыл бұрын
@@miguelgrinberg okay great thank you!
@mochy13 жыл бұрын
Thank you so much!!!
@guireis53893 жыл бұрын
Pfto!
@Ali_Hassan123452 жыл бұрын
Can this tutorial be used with flask socketio
@holyproton88553 жыл бұрын
Thanks for the helpful/awesome tutorial Miguel! In part 8: Authentication, I was not able to set a username in the Firefox browser. The username keeps resulting to None. Any tips on what I should be looking at?
@holyproton88553 жыл бұрын
I figured it out, I never added the transport Options on my client
@rohitkatkar37362 жыл бұрын
Hello, Is it possible to have server streaming using socket io in python?
@rohitkatkar37362 жыл бұрын
Meaning: One request from client and multiple response from server.
@miguelgrinberg2 жыл бұрын
@@rohitkatkar3736 yes, of course.
@rohitkatkar37362 жыл бұрын
Thanks for quick response. Could you please tell me how?
@miguelgrinberg2 жыл бұрын
@@rohitkatkar3736 There are no requests or responses. The server or the client can send to the other side whenever they want.
@rohitkatkar37362 жыл бұрын
Thanks alot. I will try again. Thanks.♥️
@saperamonti82343 жыл бұрын
Can you tell me can I user python-socketio for real company projects or channels??
@LeeanRepzTraining3 жыл бұрын
amazing video man!!! could you possibly do a video with these two together socket io/ python + javascript for a friend request scenorio along with database
@smithchristian42513 жыл бұрын
I am using RPI as my client and taking many sensor reading every second, but I am confuse if I should use async functionality or regular functionality? Also i am using eventlet in my server. Second question: is it okay if client.py use async functionality but server.py doesn't can they still communicate fine?
@miguelgrinberg3 жыл бұрын
You should use sync Python if your hardware I/O library is sync, or async if your I/O library is async. The problem occurs when you mix different modes. The server can be sync or async, doesn't matter.
@SonuKumarcyberhacker4 жыл бұрын
Sir please show us that how to deploy flask application with flask-socket.io , gunicorn and nginx
@elbajadourvillacampa51493 жыл бұрын
Is it possible to just start the server in a specific host and port and allow html pages to connect to it. I am currently making a web app using Laravel Vue and the data will be emitted from a Python Application. I'm wondering if is possible? Thank You
@miguelgrinberg3 жыл бұрын
Yes. This package does not care about that. You can configure your python web server to listen on any host and port.
@elbajadourvillacampa51493 жыл бұрын
@@miguelgrinberg if it's not too much sir, would it be okay if I ask some pointers or references that I can go to. I'm a bit new in python and js sockets. Thank you
@elbajadourvillacampa51493 жыл бұрын
@@miguelgrinberg Just wanna say I appreciate your response ❤️
@Seanomarachain4 жыл бұрын
Vayas tus vacas son gordos. Thank you, you are a real clear communicator, and this was really interesting. Do you see the likes of web-sockets protocol replacing REST stateless communications? What do you think will happen? I actually think this type of event driven I/O is more natural. What sort of projects have you used this on?
@miguelgrinberg4 жыл бұрын
HTTP and WebSocket do not compete, they have different use cases, so I do not expect either one to replace the other.
@leamon90242 жыл бұрын
Hi, if possible, could you do a tutorial about how to do load testing for this library by using tools like JMeter, locust...etc.?
@mirrorinfinite53922 жыл бұрын
Hi Miguel, on part 3 where we use gunicorn with eventlet, does this mean we are making our socket io server into an asynchronous server? Does one eventlet worker correspond to one thread meaning the server is single-threaded? From what I understand, the eventlet worker is an async worker which can spawn greenlet pseudo threads when a new request(eg new events) is received. Thank you for the tutorial!
@miguelgrinberg2 жыл бұрын
A single eventlet worker can handle hundreds or even thousands of concurrent clients. And yes, it is asynchronous.
@fersalamanca26063 жыл бұрын
Hi Miguel! this tutorial is amazing. What would be the difference if I wanted to implement this inside a Flask server? I assume is mainly on the setup but appreciate any advice you could spare. Thanks in advance!
@miguelgrinberg3 жыл бұрын
There is no difference. You can combine Socket.IO and any standard WSGI App (Flask, Django, etc) into a single server. The Flask-SocketIO extension integrates Socket.IO with Flask.
@fersalamanca26063 жыл бұрын
@@miguelgrinberg ok, so the only difference here is that you are setting up a pure socketio server and if I wanted to do it with flask, I’d have to use flask-socketio instead of py-socketio?
@miguelgrinberg3 жыл бұрын
@@fersalamanca2606 correct.
@fersalamanca26063 жыл бұрын
@@miguelgrinberg Thank you!
@parrapaTh3Rappa3 жыл бұрын
Chapters for Part 8, 9, and 10 are mixed up. Part 8 is part 9, Part 9 is part 10, and Part 10 is part 8. Just thought I'd mention in case it's easy enough to fix.
@subinsunderdas42984 жыл бұрын
Thank you
@yogeshdubey20313 жыл бұрын
sir iam making a strangers video calling platform like azar i was thinking to have backend python server and js client how can i do that imean how can i p2p using python and socketio
@miguelgrinberg3 жыл бұрын
Sorry, but this is an extremely complex question that cannot be answered in a comment. You should learn more about p2p and mabe webrtc if you intend to implement something of this complexity.
@ferilukmansyah30374 жыл бұрын
Thank sir
@chip9112 жыл бұрын
i really really loved this tutorial and learned from it a lot and this is the only content i really find usefull kuz everyone the chat thingy was explained i just have one more doubt more of help u can say and im fairly new at this django channels/socket thing..and im trying to integrate it in django like serverside implementation and my project is based on drf..and the problem is that i learned how to create a server for socket but i dont know how would my fronrend ie react will communicate with that..i tried to find some implementation with django and react but didnt find anything useful and i find few thing but they were all based in django url and using django templates and its url path som im not able to understand how should i communicate it with react.. and i cant also use django-channels So can u please please please help regarding this
@aradagasX3 жыл бұрын
Sir, thank you for the tutorials. By the way i interested your udemy course mega flask tutorial. Is it still works in 2021?
@miguelgrinberg3 жыл бұрын
Yes, the course is still valid and up to date!
@aradagasX3 жыл бұрын
@@miguelgrinberg OK. Thank you.
@danielxing10343 жыл бұрын
Thanks for the tutorial and you are always creating quality content. I do have a question. How to implement the following function with flask-socketio? Create two clients, a user and agent html files respectively. And a python flask server. Agent input message and send message to server then the message will show up in user client html.
@rushibutley84774 жыл бұрын
Thank you so much miguel ❤️, you’re gem. Your tutorials are awesome. Just request, It will be great if you can also add maybe part where tweaks we need to do to scale our python code. For example i had to tweak socket server library to run along side load balancers, to create lookup service and to do that i had to override few classes. Code can be looked here: github.com/rushi47/Threaded_Socket_Server It will be great if you can explain such advance concepts as well. Basically i learnt python from your tuts only but now am in situation lot of Times where I can’t look anywhere for any help.
@miguelgrinberg4 жыл бұрын
There are many ways to deploy a highly available service, and this is largely unrelated to socket.io, so I don't believe it belongs in this course.
@rushibutley84774 жыл бұрын
@@miguelgrinberg Hey i was talking in general it didn’t need to be mention here, that was one of idea. It will be great if you can share your that experience as well maybe series on highly scaling services.