7 ms·
Depending on the startup time, you can use something like AWS Serverless Express and just wrap the application. If startup takes a little while you can store an
by xenni 4y ago
Depending on the startup time, you can use something like AWS Serverless Express and just wrap the application. If startup takes a little while you can store an instance above the handler code which will be kept alive across invocations of that serverless instance.
I've used this to great success in a similar project.