Slide 1

Slide 1 text

The Joyful Journey from Spring Boot to Quarkus Holly Cummins Quarkus Team @IBM Java Champion

Slide 2

Slide 2 text

why how

Slide 3

Slide 3 text

why quarkus?

Slide 4

Slide 4 text

what’s in it for you?

Slide 5

Slide 5 text

joy @holly_cummins #IBM

Slide 6

Slide 6 text

joy @holly_cummins #IBM

Slide 7

Slide 7 text

core quarkus design principle developer joy @holly_cummins #IBM

Slide 8

Slide 8 text

why does joy matter? @holly_cummins #IBM

Slide 9

Slide 9 text

ΑΡΙΣΤΟΤΈΛΗΣ @holly_cummins #IBM

Slide 10

Slide 10 text

«τελειοῖ δὲ τὴν ἐνέργειαν ἡδονή» ΑΡΙΣΤΟΤΈΛΗΣ @holly_cummins #IBM

Slide 11

Slide 11 text

«Η ευχαρίστηση στην δουλειά βάζει την τελειότητα στην εργασία» ΑΡΙΣΤΟΤΈΛΗΣ @holly_cummins #IBM

Slide 12

Slide 12 text

«Η ευχαρίστηση στην δουλειά βάζει την τελειότητα στην εργασία» misquote alert! ΑΡΙΣΤΟΤΈΛΗΣ @holly_cummins #IBM

Slide 13

Slide 13 text

“Pleasure in the job puts perfection in the work.” still a misquote Aristotle @holly_cummins #IBM

Slide 14

Slide 14 text

job satisfaction is the no. 1 predictor of organizational performance @holly_cummins

Slide 15

Slide 15 text

core quarkus design principle developer joy @holly_cummins #IBM

Slide 16

Slide 16 text

core quarkus design principle developer joy @holly_cummins #IBM

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

“Quarkus is an absolute joy”

Slide 19

Slide 19 text

“Quarkus is an absolute joy” “it was fun writing decent code”

Slide 20

Slide 20 text

newest quarkus design principle @holly_cummins #IBM

Slide 21

Slide 21 text

newest quarkus design principle ai joy @holly_cummins #IBM

Slide 22

Slide 22 text

removing friction makes work better @holly_cummins #IBM

Slide 23

Slide 23 text

friction costs @holly_cummins #IBM

Slide 24

Slide 24 text

extra steps cost @holly_cummins #IBM

Slide 25

Slide 25 text

boilerplate costs @holly_cummins #IBM

Slide 26

Slide 26 text

https://www.reddit.com/r/SpringBoot/comments/1tj5tsn/comment/on04x23/

Slide 27

Slide 27 text

https://www.reddit.com/r/SpringBoot/comments/1tj5tsn/comment/on04x23/ 40% less code

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

how to persuade your boss

Slide 30

Slide 30 text

hey boss, I want work to have more joy. @hollycummins.com #RedHat

Slide 31

Slide 31 text

hey boss, I want work to have more joy. @hollycummins.com #RedHat

Slide 32

Slide 32 text

hey boss, I want work to have more joy. but Aristotle? pleasure in the job and perfection in the work? @hollycummins.com #RedHat

Slide 33

Slide 33 text

hey boss, I want work to have more joy. but Aristotle? pleasure in the job and perfection in the work? @hollycummins.com #RedHat

Slide 34

Slide 34 text

hey boss, I want work to have more joy. but Aristotle? pleasure in the job and perfection in the work? ἡδονή? @hollycummins.com #RedHat

Slide 35

Slide 35 text

hey boss, I want work to have more joy. χρήματα! but Aristotle? pleasure in the job and perfection in the work? ἡδονή? @hollycummins.com #RedHat

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

ffi developer experience (actually e ciency)

Slide 38

Slide 38 text

ffi ffi hardware e ciency developer experience (actually e ciency)

