Skip to content
/ s2pc Public

simple Two Phase Commit protocol implementation in Java

License

Notifications You must be signed in to change notification settings

tuannh982/s2pc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages