2 months ago
Hello! i have Nextjs and Postgres deployed in here. They now set to have 3 cpu and 3gb memory each. If i see in observability that usage maximum 0.3v cpu then should i set cpu and memory for my projects as 1 cpu and 1gb memory and save some money or is it not related?
1 Replies
Status changed to Awaiting Railway Response Railway • 2 months ago
2 months ago
Hello, so railway bills you based on actual usage, not the limits you set. the cpu/memory limits are just ceilings to protect you from spikes, not what you get charged for. so if observability shows 0.3 vcpu, thats already what youre being billed for, not the 3 vcpu limit. lowering the limit wont save you money since youre already only paying for what you use. just make sure to check your actual memory usage in observability too before lowering that limit, because if you set it too low your service will crash
i hope this help you :)