Комментарии •

  • @hyunjeon172
    @hyunjeon172 3 года назад +14

    I already completed this series in your playlist. But just came here to click the like button

  • @StuartWoodwardJP
    @StuartWoodwardJP Год назад +6

    I really like your presentation style. No attempt at humour or to be entertaining just explaining clearly what is on the screen. Thanks!!

  • @satyam2312
    @satyam2312 Год назад +1

    Love your video as u cleared my doubt regarding socket...before ur video socket was nightmare but now it is like piece of cake.

  • @dreawing6397
    @dreawing6397 3 года назад +1

    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.

  • @paulshortridge870
    @paulshortridge870 3 года назад +2

    Best tutorial I have seen all year! Thank you !

  • @petreiordanescu4005
    @petreiordanescu4005 3 года назад +1

    Excellent, practical and useful. Thank you Miguel!

  • @MCSTNDTCAFAG
    @MCSTNDTCAFAG 2 года назад +1

    Very clear and interesting. Exactly what I needed. Thanks Miguel.

  • @kleyderfernandomoranflores1057
    @kleyderfernandomoranflores1057 3 года назад +1

    Really needed this. Thank you Miguel!!!

  • @hfe1833
    @hfe1833 3 года назад

    Thanks for the great effort providing and open source library and examples

  • @Santosamapaio
    @Santosamapaio 2 года назад +1

    Thank you so much!! I was a bit lost on this subject, but not anymore!

  • @salma-amlas
    @salma-amlas Год назад

    this tutorial saved my course project! thank you so so much for this clear explanation ! ❤

  • @dunderstr
    @dunderstr 3 года назад +1

    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

    • @dunderstr
      @dunderstr 3 года назад

      1:21:21 - Part 8

  • @rangabharath4253
    @rangabharath4253 3 года назад

    awesome as always. Thanks

  • @alvaromartin6301
    @alvaromartin6301 3 года назад +1

    Thanks sir!

  • @elbajadourvillacampa5149
    @elbajadourvillacampa5149 3 года назад

    Needed this

  • @mochy1
    @mochy1 2 года назад

    Thank you so much!!!

  • @LeeanRepzTraining
    @LeeanRepzTraining 2 года назад

    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

  • @guireis5389
    @guireis5389 2 года назад

    Pfto!

  • @subinsunderdas4298
    @subinsunderdas4298 3 года назад

    Thank you

  • @ferilukmansyah3037
    @ferilukmansyah3037 3 года назад

    Thank sir

  • @TutooJoe
    @TutooJoe 2 года назад

    Thanks

  • @Seanomarachain
    @Seanomarachain 3 года назад +3

    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?

    • @miguelgrinberg
      @miguelgrinberg 3 года назад +4

      HTTP and WebSocket do not compete, they have different use cases, so I do not expect either one to replace the other.

  • @holyproton8855
    @holyproton8855 3 года назад +3

    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?

    • @holyproton8855
      @holyproton8855 3 года назад +3

      I figured it out, I never added the transport Options on my client

  • @leamon9024
    @leamon9024 Год назад

    Hi, if possible, could you do a tutorial about how to do load testing for this library by using tools like JMeter, locust...etc.?

  • @SonuKumarcyberhacker
    @SonuKumarcyberhacker 3 года назад +1

    Sir please show us that how to deploy flask application with flask-socket.io , gunicorn and nginx

  • @mirrorinfinite5392
    @mirrorinfinite5392 2 года назад

    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!

    • @miguelgrinberg
      @miguelgrinberg 2 года назад +1

      A single eventlet worker can handle hundreds or even thousands of concurrent clients. And yes, it is asynchronous.

  • @fersalamanca2606
    @fersalamanca2606 2 года назад

    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!

    • @miguelgrinberg
      @miguelgrinberg 2 года назад

      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.

    • @fersalamanca2606
      @fersalamanca2606 2 года назад

      @@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?

    • @miguelgrinberg
      @miguelgrinberg 2 года назад +1

      @@fersalamanca2606 correct.

    • @fersalamanca2606
      @fersalamanca2606 2 года назад

      @@miguelgrinberg Thank you!

  • @okamimoushiyou
    @okamimoushiyou 2 года назад

    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.

  • @daanvanleeuwen8435
    @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?

  • @chip911
    @chip911 2 года назад

    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

  • @danielxing1034
    @danielxing1034 3 года назад +1

    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.

  • @saperamonti8234
    @saperamonti8234 3 года назад

    Can you tell me can I user python-socketio for real company projects or channels??

  • @smithchristian4251
    @smithchristian4251 2 года назад

    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?

    • @miguelgrinberg
      @miguelgrinberg 2 года назад +1

      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.

  • @beautybeast865
    @beautybeast865 11 месяцев назад

    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.

  • @elbajadourvillacampa5149
    @elbajadourvillacampa5149 3 года назад

    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

    • @miguelgrinberg
      @miguelgrinberg 3 года назад

      Yes. This package does not care about that. You can configure your python web server to listen on any host and port.

    • @elbajadourvillacampa5149
      @elbajadourvillacampa5149 3 года назад

      @@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

    • @elbajadourvillacampa5149
      @elbajadourvillacampa5149 3 года назад

      @@miguelgrinberg Just wanna say I appreciate your response ❤️

  • @Ali_Hassan12345
    @Ali_Hassan12345 Год назад

    Can this tutorial be used with flask socketio

  • @Ali_Hassan12345
    @Ali_Hassan12345 Год назад +1

    When i run
    guinicorn -threads 50 app:app
    I get error fcnt1 not found

    • @miguelgrinberg
      @miguelgrinberg Год назад +1

      On windows? Try inside the WSL, gunicorn does not run natively on that OS

    • @Ali_Hassan12345
      @Ali_Hassan12345 Год назад

      @@miguelgrinberg okay great thank you!

  • @ardijonouchiX
    @ardijonouchiX 3 года назад

    Sir, thank you for the tutorials. By the way i interested your udemy course mega flask tutorial. Is it still works in 2021?

    • @miguelgrinberg
      @miguelgrinberg 3 года назад

      Yes, the course is still valid and up to date!

    • @ardijonouchiX
      @ardijonouchiX 3 года назад

      @@miguelgrinberg OK. Thank you.

  • @yogeshdubey2031
    @yogeshdubey2031 3 года назад

    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

    • @miguelgrinberg
      @miguelgrinberg 3 года назад

      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.

  • @rohitkatkar3736
    @rohitkatkar3736 Год назад

    Hello,
    Is it possible to have server streaming using socket io in python?

    • @rohitkatkar3736
      @rohitkatkar3736 Год назад

      Meaning:
      One request from client and multiple response from server.

    • @miguelgrinberg
      @miguelgrinberg Год назад

      @@rohitkatkar3736 yes, of course.

    • @rohitkatkar3736
      @rohitkatkar3736 Год назад

      Thanks for quick response.
      Could you please tell me how?

    • @miguelgrinberg
      @miguelgrinberg Год назад

      @@rohitkatkar3736 There are no requests or responses. The server or the client can send to the other side whenever they want.

    • @rohitkatkar3736
      @rohitkatkar3736 Год назад

      Thanks alot.
      I will try again.
      Thanks.♥️

  • @rushibutley8477
    @rushibutley8477 3 года назад

    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.

    • @miguelgrinberg
      @miguelgrinberg 3 года назад

      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.

    • @rushibutley8477
      @rushibutley8477 3 года назад +1

      @@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.