| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Replicated Concurrency Control and recovery project.
We implement a distributed database, complete with multiversion concurrency control, deadlock detection, replication, and failure recovery. Then, we use reprozip, docker, vagrant, and virtual machines to make our project reproducible even across different architectures for all time.
python main.py --test test1.txtpython main.py --debug True test1.txt apt-get install python python-dev python-pip gcc libsqlite3-dev libssl-dev libffi-devIf you get this error:
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource
temporarily unavailable)
E: Unable to acquire the dpkg frontend lock
(/var/lib/dpkg/lock-frontend),
is another process using it?Run
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock*
sudo dpkg --configure -a
sudo apt updatepip install -U reprozippip install -U reprounzip[all]reprozip trace python main.py --test <file_name>.txt
[When they ask you if you want to append to the trace, reply with ‘a’]reprozip pack my_experiment.rpz$ reprounzip directory setup my_experiment.rpz mydirectory
$ reprounzip directory run mydirectory$ reprounzip docker setup my_experiment.rpz mytemplate
$ reprounzip docker run mytemplateFirst, install the plugin reprounzip-vagrant.
$ pip install reprounzip-vagrantNote that (i) you must install reprounzip first, and (ii) the plugin requires having Vagrant installed. Then, use the prefix reprounzip vagrant to create and start a virtual machine under the directory mytemplate:
$ reprounzip vagrant setup my_experiment.rpz mytemplateTo execute the experiment, simply run:
$ reprounzip vagrant run mytemplate| Back | FazBrowse Home | New Git URL |