Fall 2019 Advanced Database Course Project
- Jialiang Cao(jc8343)
- Waii Ng(win205)
This is a Fall 2019 Advanced Database course project. For project requirements, please see project-requirements
PDF.
We used reprozip to pack our project to allow anyone reproducing this project using reprounzip easily.
reprounzip directory setup repcrecdb.rpz repcrecdb
reprounzip directory run repcrecdb
You should see the detail results of running all the test cases we provided.
You also can run this project using Jar after you reprounzip it.
cd repcrecdb/root/vagrant/adv-db-project
java -jar build/libs/repcrecdb.jar [input-file]
All test cases will run if no input file is given.
Tests will run when building with Gradle
git clone https://github.com/iamnwi/adv-db-project.git
cd adv-db-project
gradle clean
gradle build
cd adv-db-project
java -jar build/libs/repcrecdb.jar [input-file]
All test cases will run if no input file is given.
The architecture of this RepCRec Distributed Database is as follow.
- 10 sites
- 20 data entries: x1, ..., x20
- even indexed entires are in all sites
- odd indexed entires are in site 1 + (index mod 10)
- Available copies
- Multi-version read
- Deadlock detection
For component details, please see RepCRec-design-doc
PDF.