7 months ago
Sometimes I would like to adjust my server for high performance such as I would like to use 2 vCPU / 4GB memory for minimum resource. How should I do?
3 Replies
7 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
7 months ago
That topics you give me can't resolve the thread. Would you please, give me a more helpful answer?
7 months ago
You can adjust the maximum resources for each app under Settings → Resource Limits in your Railway project. There you can drag sliders for vCPU and RAM:
Take a look at:
https://docs.railway.com/guides/optimize-usage#resource-limits
One thing to note: you can’t set a minimum- only an upper limit. Your app will use as little CPU/RAM as it needs when idle, and automatically scale up to the limits you’ve set when traffic or load increases.
For example, you could set a 32 vCPU / 32 GB RAM limit. If your app is idle, it might only consume 0.5 vCPU and 1 GB RAM. But when requests spike, it can instantly use more — up to the cap you defined. That way you always get the performance you need without “reserving” unused resources.