/DistribSystem

This is a program which emulates fault-tolerant in-memory distirbuted log. The messages replicated in parallel.

Primary LanguageC#

Overview

This is a program which emulates fault-tolerant in-memory distirbuted log. The messages replicated in parallel.

master - maintains latest iteration (currently 3).

Running the App

    # use docker-compose
    # from the root run the following command
    docker-compose up --build

Using the App

    # post a message (master only)
    POST localhost:9091/log 
    {"Message": "Test", "W": 1}

    # get logs from master
    GET localhost:9091/log
    # get logs from secondary1
    GET localhost:9092/log
    # get logs from secondary2
    GET localhost:9093/log

Technologies

.NET Core 3.1, Docker