Catalogue / box-2021-keds-hbase-to-bigtable

Box moves its encryption-key metadata store from on-premises HBase to Cloud Bigtable with phased dual writes and no downtime

Box, 2021. Key Encryption Decryption Service (KEDS) metadata store.

Organisation
Box
Evidence
Reported from production
Source
Zero Downtime Migration from HBase to Bigtable

Box Tech Blog (Medium), published 2021-09-24

Records

Decision#d1

Move the key metadata table from on-premises HBase to managed Cloud Bigtable

Decision#d2

Choose SSD-backed Bigtable clusters after a synthetic production-like workload showed HDD missed latency targets

Decision#d3

Migrate with asynchronous then synchronous dual writes, a snapshot backfill, read comparison, and a fallback period

Decision#d4

Keep failover in the application because Bigtable's automatic multi-cluster routing does not support check-and-put

Decision#d5

Split KEDS into front and back fleets, each favouring a different Bigtable cluster, to shield critical traffic from ad hoc load

Failure#f1

Sporadic DEADLINE_EXCEEDED spikes from Bigtable traced to Google Front End nodes shutting down without GOAWAY

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.