DEV Community

loading...
Cover image for How does NodeJS socketIO differ from Flask SocketIO?

How does NodeJS socketIO differ from Flask SocketIO?

leviathanprogramming profile image 𝐋𝐄𝑽𝐈𝑨𝐓𝐇𝐀𝐍 Programming ・1 min read

I've learned how to use NodeJS socketIO and I've done some research on Flask SocketIO (I haven't used it yet). The backend is obviously different but the frontend part where you handle the events seem very alike.

Also, I've heard that NodeJS is faster than Flask or Django. Are the Flask and NodeJS versions of socketIO identically fast?

I would prefer to use NodeJS socketIO for smaller projects (Maybe a multiplayer game) and Flask-SocketIO for bigger projects like a chatting website.

My question is,
Is the frontend part of Flask_SocketIO and NodeJS socketIO the same and are their speed and efficiency the same?

If you know the answer, please don't keep it from me.
Thanks for reading.
Happy Coding!

Discussion (0)

pic
Editor guide