https://metaplay.io logo
Memory budget in pre-release dev envs
# questions-and-feedback
a
Hey, how much memory can we use safely in metaplay hosted servers? Now our use seems to be steady right under 512MB which is fine but I added a workload which will take some more, in short spikes. I allow them to run in parallel for many users but in a centralized backend entity where I'm planning to put a task queue and some limit for the amount of parallel runs. The task is not very urgent so it's fine to have them wait for a while if there is a lot of simultanous use. So to know the good limit to set I'd need to know what's the memory limit for the server process.
t
For development environments we typically target 2 GB instance size, but it has to also run various other services on it (we're in the process of optimizing these), so a somewhat safe limit for dev environments at present is around 1 GB of memory, and once we're done with optimizations, it'll hopefully be more around 1.4-1.5 GB of memory. For staging and production environments we've assumed roughly 2 GB per 5kDAU, but can tweak things around based on the specifics of the game in question.