user11726874
user11726874

Reputation:

Pythonanywhere socketio alternative

so I recently got started with pythonanywhere but was bummed out to notice there is no web socket support. My question today isn't about possible hacks but instead possible alternatives. Is there a solutions I could use for free or close to free specifically for carrying out my socketio microservice? It would only need to setup the socket since I would be using socketio P2P functionality, therefore this server would only be a fallback in the eventuality the client's browser does not support WebRTC. All replies are greatly appreciated. Thanks

Upvotes: 0

Views: 794

Answers (1)

Glenn
Glenn

Reputation: 5786

According to the socketio docs, it uses websockets when they're available, but uses long polling when websockets are not available. If you only need the connection for a short time, then long polling is fine on PythonAnywhere.

Upvotes: 0

Related Questions