I have a Python Flask application and I'm about to start implementing websockets and I wan't to have all this done in node.js of several reasons;
Node.js use less overhead and I like the idea of separating the more more heavy logic from the more traffic intensive parts.
node.js seem to have better support for websockets and being more mature.
And I might later on move the node.js to a separate server if needed for performance.
My question is what would the best practice, to build up the communication between my Flask application and Node.js? Is this a bad idea to set it up like this?