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

how quick can quarkus go? 1

Slide 9

Slide 9 text

how quick can quarkus go? 1

Slide 10

Slide 10 text

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

Slide 11

Slide 11 text

was this an easy demo?

Slide 12

Slide 12 text

was this an easy demo?

Slide 13

Slide 13 text

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

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

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

Slide 16

Slide 16 text

is quarkus fast? (again) 2

Slide 17

Slide 17 text

is quarkus efficient? 2

Slide 18

Slide 18 text

2

Slide 19

Slide 19 text

it’s also about energy

Slide 20

Slide 20 text

it’s also about hardware

Slide 21

Slide 21 text

… hardware and energy are money

Slide 22

Slide 22 text

… hardware and energy are money BORING!

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

9000 potatoes

Slide 28

Slide 28 text

0.0007 W

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

t3.nano (minimum quarkus requirement) t3.small 2x t3.small (minimum spring boot requirement) Watts per hour 12.5 14 28

Slide 31

Slide 31 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 32

Slide 32 text

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

Slide 33

Slide 33 text

No content

Slide 34

Slide 34 text

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

Slide 35

Slide 35 text

here’s what we see in our controlled lab https://github.com/quarkusio/benchmarks

Slide 36

Slide 36 text

here’s what we see in our controlled lab https://github.com/quarkusio/benchmarks

Slide 37

Slide 37 text

here’s what we see in our controlled lab https://github.com/quarkusio/benchmarks

Slide 38

Slide 38 text

here’s what we see in our controlled lab https://github.com/quarkusio/benchmarks

Slide 39

Slide 39 text

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

Slide 40

Slide 40 text

was this an easy demo?

Slide 41

Slide 41 text

was this an easy demo?

Slide 42

Slide 42 text

was this an easy demo? -bringing 77,857 lemons to amsterdam was too hard

Slide 43

Slide 43 text

was this an easy demo? -bringing 77,857 lemons to amsterdam was too hard -our industry is still learning how to do energy measurement

Slide 44

Slide 44 text

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

Slide 45

Slide 45 text

1 67

Slide 46

Slide 46 text

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

Slide 47

Slide 47 text

was this an easy demo?

Slide 48

Slide 48 text

was this an easy demo? super easy

Slide 49

Slide 49 text

tell your boss you learned … @ServerResponseFilter

Slide 50

Slide 50 text

1 4

Slide 51

Slide 51 text

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

Slide 52

Slide 52 text

was this an easy demo?

Slide 53

Slide 53 text

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

Slide 54

Slide 54 text

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

Slide 55

Slide 55 text

No content

Slide 56

Slide 56 text

No content

Slide 57

Slide 57 text

No content

Slide 58

Slide 58 text

No content

Slide 59

Slide 59 text

No content

Slide 60

Slide 60 text

No content

Slide 61

Slide 61 text

No content

Slide 62

Slide 62 text

3

Slide 63

Slide 63 text

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

Slide 64

Slide 64 text

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

Slide 65

Slide 65 text

was this an easy demo?

Slide 66

Slide 66 text

was this an easy demo?

Slide 67

Slide 67 text

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

Slide 68

Slide 68 text

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

Slide 69

Slide 69 text

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

Slide 70

Slide 70 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 71

Slide 71 text

observability 6½

Slide 72

Slide 72 text

No content

Slide 73

Slide 73 text

user code

Slide 74

Slide 74 text

user code quarkus framework

Slide 75

Slide 75 text

application user code quarkus framework

Slide 76

Slide 76 text

application user code quarkus framework extensions

Slide 77

Slide 77 text

application user code quarkus framework extensions

Slide 78

Slide 78 text

application user code quarkus framework client extensions

Slide 79

Slide 79 text

application user code quarkus framework client extensions

Slide 80

Slide 80 text

application user code quarkus framework client extensions

Slide 81

Slide 81 text

application user code quarkus framework client extensions

Slide 82

Slide 82 text

application user code quarkus framework client extensions observability stack

Slide 83

Slide 83 text

application user code quarkus framework client metrics extensions observability stack

