TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to Fix The Heroku 30 Second Delay

14 pointsby mattangriffelalmost 12 years ago

10 comments

jtokophalmost 12 years ago
The free single dyno per app is really for development purposes. If you&#x27;re not actively developing&#x2F;testing, then the dyno sleeps after an hour of inactivity. The free dyno isn&#x27;t meant for running a production site 24&#x2F;7.<p>The proper way to &quot;fix&quot; the 30 second delay is to run a second dyno. The &#x27;ping&#x27; solution just seems like cheating Heroku out of payment for a service.
joshguthriealmost 12 years ago
&quot;Fix&quot;.<p>Oh yeah, because there&#x27;s something to &quot;fix&quot; about a free product. Is this seriously what we&#x27;re coming to? Being so cheap that we can&#x27;t accept that our quick hack&#x2F;technology showcase&#x2F;dev site&#x2F;small personal website takes more about 30 seconds to spin up when it&#x27;s there for FREE?<p>Well, thanks anyway for this nice article: now that I know this, I&#x27;m gonna remove NewRelic from my free dev app and I&#x27;ll put it back when I&#x27;m ready to go into production and pay for it.<p>DotCloud used to be &quot;free&quot; too but I they reduced the free possibilities offered by their app, because of costs I guess. I hope Heroku doesn&#x27;t follow because of users who think of nice &quot;fixes&quot;.
Vitalyalmost 12 years ago
the fix is simple. pay them. I&#x27;m pretty sure keeping development instance up is agains the tos.
评论 #5920358 未加载
scottmagdaleinalmost 12 years ago
This is a good solution for me when I&#x27;m staging a site for a client before moving to a full-on production setup. A common complaint I get, that has to be explained anew each time, is that the site &quot;takes forever to load&quot;. New Relic (or Pingdom) helps me keep it up (sorry) so my clients don&#x27;t think I built them a POS.
评论 #5920499 未加载
1123581321almost 12 years ago
I do this with Pingdom.
dhaivatpandyaalmost 12 years ago
I don&#x27;t like this at all; you&#x27;re basically screwing Heroku out of what they should be paid for providing a good service.<p>Secondly, you could set up a DigitalOcean server ($5&#x2F;month) in about 10 minutes with Rails and this wouldn&#x27;t be a problem.
FMJusticealmost 12 years ago
You could also create another app that only has the dyno curl the website every hour.
fombalmost 12 years ago
The best way to avoid paying for fruit is to steal it from your local store.
gokulkalmost 12 years ago
how to do it if we are running at nodejs app?
评论 #5920216 未加载
jsnkalmost 12 years ago
Even easier way is to use <a href="http:&#x2F;&#x2F;www.wekkars.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.wekkars.com&#x2F;</a><p>You sign up for free and add whichever websites you need that needs to stay awake.
评论 #5920549 未加载
评论 #5920223 未加载