Architecture Design Diagrams
One Word, Four Bounded Contexts
Trust boundaryCustomer means something different inside each context's model.
Context Map
C4 · ContextFulfillment's upstream contexts, and how it integrates with each.
Order Aggregate
StructureChanges go through the root, and other aggregates are referenced by id.
Offset and Cursor Pages Under an Insert
ChartAn insert shifts offset pages, while a cursor keeps its place.
N+1 Queries and Batching
FlowPer-order customer lookups, against one batched load through a DataLoader.
gRPC Communication Patterns
C4 · DynamicUnary, server streaming, client streaming, and bidirectional calls.
Balancing gRPC Connections and Calls
FlowConnection-level balancing pins each client to one pod.
gRPC from a Browser
FlowgRPC-Web or JSON transcoding translates to native gRPC before the service.
The OpenAPI Spec Pipeline
FlowBuild-time documents per audience, checked before the public one ships.
The Lost Update
C4 · DynamicClient A's full-state write silently overwrites client B's change.
Server-Side Apply Field Ownership
StructureEach field has a manager, and changing another manager's field is a conflict.
Tenancy Models
C4 · DeploymentSilo, pool, and the two bridge shapes, by what tenants share.
Deployment Stamps
C4 · DeploymentA router reads the tenant catalog and sends each request to its stamp.
Tenant Context Across Hops
FlowWhere the tenant ID lives at each hop, from token to database.
Agreed Risks on the Diagram
C4 · ContainerAvailability risks pinned to the parts they apply to.
Test Shapes
ChartPyramid, ice cream cone, trophy, and honeycomb, by where tests concentrate.
Consumer-Driven Contract Flow
FlowThe consumer publishes a pact, and the provider verifies it through a broker.
Tail Latency Under Fan-Out
FlowWaiting on 100 servers makes a 1% tail the common case.
Latency Against Utilization
ChartResponse time climbs steeply as a resource nears full use.
Why Scaling Out Isn't Linear
ChartContention caps throughput, and coherency costs can make it fall.
Routing Changes to a Review Level
FlowTwo questions send a change to self-service, peer, or board review.
TOGAF Architecture Development Method
FlowEight phases in a cycle, with Requirements Management at the center.
TCO Sensitivity to Staffing
ChartThe staffing assumption flips which option costs less over three years.
NPV Sensitivity and Break-Even
ChartNPV against annual benefit, crossing zero at the break-even value.
Found this useful? Share it:
Share on LinkedIn