• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bigeasy / addendum / 38
100%

Build:
DEFAULT BRANCH: master
Ran 22 May 2018 12:21AM UTC
Jobs 4
Files 2
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
38

push

travis-ci

bigeasy
Arrival and acclimation.

All applications are going to use the atomic log to make changes to
common set of data. If they all start with the same data and then make
the same changes in the same order, then after each change they will
have the same data that all their peers had when they made the
change.

This is called a replicated state machine. Each "machine" makes the same
changes to a data set so that each "machine" has the same "state."

The machine in our case is our `Addendum` object. The state changing
events will be the postbacks from Compassion which will arrive in the
same order for all participants.

The original participant will create the init with an initial data set.
There is a `bootstrap` event that we can respond to that will only be
invoked if the participant is the very first participant. The
bootstrapped participant can use this perform any initialization to the
data set. We don't need to respond to this event because out empty
database is simply an empty object used as a map.

Subsequent participants can receive a `join` event. We use the join
event in Addendum to fetch a copy of the database from one of the other
participants. It can't be just any copy. It can't be, say, the current
copy that any other participant has on hand. It must be the database
exactly as it was when we arrived, without any modifications made after
the participant arrive and not omitting any modifications made before it
arrived.

We use the `arrive` event to freeze a copy of the database when a new
participant arrives into a Cubbyhole. We will use that frozen copy of
the database specific to the promise (event id) of the participant's
arrival should the participant choose us when it asks for a copy of the
database when it joins.

This is a common operation, getting a backlog of work, or a snapshot of
work (hmm… maybe rename the postback from backlog to snapshot). An
Addendum participant makes its frozen copy of the database available
using the backlog post... (continued)

0 of 4 branches covered (0.0%)

48 of 60 relevant lines covered (80.0%)

6.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38.1 22 May 2018 12:21AM UTC 0
80.0
Travis Job 38.1
2 38.2 22 May 2018 12:21AM UTC 0
80.0
Travis Job 38.2
3 38.3 22 May 2018 12:21AM UTC 0
80.0
Travis Job 38.3
4 38.4 22 May 2018 12:21AM UTC 0
80.0
Travis Job 38.4
Source Files on build 38
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #38
  • fafb3312 on github
  • Prev Build on master (#37)
  • Next Build on master (#39)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc