Bộ mẫu hạ tầng nền tảng
Thiết kế nền tảng dùng chung: golden path, API gateway, cấu hình và feature flag, giới hạn tốc độ, CDN, lập lịch, workflow, webhook, phân quyền và SSO.
Phương pháp và mẫu
Platform Golden Path Specification Template
ChuẩnGolden path spec: target users, stack, scaffolding, CI/CD, environments, observability and security defaults, Backstage catalog
Resilience and Load Shedding Design Template (Retries, Circuit Breakers)
Đầy đủFailure model, deadlines, retries with jitter and budgets, circuit breakers, bulkheads, backpressure, criticality-based shedding, degradation, fault tests
Google SRE book ch. 21-22; Amazon Builders' Library
Thiết kế tham chiếu
API Gateway System Design Template
Đầy đủEdge API gateway design: routing, token validation, rate-limit hook, filter chain, retry budgets, adaptive concurrency, push connections, staged config
RFC 9110; RFC 9457; RFC 8725Configuration and Feature Flag Service Design Template
Đầy đủDynamic config and feature flag service design: config as code, validation, targeting, sticky percentage rollout, host-agent fan-out, kill switches, audit
OpenFeature specification v0.9.0Rate Limiter System Design Template (Reference Design)
Đầy đủDistributed rate limiter: token bucket vs window algorithms, atomic Redis scripts, multi-region shares, 429 headers, fail-open
Content Delivery Network System Design Template
Đầy đủDNS, anycast and steering, edge and shield hierarchy, pull and proactive fill, tag purge, TLS at edge, ISP appliances, cache keys, observability
RFC 9111; RFC 9213; RFC 9211; RFC 5861Job Scheduler System Design Template (Reference Design)
Đầy đủDistributed scheduler: cron, delayed and one-off jobs, leases and visibility timeouts, fencing, idempotent handlers, retries, DLQ
Workflow Orchestration Engine System Design Template
Đầy đủDurable workflow engine design: event history and replay, deterministic code, activities, timers, task queues, retries, versioning, visibility, history sharding
Webhook Delivery System Design Template
Đầy đủOutbound webhook platform design: at-least-once delivery, HMAC signing, per-endpoint queues, backoff and circuit breaking, ordering, replay, SSRF protection
Standard Webhooks v1.0.0; OWASP SSRF Prevention Cheat SheetZanzibar-Style Authorization Service System Design Template
Đầy đủRelationship-based authorization service: relation tuples, namespace config, Check/Expand/List/Watch APIs, consistency tokens, caching, sharding, failure modes
Zanzibar (USENIX ATC 2019); OpenFGA and SpiceDB conceptsIdentity Provider and SSO System Design Template
Đầy đủOIDC/OAuth 2.0 IdP: code flow with PKCE, token lifecycle, refresh rotation, key rotation and JWKS, sessions, MFA and passkeys, recovery, multi-tenant
OpenID Connect Core 1.0 (errata set 2); RFC 9700; NIST SP 800-63-4; WebAuthn Level 3