Skip to content
forked from neilmshah/bayou

A prototype for replicated, eventually consistent storage system design implemented using flask, gRPC and redis.

Notifications You must be signed in to change notification settings

ouyangjunfei/bayou

 
 

Repository files navigation

Bayou

A prototype for replicated, eventually consistent storage system design implemented using bi-directional streaming on gRPC, restful services using flask-restful and in-memory storage on redis

Link to research paper on which the prototype is based

http://www.scs.stanford.edu/17au-cs244b/sched/readings/bayou.pdf

Usage

Dependencies

参考requirements.txt

目前版本在我电脑上可以运行Server和Client

后端需要一个Redis数据库,默认端口6379

Configs

Check config.yaml to see/set configuration for clients and severs

Create proto files

python3 -m grpc_tools.protoc -I. --python_out=. --grpc_python_out=. a_e.proto

Start server nodes (one terminal per server)

python server.py one
python server.py two
python server.py three

Start clients (one terminal per user)

python client.py vish
python client.py priyal

Screenshots of usage

1. Start server nodes

2. Start client and book a room

3. Anti-entropy between server nodes:

About

A prototype for replicated, eventually consistent storage system design implemented using flask, gRPC and redis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Shell 0.2%