Skip to content

About

In this project, we present an advanced distributed transaction processing system designed for the specific needs of camera stores operating in geo-distributed environments.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

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>

About

In this project, we present an advanced distributed transaction processing system designed for the specific needs of camera stores operating in geo-distributed environments.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages