Slide 1

Slide 1 text

6 ½ ridiculous things to do with Quarkus Holly Cummins IBM

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

quarkus is used in production by:

Slide 4

Slide 4 text

quarkus is used in production by: • telcos

Slide 5

Slide 5 text

quarkus is used in production by: • telcos • retailers

Slide 6

Slide 6 text

quarkus is used in production by: • telcos • retailers • banks

Slide 7

Slide 7 text

quarkus is used in production by: • telcos • retailers • banks BORING!

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

https://github.com/holly-cummins/gen-alpha-iser

Slide 10

Slide 10 text

6 ½ skibidi Ohio things to do with Quarkus Holly Cummins IBM + Red Hat

Slide 11

Slide 11 text

was this an easy demo?

Slide 12

Slide 12 text

was this an easy demo? super easy

Slide 13

Slide 13 text

tell your boss you learned… @ServerResponseFilter

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

https://github.com/phillip-kruger/quarkus-jokes

Slide 16

Slide 16 text

was this an easy demo?

Slide 17

Slide 17 text

was this an easy demo? yes, phillip krüger wrote all of it :)

Slide 18

Slide 18 text

tell your boss you learned… the dev ui now has assistants to help you write + debug code

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

No content

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

https://github.com/quarkiverse/quarkus-bon-jova-rockstar

Slide 28

Slide 28 text

https://github.com/quarkiverse/quarkus-bon-jova-rockstar

Slide 29

Slide 29 text

was this an easy demo?

Slide 30

Slide 30 text

was this an easy demo?

Slide 31

Slide 31 text

was this an easy demo? -friends don’t let friends write compilers

Slide 32

Slide 32 text

