Skip to content

Commit

Permalink
First build.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDiBernardo committed Jul 21, 2015
1 parent 33cec85 commit d0a6d81
Show file tree
Hide file tree
Showing 6 changed files with 1,744 additions and 30 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ tex/objmodel.markdown
tex/objmodel-images
tex/data-store.markdown
tex/data-store-images
tex/cluster.markdown
html/content
html/cache
*.pid
1 change: 1 addition & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def main(chapters=[], epub=False, pdf=False, html=False, mobi=False, pandoc_epub
run('rm {}'.format(f))

chapter_dirs = [
'cluster',
'data-store',
'sample',
'objmodel',
Expand Down
54 changes: 27 additions & 27 deletions cluster/cluster.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- American spelling -->
# Clustering by Consensus
title: Clustering by Consensus
author: Dustin J. Mitchell


In this chapter, we'll explore implementation of a network protocol designed to support reliable distributed computation.
Expand Down Expand Up @@ -92,31 +92,31 @@ A single ballot looks like this:

```
Proposer ------------------------- Acceptor Acceptor Acceptor
*--->>----/ Prepare(ballot_num=..) /--------+---------------+---------------+
: ------------------------- : : :
: ----------------------------------- : : :
+---/ Promise(ballot_num=.., value=..) /-<<-* : :
: ----------------------------------- : :
: ----------------------------------- : :
+-----------/ Promise(ballot_num=.., value=..) /-----<<-----* :
: ----------------------------------- :
: ----------------------------------- :
+-------------------/ Promise(ballot_num=.., value=..) /---------<<---------*
: -----------------------------------
:
: -----------------------------------
*--->>--/ Accept(ballot_num=.., value=..) /-+---------------+---------------+
: ----------------------------------- : : :
: -------------------------- : : :
+-------/ Accepted(ballot_num=..) /---<<----* : :
: -------------------------- : :
: -------------------------- : :
+---------------/ Accepted(ballot_num=..) /-------<<--------* :
: -------------------------- :
: -------------------------- :
+-----------------------/ Accepted(ballot_num=..) /-----------<<------------*
--------------------------
Proposer ------------------------- Acceptor Acceptor Acceptor
*--->>----/ Prepare(ballot_num=..) /--------+---------------+---------------+
: ------------------------- : : :
: ----------------------------------- : : :
+---/ Promise(ballot_num=.., value=..) /-<<-* : :
: ----------------------------------- : :
: ----------------------------------- : :
+-----------/ Promise(ballot_num=.., value=..) /-----<<-----* :
: ----------------------------------- :
: ----------------------------------- :
+-------------------/ Promise(ballot_num=.., value=..) /---------<<---------*
: -----------------------------------
:
: -----------------------------------
*--->>--/ Accept(ballot_num=.., value=..) /-+---------------+---------------+
: ----------------------------------- : : :
: -------------------------- : : :
+-------/ Accepted(ballot_num=..) /---<<----* : :
: -------------------------- : :
: -------------------------- : :
+---------------/ Accepted(ballot_num=..) /-------<<--------* :
: -------------------------- :
: -------------------------- :
+-----------------------/ Accepted(ballot_num=..) /-----------<<------------*
--------------------------
```

Expand Down
2 changes: 2 additions & 0 deletions tex/500L.tex
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@
\mainmatter


\include{cluster}

\include{data-store}

\include{sample}
Expand Down
Loading

0 comments on commit d0a6d81

Please sign in to comment.