Slide 1

Slide 1 text

@edeandrea for Developers Eric Deandrea Sr. Principal Developer Advocate 
 Red Hat

Slide 2

Slide 2 text

@edeandrea ● How Quarkus enables modern Java development & the Kubernetes-native experience 
 ● Introduce familiar Spring concepts, constructs, & conventions and how they map to Quarkus 
 ● Emphasis on testing patterns & practices https://red.ht/quarkus-spring-devs Free copy (while they last)! Come see me at the Red Hat booth! 15:20 today!

Slide 3

Slide 3 text

@edeandrea The Warmup Issue with Java Simon Ritter - Azul Systems - https://youtu.be/bWmuqh6wHgE (first 13 minutes)

Slide 4

Slide 4 text

@edeandrea Build Time Runtime Packaging 
 (maven, etc) gradle…) Load config file from file system Parse it Classpath scanning to find annotated classes Attempt to load class to enable/disable features Build its model of 
 the world. Start the management (thread, pool…) @ 
 @ > How Does a Framework Start?

Slide 5

Slide 5 text

@edeandrea The Quarkus Way Runtime Build Time @ 
 @ > Package 
 model

Slide 6

Slide 6 text

@edeandrea JVM Build Time @ 
 @ > Package 
 model Native The Quarkus Way enables Native Compilation

Slide 7

Slide 7 text

@edeandrea Unification of Imperative & Reactive Unification of Imperative and Reactive

Slide 8

Slide 8 text

@edeandrea 🤘Zero-config Live coding 🤘Auto-provision services 🤘Continuous testing 🤘Dev UI 🤘CLI Enhancing Developer Joy

Slide 9

Slide 9 text

@edeandrea IT’S STILL JAVA!

Slide 10

Slide 10 text

@edeandrea

Slide 11

Slide 11 text

@edeandrea Jam Time!

Slide 12

Slide 12 text

@edeandrea https://www.techempower.com/benchmarks/#section=data-r21&test=db&f=zijunz-zik0zj-zik0zj-zik0zj-zik0zj-zik0zj-zik0zj-v2qiv3-xamxa7-zik0zj-zik0zj-zik0zj-zik0zj-35r 
 https://www.redhat.com/en/blog/key-findings-idc-red-hat-quarkus-lab-validation 
 https://www.reddit.com/r/java/comments/o0ewar/do_quarkus_performance_benefits_scale Don’t Take My Word For It!

Slide 13

Slide 13 text

@edeandrea JVM Quarkus Spring Boot Ratio (Quarkus / SB) Framework version 3.2.0.Final 3.1.1 Build time (s) 8.19 4.2 194.92% Av. RSS after startup (MB) 173.99 294.27 59.13% Av. time to 1st req (ms) 2,507 5,568 45.03% Av. RSS after 1st req (MB) 232.21 300.04 77.39% Av. throughput (req/sec) 28,032.95 7,090.84 395.34% Av. RSS for max throughput (MB) 418.09 470.98 88.77% Max throughput density (req/sec/ MB) 71.28 15.12 471.44% Native Quarkus Spring Boot Ratio (Quarkus / SB) Framework version 3.2.0.Final 3.11 Build time (s) 128.01 208.18 61.49% Av. RSS after startup (MB) 66.16 154.99 42.68% Av. time to 1st req (ms) 50 250.67 19.95% Av. RSS after 1st req (MB) 73.41 158.89 46.2% Av. throughput (req/sec) 16,969.29 6,382.53 265.87% Av. RSS for max throughput (MB) 343.23 430.8 79.67% Max throughput density (req/sec/ MB) 55.23 15.84 348.67% Don’t Take My Word For It! Some real numbers (8 cores, 12GB RAM, GraalVM 22.3.1.r17)

Slide 14

Slide 14 text

@edeandrea 🤘 Compiling a Spring Boot 3 application: ○ 37,764 classes ○ 79,957 fields ○ 254,796 methods ○ 1,656 classes, 732 fields, & 8,991 methods using reflection 🤘 Compiling a Quarkus 3 application: ○ 22,673 classes ○ 45,553 fields ○ 182,093 methods ○ 755 classes, 380 fields, & 4,205 methods using reflection 🤘 The Quarkus application has: ○ 15,091 (39%) less classes ○ 34,404 (43%) less fields ○ 72,703 (29%) less methods ○ 901 (55%) less classes using reflection ○ 352 (48%) less fields using reflection ○ 4,786 (53%) less methods using reflection A Real Example

Slide 15

Slide 15 text

@edeandrea https://www.redhat.com/en/resources/greener-java-applications-detail Setup 🤘 AWS (us-east-1) 🤘 SLA > 99% 🤘 800 req/sec over 20 days 🤘 50% load The Cost / Carbon Impact

Slide 16

Slide 16 text

@edeandrea

Slide 17

Slide 17 text

@edeandrea ● How Quarkus enables modern Java development & the Kubernetes-native experience 
 ● Introduce familiar Spring concepts, constructs, & conventions and how they map to Quarkus 
 ● Emphasis on testing patterns & practices https://red.ht/quarkus-spring-devs Free copy (while they last)! Come see me at the Red Hat booth! 15:20 today!

Slide 18

Slide 18 text

@edeandrea Thank You! Merci! Feedback Slides