Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.07 KB

File metadata and controls

33 lines (26 loc) · 1.07 KB

CompSci223-project

Introduction

  • This project is an implementation of a distributed transaction processing system using the techniques used in Yang Zhang et al. “Transaction chains: achieving serializability with low latency in geo-distributed storage systems”.
  • Utilized transaction chopping, SC-Cycles analysis, and two-phase locking to ensure low transactional latency in concurrency situations while maintaining fault tolerance.
  • Implemented effective data partitioning strategies across distributed nodes to improve data integrity and accessibility using Python, WebSockets, and SQLite.

install library

pip install -r requirements.txt
brew install jq #for .sh file read config.json

run server

./start_servers.sh

CONFIG

  • Please check config.json.

Error handle

  • If you encounter the following error in a Unix-like environment::
OSError: [Errno 48] error while attempting to bind on address ('127.0.0.1', 8898): address already in use

You can resolve this issue by following these steps:

lsof -i :8898
kill <PID>