4 ms·
Thank you for the detailed answer! That makes sense. Although I still find it strange... Now markets itself as preventing lock-in because it can deploy to any c
by ianstormtaylor 8y ago
Thank you for the detailed answer! That makes sense. Although I still find it strange... Now markets itself as preventing lock-in because it can deploy to any cloud, but to realistically use any database with it you have to lock yourself in to one of the cloud providers?
- Aeolun 8y agoTo expand upon the previous answer. Connection pools are still a problem. Even if your lambda drops a connection after it destroys itself, a sudden influx of visitors to your site may spawn enough lambda processes to overload your DB. What happens then is dependent on the database, but generally means that new lambdas do not get to connect. Anyhow, you don’t really want your database to magically more around regardless, so you’d be sort-of locked in to one service regardless of what you do. But postgres on one service is pretty much the same as on another, so if you wanted to migrate it would be fairly easy.
- Rauchg 8y agoWhat the parent comment is correctly saying is that for certain databases (that are oriented around stateful connections) you might benefit from a infrastructure-level optimization. However, this is not the case for all databases. Furthermore, modern database vendors are extremely motivated to address the serverless usecase