Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is paid heroku faster than free version?

Tags:

I am currently developing a rails3.2 app and finding Heroku load times exceptionally slow. Can someone please tell me if this is what is to be expected with a paid server on Heroku?

like image 400
Abram Avatar asked Feb 15 '12 06:02

Abram


People also ask

Why is free Heroku so slow?

To preserve your dyno hours from burning out or wasting, Heroku puts your app to sleep after 30 minutes of inactivity. How generous! This is what makes your app is slow to load. When your app's dyno is asleep, waking it up may take some time.

What are the limitations of free Heroku?

The free and hobby dyno types support a maximum of one running dyno per process type. Additionally, applications that use the free dyno type are limited to a maximum of two concurrently running dynos. By default, all applications are limited to 100 dynos.

Is Heroku hosting free forever?

All the services you need to build, deploy, and run an app in the cloud, without paying a cent. Starting November 28th, 2022, free Heroku Dynos, free Heroku Postgres, and free Heroku Data for Redis® will no longer be available.

How much RAM does Heroku give?

Heroku memory limitsfree , hobby , and standard-1X dynos can use 512 MB of memory, while standard-2X dynos have access to 1 GB. performance-M and performance-L dynos provide 2.5 and 14 GB of memory. Memory use over these limits writes to disk at much slower speeds than direct RAM access.


1 Answers

There's no actual speed difference between paid Heroku and free. As others have mentioned, your app will "spin down" after a period of inactivity on the free service, and this does not happen on any level of paid service. The only other performance difference is that your app can only handle as many concurrent connections as there are dynos - so if two users connect to your free app at the same time, one has to wait for the other's request to finish (this is usually minimal and shouldn't bother anything until you start to get some traffic).

That having been said, you should also consider when your app is slow. If it's slow for the first request, and spry for requests after that, it's the spin-down issue and nothing to worry about. If all requests are slow, that's probably something that needs to be troubleshot in the app (though a paid Heroku account is probably still not the answer).

like image 137
Mark Tabler Avatar answered Oct 09 '22 10:10

Mark Tabler