stackbook.io
🔍

Frameworks

Reusable architectural frameworks for common system design problems. Each framework includes intent, problem forces, solutions, and cost profiles.

observability

Alerting Strategy Framework

Design alerts that notify humans only about symptoms needing action, with enough context to respond quickly.

View details →
operations

API Security Checklist Framework

Apply a consistent, testable set of security controls to every API based on common attack classes such as the OWASP API Security Top 10.

View details →
operations

Architecture Review Framework

Evaluate significant design decisions early through a lightweight, repeatable review that surfaces risks, alternatives, and tradeoffs.

View details →
resilience

Backpressure Implementation

Propagate capacity limits from slow consumers back to producers so systems slow down gracefully instead of exhausting memory.

View details →
deployment

Blue-Green Deployment Pattern

Release new versions by running two identical production environments and switching traffic between them instantly.

View details →
resilience

Bulkhead Framework

Isolate components of a system so that failure in one does not cascadingly fail the entire application, analogous to ship bulkheads preventing water from flooding the entire vessel. Partitions resources so that failure in one area cannot deplete shared pools needed by others.

View details →
resilience

Bulkhead Isolation Techniques

Contain failures by partitioning resources so that one overloaded dependency cannot exhaust capacity for everything else.

View details →
performance

Cache Invalidation Strategy

Keep cached data acceptably fresh while preserving the performance benefit of caching.

View details →
deployment

Canary Release Strategies

Expose a new version to a small slice of real traffic first so regressions are caught before they affect everyone.

View details →
data-consistency

CAP Theorem Practical Implications

Apply the CAP theorem to make deliberate, per-operation choices between consistency and availability during network partitions.

View details →
operations

Capacity Planning Framework

Forecast demand and size infrastructure with defined headroom so services meet objectives at acceptable cost.

View details →
resilience

Chaos Game Day Framework

Validate resilience and operational readiness by running planned failure exercises with hypotheses, guardrails and follow-up.

View details →
resilience

Circuit Breaker Advanced Patterns

Extend basic circuit breakers with adaptive thresholds, fallbacks, and coordination to protect systems from persistent downstream failure.

View details →
resilience

Circuit Breaker Framework

Prevent cascading failures in distributed systems by detecting when a downstream service is unhealthy and failing fast instead of blocking the entire call chain.

View details →
migration

Cloud Migration 6 Rs Framework

Choose a migration strategy for each workload from six options: rehost, replatform, repurchase, refactor, retire, and retain.

View details →
data-consistency

Consistency Model Selection

Match each data operation to the weakest consistency guarantee that still preserves correctness.

View details →
data-consistency

CQRS Adoption Framework

Separate write and read models only where their different needs justify the added complexity.

View details →
operations

Data Retention Framework

Keep data only as long as it has a defined legal, business, or operational purpose.

View details →
migration

Database Migration Framework

Move schemas and data to a new structure or platform with no downtime and a safe way back.

View details →
operations

Dead Letter Queue Handling

Isolate messages that repeatedly fail processing so that they neither block the pipeline nor get lost.

View details →
observability

Distributed Tracing Setup

Follow a single request across service boundaries to find where latency and errors originate.

View details →
operations

Domain-Driven Design Adoption Framework

Introduce domain-driven design incrementally so that software structure and team boundaries follow business domain models.

View details →
observability

Error Tracking and Monitoring

Capture, group, and prioritize application errors so teams fix the issues that matter before users report them.

View details →
data-consistency

Event Sourcing Adoption Framework

Decide whether and how to store state as an immutable sequence of events.

View details →
data-consistency

Eventual Consistency Strategies

Design systems that tolerate temporary divergence between replicas and converge reliably without blocking on coordination.

View details →
data-consistency

Exactly-Once Delivery Guide

Achieve exactly-once processing effects over unreliable at-least-once messaging.

View details →
operations

Failover Runbook Design

Structure failover procedures as clear, rehearsed, decision-driven runbooks that any on-call engineer can execute under pressure.

View details →
deployment

Feature Flag Management

Decouple deployment from release by controlling feature exposure at runtime through managed flags.

View details →
operations

FinOps Cost Optimization Framework

Manage cloud spend as an engineering concern by making costs visible, attributable, and continuously optimized.

View details →
deployment

GitOps Adoption Framework

Manage infrastructure and application delivery through declarative state in Git, reconciled continuously by automated agents.

View details →
resilience

Graceful Degradation Framework

Design features to fall back to reduced but useful behavior when dependencies fail, instead of failing completely.

View details →
deployment

Gradual Traffic Shifting

Move production traffic from an old version or system to a new one in controlled increments with verification at each step.

View details →
resilience

Health Check Strategy

Define liveness, readiness, and dependency checks that let orchestrators and load balancers route traffic only to instances that can serve it.

View details →
data-consistency

Idempotency Patterns

Ensure that repeating an operation produces the same effect as executing it once.

View details →
operations

Incident Response Framework

Provide a structured, role-based process for detecting, coordinating and resolving production incidents quickly and calmly.

View details →
resilience

