R
Railway•5mo ago
Hugo Tessera

Pro plan RAM & CPU question

We are currently on PRO Plan and would like to clarify some points regarding resource allocation and management. Specifically, we have 2 questions: 1. How can we set fixed amounts of CPU and RAM for each of our environments? 2. Is there a way to prioritize resource allocation for our production environment? We currently have 32GB RAM and 32 CPU cores available and need to optimize their allocation across four different environments, prioritizing production. Thanks
Solution:
1. you can't, if you could your apps would just crash when the reach the limit, not a good option for anything important. 2. every single service and replica gets access to the full resources allowed, there is nothing shared....
Jump to solution
9 Replies
Percy
Percy•5mo ago
Project ID: 190f9aa2-c8b3-46dd-a046-6fe955ffb230
Hugo Tessera
Hugo TesseraOP•5mo ago
190f9aa2-c8b3-46dd-a046-6fe955ffb230
Solution
Brody
Brody•5mo ago
1. you can't, if you could your apps would just crash when the reach the limit, not a good option for anything important. 2. every single service and replica gets access to the full resources allowed, there is nothing shared.
Hugo Tessera
Hugo TesseraOP•5mo ago
thanks for your reply For point 2, just to make sure I understand correctly, it means, every single service we have (so in my case, 5 services per env so total 20 services) has 32GB RAM and 32 CPU cores available Am I correct?
Brody
Brody•5mo ago
that is correct, and if you have multiple replicas set, each replica also gets its own resources
Hugo Tessera
Hugo TesseraOP•5mo ago
alright thanks a lot for clarifying this
Brody
Brody•5mo ago
no problem, any other questions?
Hugo Tessera
Hugo TesseraOP•5mo ago
Nope, should be good now 😄 Thanks
Brody
Brody•5mo ago
no problem!
Want results from more Discord servers?
Add your server