I have deployed my nodeJS backend on Heroku Hobby dynos. There are 1500+ active users. So the API response time is very slow some times, Please help to figure out which dynos is better for backend deployement.
Asked
Active
Viewed 191 times
-1
-
Please read about what's on-topic in the [help/on-topic] and then [ask]. This is too broad. It's impossible to answer without _way_ more information. – ChrisGPT was on strike Sep 19 '19 at 12:06
1 Answers
0
It always depends on your application. What type of operations and workload are you handling in your API, do you have any synchronous/blocking operation? Is there a lot of I/O involved? More information about what you are trying to achieve would be helpful to give a better recommendation.
One best practice for Node.js is to scale horizontally, this means, having multiple small servers to handle traffic instead of having one big server (vertical scaling). So, a good recommendation is to scale using multiples dynos, try to scale to 2 and measure again to see if it fits your performance needs.
Some recommended readings:

Julián Duque
- 9,407
- 1
- 21
- 16
-
[Please don't answer off-topic questions](https://meta.stackoverflow.com/a/276637/354577) – ChrisGPT was on strike Sep 19 '19 at 19:42
-