3 ms·
I'm looking for the best DB for a serverless backend (cloud functions). Typically the problem with RDBMS is that it's very expensive to handle thousands of con
by pier25 6y ago
I'm looking for the best DB for a serverless backend (cloud functions).
Typically the problem with RDBMS is that it's very expensive to handle thousands of concurrent connections. NoSQL doesn't have that issue. For example FaunaDB is designed for serverless and has no practical connection limits, Mongo Atlas gives you 500 concurrent connections on the free tier [1], etc.
In comparison Postgres on Heroku only gives you 500 connections on the most expensive plans. Even the $50 per month Postgres plan only gives you 50 concurrent connections.
[1] https://docs.atlas.mongodb.com/reference/atlas-limits/ https://docs.atlas.mongodb.com/reference/atlas-limits/