r/programming • • Mar 11 '21

Announcing Spring Native Beta!

https://spring.io/blog/2021/03/11/announcing-spring-native-beta
48 Upvotes

9 comments sorted by

View all comments

Show parent comments

1

u/LicensedProfessional Mar 13 '21

I'm curious—are your Java lambdas REST endpoints? I've written a couple of lambdas for work that weren't API endpoints and I just used vanilla Java for them—no framework startup times, just the normal lambda cold start penalty

1

u/Indie_Dev Mar 13 '21

are your Java lambdas REST endpoints?

I haven't completed them yet but plan to in the coming days, but yes, they are REST endpoints.

no framework startup times, just the normal lambda cold start penalty

Do you use spring or any other framework or just vanilla Java? Because frameworks like spring add a lot to the startup time.

1

u/LicensedProfessional Mar 13 '21

For my case the lambda just writes records to a data sink. I really try to avoid frameworks wherever possible

1

u/Indie_Dev Mar 14 '21

Yes, and I think that's why your startup time is not that bad.