6 months ago
I understand that we're alotted 32 vcpu and 32 gb ram per service (corret me if im wrong) but how much is actually used by a single instance? my postgres db is a bit too slow for me and i believe the perf gain i want can be solved by some slight vertical scaling
4 Replies
6 months ago
Hey there! We've found the following might help you get unblocked faster:
🧵 Configurable Monitoring Alerts in Observability Panel (Beta)
🧵 RAM Usage Billing Doesn't Match Actual Usage - Need Clarification
If you find the answer from one of these, please let us know by solving the thread!
6 months ago
If you check the usage tab on your DB, you can see the resources that your DB is using. There wouldn't be more vertical scaling we would do, if your DB needs the CPU, it can use the CPU. There are however other things we can check to see what might be impacting performance. Things such as if you are using the public network, or queries you are doing.
Can you share some metrics about the DB performance that you can see that can be made faster?
Status changed to Awaiting User Response Railway • 6 months ago
angelo-railway
If you check the usage tab on your DB, you can see the resources that your DB is using. There wouldn't be more vertical scaling we would do, if your DB needs the CPU, it can use the CPU. There are however other things we can check to see what might be impacting performance. Things such as if you are using the public network, or queries you are doing.Can you share some metrics about the DB performance that you can see that can be made faster?
6 months ago
I meant to use the DB as an example but this is more of a general question. Is a single instance the same as an ec2 instance? If I increase the # of instances to 2 is it then halving the allocated resources for a single instance?
Status changed to Awaiting Railway Response Railway • 6 months ago
devlzcode
I meant to use the DB as an example but this is more of a general question. Is a single instance the same as an ec2 instance? If I increase the # of instances to 2 is it then halving the allocated resources for a single instance?
6 months ago
Great question.
No, each instance isn't sharing the same quota. You'd just get 2x the resources. We can't scale DBs like that because volumes and services are 1:1 but for say queue workers, you'd get a new CPU budget for each instance, up to 64 cores in this case (32 x 2).
Status changed to Awaiting User Response Railway • 6 months ago
5 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 5 months ago