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

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



DBs like DynamoDB work great with these kinds of runtimes, they don't need a connection pool in front


Cloudflare 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.


I wouldn't recommend D1 for now due to its harsh storage limitations (10 GB).




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

Search: