swammer
Explore posts from serversRRCRat Rig Community [Unofficial]
•Created by swammer on 8/19/2024 in #fix-my-mesh
V-Core 4 500 Y axis wave
12 replies
Lambda container reuse
In high traffic environments lambda reuses the same container to serve multiple requests. The lambda adapter appears to create a new Context inside the handler for each request. Is there any way to keep things like database connections and s3 clients in the global scope outside of the handler? We sometimes see lambdas fail due to running out of file descriptors when many connections are spawned from the same container.
6 replies