Skip to main content
  • Log in
  • Manage Cookies
EclipseCon - Eclipse Foundation
  • Conference
    • News
    • Registration
    • Program Schedule
    • Program List
    • Community Day
    • Keynotes
  • Sponsors
    • Our Sponsors
    • Sponsor Testimonials
    • Be a Sponsor
    • Sponsor Guidelines
  • Community
    • 2021 Speakers
    • Speaker Guidelines
    • Code of Conduct
    • Community Resources
    • Conference Guide Documents
    • Information for Speakers
  • About Us
    • EclipseCon 2021
    • Program Committee
    • The Eclipse Foundation
    • Past Conferences
    • Other Events
  • Code of Conduct
  1. Home
  2. EclipseCon
  3. EclipseCon 2021
  4. Sessions
  5. Exploring Stateful Microservices in the Cloud Native World

Exploring Stateful Microservices in the Cloud Native World

Session details
Status: 
Declined
Speaker(s): 
Mary Grygleski (IBM)
Experience level: 
Beginner
Tags: 
Microservices
Cloud Native Java
microprofile transactions
containers
Kubernetes
Session Track: 
Cloud Native Technologies
Session Type: 
Standard

How does one choose to architect a system that has a Microservice / REST API endpoints? There are many solutions out there. Some are better than others. Should state be held in a server side component, or externally? Generally we are told this is not a good practice for a Cloud Native system, when the 12-factor guidelines seem to be all about stateless containers, but is it? It’s unclear and this confusion may lead to poor technology stack choices that are impossible or extremely hard to change later on as your system evolves in terms of demand and performance.

While stateless systems are easier to work with, the reality is that we live in a stateful world, so we have to handle the state of data accordingly to ensure data integrity beyond securing it.

We will examine and demonstrate the fundamentals of a Cloud Native system with Stateful Microservices that’s built with Open Liberty in Kubernetes:

  • Microservices/REST API – Options to use when running your apps in the JVM
     
  • Concurrency – how to take advantage of multi-core CPUs and clustered distributed systems
     
  • Stateful vs Stateless - while stateless apps are easier to implement, the bulk of the apps in production are stateful which involve a higher level of complexity and risk, especially when data would need to travel across multiple machine and network boundaries
     
  • Deployment – how about containerization and orchestration using Kubernetes?
Slides: 
PDF icon 2021-06-10-DevTalks.RO-StatefulMicroservices-Grygleski.pdf
Objective of the presentation: 
While stateless systems are easier to work with and much less burdensome, the reality is that we live in a stateful world, so we have to handle the state of data accordingly to ensure data integrity and consistency beyond just securing it. Given the current Cloud Native computing environment, everything is supposed to be stateless and very agile, what can we do to maintain the state of data across all sessions, transactions and network boundaries? The goals of this presentation are to: 1) Get an understanding of data consistency and transactions beyond just the typical database-managed transactions or 2-phase commit from the client-server period 2) Get an understanding of how the current Cloud Native era has introduced additional challenges of maintaining data transactional integrity across sessions and network boundaries 3) How Kubernetes as a very popular container orchestrator helps with maintaining statefulness of data 4) How the Saga design and programming pattern helps with maintaining the state of data across transactions 5) How the MicroProfile LRA (Long Running Action) implementation can be leveraged for managing statefulness of data for the entire system.
Attendee pre-requisites - If none, enter "N/A": 
Basic understanding of Java, and data/database transactions will be helpful.
  • Sign in to post comments.

Elite Sponsors

Premium Sponsors

Basic Sponsors

Eclipse Foundation

  • About Us
  • Contact Us
  • Sponsor
  • Members
  • Governance
  • Code of Conduct
  • Logo and Artwork
  • Board of Directors
  • Careers

Legal

  • Privacy Policy
  • Terms of Use
  • Copyright Agent
  • Eclipse Public License
  • Legal Resources

Useful Links

  • Report a Bug
  • Documentation
  • How to Contribute
  • Mailing Lists
  • Forums
  • Marketplace
EclipseCon is brought to you by The Eclipse Foundation with the support of our sponsors.
Powered by Drupal and built on COD.

Copyright © Eclipse Foundation. All Rights Reserved.

Back to the top