3 ms·
In Java you can create a shared connection pool for AWS lambda functions, e.g. using DI and initialising your injector statically when classes are loaded by the
by djhworld 8y ago
In Java you can create a shared connection pool for AWS lambda functions, e.g. using DI and initialising your injector statically when classes are loaded by the JVM
It relies on AWS using the same container/JVM for your invocations though which isn't guaranteed depending on what your load is.
- scarface74 8y agoYes you technically can do the same with any language...configure your connection statically.