Slide 84

Slide 84 text

application user code quarkus framework client metrics traces extensions observability stack

Slide 85

Slide 85 text

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

Slide 86

Slide 86 text

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

Slide 87

Slide 87 text

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

Slide 88

Slide 88 text

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

Slide 89

Slide 89 text

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

Slide 90

Slide 90 text

application user code quarkus framework client extensions

Slide 91

Slide 91 text

application user code quarkus framework client extensions

Slide 92

Slide 92 text

application user code quarkus framework client extensions minecraft server

Slide 93

Slide 93 text

application user code quarkus framework minecraft client client extensions minecraft server

Slide 94

Slide 94 text

application user code quarkus framework minecraft client client extensions minecraft server

Slide 95

Slide 95 text

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

Slide 96

Slide 96 text

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

Slide 97

Slide 97 text

No content

Slide 98

Slide 98 text

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

Slide 99

Slide 99 text

No content

Slide 100

Slide 100 text

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

Slide 101

Slide 101 text

No content

Slide 102

Slide 102 text

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

Slide 103

Slide 103 text

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

Slide 104

Slide 104 text

was this an easy demo?

Slide 105

Slide 105 text

was this an easy demo?

Slide 106

Slide 106 text

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

Slide 107

Slide 107 text

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

Slide 108

Slide 108 text

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

Slide 109

Slide 109 text

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

Slide 110

Slide 110 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 111

Slide 111 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 112

Slide 112 text

gen ai: what could possibly go wrong? 4

Slide 113

Slide 113 text

No content

Slide 114

Slide 114 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 115

Slide 115 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 116

Slide 116 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 117

Slide 117 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 118

Slide 118 text

solution: guardrails

Slide 119

Slide 119 text

“LLM-as-a-judge”

Slide 120

Slide 120 text

“LLM-as-a-judge” BORING!

Slide 121

Slide 121 text

No content

Slide 122

Slide 122 text

was this an easy demo?

Slide 123

Slide 123 text

was this an easy demo?

Slide 124

Slide 124 text

was this an easy demo? -adding guardrails is simple

Slide 125

Slide 125 text

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

Slide 126

Slide 126 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 127

Slide 127 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 128

Slide 128 text

disclaimer: just based on anecdotal experience of local models

Slide 129

Slide 129 text

tell your boss you learned … -guardrails are important - llm-as-a-judge is still an llm -manage context wisely - context cruft lowers response quality - context growth can cause problems

Slide 130

Slide 130 text

what have we done?

Slide 131

Slide 131 text

what have we done? 1. made memes with a cli

Slide 132

Slide 132 text

what have we done? 1. made memes with a cli 2. con fi rmed quarkus does a lot with very few resources

Slide 133

Slide 133 text

what have we done? 1. made memes with a cli 2. con fi rmed quarkus does a lot with very few resources 3. translated output with a fi lter

Slide 134

Slide 134 text

what have we done? 1. made memes with a cli 2. con fi rmed quarkus does a lot with very few resources 3. translated output with a fi lter 4. transformed code with an extension

Slide 135

Slide 135 text

what have we done? 1. made memes with a cli 2. con fi rmed quarkus does a lot with very few resources 3. translated output with a fi lter 4. transformed code with an extension 5. compiled rock ballads to bytecode

Slide 136

Slide 136 text

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

Slide 137

Slide 137 text

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

Slide 138

Slide 138 text

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

Slide 139

Slide 139 text

https://hollycummins.com/quarkus-ridiculous-things-voxxed-amsterdam/

Slide 140

Slide 140 text

bonus: hallucinations

Slide 141

Slide 141 text

the value of a second opinion? chatgpt.com

Slide 142

Slide 142 text

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

Slide 143

Slide 143 text

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

Slide 144

Slide 144 text

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

Slide 145

Slide 145 text

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

Slide 146

Slide 146 text

gemma3 - 1 b parameters how many bs in blueberry?

Slide 147

Slide 147 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 148

Slide 148 text

deepseekr1- 1.5 b parameters when did brexit happen?

Slide 149

Slide 149 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?