From the course: Java Microservices with GraalVM
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Why use GraalVM
From the course: Java Microservices with GraalVM
Why use GraalVM
- [Instructor] At this point, we've installed 2 and explain the GraalVM, 3 but we haven't really dug into 4 why you would want to use it the discussion. 5 So let's do that now. 6 One of the biggest reasons to move to Graal is performance 7 from a VM perspective. 8 Graal is fast. 9 A new just in time compilation technology 10 present in the GraalVM improves performance 11 when running the application. 12 The more abstracted the program is, 13 the more performance you will generally see. 14 Of course it does depend upon workload, 15 but Twitter, for instance, 16 achieved significant performance gains 17 just by moving to the GraalVM. 18 In addition to speed, 19 Graal gives you reduced memory consumption, 20 which in turn gives you faster startup times 21 and that has to do with the way that it optimizes your code 22 as it's doing the compilation 23 and if you really want to get performance, 24 you can compile your Java…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.