How does pro plan upgrade works for application? particularly Spring boot app...
Hi all, I find it difficult to understand how pro plan upgrade works. I upgraded my Spring boot app from hobby plan to pro, and the response times of the requests are still the same. It looks like the deployement did not happen on 32vCPU machine, someone please help me understand what am I missing please! Thank you so much! 😄
project id: c1f08a11-d87a-4728-ad7f-08846fb099c2
105 Replies
Project ID:
c1f08a11-d87a-4728-ad7f-08846fb099c2
^
c1f08a11-d87a-4728-ad7f-08846fb099c2
have you changed the region your service is in to one that is closer to you or your database?
From my home computer when I submit the request I am able to get a response in 3 seconds tops, whereas the railway app is taking 20 seconds 😦
using the same database for both home pc and railway app
oh well pro isn't gonna help with code issues
will the deployment happen on 32 Core machine?
I think the problem I am facing is because of low end infrastructure
if you moved your project over to the pro region of the dashboard and redeployed, yes
the hobby plan had 8gb of ram and 8 vcpu, where you maxing those resources out previously?
I was not maxing out the resources there, the cpu usage was low. but the requests serving are taking a lot of time on 1-2 vcPU
running apache tomcat, Java Spring Boot api application
then pro isn't gonna help you, that's like having a 10 amp charger and plugging in a phone that only takes 2 amps to charge, your phone will not charge any faster
the hobby and the pro plan both use the same cpu type, just the pro plan has more of them
if you weren't utilizing all the resources on the hobby plan, having more resources won't speed anything up
I understand the logic. But the same code is running very fast on my 16 core machine
unfortunately that does not rule out a code issue
sometimes I hit the peak of 7 vCPU usage
I'd recommend time logging different functions of your request to see what is taking 20 seconds
but have you dragged the project over to the pro region of the dashboard?
![No description](https://cdn.answeroverflow.com/1153077617612832848/image.png)