li3317 / dmck Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ucare-uchicago/dmck
License: Other
This project forked from ucare-uchicago/dmck
License: Other
DMCK Quick Guideline ------------ Introduction ------------ DMCK is an achronym for Distributed system Model ChecKing which focus on generating all possibilities of scenarios of distributed system protocols in order to detect distributed concurrency (DC) bugs. If a DC bug is detected, DMCK is able to provide the target system logs from all nodes, the order of events that will reproduce the bug, and DMCK is able to help you debug the patch to fix the DC bug. More detail related to this tool can be found in "SAMC: Semantic Aware Model Checking for Fast Discovery Bugs in Cloud Systems" paper that has been publised in OSDI 2014. ------------------------------ What is included in this tool? ------------------------------ In this DMCK version, we provide two dummy systems to give simple examples of how DMCK interacts with the target distributed systems: (1) Simple Concurrent Messages (SCM); and (2) Sample Leader Election (SampleLE). You can also find 2 other real systems that we have integrated with the DMCK to reproduce the DC bug in each system: (1) Cassandra; and (2) ZooKeeper. ------------------------ How to compile the code? ------------------------ Let's start with compiling the DMCK and the SCM system. 1. Make sure you have installed the Java-Oracle-8. 2. Copy the target-sys.conf.sample to target-sys.conf in DMCK_dir/scm/ directory 3. Adjust the path file parameters in the target-sys.conf 4. Go to DMCK_dir path and execute ./compile scm 5. You will find the working_dir location that is specified in the target-sys.conf (in default, the working_dir can be found in /tmp/scm directory) is generated there. -------------------- How to run the DMCK? -------------------- 1. Go to your working_dir directory and execute the dmckRunner.sh script. That's it! You should see the DMCK to run and explore all possibilities of scenarios. Some options in running the dmckRunner.sh is to run it with "-p" parameter: ./dmckRunner.sh -p With this command, the DMCK will pause after it has finished executed the a single path / scenario. To see the records of all path executions, go to the working_dir/record/ directory and you can see the path, result and debug.log for each path.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.