Election timeout

Quorum 05
HTTP/2HTTP/2HTTP/2Users100 req/sAPI server1 vCPU · 1 GBAPI server1 vCPU · 1 GBAPI server1 vCPU · 1 GB
HTTP/2HTTP/2HTTP/2HTTP/2Users100 req/sAPI server1 vCPU · 1 GBAPI server1 vCPU · 1 GBAPI server1 vCPU · 1 GB

Tune the parts. Turn every goal green.

Traffic
100 req/s · reads only
Limit
API server answers about 3,300 req/s
Bill
  • API server × 312 USD/mo
12 of 40 USD/mo

Goals

Not tested yet

Saved data that was lost later.Writes accepted by two leaders at the same time.Time from a failure until the service works again.What the servers and services cost each month.

Three followers start together. Their election timeout range is almost zero, so candidates split the votes. Choose a range that elects a leader within 0.5 seconds.

A lease with a fencing tokenTap to turn the fencing tokens on or off

Fencing tokens · lease 30 s · late write with token 33: rejected