bbengfort / cloudscope

Simulation and visualization of distributed systems and communications.
http://bbengfort.github.io/cloudscope/
MIT License
1 stars 0 forks source link

Token Consensus #43

Closed bbengfort closed 8 years ago

bbengfort commented 8 years ago

Create Token Consensus simulation.

Goal

Show performance and durability impact of leader leases VS input bounciness, single user. A leader lease will be a period of time that the leader has to aggregate local writes into a single large write, at which point it's submitted to consensus. Leader heartbeats apply. Follower timeout.

Input

On one end, long sequences of operations on a single device, followed by a move to another. On the other end, random bounces between devices.

The input trace must be defined as a sequence of accesses w/ gaps in between. Runtime of an entire trace is the sum of the gaps plus the cost of each of the accesses. Latter cost is determined by the cost of consensus.

Metrics