SlideShare a Scribd company logo
RESTEasy Reactive : why should I care?
StĆ©phane Ɖpardaud, Red Hat. @UnFroMage
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
Alright, why should I care?
Traditional architecture: IO and worker threads
But… they’re all sleeping???
User
More efficient architecture: non-blocking by default
A truly modern architecture
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!
RESTEasy Reactive: Why should you care? | DevNation Tech Talk
But is it hard to make my endpoint faster-than-light?
Demo Time!
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
This slide intentionally left plank

More Related Content

PDF
Rust's Journey to Async/await
C4Media
Ā 
KEY
Event machine
almeidaricardo
Ā 
ODP
rsyslog meets docker
Rainer Gerhards
Ā 
PPT
Building your own NSQL store
Edward Capriolo
Ā 
PDF
Unikraft: Fast, Specialized Unikernels the Easy Way
ScyllaDB
Ā 
PPTX
Rust kafka-5-2019-unskip
Gerard Klijs
Ā 
PDF
Whoops! I Rewrote It in Rust
ScyllaDB
Ā 
PDF
Rust Is Safe. But Is It Fast?
ScyllaDB
Ā 
Rust's Journey to Async/await
C4Media
Ā 
Event machine
almeidaricardo
Ā 
rsyslog meets docker
Rainer Gerhards
Ā 
Building your own NSQL store
Edward Capriolo
Ā 
Unikraft: Fast, Specialized Unikernels the Easy Way
ScyllaDB
Ā 
Rust kafka-5-2019-unskip
Gerard Klijs
Ā 
Whoops! I Rewrote It in Rust
ScyllaDB
Ā 
Rust Is Safe. But Is It Fast?
ScyllaDB
Ā 

What's hot (20)