Slide 39

Slide 39 text

developer experience (actually e ciency) hardware e ciency ffi ffi security

Slide 40

Slide 40 text

@hollycummins.com #RedHat

Slide 41

Slide 41 text

“30 to 40% better developer productivity vis-a-vis Spring Boot, and this is for an ex-Spring Boot developer” – Christos Sotiriou, DXL technical lead at Vodafone Greece

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

efficiency

Slide 44

Slide 44 text

more efficient software means less hardware

Slide 45

Slide 45 text

more efficient software means less hardware

Slide 46

Slide 46 text

hardware is expensive

Slide 47

Slide 47 text

hardware is expensive and getting more expensive

Slide 48

Slide 48 text

https://en.wikipedia.org/wiki/2025%E2%80%93present_global_memory_supply_shortage average price of DDR5 2x16GB RAM kits

Slide 49

Slide 49 text

energy is expensive

Slide 50

Slide 50 text

https://www.bbc.com/news/business-58824121

Slide 51

Slide 51 text

@holly_cummins #Quarkus

Slide 52

Slide 52 text

quarkus is fast and lean @holly_cummins #Quarkus

Slide 53

Slide 53 text

quarkus starts fast

Slide 54

Slide 54 text

quarkus is lean with memory

Slide 55

Slide 55 text

quarkus has super throughput

Slide 56

Slide 56 text

how does all that impact costs?

Slide 57

Slide 57 text

how much hardware does an app need? low load pack many instances onto a node memory is the limiting factor high load horizontally scale to support load max throughput is the limiting factor

Slide 58

Slide 58 text

machine (1GiB RAM)

Slide 59

Slide 59 text

300 MiB RAM machine (1GiB RAM)

Slide 60

Slide 60 text

300 MiB RAM 300 MiB RAM machine (1GiB RAM)

Slide 61

Slide 61 text

300 MiB RAM 300 MiB RAM 300 MiB RAM machine (1GiB RAM)

Slide 62

Slide 62 text

300 MiB RAM 300 MiB RAM 300 MiB RAM 300 MiB RAM machine (1GiB RAM)

Slide 63

Slide 63 text

300 MiB RAM 300 MiB RAM 300 MiB RAM machine (1GiB RAM)

Slide 64

Slide 64 text

No content

Slide 65

Slide 65 text

low load scenario: cost per instance per year assumptions: EC2 c6i.xlarge instance, us-east-1, $0.17 per hour

Slide 66

Slide 66 text

low load scenario: cost per instance per year pp rr ii quarkus 1489.2 0.17 spring assumptions: EC2 c6i.xlarge instance, us-east-1, $0.17 per hour

Slide 67

Slide 67 text

low load scenario: cost per instance per year pp rr ii quarkus 1489.2 0.17 US$64.75 spring US$135.38 jvm assumptions: EC2 c6i.xlarge instance, us-east-1, $0.17 per hour

Slide 68

Slide 68 text

low load scenario: cost per instance per year pp rr ii quarkus 1489.2 0.17 jvm native US$64.75 US$19.86 spring US$135.38 US$64.75 assumptions: EC2 c6i.xlarge instance, us-east-1, $0.17 per hour

Slide 69

Slide 69 text

low load scenario: cost per instance per year pp rr ii quarkus 1489.2 0.17 spring jvm native US$64.75 US$19.86 2.1x US$135.38 US$64.75 assumptions: EC2 c6i.xlarge instance, us-east-1, $0.17 per hour

Slide 70

Slide 70 text

low load scenario: cost per instance per year pp rr ii quarkus 1489.2 0.17 spring jvm native US$64.75 US$19.86 2.1x 3.3x US$135.38 US$64.75 assumptions: EC2 c6i.xlarge instance, us-east-1, $0.17 per hour

Slide 71

Slide 71 text

10,000 tps

Slide 72

Slide 72 text

15,000 tps machine 10,000 tps

Slide 73

Slide 73 text

15,000 tps machine 10,000 tps 20,000 tps

Slide 74

Slide 74 text

15,000 tps machine 10,000 tps 15,000 tps 15,000 tps machine machine 20,000 tps

Slide 75

Slide 75 text

15,000 tps machine 10,000 tps 15,000 tps 15,000 tps machine machine 20,000 tps 30,000 tps

Slide 76

Slide 76 text

15,000 tps machine 10,000 tps 15,000 tps 15,000 tps machine machine 20,000 tps 15,000 tps 15,000 tps machine machine 30,000 tps

Slide 77

Slide 77 text

15,000 tps machine 10,000 tps 15,000 tps 15,000 tps machine machine 20,000 tps 15,000 tps 15,000 tps machine machine 30,000 tps 40,000 tps

Slide 78

Slide 78 text

15,000 tps machine 10,000 tps 15,000 tps 15,000 tps machine machine 20,000 tps 15,000 tps 15,000 tps 15,000 tps 15,000 tps 15,000 tps machine machine machine machine machine 30,000 tps 40,000 tps

Slide 79

Slide 79 text

No content

Slide 80

Slide 80 text

native 2.5x

Slide 81

Slide 81 text

native 2.5x jvm 1.7x

Slide 82

Slide 82 text

No content

Slide 83

Slide 83 text

native $85k savings/year

Slide 84

Slide 84 text

native $85k savings/year jvm $16k savings/year

Slide 85

Slide 85 text

we also see better response times #Quarkus @holly_cummins

Slide 86

Slide 86 text

we also see better response times users care (a lot) about response time #Quarkus @holly_cummins

Slide 87

Slide 87 text

can we trust this data?

Slide 88

Slide 88 text

fi what we see in the eld matches what we see in the lab.

Slide 89

Slide 89 text

https://github.com/quarkusio/quarkus/issues/58302#issuecomment-6791692367 @holly_cummins #IBM

Slide 90

Slide 90 text

https://github.com/quarkusio/quarkus/issues/58302#issuecomment-6791692367 “On a side note: we have just moved this application from Spring Boot + Next.js to Quarkus REST + Qute in a native image, and it has been a breath of fresh air. The pages got faster, and the pod went from 512Mi/768Mi (and that was only the Spring backend, Next.js ran separately) to 64Mi/ 128Mi. Thank you all for Quarkus!” @holly_cummins #IBM

Slide 91

Slide 91 text

https://github.com/quarkusio/quarkus/issues/58302#issuecomment-6791692367 8x less memory for pods “On a side note: we have just moved this application from Spring Boot + Next.js to Quarkus REST + Qute in a native image, and it has been a breath of fresh air. The pages got faster, and the pod went from 512Mi/768Mi (and that was only the Spring backend, Next.js ran separately) to 64Mi/ 128Mi. Thank you all for Quarkus!” @holly_cummins #IBM

Slide 92

Slide 92 text

https://github.com/quarkusio/quarkus/issues/58302#issuecomment-6791692367 8x less memory for pods “On a side note: we have just moved this … but also application from Spring Boot + Next.js to Quarkus REST + Qute in a native image, and it has been a comparing native vs breath of fresh air. The pages got faster, and the jvm pod went from 512Mi/768Mi (and that was only the Spring backend, Next.js ran separately) to 64Mi/ 128Mi. Thank you all for Quarkus!” @holly_cummins #IBM

Slide 93

Slide 93 text

https://github.com/quarkusio/quarkus/issues/58302#issuecomment-6791692367 8x less memory for pods “On a side note: we have just moved this … but also application from Spring Boot + Next.js to Quarkus REST + Qute in a native image, and it has been a comparing native vs breath of fresh air. The pages got faster, and the jvm pod went from 512Mi/768Mi (and that was only the Spring backend, Next.js ran separately) to 64Mi/ 128Mi. Thank you all for Quarkus!” @holly_cummins #IBM

Slide 94

Slide 94 text

https://www.reddit.com/r/SpringBoot/comments/1tj5tsn/comment/on04x23/

Slide 95

Slide 95 text

https://www.reddit.com/r/SpringBoot/comments/1tj5tsn/comment/on04x23/ 2.7x less memory

Slide 96

Slide 96 text

airline maintenance scheduling application: @holly_cummins #Quarkus

Slide 97

Slide 97 text

airline maintenance scheduling application: “[With Quarkus], we can run 3 times denser deployments without sacrificing availability and response times of services. ” – Thorsten Pohl @holly_cummins #Quarkus

Slide 98

Slide 98 text

airline maintenance scheduling application: “[With Quarkus], we can run 3 times denser deployments without sacrificing availability and response times of services. ” 3x – Thorsten Pohl less hardware @holly_cummins #Quarkus

Slide 99

Slide 99 text

Alexandru-Catalin Dinis, DevTalks Romania @holly_cummins #Quarkus

Slide 100

Slide 100 text

Alexandru-Catalin Dinis, DevTalks Romania 2.5x more pods @holly_cummins #Quarkus

Slide 101

Slide 101 text

Christos Sotiriou, DXL technical lead at Vodafone Greece

Slide 102

Slide 102 text

2019: moved digital experience to quarkus (from spring boot) Christos Sotiriou, DXL technical lead at Vodafone Greece

Slide 103

Slide 103 text

2019: moved digital experience to quarkus (from spring boot) • developer productivity ⬆ 30-40% Christos Sotiriou, DXL technical lead at Vodafone Greece

Slide 104

Slide 104 text

2019: moved digital experience to quarkus (from spring boot) • developer productivity ⬆ 30-40% • startup times 40s ➡ 12s Christos Sotiriou, DXL technical lead at Vodafone Greece

Slide 105

Slide 105 text

2019: moved digital experience to quarkus (from spring boot) • developer productivity ⬆ 30-40% • startup times 40s ➡ 12s • RAM 800 MB ➡ 360 MB Christos Sotiriou, DXL technical lead at Vodafone Greece

Slide 106

Slide 106 text

2019: moved digital experience to quarkus (from spring boot) • developer productivity ⬆ 30-40% • startup times 40s ➡ 12s • RAM 800 MB ➡ 360 MB Christos Sotiriou, DXL technical lead at Vodafone Greece

Slide 107

Slide 107 text

2x less memory 2019: moved digital experience to quarkus (from spring boot) • developer productivity ⬆ 30-40% • startup times 40s ➡ 12s • RAM 800 MB ➡ 360 MB Christos Sotiriou, DXL technical lead at Vodafone Greece

Slide 108

Slide 108 text

2x less memory 2019: moved digital experience to quarkus (from spring boot) • developer productivity ⬆ 30-40% • startup times 40s ➡ 12s • RAM 800 MB ➡ 360 MB 30-40% more productive Christos Sotiriou, DXL technical lead at Vodafone Greece

Slide 109

Slide 109 text

how does a java framework start? @holly_cummins #Quarkus

Slide 110

Slide 110 text

how does a java framework start? build time @holly_cummins #Quarkus

Slide 111

Slide 111 text

how does a java framework start? build time @holly_cummins runtime #Quarkus

Slide 112

Slide 112 text

how does a java framework start? build time @holly_cummins runtime #Quarkus

Slide 113

Slide 113 text

how does a java framework start? build time runtime packaging (maven, gradle…) @holly_cummins #Quarkus

Slide 114

Slide 114 text

how does a java framework start? build time @holly_cummins runtime #Quarkus

Slide 115

Slide 115 text

how does a java framework start? build time @holly_cummins runtime #Quarkus

Slide 116

Slide 116 text

