Websocket script on rented server

Hi,

I would like to run a Python Websocket server on a rented server.

Does anyone know a good provider for this? I have seen that you can rent a Linux server from Strato for 1€ per month. Is that easy to do there?

And are there any tips on how the connection from a client to this server works in terms of IP addresses and so on?

Thanks!

I’ll start with the easy part: If it can handle HTTP, it can handle websockets. There are some subtleties, but they won’t usually apply to rented servers (only PaaS or other forms of application hosting).

My recommendation: Start by running your app locally, and launch a handful of clients (even if they’re all just running on your own computer). See how much memory your app needs. Then figure out how much your rented server will need in total, estimating as best you can, to try to get an idea of what sort of needs you have.

I suspect that a single euro a month is only going to give you a teeny tiny server, and you’ll be constrained by a lack of RAM. But maybe I’m wrong. :slight_smile:

1 Like