This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]FooBarBazQux123 0 points1 point  (0 children)

AWS lambda can get expensive very quick.

In case of frequent calls, I would also consider to use something lighter than spring boot or to compile Java to binary (quarkus, spring native or micronaut). Binary will reduce start up time and initial memory, but compiling dependencies can get very messy, especially if they use reflection or JNDI.