was this an easy demo? -friends don’t let friends write compilers -bytecode generation :(

Slide 33

Slide 33 text

was this an easy demo? -friends don’t let friends write compilers -bytecode generation :( -parsing :( :(

Slide 34

Slide 34 text

tell your boss you learned… -the quarkiverse is very welcoming to new extensions -writing a compiler is a bad idea (but if you do go there, use antlr)

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

spec

Slide 38

Slide 38 text

spec (by dylan beattie)

Slide 39

Slide 39 text

spec (by dylan beattie) cost: 5 beers

Slide 40

Slide 40 text

spec (by dylan beattie) cost: 5 beers time: 1 night

Slide 41

Slide 41 text

spec (by dylan beattie) cost: 5 beers time: 1 night implementation

Slide 42

Slide 42 text

spec (by dylan beattie) cost: 5 beers time: 1 night implementation cost: $0

Slide 43

Slide 43 text

spec (by dylan beattie) cost: 5 beers time: 1 night implementation cost: $0 time: 3 weeks

Slide 44

Slide 44 text

spec spec (by dylan beattie) cost: 5 beers time: 1 night implementation cost: $0 time: 3 weeks

Slide 45

Slide 45 text

spec none, obvs spec (by dylan beattie) cost: 5 beers time: 1 night implementation cost: $0 time: 3 weeks

Slide 46

Slide 46 text

spec none, obvs spec (by dylan beattie) cost: 5 beers time: 1 night implementation cost: $0 time: 3 weeks

Slide 47

Slide 47 text

spec none, obvs implementation spec (by dylan beattie) cost: 5 beers time: 1 night implementation cost: $0 time: 3 weeks

Slide 48

Slide 48 text

spec none, obvs implementation cost: $36,312.03 spec (by dylan beattie) cost: 5 beers time: 1 night implementation cost: $0 time: 3 weeks

Slide 49

Slide 49 text

spec none, obvs implementation cost: $36,312.03 time: 3 months spec (by dylan beattie) cost: 5 beers time: 1 night implementation cost: $0 time: 3 weeks

Slide 50

Slide 50 text

gen ai: what could possibly go wrong?

Slide 51

Slide 51 text

No content

Slide 52

Slide 52 text

https://www.computerworld.com/article/4059383/openai-admits-ai-hallucinations-are-mathematically-inevitable-not-just-engineering-flaws.html rate of hallucination when summarizing public information:

Slide 53

Slide 53 text

o1: 16% https://www.computerworld.com/article/4059383/openai-admits-ai-hallucinations-are-mathematically-inevitable-not-just-engineering-flaws.html rate of hallucination when summarizing public information:

Slide 54

Slide 54 text

o1: 16% o3: 33% https://www.computerworld.com/article/4059383/openai-admits-ai-hallucinations-are-mathematically-inevitable-not-just-engineering-flaws.html rate of hallucination when summarizing public information:

Slide 55

Slide 55 text

o1: 16% o3: 33% o4-mini: 48% https://www.computerworld.com/article/4059383/openai-admits-ai-hallucinations-are-mathematically-inevitable-not-just-engineering-flaws.html rate of hallucination when summarizing public information:

Slide 56

Slide 56 text

solution: guardrails

Slide 57

Slide 57 text

No content

Slide 58

Slide 58 text

was this an easy demo?

Slide 59

Slide 59 text

was this an easy demo?

Slide 60

Slide 60 text

was this an easy demo? -adding guardrails is simple

Slide 61

Slide 61 text

was this an easy demo? -adding guardrails is simple -but … the demo needed

Slide 62

Slide 62 text

was this an easy demo? -adding guardrails is simple -but … the demo needed -a prompt the llm would hallucinate about 50% of the time

Slide 63

Slide 63 text

was this an easy demo? -adding guardrails is simple -but … the demo needed -a prompt the llm would hallucinate about 50% of the time -a reliable guardrail

Slide 64

Slide 64 text

gemma3 - 1 b parameters how many bs in blueberry?

Slide 65

Slide 65 text

"Okay, let’s tackle this! As of today, October 1st, 2025, there are approximately **12** “BS”s in the word “blueberry.” It’s a surprisingly common phenomenon! 😊 Do you want to explore why this happens?" gemma3 - 1 b parameters how many bs in blueberry?

Slide 66

Slide 66 text

llama3.2- 1 b parameters how many bs in blueberry?

Slide 67

Slide 67 text

"There are no \"bs\" in Blueberry. It's spelled B-E-L-U-E-B-R-I-E-R-Y." llama3.2- 1 b parameters how many bs in blueberry?

Slide 68

Slide 68 text

deepseekr1- 1.5 b parameters when did brexit happen?

Slide 69

Slide 69 text

Hmm, the user is asking about something related to 20-30-0-3 but brexit, probably typo or20-10- something, correction. User meant brexit or2-1- meaning Brexit. Let me confirm that. User is20- user2 is inquiring about Brexit. UK leaving EU thing. But what time period20 2020-3 might be typo for20- 20 twenty021203. 20-20 or something. Perhaps20-202201. UK left. UK left EU. UK left20 on01 Jan201202022-021201021 I think22. Wait no1. Let me212012 January22202021. So January. Yes2 user might be21 probably20 asking about that. User22. Better2 just confirm. Brexit201 20 answer. Say20 simply22 date2. Not much else0 else0. Keep2 simple1 short1 friendly2. Okay2 polite2 user. It seems you're asking about the date the Brexit, right? The UK left EU on 29th January21st of February2020221 deepseekr1- 1.5 b parameters when did brexit happen?

Slide 70

Slide 70 text

the value of a second opinion? chatgpt.com

Slide 71

Slide 71 text

the value of a second opinion? chatgpt.com the statement we’re validating

Slide 72

Slide 72 text

the value of a second opinion? chatgpt.com the statement we’re validating “oh yes, definitely true”

Slide 73

Slide 73 text

the value of a second opinion? chatgpt.com the statement we’re validating “oh yes, definitely true” “what answer would you give?”

Slide 74

Slide 74 text

the value of a second opinion? chatgpt.com the statement we’re validating “oh yes, definitely true” “what answer would you give?” but if you knew, why did you … ?

Slide 75

Slide 75 text

tell your boss you learned… •model choice makes a big difference •“more LLM” may not be the right solution to “LLM” •simple guardrails are not great at detecting hallucinations

Slide 76

Slide 76 text

observability

Slide 77

Slide 77 text

No content

Slide 78

Slide 78 text

user code

Slide 79

Slide 79 text

user code quarkus framework

Slide 80

Slide 80 text

application user code quarkus framework

Slide 81

Slide 81 text

application user code quarkus framework extensions

Slide 82

Slide 82 text

application user code quarkus framework extensions

Slide 83

Slide 83 text

application user code quarkus framework client extensions

Slide 84

Slide 84 text

application user code quarkus framework client extensions

Slide 85

Slide 85 text

application user code quarkus framework client extensions

Slide 86

Slide 86 text

application user code quarkus framework client extensions

Slide 87

Slide 87 text

application user code quarkus framework client extensions observability stack

Slide 88

Slide 88 text

application user code quarkus framework client metrics extensions observability stack

Slide 89

Slide 89 text

application user code quarkus framework client metrics traces extensions observability stack

Slide 90

Slide 90 text

application user code quarkus framework client metrics traces logs extensions observability stack

Slide 91

Slide 91 text

application user code quarkus framework observability client client metrics traces logs extensions observability stack

Slide 92

Slide 92 text

application user code quarkus framework observability client client metrics traces logs extensions observability stack

Slide 93

Slide 93 text

application user code quarkus framework observability client client dev service (testcontainers) extensions observability stack

Slide 94

Slide 94 text

No content

Slide 95

Slide 95 text

application user code quarkus framework client extensions

Slide 96

Slide 96 text

application user code quarkus framework client extensions

Slide 97

Slide 97 text

application user code quarkus framework client extensions minecraft server

Slide 98

Slide 98 text

application user code quarkus framework minecraft client client extensions minecraft server

Slide 99

Slide 99 text

application user code quarkus framework minecraft client client extensions minecraft server

Slide 100

Slide 100 text

application user code quarkus framework minecraft client client extensions minecraft server mod

Slide 101

Slide 101 text

application user code quarkus framework minecraft client client dev service (testcontainers) extensions minecraft server mod

Slide 102

Slide 102 text

https://github.com/quarkiverse/quarkus-observability-minecraft

Slide 103

Slide 103 text

No content

Slide 104

Slide 104 text

tell your boss you learned… -you can do a lot with interceptors -dev services are awesome

Slide 105

Slide 105 text

No content

Slide 106

Slide 106 text

https://github.com/quarkiverse/quarkus-observability-minecraft

Slide 107

Slide 107 text

https://github.com/quarkiverse/quarkus-observability-minecraft

Slide 108

Slide 108 text

was this an easy demo?

Slide 109

Slide 109 text

was this an easy demo?

Slide 110

Slide 110 text

was this an easy demo? -extension was easy, minecraft mod was hard

Slide 111

Slide 111 text

was this an easy demo? -extension was easy, minecraft mod was hard -minecraft APIs

Slide 112

Slide 112 text

was this an easy demo? -extension was easy, minecraft mod was hard -minecraft APIs -lack documentation

Slide 113

Slide 113 text

was this an easy demo? -extension was easy, minecraft mod was hard -minecraft APIs -lack documentation -change between minor versions

Slide 114

Slide 114 text

was this an easy demo? -extension was easy, minecraft mod was hard -minecraft APIs -lack documentation -change between minor versions -client-server sync of injected behaviour is hard

Slide 115

Slide 115 text

tell your boss you learned… -typesafe objects are better than a chat box -… but small models may struggle with structured data -gen ai adds latency

Slide 116

Slide 116 text

how quick can quarkus go?

Slide 117

Slide 117 text

No content

Slide 118

Slide 118 text

thanks to markus eisele for the graphics code https://github.com/holly-cummins/meme-generator

Slide 119

Slide 119 text

was this an easy demo?

Slide 120

Slide 120 text

was this an easy demo?

Slide 121

Slide 121 text

was this an easy demo? -writing the cli was easy -native compilation was easy -native compilation + awt + mac is very hard

Slide 122

Slide 122 text

No content

Slide 123

Slide 123 text

i tried:

Slide 124

Slide 124 text

i tried: native awt on mac

Slide 125

Slide 125 text

i tried: native awt on mac liberica vm mac + tuning of build-time and runtime classes

Slide 126

Slide 126 text

i tried: native awt on mac liberica vm mac + tuning of build-time and runtime classes graalvm community container

Slide 127

Slide 127 text

i tried: native awt on mac liberica vm mac + tuning of build-time and runtime classes graalvm community container mandrel container

Slide 128

Slide 128 text

tell your boss you learned… •picocli + quarkus is fire •native is clever tech •…but native has dragons •only go native if you actually need it

Slide 129

Slide 129 text

is quarkus fast?

Slide 130

Slide 130 text

No content

Slide 131

Slide 131 text

was this an easy demo?

Slide 132

Slide 132 text

was this an easy demo? i used julien ponge’s scripts and eric deandrea’s code

Slide 133

Slide 133 text

https://github.com/quarkusio/spring-quarkus-perf-comparison

Slide 134

Slide 134 text

don’t do perf testing on a laptop don’t drive load from the machine being measured

Slide 135

Slide 135 text

here’s what we see in our controlled lab JVM Native Quarkus Spring Boot Ratio (Quarkus / SB) Spring Boot (w/AOT) Ratio (Quarkus / SB AOT) Ratio (SB AOT / SB) Quarkus Spring Boot Ratio (Quarkus / SB) Framework version 3.22.3 3.4.5 3.4.5 3.22.3 3.4.5 Build time (s) 13.15 7.60 172.95% 17.02 77.26% 223.85% 178.99 279.45 64.05% Av. RSS after startup (MB) 192.31 298.09 64.51% 290.40 66.22% 97.42% 71.22 205.74 34.62% Av. time to 1st req (ms) 4652.67 8770.33 53.05% 8180.67 56.87% 93.28% 135.67 916.67 14.80% Av. RSS after 1st req (MB) 244.61 339.52 27.05% 331.78 73.73% 97.72% 79.12 208.21 38.00% Av. throughput (req/sec) 30,397.95 6,495.20 468.01% 6,427.64 472.93% 98.96% 16,753.94 6,146.27 272.59% Max throughput density (req/sec/MB) 35.79 7.95 450.50% 7.89 453.88% 99.26% 59.82 15.94 375.27% Build RSS (GB) 5.62 157.04 57.92% Binary Size (MB) 90.95 157.04 57.92% https://github.com/edeandrea/quarkus-for-spring-devs-examples/tree/quarkus-for-spring-devs-talk-sb3 8 cores, 14GB RAM, GraalVM CE 21.0.2

Slide 136

Slide 136 text

it’s not really about throughput

Slide 137

Slide 137 text

it’s not really about speed

Slide 138

Slide 138 text

it’s about hardware

Slide 139

Slide 139 text

… and hardware is money

Slide 140

Slide 140 text

spring boot quarkus

Slide 141

Slide 141 text

spring boot quarkus 40 586 req/s

Slide 142

Slide 142 text

spring boot quarkus 40 586 req/s 17 209 req/s

Slide 143

Slide 143 text

spring boot quarkus 40 586 req/s 17 209 req/s 1 342 errors

Slide 144

Slide 144 text

spring boot quarkus 40 586 req/s 17 209 req/s 1 342 errors 2 vCPUs 0.5 GiB

Slide 145

Slide 145 text

spring boot quarkus t3.nano $0.0052 40 586 req/s 17 209 req/s 1 342 errors 2 vCPUs 0.5 GiB

Slide 146

Slide 146 text

spring boot quarkus t3.nano $0.0052 40 586 req/s 17 209 req/s 1 342 errors 2 vCPUs 2 GiB 2 vCPUs 0.5 GiB

Slide 147

Slide 147 text

spring boot quarkus t3.nano $0.0052 t3.small $0.0208 40 586 req/s 17 209 req/s 1 342 errors 2 vCPUs 2 GiB 2 vCPUs 0.5 GiB

Slide 148

Slide 148 text

spring boot quarkus t3.nano $0.0052 t3.small $0.0208 40 586 req/s 17 209 req/s 1 342 errors $3.87 a month 2 vCPUs 2 GiB 2 vCPUs 0.5 GiB

Slide 149

Slide 149 text

spring boot quarkus t3.nano $0.0052 t3.small $0.0208 40 586 req/s 17 209 req/s 1 342 errors $15.47 a month $3.87 a month 2 vCPUs 2 GiB 2 vCPUs 0.5 GiB

Slide 150

Slide 150 text

spring boot quarkus t3.nano $0.0052 t3.small $0.0208 40 586 req/s 17 209 req/s 1 342 errors $15.47 a month $3.87 a month x2 2 vCPUs 2 GiB 2 vCPUs 0.5 GiB

Slide 151

Slide 151 text

spring boot quarkus t3.nano $0.0052 t3.small $0.0208 40 586 req/s 17 209 req/s 1 342 errors $15.47 a month $3.87 a month $30.94 a month x2 2 vCPUs 2 GiB 2 vCPUs 0.5 GiB

Slide 152

Slide 152 text

tell your boss you learned… -quarkus uses 2 - 10x fewer compute resources than spring -quarkus is 2 - 10x cheaper to run than spring

Slide 153

Slide 153 text

it’s also about energy

Slide 154

Slide 154 text

it’s also about energy BORING!

Slide 155

Slide 155 text

No content

Slide 156

Slide 156 text

No content

Slide 157

Slide 157 text

No content

Slide 158

Slide 158 text

No content

Slide 159

Slide 159 text

9000 potatoes

Slide 160

Slide 160 text

No content

Slide 161

Slide 161 text

0.0007 W

Slide 162

Slide 162 text

No content

Slide 163

Slide 163 text

t3.nano t3.small 2x t3.small Watts per hour 12.5 14 28 Lemons per hour 17,857 20,000 40,000

Slide 164

Slide 164 text

spring boot 40,000 lemons/hour quarkus 17,857 lemons/hour

Slide 165

Slide 165 text

No content

Slide 166

Slide 166 text

jbang wrk2@hyperfoil -t2 -c100 -d30s -R 200 -- latency http://localhost:8080/fruits sudo powermetrics --samplers cpu_power,tasks --show- process-samp-norm --show-process-gpu --show-usage- summary -i 0 -o output.txt

Slide 167

Slide 167 text

https://github.com/quarkusio/spring-quarkus-perf-comparison

Slide 168

Slide 168 text

https://github.com/quarkusio/spring-quarkus-perf-comparison

Slide 169

Slide 169 text

tell your boss you learned… -use wrk2 or hyperfoil for load testing -use powermetrics to measure energy by pid on mac

Slide 170

Slide 170 text

was this an easy demo?

Slide 171

Slide 171 text

was this an easy demo?

Slide 172

Slide 172 text

was this an easy demo? -bringing 77 ,857 lemons to devoxx turned out to be hard

Slide 173

Slide 173 text

was this an easy demo? -bringing 77 ,857 lemons to devoxx turned out to be hard -no time for powermetrics demo

Slide 174

Slide 174 text

what have we done?

Slide 175

Slide 175 text

what have we done? 1. translated output with a filter

Slide 176

Slide 176 text

what have we done? 1. translated output with a filter 2. transformed code with an extension

Slide 177

Slide 177 text

what have we done? 1. translated output with a filter 2. transformed code with an extension 3. compiled rock ballads to bytecode

Slide 178

Slide 178 text

what have we done? 1. translated output with a filter 2. transformed code with an extension 3. compiled rock ballads to bytecode 4. amplified hallucinations

Slide 179

Slide 179 text

what have we done? 1. translated output with a filter 2. transformed code with an extension 3. compiled rock ballads to bytecode 4. amplified hallucinations 5. used minecraft as an observability client

Slide 180

Slide 180 text

what have we done? 1. translated output with a filter 2. transformed code with an extension 3. compiled rock ballads to bytecode 4. amplified hallucinations 5. used minecraft as an observability client 6. made memes with a cli

Slide 181

Slide 181 text

what have we done? 1. translated output with a filter 2. transformed code with an extension 3. compiled rock ballads to bytecode 4. amplified hallucinations 5. used minecraft as an observability client 6. made memes with a cli 7 . confirmed quarkus does a lot with very few resources

Slide 182

Slide 182 text

gen-alpha translation services: asher hodkinson i’ll help you but you need to put me in the closing credits

Slide 183

Slide 183 text

https://hollycummins.com/quarkus-ridiculous-things-devoxx-be/