Hi everyone,
As you know, I’m working on Gladys Assistant, an open-source home automation software.
To control their home when they are away, Gladys users use the Gladys Gateway, an online proxy service I run, which allows them to access their local instance from anywhere in the world, all that end-to-end encrypted to respect their privacy.
Currently, the Gladys Gateway is hosted on 2 DigitalOcean droplets in Frankfurt datacenter.
As we have more and more users using the Gladys Gateway + more and more users having cameras in Gladys, the usage is growing and our infrastructure needs to evolve.
The server is mainly a websocket proxy, so what we want is:
I looked at many providers :
This is what they offer on their website (See Vultr High Compute Instances):
Exactly what we need for a high-usage websocket server!
The server is a 2 vCPU + 4 Gb RAM Vultr High Compute Instance.
It started in 30 seconds, and I destroyed the server in 1 click after the tests. Running this server during tests cost me $0.04.
A few generic informations about the server :
A little speedtest.net:
Not bad !! 🚀
A ping from my place near Paris took 5ms on average:
In comparaison, a DigitalOcean instance in Franfkurt gives me a 20ms ping:
This is not that different if it was just a web server, but for real-time home automation, this is really better ! 🙂
A simple dd of a 1 Gb file gives us some pretty decent performance :
Reading the same file we just wrote gives us a 1.6 GB/s speed. Not bad !
I didn’t run any CPU tests, because there are plenty of them online (On VPSBenchmarks for example). Feedbacks on the High Frequency Compute are really great.
I already use Vultr to host Gladys Assistant community (with an amazing reliability over years), and I have to say that once again, they proved that they can provide performant cloud instances.
I would love your feedback on this, but I think I’ll migrate Gladys Gateway servers to Vultr soon.
I want to improve latency and speed for my users, and I’m convinced that this change will help us in this way !
If you loved this story, you can subscribe to my newsletter here.