Architecture in Motion · Episode 016
Checkout workers spend time waiting on slow I/O; replacing them with virtual threads can simply move the queue to the database or payment provider.
Illustrative failure model. No live payment, broker, database, or JVM is connected. Counts and timelines are teaching values, not benchmark results.
Do virtual threads increase the provider’s payment capacity?
Use virtual threads for suitable blocking workloads while bounding downstream concurrency, deadlines, and waiting requests.
Every step describes a constructed scenario. These states do not replace load tests, fault injection, provider contracts, JVM recordings, or durable transaction checks. Previous and Reset rebuild the teaching state; they never roll back real business operations.