tuannh982 / s2pc

simple Two Phase Commit protocol implementation in Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Two Phase Commit implementation

Introduction

Simple Two Phase Commit protocol implementation

Quickstarts

run main in class Test

TODOs

  • network emulation
    • join/leave network
    • transport (send, recv, broadcast)
    • message encapsulation
    • async IO (simple message queue)
    • network jamming
    • test
  • timer
    • scheduled task
    • listen/notify
    • change timeout
    • test
  • 2PC
    • rpc (Command/CommandResponse)
      • command timeout
    • client command (cmd)
    • role
      • Primary (coordinator)
      • Replica (replica)
    • test

About

simple Two Phase Commit protocol implementation in Java

License:MIT License


Languages

Language:Java 100.0%