Part of Microservices Recipes - The Architect's Field Guide (free, open since 2017): Read online - GitHub repo
The Khan Microservice Granularity Pattern

Is this boundary a microservice, or a distributed monolith?

Fulcrum & the RVx Index: measure it, don't argue it.

A quantitative, governed fitness function for microservice boundary granularity. It fuses runtime efficiency, evolutionary independence, and team cognitive load into one bounded, diagnostic score whose weakest component names the fix.

The problem

The Granularity Paradox

Splitting a system to reduce complexity often increases it: a boundary drawn in the wrong place turns an in-process call into a network call without removing the coupling that made the call necessary. You pay the full cost of distribution and get none of the benefit. That is a distributed monolith, and it usually looks fine on any single metric.

The granularity paradox: a monolith call chain versus the same chain split into a distributed monolith
A monolithic call chain (left) and the same chain cut into a distributed monolith (right): same coupling, now over the network.
The RVx Index

Three signals, one diagnostic score

No single layer sees a distributed monolith. RVx fuses three signals that live in three different data planes, at the unit of one boundary, so the failure that hides from each one alone becomes visible.

E

Kinetic Efficiency

From distributed traces: useful work divided by total transaction time. Low E means the boundary is chatty and network-bound.

S

Semantic Distinctness

From version-control co-change: 1 means the two sides evolve independently; 0 means they always change together.

L

Cognitive Load

Static complexity normalized against team capacity, Conway's Law made measurable. Can the owning team actually hold it?

RVxraw = ( E^β × S ) / ( L^α + ε )   →   RVx = RVxraw / (1 + RVxraw)

Interpreted against three bands: below 0.4 - distributed monolith 0.4-0.7 - at risk above 0.7 - optimal
(illustrative defaults, calibrated per domain). A low score's weakest component names the remedy.

Immersive lab

Step into a Fulcrum / RVx world

Built for people who know basic microservices. Each tab teaches in plain words, tells you what to watch, then runs the simulation with a live caption so the idea sticks.

Enter Immersive Lab ->

The named contributions

The Khan family

A small, coherent family of named ideas for governing microservice granularity. The borrowed primitives (coupling, cohesion, Conway's Law, sagas) are credited in the paper; what is new is the synthesis.

Law

Khan's Law of Service Granularity

A boundary is only as valuable as its weakest dimension. Distribution multiplies value when a boundary is efficient, independent, and ownable at once, and multiplies cost wherever any one fails.

Pattern

The Khan Microservice Granularity Pattern (Fulcrum)

The umbrella method: a sense-decide-actuate-verify loop that turns the RVx score into a governed, gated decision, from a pull-request advisory to a CI/CD fitness gate.

Metric

The RVx Index

The bounded, diagnostic composite of E, S, and L, with proved structural properties and a normalization that makes thresholds portable across systems.

Model

KM3: Khan Microservice Maturity Model

Applies RVx at portfolio scale so leadership can govern granularity across a whole estate, with an incident-freeze rule that keeps it an assessment, not a marketing ladder.

Score

Saga Complexity Score (SCS)

Turns the qualitative choreography-versus-orchestration choice into a repeatable score from transaction complexity, business risk, and cross-service interactions.

Extension

RVx-A & the Mirroring Corollary

The same three-signal form reinterpreted for AI-agent tool boundaries under the Model Context Protocol: an over-tooled agent is a distributed monolith of tools. Proposed, not yet validated.

Concept

The Granularity Paradox

Splitting to reduce complexity increases it when a boundary turns an in-process call into a network call without removing the coupling. Detectable only by reading all three signals together.

Definition

Operational definition of a microservice

A boundary earns the name when its value (the joint product of efficiency, independence, and ownability) clearly exceeds the distributed complexity it introduces; one that fails this is a distributed-monolith fragment in function.

Cost model

Distributed-Monolith Cost (DMC)

Prices the failure Khan's Law names, with a measurable core, the wasted transaction-time W = N × t × (1 − E), computed from the same traces as E, plus an illustrative dollar overlay.

Pattern (agentic)

Adaptive Tool Surfacing

Turn tool selection into a governed loop: keep the agent's context load below its collapse threshold by surfacing only the relevant tool subset per query, then verify by task success.

▶ Explore RVx, RVx-A, and SCS in the calculator →   -   ▶ Khan family simulations →

Complete novelty register (every named contribution)

The full set defined in Appendix E of the paper. The primitives it builds on (coupling, cohesion, Conway's Law, sagas) are prior work and credited; what is new is the synthesis.

IDContributionWhat it isWhere
LawKhan's Law of Service GranularityA boundary is only as valuable as its weakest dimension.Sec 3, App E.0
CorollaryKhan's Mirroring Corollary (agentic)An agent's reliability mirrors the structure of its tool surface.Sec 11.5, E.0
D1The Granularity ParadoxDecomposition that increases complexity by turning calls into network hops without removing coupling.Sec 3
D2The RVx IndexBounded, diagnostic composite of E, S, and L, with proved properties and portable thresholds.Sec 5
D3Soft weakest-link boundary scoringThe multiplicative form where a near-zero component collapses the score; proved.Sec 6, Prop 3
D4Operational definition of a microserviceValue exceeds distributed complexity, or it is a distributed-monolith fragment in function.Sec 5.8
D5The Fulcrum loopSense-decide-actuate-verify governance that turns the score into a gated decision.Sec 8
D6Saga Complexity Score (SCS)Quantifies the choreography-versus-orchestration choice for a transaction.Sec 9
D7KM3: Khan Microservice Maturity ModelApplies RVx at portfolio scale to govern granularity across an estate.Sec 10
D8Distributed-Monolith Cost (DMC)Prices the failure Khan's Law names; measurable wasted-time core plus dollar overlay.Sec 18.5
D9The Khan Microservice Granularity PatternThe umbrella method under which D2-D8 compose (a.k.a. Fulcrum).App E.1
D10RVx-A and its reinterpreted signalsThe three-signal form for AI-agent / MCP tool boundaries (proposed).Sec 11.5
D11Model-tool mirroring hypothesisConway's Law generalized from teams to models (conjecture).Sec 11.5
D12Verified Agentic Action patternPropose action + declared effect, verify actual against declared, commit only on pass (proposed).Sec 11.6
D13Adaptive Tool Surfacing (+ tool-boundary gating, KM3-A)Governed retrieval that keeps agent context load below the collapse threshold (proposed).Sec 11.7

Guidance for applying each is in the paper section shown, and the practitioner one-pager; how to measure E, S, and L is built into the calculator.

Governance

Sense, decide, actuate, verify

Fulcrum is a closed loop: sense the three signals per boundary, decide against a calibrated band, actuate as an advisory or a safety-gated change, and verify the effect before it is trusted. It runs as a fitness function in CI/CD, so new distributed monoliths are caught before they ship.

The Fulcrum sense-decide-actuate-verify governance loop
Real-AWS validation: AUC per domain and cross-domain robustness
Evidence

Deployed-benchmark evidence on AWS

On a replicated 36-boundary AWS Lambda estate (paper Sec 12.11, five replications), each signal tracked its own independent outcome (E↔latency, L↔cost, S↔errors), and a fused composite was the most robust scorer across domains. That is construct-validity evidence on a deployed benchmark; the paper’s organic-production study is specified but not yet run, and this benchmark does not substitute for it. The harness is open-source and reproducible.

Figures

From paradox to measured mechanism

Key diagrams from the research. Open the calculator to score your own estate against the same math.

RVx measurement pipeline
How E, S, and L are measured and fused into RVx.
Distributed-Monolith Cost
Distributed-Monolith Cost (DMC): price the wasted transaction time.

Score your own boundaries now

Move three sliders, or paste your services as name,E,S,L and rank them. All math matches the paper. No install, runs in your browser.

Open the RVx calculator →
Read & cite

The paper

Fulcrum: Quantitative, Governed Granularity for Microservice Boundaries with the RVx Index. Viquar Khan, 2026. ORCID 0009-0008-3592-4162.

arXiv (link coming soon)   -   Code & reproduction on GitHub   -   Practitioner one-pager

Provenance. This is the rigorous research treatment of ideas the author has developed openly since 2017 in the free field guide Microservices Recipes - The Architect's Field Guide (read online - GitHub), where Fulcrum appears as the Adaptive Granularity Governance chapter.