Markdown Editor

プラットフォーム基盤キット

共通基盤の設計:ゴールデンパス、APIゲートウェイ、設定とフィーチャーフラグ、レート制限、CDN、スケジューラ、ワークフロー、Webhook、認可、SSO。

ステップ 1

手法とパターン

  1. Platform Golden Path Specification Template

    標準

    Golden path spec: target users, stack, scaffolding, CI/CD, environments, observability and security defaults, Backstage catalog

  2. Resilience and Load Shedding Design Template (Retries, Circuit Breakers)

    フル

    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
ステップ 2

参照設計

  1. API Gateway System Design Template

    フル

    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 8725
  2. Configuration and Feature Flag Service Design Template

    フル

    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.0
  3. Rate Limiter System Design Template (Reference Design)

    フル

    Distributed rate limiter: token bucket vs window algorithms, atomic Redis scripts, multi-region shares, 429 headers, fail-open

  4. Content Delivery Network System Design Template

    フル

    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 5861
  5. Job Scheduler System Design Template (Reference Design)

    フル

    Distributed scheduler: cron, delayed and one-off jobs, leases and visibility timeouts, fencing, idempotent handlers, retries, DLQ

  6. Workflow Orchestration Engine System Design Template

    フル

    Durable workflow engine design: event history and replay, deterministic code, activities, timers, task queues, retries, versioning, visibility, history sharding

  7. Webhook Delivery System Design Template

    フル

    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 Sheet
  8. Zanzibar-Style Authorization Service System Design Template

    フル

    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 concepts
  9. Identity Provider and SSO System Design Template

    フル

    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