4 ms·
But Cloudflare Workers or AWS Lambda setup would not work anyway with any db? * spawning 1000 workers all opening a connection to a db, * solved by service/pr
by vjerancrnjak 1y ago
But Cloudflare Workers or AWS Lambda setup would not work anyway with any db?
* spawning 1000 workers all opening a connection to a db,
* solved by service/proxy in front of db,
* proxy knows how to reach db anyway, let's do private network and not care about auth
- dangoodmanUT 1y agoDBs like DynamoDB work great with these kinds of runtimes, they don't need a connection pool in front
- wiradikusuma 1y agoCloudflare has its own DB (D1, Sqlite-derived), but you can also connect with PostgreSQL using their adapter (Hyperdrive). I have used both, they're okay.
- threatofrain 1y agoI wouldn't recommend D1 for now due to its harsh storage limitations (10 GB).