Detailed Design of Spanner

Universe is the term for a Spanner deployment. Since Spanner handles data on a global scale, only a select few universes will be active at any given time. The components of Spanner are as follows:

  1. Optimized Spanner server organization: This performs automatic resharding based on the data size and load and facilitates the client's request of read and write.

  2. TrueTime API: This is an API that provides the time within well-defined error bounds. It can be used to ensure strong external consistency and global serialization.

  3. Strong network infrastructure: We should have a redundant and highly available network that provides global connectivity to make high performance for Spanner possible.

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.