PDF
Snabb Switch: Riding the HPC wave to simpler, better network appliances (FOSD...
Igalia
Ā 
PDF
High Availability for OpenStack
Kamesh Pemmaraju
Ā 
PPTX
Scylla Summit 2018: Rebuilding the Ceph Distributed Storage Solution with Sea...
ScyllaDB
Ā 
PDF
Object Compaction in Cloud for High Yield
ScyllaDB
Ā 
PDF
Spring Boot to Quarkus: A real app migration experience | DevNation Tech Talk
Red Hat Developers
Ā 
PDF
Rust with-kafka-07-02-2019
Gerard Klijs
Ā 
PDF
Cassandra To Infinity And Beyond
Romain Hardouin
Ā 
PDF
Netflix Open Source Meetup Season 4 Episode 2
aspyker
Ā 
PDF
Apache Kafka – (Pattern and) Anti-Pattern
confluent
Ā 
PDF
High Performance Systems in Go - GopherCon 2014
Derek Collison
Ā 
PDF
Build Low-Latency Applications in Rust on ScyllaDB
ScyllaDB
Ā 
PPTX
Deployment topologies for high availability (ha)
Deepak Mane
Ā 
PDF
Netty training
Marcelo Serpa
Ā 
PPT
Ruby eventmachine pres at rubybdx
Mathieu Elie
Ā 
PDF
Building event streaming pipelines using Apache Pulsar
StreamNative
Ā 
PPTX
FluentD for end to end monitoring
Phil Wilkins
Ā 
PDF
Fluentd and Distributed Logging at Kubecon
N Masahiro
Ā 
PPTX
Stacking up with OpenStack: Building for High Availability
OpenStack Foundation
Ā 
PDF
RISC-V on Edge: Porting EVE and Alpine Linux to RISC-V
ScyllaDB
Ā 
PDF
Scylla Summit 2022: Learning Rust the Hard Way for a Production Kafka+ScyllaD...
ScyllaDB
Ā 
Snabb Switch: Riding the HPC wave to simpler, better network appliances (FOSD...
Igalia
Ā 
High Availability for OpenStack
Kamesh Pemmaraju
Ā 
Scylla Summit 2018: Rebuilding the Ceph Distributed Storage Solution with Sea...
ScyllaDB
Ā 
Object Compaction in Cloud for High Yield
ScyllaDB
Ā 
Spring Boot to Quarkus: A real app migration experience | DevNation Tech Talk
Red Hat Developers
Ā 
Rust with-kafka-07-02-2019
Gerard Klijs
Ā 
Cassandra To Infinity And Beyond
Romain Hardouin
Ā 
Netflix Open Source Meetup Season 4 Episode 2
aspyker
Ā 
Apache Kafka – (Pattern and) Anti-Pattern
confluent
Ā 
High Performance Systems in Go - GopherCon 2014
Derek Collison
Ā 
Build Low-Latency Applications in Rust on ScyllaDB
ScyllaDB
Ā 
Deployment topologies for high availability (ha)
Deepak Mane
Ā 
Netty training
Marcelo Serpa
Ā 
Ruby eventmachine pres at rubybdx
Mathieu Elie
Ā 
Building event streaming pipelines using Apache Pulsar
StreamNative
Ā 
FluentD for end to end monitoring
Phil Wilkins
Ā 
Fluentd and Distributed Logging at Kubecon
N Masahiro
Ā 
Stacking up with OpenStack: Building for High Availability
OpenStack Foundation
Ā 
RISC-V on Edge: Porting EVE and Alpine Linux to RISC-V
ScyllaDB
Ā 
Scylla Summit 2022: Learning Rust the Hard Way for a Production Kafka+ScyllaD...
ScyllaDB
Ā 
Ad

Similar to RESTEasy Reactive: Why should you care? | DevNation Tech Talk (20)

PDF
Asynchronous job queues with python-rq
Ashish Acharya
Ā 
PDF
Reasoning about data and consistency in systems
Daniel Norman
Ā 
PDF
Kernel Recipes 2014 - Performance Does Matter
Anne Nicolas
Ā 
PDF
How To Maintain Million Lines Of Open Source Code And Remain Sane or The Stor...
Radovan Semancik
Ā 
PDF
PyCon Canada 2019 - Introduction to Asynchronous Programming
Juti Noppornpitak
Ā 
PDF
A first look into the Project Loom in Java
Lukas Steinbrecher
Ā 
PPTX
Understanding concurrency
Anshul Sharma
Ā 
PDF
Rundown of Async/Await in Rust
Knoldus Inc.
Ā 
PDF
Kubernetes Native Java and Eclipse MicroProfile | EclipseCon Europe 2019
The Eclipse Foundation
Ā 
PDF
Kubernetes Native Java and Eclipse MicroProfile | EclipseCon Europe 2019
Jakarta_EE
Ā 
PDF
Voxxed Athens 2018 - Methods and Practices for Guaranteed Failure in Big Data
Voxxed Athens
Ā 
PDF
The art of concurrent programming
Iskren Chernev
Ā 
PPTX
Enterprise Frameworks: Java & .NET
Anant Corporation
Ā 
PDF
Montreal OpenStack Q2 MeetUp - May 30th 2017
Stacy VƩronneau
Ā 
PDF
Node.js streams talk
zladuric
Ā 
PPTX
OutSystems Tips and Tricks
OutSystems
Ā 
PPTX
reverse.ppt.pptx
VijayaPratapReddyM
Ā 
PDF
Node.js Presentation
Exist
Ā 
PDF
OpenStack Toronto Q2 MeetUp - June 1st 2017
Stacy VƩronneau
Ā 
PDF
Os Lamothe
oscon2007
Ā 
Asynchronous job queues with python-rq
Ashish Acharya
Ā 
Reasoning about data and consistency in systems
Daniel Norman
Ā 
Kernel Recipes 2014 - Performance Does Matter
Anne Nicolas
Ā 
How To Maintain Million Lines Of Open Source Code And Remain Sane or The Stor...
Radovan Semancik
Ā 
PyCon Canada 2019 - Introduction to Asynchronous Programming
Juti Noppornpitak
Ā 
A first look into the Project Loom in Java
Lukas Steinbrecher
Ā 
Understanding concurrency
Anshul Sharma
Ā 
Rundown of Async/Await in Rust
Knoldus Inc.
Ā 
Kubernetes Native Java and Eclipse MicroProfile | EclipseCon Europe 2019
The Eclipse Foundation
Ā 
Kubernetes Native Java and Eclipse MicroProfile | EclipseCon Europe 2019
Jakarta_EE
Ā 
Voxxed Athens 2018 - Methods and Practices for Guaranteed Failure in Big Data
Voxxed Athens
Ā 
The art of concurrent programming
Iskren Chernev
Ā 
Enterprise Frameworks: Java & .NET
Anant Corporation
Ā 
Montreal OpenStack Q2 MeetUp - May 30th 2017
Stacy VƩronneau
Ā 
Node.js streams talk
zladuric
Ā 
OutSystems Tips and Tricks
OutSystems
Ā 
reverse.ppt.pptx
VijayaPratapReddyM
Ā 
Node.js Presentation
Exist
Ā 
OpenStack Toronto Q2 MeetUp - June 1st 2017
Stacy VƩronneau
Ā 
Os Lamothe
oscon2007
Ā 
Ad

More from Red Hat Developers (20)

PDF
DevNation Tech Talk: Getting GitOps
Red Hat Developers
Ā 
PDF
Exploring the power of OpenTelemetry on Kubernetes
Red Hat Developers
Ā 
PDF
GitHub Makeover | DevNation Tech Talk
Red Hat Developers
Ā 
PDF
Quinoa: A modern Quarkus UI with no hassles | DevNation tech Talk
Red Hat Developers
Ā 
PDF
Extra micrometer practices with Quarkus | DevNation Tech Talk
Red Hat Developers
Ā 
PDF
Event-driven autoscaling through KEDA and Knative Integration | DevNation Tec...
Red Hat Developers
Ā 
PDF
Integrating Loom in Quarkus | DevNation Tech Talk
Red Hat Developers
Ā 
PDF
Quarkus Renarde šŸ¦Šā™„: an old-school Web framework with today's touch | DevNatio...
Red Hat Developers
Ā 
PDF
Containers without docker | DevNation Tech Talk
Red Hat Developers
Ā 
PDF
Distributed deployment of microservices across multiple OpenShift clusters | ...
Red Hat Developers
Ā 
PDF
DevNation Workshop: Object detection with Red Hat OpenShift Data Science [Mar...
Red Hat Developers
Ā 
PDF
Dear security, compliance, and auditing: We’re sorry. Love, DevOps | DevNatio...
Red Hat Developers
Ā 
PDF
11 CLI tools every developer should know | DevNation Tech Talk
Red Hat Developers
Ā 
PDF
A Microservices approach with Cassandra and Quarkus | DevNation Tech Talk
Red Hat Developers
Ā 
PDF
GitHub Actions and OpenShift: ​​Supercharging your software development loops...
Red Hat Developers
Ā 
PDF
To the moon and beyond with Java 17 APIs! | DevNation Tech Talk
Red Hat Developers
Ā 
PDF
Profile your Java apps in production on Red Hat OpenShift with Cryostat | Dev...
Red Hat Developers
Ā 
PDF
Kafka at the Edge: an IoT scenario with OpenShift Streams for Apache Kafka | ...
Red Hat Developers
Ā 
PDF
Kubernetes configuration and security policies with KubeLinter | DevNation Te...
Red Hat Developers
Ā 
PDF
Level-up your gaming telemetry using Kafka Streams | DevNation Tech Talk
Red Hat Developers
Ā 
DevNation Tech Talk: Getting GitOps
Red Hat Developers
Ā 
Exploring the power of OpenTelemetry on Kubernetes
Red Hat Developers
Ā 
GitHub Makeover | DevNation Tech Talk
Red Hat Developers
Ā 
Quinoa: A modern Quarkus UI with no hassles | DevNation tech Talk
Red Hat Developers
Ā 
Extra micrometer practices with Quarkus | DevNation Tech Talk
Red Hat Developers
Ā 
Event-driven autoscaling through KEDA and Knative Integration | DevNation Tec...
Red Hat Developers
Ā 
Integrating Loom in Quarkus | DevNation Tech Talk
Red Hat Developers
Ā 
Quarkus Renarde šŸ¦Šā™„: an old-school Web framework with today's touch | DevNatio...
Red Hat Developers
Ā 
Containers without docker | DevNation Tech Talk
Red Hat Developers
Ā 
Distributed deployment of microservices across multiple OpenShift clusters | ...
Red Hat Developers
Ā 
DevNation Workshop: Object detection with Red Hat OpenShift Data Science [Mar...
Red Hat Developers
Ā 
Dear security, compliance, and auditing: We’re sorry. Love, DevOps | DevNatio...
Red Hat Developers
Ā 
11 CLI tools every developer should know | DevNation Tech Talk
Red Hat Developers
Ā 
A Microservices approach with Cassandra and Quarkus | DevNation Tech Talk
Red Hat Developers
Ā 
GitHub Actions and OpenShift: ​​Supercharging your software development loops...
Red Hat Developers
Ā 
To the moon and beyond with Java 17 APIs! | DevNation Tech Talk
Red Hat Developers
Ā 
Profile your Java apps in production on Red Hat OpenShift with Cryostat | Dev...
Red Hat Developers
Ā 
Kafka at the Edge: an IoT scenario with OpenShift Streams for Apache Kafka | ...
Red Hat Developers
Ā 
Kubernetes configuration and security policies with KubeLinter | DevNation Te...
Red Hat Developers
Ā 
Level-up your gaming telemetry using Kafka Streams | DevNation Tech Talk
Red Hat Developers
Ā 

Recently uploaded (20)

PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
Ā 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
Ā 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
Ā 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
Ā 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
Ā 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
Ā 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
Ā 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
Ā 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
Ā 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
Ā 
PDF
Software Development Methodologies in 2025
KodekX
Ā 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
Ā 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
Ā 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
Ā 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
Ā 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
Ā 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
Ā 
PDF
Doc9.....................................
SofiaCollazos
Ā 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
Ā 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
Ā 
cloud computing vai.pptx for the project
vaibhavdobariyal79
Ā 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
Ā 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
Ā 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
Ā 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
Ā 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
Ā 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
Ā 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
Ā 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
Ā 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
Ā 
Software Development Methodologies in 2025
KodekX
Ā 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
Ā 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
Ā 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
Ā 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
Ā 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
Ā 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
Ā 
Doc9.....................................
SofiaCollazos
Ā 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
Ā 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
Ā 

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
  • 4. Traditional architecture: IO and worker threads
  • 7. More efficient architecture: non-blocking by default
  • 8. A truly modern architecture
  • 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!
  • 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