GridexX / 2PC-Go

A 2PC protocol in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2PC-Go

This simple POC show how to implement a 2PC protocol in Go.

It is used to determine if a transaction can be committed or not.

How to use it

Start the coordinator

go run coordinator.go common.go model.go

Start the participant

go run participant.go common.go model.go

About

A 2PC protocol in Go


Languages

Language:Go 100.0%