Database Reliability Engineer
Keep databases available and recoverable: replication mechanics, failover and split-brain, backup and restore drills, RPO/RTO targets, and durability.
Path overview
保障数据库可用与可恢复:复制机制、故障切换与脑裂、备份恢复演练、RPO/RTO 目标与持久性。
Keep databases available and recoverable: replication mechanics, failover and split-brain, backup and restore drills, RPO/RTO targets, and durability.
Use "Backup and Restore Drill" to decide "Select a representative backup: Choose a recent backup and an older one from within the", then prove the outcome with "The chosen backup is within the documented retention and can be retrieved.".
Next step: Run a Database Failover Drill
⏱ 1.5h
Follow "Run a Database Failover Drill" and record "Prove that the team can fail over the primary database within the recovery time objective" at the step where it should appear, using "The baseline is stored and the replica is caught up within the acceptable lag." as the check.
Prerequisites: Backup and Restore Drill
Next step: Verify Database Backups by Restoring Them
⏱ 1.5h
Apply "Verify Database Backups by Restoring Them" to a database reliability engineer task, checking that "pg_restore completes without errors and the scratch database contains the expected schemas." appears after the "Create a fresh custom-format dump and record its checksum." step.
Prerequisites: Run a Database Failover Drill
Next step: Run a Quarterly Restore Drill
⏱ 1h
Execute "Run a Quarterly Restore Drill" end to end, then repeat the last step with one parameter changed and compare "Prove backups are restorable and measure recovery time before an incident forces the".
Prerequisites: Verify Database Backups by Restoring Them
Next step: Own Keys on a Consistent Hash Ring
⏱ 1h
Build "Own Keys on a Consistent Hash Ring" for database reliability engineer code and verify {owners:[{key:k1,node:a},{key:k2,node:a},{key:k3,node:a}],load:[{node: against both samples.
Next step: Capstone: Database Reliability Engineer
⏱ 0.5h
Deliver the "Build a WAL Replication Manager" blueprint with "Follower shipper" working and "Checkpoint store" recorded as evidence.
Prerequisites: Own Keys on a Consistent Hash Ring
Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.
⏱ 4h