Presenting MicroProfile Long Running Actions at Voxxed Days Luxembourg 2019

Cloud & Microservices

Voxxed Days Luxembourg were organized for the fourth time in the south of the country in the village Mondorf-les-Bains, near the borders of France and Germany. If you want to visit the region, you can enjoy the nice views and vineyards. The Moselle wine is produced here.

 

The theme of the conference this year were two events which happened 50 years ago in 1969: the landing on the moon and Woodstock festival. You could find references to both events in many graphics throughout the conference venue.

 

voxxed_days_luxembourg

 

The conference program covered a wide variety of topics. Ranging from server-side Java, including the latest trends regarding native Java with GraalVM, several Java frameworks, JavaScript and front end development, and cloud topics. The conference also covered big data and AI with a session discussing the social implications of Bias in Machine Learning.

 

It’s an ideal conference if you want to broaden your horizons and get an idea of what is going on outside of your own knowledge area.

 

MicroProfile Long Running Actions (LRA)

I had the opportunity to present the MicroProfile Long Running Actions (LRA) project here. The LRA project aims to bring you transactions in a MicroService architecture. Due to the CAP theorem, we aren’t able to have Consistency, Availability and Partition Availability in a distributed environment. That is the reason why we need to introduce the concept of eventual consistency so that we can keep the other two.

 

We also can’t name them transactions anymore and we need to introduce a few new concepts like a compensatable action. The MicroProfile Long Running Action is based on top of the concepts of SAGAs. It defines that a business process can be comprised of several steps. The action of each step can store already the data to a persistence store, like a database. When the process needs to be cancelled, each individual step can perform his compensating action, like removing the data from the database again.

The MicroProfile LRA implementations will maintain the book-keeping for you. It will start the LRA, keep track of all the business steps which are part of the LRA, they are called participants. And the implementation will also call the methods marked with Complete or Compensate in the case an LRA is closed successfully or due to a cancel request.

 

The project is not final yet, but the most important concepts are defined and there are two implementations created, including the one for Payara Platform which was used to demo several of the LRA concepts.

 

You can find more information within the Github Project

and the slides of the presentations can be found on slideshare.

 

Comments (0)

Post a comment

Your email address will not be published. Required fields are marked *

Payara needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Legal & Privacy Policy.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts

Illustration showing the Payara logo and the words “New Release” in large orange and white text, next to a stylized laptop screen displaying the Payara Server admin console with dark blue and orange interface elements. 4 minutes
News

What’s New in the Payara Platform March 2026 Release?

The March 2026 release brings important platform modernization, stability improvements, and comprehensive bug fixes across the Azul Payara Platform […]

SpringBoot Actuator Health for Microprofile Developers 7 minutes
Cloud & Microservices

Spring Boot Actuator Health for MicroProfile Developers

If you worked with MicroProfile Health, you already understand the value of exposing application health information through standardized endpoints. […]

Webinar banner for “High-Frequency Trading on Jakarta EE: GC Stress Testing with Azul C4 and Payara Micro,” March 25, 2026, 2 PM GMT. Features Azul and Payara Micro logos and speaker photos of Luqman Saeed, Jakarta EE Specialist, and Simon Ritter, Deputy CTO and Java Champion. 1 minute
Cloud & Microservices

High-Frequency Trading on Jakarta EE: Join Our Upcoming Live Webinar

Modern high-frequency trading (HFT) platforms operate under extreme performance constraints, processing tens of thousands of messages per second while […]