2 months ago
On the Hobby plan, it says that up to 8GB of RAM and 8 vCPU are available.
Are these resources guaranteed and consistently allocated at all times?
Or are they just upper limits, and the actual available resources might vary depending on the infrastructure status or app usage?
I’d appreciate clarification on how this works in practice.
5 Replies
2 months ago
Hey there!
Yes, those resources are available at any given time and by default your service will scale up to the specified vCPU and Memory limits of your plan! If you have any questions about scaling I'll be happy to answer you and we also got a docs page about it
Status changed to Solved brody • 2 months ago
2 months ago
Thank you for your response.
The SELECT query is taking around 3000ms to complete — could this be due to the database being in a sleep state or something similar?
Status changed to Awaiting Railway Response railway[bot] • 2 months ago
hayatonjp
Thank you for your response.The SELECT query is taking around 3000ms to complete — could this be due to the database being in a sleep state or something similar?
2 months ago
Most likely, if you enable Serverless on your database so it sleeps, whenever you send another request, it'll need to wake up. Then, you can send the request again after it's woken up. I'm not sure exactly if the request is still processed automatically after an application wakes up from sleeping state.
2 months ago
Thank you for your response.
Would giving it to PRO solve the problem?
2 months ago
I've resolved the issue.
I wasn't aware that the Hobby plan hosts the database server in the US-WEST region.
It turns out that I had inadvertently selected different and distant regions for the application and database servers.
Thank you for your help!
reference: https://station.railway.com/questions/very-slow-responses-29be5dbd
Status changed to Solved hayatonjp • 2 months ago