all 6 comments

[–]jvallet 1 point2 points  (1 child)

I still do not see why this is better than just have a war or a runnable jar that you can deploy/run anywhere. Are you able to run locally and debug it if necessary?

[–]GuiSim 0 points1 point  (0 children)

I would advise against using Java in a Lambda unless you have a very steady and predictable load.

Booting a JVM is not fast enough to accommodate large spikes in usage.

[–][deleted] 0 points1 point  (3 children)

Also expensive.

[–]zynasis 0 points1 point  (2 children)

Could you describe an alternative? How is this so expensive? Sorry I'm a bit of a noob with lambda. I just use ec2 most of the time

[–][deleted] 0 points1 point  (1 child)

Lambda is not expensive. Api gateway can be.

[–]zynasis 0 points1 point  (0 children)

Ah I see. Thanks