I just recently started to explore Quarkus, GraalVM to optimize Java microservices for cloud architecture. It's good to know that Java moves into that direction.
https://mail.openjdk.java.net/pipermail/discuss/2020-April/0...
I just recently started to explore Quarkus, GraalVM to optimize Java microservices for cloud architecture. It's good to know that Java moves into that direction.
https://mail.openjdk.java.net/pipermail/discuss/2020-April/0...
I'm kind of curious about this. What kind of lifetimes are you looking at for JVMs? Are you trying to use Java in lambdas on demand to user requests? What kind of warmup time are you seeing right now?
Fast startup time is just a good bonus.
That's for my use-case. Lambdas, obviously, demand fast start-up.
The most pragmatic alternative IMO is Quarkus. I don't really like it, but it seems to be the most popular alternative to Spring and probably will become standard de facto, unless Spring will jump ahead with some revolutionary changes. It's backed by Red Hat and seems to have the most momentum.
The best approach IMO is not here yet. Frameworks, mentioned above, rely heavily on reactive architecture. It's just not needed with Project Loom, so there's plenty of unnecessary complications. They even rewriting JDBC drivers.
I'm going with Quarkus for now, but I'm waiting for ideal framework to appear.
Also, as for database, I really got fed up with hibernate (all configuration and stuff), do you know any simpler asynchronous / reactive alternative that handles object mapping? (automatically serializing from / into SQL objects).
About database, sorry, I have no idea. Check out JDBI, JOOQ, those are most popular ones, AFAIK.
Also Quarkus adds reactive API to hibernate and some API to simplify some mundane Hibernate API, so maybe you'll like it.
Thanks. I was thinking it's different because it used Mutiny APIs or something.
> Also Quarkus adds reactive API to hibernate and some API to simplify some mundane Hibernate API, so maybe you'll like it.
Thank you. I will check it out.