Introduction


Features

A rare example of:

  1. Wide-area Distributed Transactions

    Very desirable, but two-phase commit is too slow and prone to blocking

  2. Wide-area Synchronous Replciation

    1. Two-phase commit over Paxos
    2. Synchronized time for fast Read-Only txns.

Motivation

Spanner is developed for Google F1, which previously implemented by sharded over many MySQL and BigTable DBs.

The business needs:

The workload is dominated by RO txns.

And a strong consistency of External Consistency is required

Organization


Whole organization

Whole organization

Spanserver software stack

Spanserver software stack

Why this arrangement?