3 ms·
Do you limit concurrency to 1 with this setup?
by davidjfelix 4y ago
Do you limit concurrency to 1 with this setup?
- cube2222 4y agoYou can, though then you get errors when invoking the Lambda too much at the same time. Just letting it block on SQLite db opening should be good enough.
- davidjfelix 4y agothere aren't any issues with having multiple lambdas opening the same sqlite file?
- markusw 4y agoSQLite is designed for concurrent access to the same db from multiple processes. All relevant locking happens in the DB file itself.
- davidjfelix 4y agoMy concern is mostly around EFS consistency. SQLite concurrency locking is only as good as EFS file consistency. I wasn't sure if you had to work around any oddities of NFS. https://twitter.com/benbjohnson/status/1360592483969810443?lang=en https://twitter.com/benbjohnson/status/1360592483969810443?l...