docs(system-design): add coordination and consensus guide - #44
Merged
Merged
Conversation
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
shalshcode08
marked this pull request as ready for review
August 2, 2026 08:57
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary\n\n- add a standalone, language-neutral Topic 8 guide to coordination, consensus, Raft, leader election, leases, fencing tokens, distributed locks, semaphores, barriers, and coordination services\n- include detailed leader-elected scheduler and fenced inventory allocator designs with failure timelines and resource-side correctness rules\n- cover production architecture, membership changes, snapshots, observability, security, performance, failure recovery, testing, exercises, interview Q&A, cheat sheet, and primary official references\n- register the guide in the System Design and Distributed Systems navigation manifest\n\n## Scope\n\nThis pull request changes only:\n\n- manifest.json\n- src/content/systemdesign/coordination-consensus-leases-locks.html\n\nNo tests, styling, shared design files, or TOPICS.md statuses were changed.\n\n## Research\n\nPrimary sources include the extended Raft paper and USENIX publication, the official Raft resource site, Paxos Made Simple from Microsoft Research, official etcd API guarantees and concurrency APIs, Apache ZooKeeper and Curator recipes, Kubernetes Lease and coordinated leader election documentation, and PostgreSQL locking and uniqueness documentation.\n\n## Validation\n\n- npx prettier --check manifest.json src/content/systemdesign/coordination-consensus-leases-locks.html\n- npm test\n- npm run build\n- git diff --check\n- scope check: exactly one new topic file plus manifest.json\n- footer check: exact July 2026 knowledge-base footer present once\n- no em dash found in new topic or manifest entry\n\n## Notes\n\nThe documentation remains framework-neutral, uses pseudocode first for algorithms, and uses a small TypeScript example only to demonstrate cancellation and fencing boundaries. TOPICS.md remains Pending until this pull request is merged.