Re:“No, we’re telling everyone we are using Java”
by vajrabum on Saturday March 09, 2019 @01:53PM
(#19347758)
Do you find that using the JVM in Lambda affects your cold start times? If so, do you have a pre-warm strategy and how does it work? Or maybe it doesn't matter for your application?
[ Parent
| on HN ]
Re:“No, we’re telling everyone we are using Java”
by olavgg on Saturday March 09, 2019 @03:45PM
(#19348377)
Try Micronaut, which is a micro framework specifically designed for superfast startup time and low memory footprint. It also works with GraalVM.
Re:“No, we’re telling everyone we are using Java”
by boyter on Saturday March 09, 2019 @02:23PM
(#19347921)
I did when I used Java Lambdas behind API gateway for a largish public API. I ended just setting the HTTP purification tests to run every minute. Solved the issue and let me know how stable it was. Not a huge issue in the end.
Re:“No, we’re telling everyone we are using Java”
by sharpy on Saturday March 09, 2019 @05:47PM
(#19349030)
Lambda does re-use the JVM instances where it can to alleviate that.
Re:“No, we’re telling everyone we are using Java”
by dlhavema on Saturday March 09, 2019 @08:45PM
(#19349702)
That only matters if your concurrency is one. If you get 10 requests each before the previous one completes you will get cold starts every other call or so.. its manageable, just takes effort.