What I’m trying to do:
Get official documentation on self hosting hardware requirements. I’m working on a new client project that will require me to do self hosting.
What I’ve tried and what’s not working:
-
Going to Anvil Docs | Overview and searching for “self hosting requirements”. Nothing came up.
-
Going to the Anvil Community Forums and searching “self hosting requirements”. There were several posts asking the same question but were unanswered by Anvil, or didn’t have any official documentation links.
-
Searched the official GitHub repo for hardware requirements. Nothing came up. Search · hardware requirements · GitHub
Any help here is appreciated, as always.
Here is an example how to install the app server on digital ocean: Anvil Docs | How to deploy an Anvil app to a DigitalOcean Droplet
Hey @michaellavers , thanks for the response.
I’m looking for official documentation on hardware requirements for self hosting, not documentation for Digital Ocean Droplet deployment.
2 Likes
There isn’t a straightforward answer here because it depends. Minimal memory and CPU usage is very small, but it really depends on your app and how much traffic it gets.
1 Like
Once you’ve got your application created, you need to do testing, specifically scalability. You need mimic the traffic your server will receive. You need to know how your system is to be used i.e. most trading systems are most busy at market open, users changing their positions overnight and market close or when an extraordinary event occurs. You have to accomodate the peaks without degraded performance and not just the average usage over the day. In other use cases it may be enough to accomodate the average usage case.
I would speak to your test team, they are the specialists in this field. Once you’ve done this testing you will able to go through a system-sizing exercise…
Hey @brooke , thanks for reaching out.
I can appreciate a “it depends” type of answer, as many thing follow that kind of format.
However, can you provide me maybe some examples ranges and apps with hard numbers as a sanity check?
That would be very useful 