Tech
My "serverless" database was billing me like it never slept.
My "serverless" database was billing me like it never slept.
Neon has this great feature called scale-to-zero. Your Postgres compute suspends when it's idle, so you only pay for the queries you actually run. For a pre-revenue product, that should cost a few cents a month.
Mine ran 24/7. The compute never once scaled to zero.
The culprit wasn't my app logic. It was my database driver.
I was using postgres-js, which holds a persistent connection open to the database. From Neon's side, ...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to