3 ms·
What is the group thought on running these containers that have access to (for example) a Postgres or Redis dB? Sure Zappa, keeps the “container-function-thing
by dfee 8y ago
What is the group thought on running these containers that have access to (for example) a Postgres or Redis dB?
Sure Zappa, keeps the “container-function-thing” alive so you can cache it as a global variable, but this is a jacket approach that I’m not clear enough on the consequences to use.
- cavisne 8y agoThe most obvious limitation is the scale out concurrency model of lambda (serial requests within a container). This is great for simplicity but means you can’t have a connection pool. Something like dynamo db is a better fit if it works for you, otherwise most people seem to be forced to run a few servers with pgbouncer