Hacker News new | ask | show | jobs
by antifa 1554 days ago
I wish GCP had 2 things. A dumber key-value-store/mongodb-clone thing. Firebase has too much going on with it's confusing await getCollection().getDocument().getSnapshot().data() thing, the half documented transition to composition API, and I didn't need realtime.

Also a serverless postgres offering. Not even the fancy kind. There are some great free tiers outside of GCP. I have some projects where my usage would, if given true pay-as-you-go pricing, would fairly be between $0.10/month and $25/year. But GCP starts at $9/month for a postgres and a lot of competitors just leap straight to $25/month when leaving the free tier.

3 comments

Re: the serverless Postgres offering, if you allow me to cheat a little bit I might suggest CockroachDB Serverless. It's not Postgres, but it is Postgres wire-compatible. For some use-cases that might be enough.
Google cloud storage (and S3) are the dumb KV stores with great read latencies
Dumb question: how is serverless postgres different from cloud sql postgres?
Serverless solutions are typically priced based on usage - in case of db you may be charged based on actual iops, storage used etc. as opposed to pre-provisioned reserved capacity and infrastructure.

Depending on usage patterns the former can be cheaper for apps that don't need reserved capacity and need sporadic/occasional resource access or have unpredictable spikes with otherwise low usage.

The minimum price of existence involves reserving a server and 10GB of disk space (about $6/month). This cost is incurred if you leave it empty and do nothing with it the entire month. Serverless things typically can scale cost closer to zero if real usage reflects that.
I'd love to know of a real world example of a serverless postgres.

I'm not sure how much closer to zero you can get at $6/month.

CockroachDB and several companies offer a very competitive free 5GB postgres or almost postgres DB, some companies like fauna offer 5GB of suitable NoSQL, but most of them leap straight to $25/month to exceed the free tier. There's almost nobody out there who is offering to charge me less than a dollar per month if I only need less than a dollar worth of storage, read/write, bandwidth, open connections, etc.