Single Worker — Everything Coupled
Payments Team
Blast Radius
PaymentStarter
Client — starts workflows
PaymentProcessingWorkflow
Workflow — orchestrates steps durably
validatePayment
Activity — checks amount & accounts
executePayment
Activity — calls payment gateway
⚠️ Compliance (tightly coupled)
ComplianceActivity
Activity — compliance check (same worker!)
ComplianceChecker
Rule engine — deterministic risk assessment
NEXUS
durable RPC
Compliance Team
Blast Radius
ComplianceNexusServiceImpl
Nexus handler — receives cross-team calls
ComplianceChecker
Rule engine — deterministic risk assessment
👆
Click any component to learn what it doesToggle Monolith / Nexus to see the architecture change,
then use Next Step to walk through the flow.