Skip to content

comeonsunny/twophase-threephase-commit

Repository files navigation

twophase-threephase-commit

Two phase commit and Three phase commit demo implemented by http server

operations for step by step

  1. You need two tools, Python and Django; the detailed installation
  2. when you have installed the necessay tools, you could execute the order "py manage.py runserver" with the condition that your directory must in the file with document manage.py
  3. Now you could open your browser and input the website: http://localhost:8000/two-phase/ or http://localhost:8000/three-phase/
    • According to the two- phase protocol, you could excute the next steps in the first web address:
    • According to the three- phase protocol, you could excute the next steps in the second web address:
  4. The most significant step is to change the name of the participants and keys in two-phase
  5. The most significant step is to change the name of the participants and keys in three-phase

About

Two phase commit and Three phase commit demo implemented by http server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors