this post was submitted on 05 Nov 2023
1 points (100.0% liked)

Java News/Tech/Discussion/etc. No programming help, no learning Java

0 readers
0 users here now

News, Technical discussions, research papers and assorted things of interest related to the Java programming language NO programming help, NO...

founded 1 year ago
MODERATORS
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/java by /u/orgad on 2023-11-04 14:08:27.


I'm working on a low latency backend service written in Java.

The service is a batch processing system. Although it does a lot of IOs, it comes also with the cost of high CPU usage (~100%).

If I switched to GraalVM would that lower the CPU usage?

I learned that the JIT has the advantage of having more information at runtime and its compilation can result more performant code than AOT compiling. If so, can GraalVM even come in handy here? (I don't care about startup time)

Of course, I could just try it but it would require a not-so-easy refactoring as I'm using some library that doesn't behave well with GraalVM. Thta's why I'm asking here if it is even worth the shot.

Thanks!

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here