Re:“No, we’re telling everyone we are using Java”
by cmauniada on Saturday March 09, 2019 @01:25PM
(#19347589)
I wish I followed this advice when I was setting up lambdas on aws. There was this general distaste for "java" in the dev community. Doing a new project and this time around I am using java, and it works so beautifully. The second choice would have been python, but I like the strict type checking.
[ Parent
| on HN ]
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?
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.
Re:“No, we’re telling everyone we are using Java”
by mrep on Saturday March 09, 2019 @08:37PM
(#19349677)
That is hilariously ironic considering 90% of AWS is written in Java.
Re:“No, we’re telling everyone we are using Java”
by technion on Saturday March 09, 2019 @08:47PM
(#19349707)
Have you got a source or more information on this? I'm not disputing the statement - but I've seen several different languages claimed to run "most of AWS" (including Haskell at one point) and it'd be good to have a firmer answer.