Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A very simple (yet effective) replication system

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
README.md

ReplicationEngine

A very simple (yet effective) replication system

Some info

This is the experimental branch for λDB (BugSense's internal database). Expect to see lots of stuff changing all the time, formats being broken etc.

Motto: Less is more

How it works

Read more at BugSense's post:

Every node is the same. When the Master node goes down, the last-to-data-written replication node, is promoted to Master. When the Master node comes back, it is just a new replication node.

Pros

  • Simple/fast implementation (a.k.a less bugs)
  • Minimal downtime of the service
  • Best ration consistency/speed

Cons

  • NO guarandeed 100% consistency (there are more complicated algorithms and way better designed. Read: PAXOS).

Jon - https://twitter.com/jonromero

Something went wrong with that request. Please try again.