Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The free tier gets spun down to idle after five minutes of inactivity. The first request after that usually fails to connect as it takes a few seconds for it to come back up.


Neon cold starts are targeted at just a few hundred milliseconds. Anything on the order of seconds would be a regression in our minds. Obviously this depends on geographical latencies, etc. We are always looking to improve cold starts.

(Neon engineer)


Hmm maybe my application's db pool settings need to be tweaked then. In any case the UX is nice and setup was super easy, thanks!


If you're a paying customer, please reach out to support. If you're on the free tier, join the discord, and we can try and help too.


I'm on the free tier. In my case it looks like adding `app.config["SQLALCHEMY_ENGINE_OPTIONS"] = {"pool_pre_ping": True}` for the Flask-SQLAlchemy configuration did the trick. I hope to be a paying customer soon :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: