Skip to content

Demo project that showcase various methods for implementing transactions in microservice environment

Notifications You must be signed in to change notification settings

Milan-Kovacevic/distributed-microservice-transactions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed Transactions in Microservice Architecture

Welcome to this demo project repository! This project contains three nested projects located in the root of the repository:

  • ChoreographySaga
  • TransactionalOutbox
  • TwoPhaseCommit

These projects are designed to demonstrate different patterns in distributed systems and can be run using Docker and docker-compose. Follow the instructions below to get started.

Prerequisites

Make sure you have the following software installed on your machine:

Running the Application with Docker

To run any of the nested projects using docker-compose, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Milan-Kovacevic/distributed-microservice-transactions.git
    
  2. Position yourself in the required directory:

    cd distributed-microservice-transactions
    
    # Then choose one of the demo project
    cd ChoreographySaga
    cd TransactionalOutbox
    cd TwoPhaseCommit
    
  3. Run the docker compose command:

    docker-compose up -d
    
  4. Thats it :)

About

Demo project that showcase various methods for implementing transactions in microservice environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published