how does a java framework start? build time runtime load and parse • config files • properties • yaml • xml • etc. @holly_cummins #Quarkus

Slide 117

Slide 117 text

how does a java framework start? build time runtime @holly_cummins #Quarkus

Slide 118

Slide 118 text

how does a java framework start? build time runtime @ @ • classpath scanning and annotation discovery • attempt to load class to enable/disable features @holly_cummins #Quarkus

Slide 119

Slide 119 text

how does a java framework start? build time runtime @holly_cummins @ @ #Quarkus

Slide 120

Slide 120 text

how does a java framework start? build time runtime @ @ build a metamodel of the world @holly_cummins #Quarkus

Slide 121

Slide 121 text

how does a java framework start? build time runtime @holly_cummins @ @ #Quarkus

Slide 122

Slide 122 text

how does a java framework start? build time runtime @ @ start • thread pools • I/O • etc. @holly_cummins #Quarkus

Slide 123

Slide 123 text

how does a java framework start? build time runtime @ @ ready to do work! @holly_cummins #Quarkus

Slide 124

Slide 124 text

@ @ what if we start the application more than once? @holly_cummins #Quarkus

Slide 125

Slide 125 text

@ @ @ @ what if we start the application more than once? @holly_cummins #Quarkus

Slide 126

Slide 126 text

@ @ @ @ @ @ what if we start the application more than once? @holly_cummins #Quarkus

Slide 127

Slide 127 text

@ @ @ @ @ @ @ @ what if we start the application more than once? @holly_cummins #Quarkus

Slide 128

Slide 128 text

@ @ @ @ @ @ @ @ what if we start the application more than once? @holly_cummins #Quarkus

Slide 129

Slide 129 text

@ @ @ @ so much work gets redone every time @ @ @ @ what if we start the application more than once? @holly_cummins #Quarkus

Slide 130

Slide 130 text

@holly_cummins

Slide 131

Slide 131 text

doing more up-front @holly_cummins

Slide 132

Slide 132 text

doing more up-front - speeds up start @holly_cummins

Slide 133

Slide 133 text

doing more up-front - speeds up start - shrinks memory footprint @holly_cummins

Slide 134

Slide 134 text

doing more up-front - speeds up start - shrinks memory footprint - improves throughput (!) @holly_cummins

Slide 135

Slide 135 text

No content

Slide 136

Slide 136 text

security

Slide 137

Slide 137 text

security really matters

Slide 138

Slide 138 text

quarkus helps security

Slide 139

Slide 139 text

@holly_cummins #Quarkus

Slide 140

Slide 140 text

moving work to build time shrinks the production image build-time run-time

Slide 141

Slide 141 text

moving work to build time shrinks the production image hibernate orm build-time run-time

Slide 142

Slide 142 text

moving work to build time shrinks the production image hibernate orm bytebuddy build-time run-time

Slide 143

Slide 143 text

moving work to build time shrinks the production image hibernate orm entity enhancement bytebuddy build-time run-time

Slide 144

Slide 144 text

moving work to build time shrinks the production image hibernate orm entity enhancement bytebuddy build-time run-time

Slide 145

Slide 145 text

moving work to build time shrinks the production image hibernate orm entity enhancement bytebuddy build-time run-time

Slide 146

Slide 146 text

moving work to build time shrinks the production image hibernate orm entity enhancement bytebuddy build-time run-time

Slide 147

Slide 147 text

moving work to build time shrinks the production image hibernate orm entity enhancement bytebuddy build-time run-time

Slide 148

Slide 148 text

moving work to build time shrinks the production image hibernate orm hibernate orm’ entity enhancement bytebuddy build-time run-time

Slide 149

Slide 149 text

moving work to build time shrinks the production image hibernate orm hibernate orm’ entity enhancement bytebuddy build-time run-time

Slide 150

Slide 150 text

a smaller runtime image contains less vulnerable code

Slide 151

Slide 151 text

a smaller runtime image contains less vulnerable code

Slide 152

Slide 152 text

tree shaking

Slide 153

Slide 153 text

tree shaking remove unused code, even in jvm mode

Slide 154

Slide 154 text

tree shaking remove unused code, even in jvm mode

Slide 155

Slide 155 text

tree shaking remove unused code, even in jvm mode

Slide 156

Slide 156 text

tree shaking remove unused code, even in jvm mode

Slide 157

Slide 157 text

No content

Slide 158

Slide 158 text

No content

Slide 159

Slide 159 text

developer experience ffi (really, e ciency)

Slide 160

Slide 160 text

live reload developer experience ffi (really, e ciency)

Slide 161

Slide 161 text

live reload developer experience (really, e ciency) ffi continuous testing

Slide 162

Slide 162 text

minimising boilerplate live reload developer experience (really, e ciency) ffi continuous testing

Slide 163

Slide 163 text

minimising boilerplate live reload developer experience (really, e ciency) ffi dev ui continuous testing

Slide 164

Slide 164 text

minimising boilerplate hardware e ciency developer experience (really, e ciency) ffi dev ui ffi live reload continuous testing

Slide 165

Slide 165 text

do the work at build time hardware e ciency minimising boilerplate developer experience (really, e ciency) ffi dev ui ffi live reload continuous testing

Slide 166

Slide 166 text

do the work at build time reactive core hardware e ciency minimising boilerplate developer experience (really, e ciency) ffi dev ui ffi live reload continuous testing

Slide 167

Slide 167 text

do the work at build time minimising boilerplate reactive core developer experience hardware e ciency (really, e ciency) dev ui ffi security ffi live reload continuous testing

Slide 168

Slide 168 text

do the work at build time minimising boilerplate reactive core developer experience hardware e ciency (really, e ciency) integrated platform with rapid release cadence ffi security ffi live reload dev ui continuous testing

Slide 169

Slide 169 text

do the work at build time minimising boilerplate reactive core developer experience hardware e ciency (really, e ciency) integrated platform with rapid release cadence security ffi tree-shaking ffi live reload dev ui continuous testing

Slide 170

Slide 170 text

do the work at build time minimising boilerplate reactive core developer experience hardware e ciency (really, e ciency) integrated platform with rapid release cadence security ffi isolate libraries to build-time ffi live reload tree-shaking dev ui continuous testing

Slide 171

Slide 171 text

the journey (migration!)

Slide 172

Slide 172 text

two things you need to migrate people code

Slide 173

Slide 173 text

“After a week of development with Quarkus, I was able to regain the same level of productivity as when I was developing with Spring Boot.” – Fawaz Paraïso, Decathlon @holly_cummins #Quarkus

Slide 174

Slide 174 text

@holly_cummins #Quarkus

Slide 175

Slide 175 text

code migration @holly_cummins #Quarkus

Slide 176

Slide 176 text

