Articles
System Design
Short written articles on distributed-systems and platform architecture for senior and staff backend engineers, in learning order. Each one teaches one idea and its trade-offs. Related videos will appear beside them once the YouTube channel is public (name and handle TBD). Topics without an article yet are shown as coming soon.
Learning map
Topics in learning order. Coming soon items are not links yet; read and in-progress states appear in this browser once you start an article.
- SD01Sync vs Async: When Events Beat Calls
- SD02REST vs gRPC for Internal Calls (Part 1): Choosing the Protocol and Writing the Contract
- SD03Queues vs Logs: SNS/SQS or Kafka?
- SD04Publishing after commit and the dual-write problem (coming soon)
- SD05Transactional outbox and relay (coming soon)
- SD06Delivery guarantees: at-least-once, ordering, partitions (coming soon)
- SD07Idempotency end to end: Idempotency-Key APIs and idempotent consumers (coming soon)
- SD08Retries, DLQ and replay (coming soon)
- SD09Event schemas: Avro, schema registry, compatibility modes (BACKWARD default), safe evolution, contract tests (coming soon)
- SD10Sagas and long-running workflows (coming soon)
- SD11Change data capture (Debezium/Kafka Connect), bulk migration and backfill, acquisitions/ETL as architecture; eventual consistency trade-offs (coming soon)
- SD12Concurrency control across services: optimistic vs distributed locks (coming soon)
- SD13Resilience: timeouts, retries, circuit breakers, bulkheads, rate limits (coming soon)
- SD14Read models and CQRS (e.g. search index as the read side) (coming soon)
- SD15The four IDs (tenant, trace, correlation, request) and distributed tracing as a design concern (coming soon)
- SD16Observability migration with a collector and dual-write cutover (coming soon)
- SD17NFRs, SLOs and error budgets (coming soon)
- SD18ADRs and RFCs across teams (coming soon)
- SD19Platform vs product boundaries; what to centralize; avoiding the blocking platform team (coming soon)
- SD20Paved road vs escape hatch (coming soon)
- SD21Developer portal and service catalog: Backstage, scaffolding templates, catalog-first, unique service names (coming soon)
- SD22Shared libraries and BOMs: versioning, backward-compatibility support windows, version lifecycle, deprecation, upgrade paths, fleet-wide migration (coming soon)
- SD23Rollout strategy for 40+ teams: waves, opt-in, success metrics (coming soon)
- SD24Polyglot platforms: one convention across JVM, Node and Python (coming soon)
- SD25Risk registers and choosing what NOT to build (coming soon)
- SD26Connecting platform strategy to business outcomes (coming soon)
Curriculum
Part A — Communication and events
- Sync vs Async: When Events Beat CallsA synchronous call waits for an answer; an asynchronous message does not. A simple two-question test for choosing, using one securities order flow from start to finish.
- REST vs gRPC for Internal Calls (Part 1): Choosing the Protocol and Writing the ContractHow to choose between REST and gRPC for calls inside a platform, write a protobuf contract that 40 teams can evolve safely, and call another service with a deadline.
- Queues vs Logs: SNS/SQS or Kafka?Queues hand each message to one consumer and forget it; logs keep messages so many readers can replay them. When to pick SNS/SQS and when to pick Kafka.
- Publishing after commit and the dual-write problemComing soon (not yet published)
- Transactional outbox and relayComing soon (not yet published)
- Delivery guarantees: at-least-once, ordering, partitionsComing soon (not yet published)
- Idempotency end to end: Idempotency-Key APIs and idempotent consumersComing soon (not yet published)
- Retries, DLQ and replayComing soon (not yet published)
- Event schemas: Avro, schema registry, compatibility modes (BACKWARD default), safe evolution, contract testsComing soon (not yet published)
- Sagas and long-running workflowsComing soon (not yet published)
Part B — Data integration and reliability
- Change data capture (Debezium/Kafka Connect), bulk migration and backfill, acquisitions/ETL as architecture; eventual consistency trade-offsComing soon (not yet published)
- Concurrency control across services: optimistic vs distributed locksComing soon (not yet published)
- Resilience: timeouts, retries, circuit breakers, bulkheads, rate limitsComing soon (not yet published)
- Read models and CQRS (e.g. search index as the read side)Coming soon (not yet published)
- The four IDs (tenant, trace, correlation, request) and distributed tracing as a design concernComing soon (not yet published)
- Observability migration with a collector and dual-write cutoverComing soon (not yet published)
Part C — Platform governance
- NFRs, SLOs and error budgetsComing soon (not yet published)
- ADRs and RFCs across teamsComing soon (not yet published)
- Platform vs product boundaries; what to centralize; avoiding the blocking platform teamComing soon (not yet published)
- Paved road vs escape hatchComing soon (not yet published)
- Developer portal and service catalog: Backstage, scaffolding templates, catalog-first, unique service namesComing soon (not yet published)
- Shared libraries and BOMs: versioning, backward-compatibility support windows, version lifecycle, deprecation, upgrade paths, fleet-wide migrationComing soon (not yet published)
- Rollout strategy for 40+ teams: waves, opt-in, success metricsComing soon (not yet published)
- Polyglot platforms: one convention across JVM, Node and PythonComing soon (not yet published)
- Risk registers and choosing what NOT to buildComing soon (not yet published)
- Connecting platform strategy to business outcomesComing soon (not yet published)
Topic map
The Architecture terms these 4 articles use most, and where each one comes up along the learning path. Columns follow the article numbers above; a darker cell means more mentions. Select a term to search for it.
| Term | 1. Sync vs Async: When Events Beat Calls | 2. REST vs gRPC for Internal Calls (Part 1): Choosing the Protocol and Writing the Contract | 3. REST vs gRPC for Internal Calls (Part 2): JSON at the Edge and the Event Bridge | 4. Queues vs Logs: SNS/SQS or Kafka? |
|---|---|---|---|---|
| event | 21 | 1 | 19 | 9 |
| calls | 15 | 21 | 12 | 1 |
| Order Intake | 9 | 3 | 3 | 1 |
| fact | 3 | 1 | 2 | 3 |
| Securities Order Intake | 1 | 1 | 1 | 1 |
| queue | 1 | 1 | none | 25 |
| gRPC | none | 24 | 28 | none |
| REST | none | 13 | 5 | none |
| contract | none | 7 | 9 | none |
| Protocol Buffers | none | 4 | 1 | none |
| synchronous call | 2 | 1 | none | none |
| replay | none | none | none | 10 |
| deadlines | none | 9 | none | none |
| topic | none | none | none | 9 |
| FIFO | none | none | none | 9 |
| partitions | none | none | none | 9 |


