Coder Social home page Coder Social logo

waltersim's Introduction

WalterSim

使用Flask和Vue模拟出Walter系统的情况

论文 《Transactional storage for geo-replicated systems》

后端演示图片

前端演示图片

运行:rocket:

1. 启动后端
cd .\backEnd\
python server00.py
python server01.py
2. 启动前端

浏览器中打开

模拟说明 ⛅

  • 分别模拟了两个站点
    • site00
    • site01
  • 三个用户及首选站点
    • Alice site00 ssA01 (regular object)
    • Bob site01 ssB01 (regular object)
    • Eva site01 flEva (cset)
  • 四个预置事务
    • Alice发表说说
      1. Alice写数据到ssA01
      2. Alice读取ssA01
    • Bob发表说说并评论Alice
      1. Bob写数据到ssB01
      2. Bob重写ssA01
      3. Bob读取ssA01
    • Alice添加Eva好友 (可指定延时与下面冲突)
      1. Alice写flEva
      2. 读取flEva
    • Bob添加Eva好友 (可指定延时)
      1. Bob写flEva
      2. 读取flEva

waltersim's People

Contributors

htmonster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

hhubibi

waltersim's Issues

setRead

捕获
请问,这里是不是写错了,这个条件为true应该是数据的perfered site是local的吧?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.