@RestController @RequestMapping("/fruits") public class FruitController { @GetMapping(produces = MediaType.APPLICATION_JSON_VALUE) public List getAll() { return this.fruitService.getAllFruits(); } quarkus platform code migration @holly_cummins #Quarkus

Slide 177

Slide 177 text

@Path("/fruits") public class FruitController { private final FruitService fruitService; @GET @Produces(MediaType.APPLICATION_JSON) public List getAll() { return this.fruitService.getAllFruits(); } quarkus platform code migration @holly_cummins #Quarkus

Slide 178

Slide 178 text

@Path("/fruits") public class FruitController { private final FruitService fruitService; @GET @Produces(MediaType.APPLICATION_JSON) public List getAll() { return this.fruitService.getAllFruits(); } quarkus platform compatibility libraries @holly_cummins code migration #Quarkus

Slide 179

Slide 179 text

@Path("/fruits") public class FruitController { private final FruitService fruitService; @GET @Produces(MediaType.APPLICATION_JSON) public List getAll() { return this.fruitService.getAllFruits(); } quarkus platform compatibility libraries @holly_cummins quarkus platform code migration #Quarkus

Slide 180

Slide 180 text

@RestController @RequestMapping("/fruits") public class FruitController { @Path("/fruits") public class FruitController { private final FruitService fruitService; @GetMapping(produces = MediaType.APPLICATION_JSON_VALUE) public List getAll() { return this.fruitService.getAllFruits(); } @GET @Produces(MediaType.APPLICATION_JSON) public List getAll() { return this.fruitService.getAllFruits(); } quarkus platform quarkus platform compatibility libraries @holly_cummins code migration #Quarkus

Slide 181

Slide 181 text

@RestController @RequestMapping("/fruits") public class FruitController { @GetMapping(produces = MediaType.APPLICATION_JSON_VALUE) public List getAll() { return this.fruitService.getAllFruits(); } @Path("/fruits") public class FruitController { private final FruitService fruitService; @GET @Produces(MediaType.APPLICATION_JSON) public List getAll() { return this.fruitService.getAllFruits(); } compatibility shim quarkus platform compatibility libraries @holly_cummins quarkus platform code migration #Quarkus

Slide 182

Slide 182 text

to the code! migrate using spring compatibility libraries

Slide 183

Slide 183 text

https://github.com/quarkusio/spring-quarkus-perf-comparison/blob/main/quarkus3-spring-compatibility/pom.xml io.quarkus quarkus-spring-web io.quarkus quarkus-spring-data-jpa @holly_cummins #Quarkus

Slide 184

Slide 184 text

@holly_cummins #Quarkus

Slide 185

Slide 185 text

hand-migration only suitable for easy cases

Slide 186

Slide 186 text

hand-migration only suitable for easy cases tooling

Slide 187

Slide 187 text

hand-migration only suitable for easy cases tooling low cost

Slide 188

Slide 188 text

hand-migration only suitable for easy cases tooling low cost fl in exible

Slide 189

Slide 189 text

hand-migration only suitable for easy cases tooling low cost in exible fl cannot handle complex transforms

Slide 190

Slide 190 text

https://github.com/snowdrop/quarkit mtool

Slide 191

Slide 191 text

hand-migration only suitable for easy cases tooling in exible cannot handle complex transforms fl low cost + deterministic

Slide 192

Slide 192 text

hand-migration only suitable for easy cases tooling in exible cannot handle complex transforms fl low cost + deterministic agents

Slide 193

Slide 193 text

only suitable for easy cases tooling in exible cannot handle complex transforms low cost + deterministic fl fl hand-migration agents exible

Slide 194

Slide 194 text

only suitable for easy cases tooling in exible cannot handle complex transforms low cost + deterministic fl fl hand-migration agents exible expensive, especially for repeated attempts

Slide 195

Slide 195 text

only suitable for easy cases tooling in exible cannot handle complex transforms low cost + deterministic agents exible expensive, especially for repeated attempts not always successful fl fl hand-migration

Slide 196

Slide 196 text

if you use an agent, use our skill

Slide 197

Slide 197 text

https://github.com/quarkusio/skills @holly_cummins #Quarkus

Slide 198

Slide 198 text

Prerequisite Planning Build Code Testing Cleanup Messaging Frontend @holly_cummins Module Gate condition Compile check Prerequisite Always — abort if JDK < 17 — Planning Always — writes migration-spec.yaml — Build Spring Boot markers in build file ✓ Code Spring annotations in source ✓ Messaging @KafkaListener, @RabbitListener, etc. ✓ Frontend Thymeleaf, JSP, FreeMarker templates ✓ Testing @SpringBootTest in test sources ✓ Cleanup Always ✓ #Quarkus

Slide 199

Slide 199 text

without a skill

Slide 200

Slide 200 text

with our skill

Slide 201

Slide 201 text

with our skill

Slide 202

Slide 202 text

to the code! agentic spring migration

Slide 203

Slide 203 text

http://isx.run bonus demo: isx sandboxing

Slide 204

Slide 204 text

claude -p "Read skills/migrate-spring-to-quarkus/ SKILL.md \ and execute it. \ Source: ~/tmp/spring-petclinic \ Target: ~/tmp/spring-petclinic-quarkus \ Strategy: full-quarkus, Java 21, \ persistence: panache-active-record. \ Proceed autonomously."

Slide 205

Slide 205 text

- Not verified: the MySQL and PostgreSQL integration tests are skipped by default. This sandbox's container runtime fails with permission denied opening /dev/.incusmounts, so I could not run them. They run with -Dpetclinic.container-tests=true on a host where containers work. - MySQL/PostgreSQL profiles: the database kind is chosen at build time, so build with -Dquarkus.profile=postgres; setting it only at runtime won't switch the driver. - Gradle: I removed build.gradle, settings.gradle, gradlew* and gradle/ from the target, since only the Maven build was migrated. Say if you want them kept. - Still Spring-flavoured: k8s/petclinic.yml (SPRING_PROFILES_ACTIVE, SPRING_APPLICATION_JSON) and .devcontainer/Dockerfile. - Cache statistics: Spring enabled them for the vets cache; recording them in Quarkus needs quarkus-micrometer, left as a TODO in application.properties. - Left out: the Spring-only MysqlTestApplication launcher is kept as text in migration-reports/unmigrated/ rather than deleted. - Not recorded: token usage and cost aren't exposed to me, so they're null in the report. The full report is in ~/petclinic-quarkus/migration-summary.md. To try the app, run cd ~/petclinic-quarkus && ./mvnw quarkus:dev ✻ Sautéed for 14m 27s · done 10:06 AM

Slide 206

Slide 206 text

No content

Slide 207

Slide 207 text

where we’re going: hybrid tooling agents no tokens needed mechanistic tasks does the things tools are good at judgement reasoning does the things agents are good at

Slide 208

Slide 208 text

where we’re going: hybrid tooling agents no tokens needed mechanistic tasks does the things tools are good at judgement reasoning does the things agents are good at

Slide 209

Slide 209 text

where we’re going: hybrid tooling analysis agents no tokens needed mechanistic tasks does the things tools are good at judgement reasoning does the things agents are good at

Slide 210

Slide 210 text

where we’re going: hybrid analysis tooling agents no tokens needed mechanistic tasks does the things tools are good at judgement reasoning validation does the things agents are good at

Slide 211

Slide 211 text

migration in the real world

Slide 212

Slide 212 text

what problem are you trying to solve?

Slide 213

Slide 213 text

understand where you are • dependencies • coupling • tests • risks @holly_cummins #Quarkus

Slide 214

Slide 214 text

incremental is good

Slide 215

Slide 215 text

validate every step

Slide 216

Slide 216 text

tl;dpa (too long didn’t pay attention)

Slide 217

Slide 217 text

tl;dpa (too long didn’t pay attention) more productive

Slide 218

Slide 218 text

tl;dpa (too long didn’t pay attention) more productive cheaper at low load

Slide 219

Slide 219 text

tl;dpa (too long didn’t pay attention) more productive cheaper at low load cheaper at high load

Slide 220

Slide 220 text

tl;dpa (too long didn’t pay attention) more productive cheaper at low load cheaper at high load more secure

Slide 221

Slide 221 text

tl;dpa (too long didn’t pay attention) more productive cheaper at low load cheaper at high load more secure migrate using our skills

Slide 222

Slide 222 text

http://hollycummins.com/joyful-journey-from-spring-boot-to-quarkus/ and yes … I draw all my own pictures* slides #IBM @hollycummins.com * no animals were harmed in the making of the sad dog picture @holly_cummins