Presenting MicroProfile Long Running Actions at Voxxed Days Luxembourg 2019

Uncategorized

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.

Related Posts

Blue background with coral and fish. Left text: 'MONTHLY CATCH'. Right: laptop screen with tech tabs and Payara Community logo. 3 minutes
Community

The Payara Monthly Catch -September 2025

Welcome aboard the September issue of The Monthly Catch! With summer holidays wrapping up, the Java world is back […]

4 minutes
Uncategorized

Leading the Way: Payara Platform Community 7 Beta Now Fully Jakarta EE 11 Certified

We’re excited to announce that Payara Platform Community 7 Beta application server is now fully certified as Jakarta EE 11 […]

Blue background with coral and fish. Left text: 'MONTHLY CATCH'. Right: laptop screen with tech tabs and Payara Community logo. 4 minutes
Community

The Payara Monthly Catch – August 2025

Welcome aboard the August 2025 issue of The Payara Monthly Catch! With summer in full swing, things may have felt […]