Load Shedding Playbook

Deliberately reject low-value work during overload so that critical requests keep meeting their latency objectives.

View details →
observability

Log Retention and Cost Control Framework

Keep logs useful and compliant while bounding storage, indexing and ingestion cost through tiered retention and sampling.

View details →
resilience

Mastering Chaos Engineering

Build confidence in system resilience by running controlled experiments that inject real failures.

View details →
observability

Metrics Instrumentation Guide

Instrument services consistently with metrics that answer operational questions at controlled cost.

View details →
migration

Monolith Decomposition Framework

Break a monolith into independently deployable services in measured steps, guided by business boundaries and data ownership.

View details →
resilience

Multi-Region Failover

Keep a service available when an entire cloud region fails by shifting traffic and state to another region.

View details →
data-consistency

Multi-Tenant Data Isolation

Choose and enforce an isolation model that keeps each tenant's data separate and secure.

View details →
observability

Observability at Scale

Keep logs, metrics, and traces useful and affordable as systems and telemetry volume grow.

View details →
operations

On-Call Health Framework

Keep on-call rotations sustainable by measuring load, limiting toil and acting on signals of responder burnout.

View details →
data-consistency

Outbox Pattern Implementation Guide

Publish events reliably alongside database changes without distributed transactions.

View details →
performance

Performance Budgeting Techniques

Set explicit limits on latency, payload size, and resource use and enforce them throughout development.

View details →
performance

Performance Testing Framework

Verify that a system meets latency, throughput, and capacity goals through repeatable load, stress, soak, and spike tests tied to explicit targets.

View details →
operations

Blameless Postmortem Process

Turn incidents into durable organisational learning through a consistent, blameless review process with tracked follow-up actions.

View details →
deployment

Progressive Delivery Framework

Release changes gradually to growing audiences with automated analysis, limiting the blast radius of defects.

View details →
resilience

Queue-Based Load Leveling

Place a durable queue between producers and consumers so bursts are absorbed and the backend works at a steady, sustainable rate.

View details →
resilience

Rate Limiting Framework

Cap the request rate each client or tenant can consume so shared capacity stays fair and the service stays within safe limits.

View details →
deployment

Release Train Management Framework

Ship software on a fixed, predictable cadence so that coordination cost is paid once per train rather than once per feature.

View details →
performance

Request Hedging Guide

Cut tail latency by sending a duplicate request to another replica when the first is slower than expected.

View details →
resilience

Retry Budget Framework

Limit retries to a fixed fraction of normal traffic so that recovery attempts cannot amplify an outage.

View details →
resilience

Retry Pattern Best Practices

Recover from transient failures by retrying calls safely without amplifying overload.

View details →
operations

Runbook Authoring Framework

Write concise, tested runbooks that let any on-call engineer diagnose and mitigate a known problem under stress.

View details →
data-consistency

Saga Pattern Implementation

Coordinate multi-service business transactions through a sequence of local transactions and compensating actions.

View details →
data-consistency

Schema Evolution Framework

Change data and message schemas without breaking producers, consumers, or stored history.

View details →
operations

Secrets Rotation Framework

Limit the exposure window of leaked credentials by rotating secrets automatically on a defined schedule and on demand.

View details →
data-consistency

Sharding Decision Framework

Decide whether, when, and how to partition a database horizontally.

View details →
observability

SLO Definition Framework

Define measurable service level objectives that tie reliability work to what users actually experience.

View details →
migration

Strangler Pattern

gradually replace a legacy system by adding new functionality through new services rather than modifying the existing monolith, allowing the old system to slowly 'strangle' as new capabilities take over.

View details →
performance

Stream Processing Design

Design continuous data pipelines that stay correct under late, duplicate, and out-of-order events.

View details →
operations

STRIDE Threat Modeling Framework

Systematically identify design-level security threats by classifying them as Spoofing, Tampering, Repudiation, Information disclosure, Denial of service, or Elevation of privilege.

View details →
observability

Structured Logging Strategies

Emit logs as consistent, machine-readable events that can be searched, aggregated, and correlated.

View details →
operations

Technical Debt Prioritization Framework

Decide which technical debt to repay first by weighing business impact, risk, and cost of delay against remediation effort.

View details →
resilience

Timeout Configuration Strategies

Bound the time spent waiting on remote calls so slow dependencies cannot hold resources indefinitely.

View details →
resilience

Timeout and Retry Framework

Handle transient failures in distributed systems by implementing controlled timeouts and retry strategies that prevent cascading failures while respecting downstream service capacity.

View details →
deployment

Traffic Mirroring Framework

Copy live production requests to a candidate system to validate behavior and capacity without affecting real users.

View details →
migration

Zero-Downtime Database Migration Framework

Change database schemas or move data stores while the application keeps serving traffic, using backward-compatible, phased steps.

View details →
deployment

Zero Downtime Deployments

Release new versions without interrupting service by combining rolling updates, compatibility, and graceful shutdown.

View details →
operations

Zero Trust Adoption Framework

Move from perimeter-based trust to continuous verification of every user, device, and workload request.

View details →