RESTEasy Reactive is a JAX-RS implementation built for Quarkus that is async by default using Vert.x. It provides reactive support with Mutiny and has an ultra-fast architecture using code generation and endpoint pipelining. RESTEasy Reactive makes REST endpoints non-blocking and faster by default while also supporting blocking use cases. The presentation demonstrates how to make endpoints faster using RESTEasy Reactive and encourages feedback on the framework.
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
RESTEasy Reactive: Why should you care? | DevNation Tech Talk
1. RESTEasy Reactive : why should I care?
Stéphane Épardaud, Red Hat. @UnFroMage
2. We always need a plan, even if we don’t follow it
● A brief glimpse at why you should care about async, reactive, blocking
○ And all those event-loop, IO Thread, Worker Thread terms that hipsters and C programmers
use
● How can I turn my REST endpoints from rusted, slow, old-style to golden
buzzword-enabled syrup?
○ DEMO!!!
● This item was placed here just to check if anybody is reading this, but it
doesn’t matter we won’t have time to cover it anyway
● Recap and Questions
9. So what is RESTEasy Reactive?
● JAX-RS implementation redone from scratch (client and server)
● Built for Quarkus
○ Async by default, using Vert.x
○ Reactive support with Mutiny
○ Ultra-fast architecture
■ Code generation, no reflection
■ Endpoint pipelining
■ Dead steps elimination
○ Better APIs
○ Better defaults
○ Small footprint
○ Dev UI support
● Great in conjunction with Mutiny, the Vert.x reactive SQL clients and
Hibernate Reactive!
10.
11. But is it hard to make my endpoint faster-than-light?
13. Recap
● Import quarkus-resteasy-reactive*
● Non-blocking by default
○ Also supports blocking use-cases: use @Blocking
● Faster by default
○ If you don’t need more speed, perhaps you need the usability improvements?
● We’re looking for feedback, so don’t hesitate to throw some our way!
● Get quarkus-resteasy-reactive for free today with the #RROSS
coupon
○ Offer good forever
■ There’s no fine print
● Well there is but it’s just a joke