Runtime View
Representative BookWorm runtime scenarios across commerce, discovery, customer feedback, and platform operations.
BookWorm combines synchronous request-response interactions for browsing and commands with asynchronous event-driven coordination for post-commit work. Bounded contexts own their state and publish facts or commands across Kafka; derived views and external side effects may therefore lag while retries, idempotency, and compensation preserve eventual consistency.
Runtime Overview
The overview distinguishes direct web and service calls from broker-mediated coordination and scheduled work.
Loading graph...
Scenario Index
These scenarios cover the highest-risk runtime boundaries: cross-service checkout, derived catalog state, review compensation, AI orchestration, and external delivery. They expose both state-changing transactions and independently retryable work.
| Scenario | Trigger | Key Building Blocks | Primary Quality Goal |
|---|---|---|---|
| Checkout and Order CoordinationCustom DocCheckout and Order CoordinationCheckout creation and asynchronous basket and email coordination.Ownercommerce-fulfillment-teamOpen doc | Customer submits checkout | Commerce, API Gateway, Ordering API, Basket API, Catalog API, Finance, Notification | Consistent order creation with bounded post-checkout coordination |
| Catalog Search Index MaintenanceCustom DocCatalog Search Index MaintenanceMaintaining the derived semantic search index after catalog changes.Ownercatalog-experience-teamOpen doc | Catalog write or scheduled batch trigger | Catalog API, PostgreSQL, Scheduler, Catalog Ingestion, Microsoft Foundry, Qdrant | Fresh and concurrency-safe search data |
| Feedback and Rating ProjectionCustom DocFeedback and Rating ProjectionPropagating review changes to catalog ratings and compensating invalid references.Ownercatalog-experience-teamOpen doc | Feedback is created or deleted | Rating API, Catalog API, Kafka Broker | Accurate derived ratings with recoverable invalid references |
| Conversational Book DiscoveryCustom DocConversational Book DiscoveryRouting, grounding, privacy, and response generation for a chat turn.Ownerai-capabilities-teamOpen doc | Customer submits a chat turn | Storefront, Chat API, Microsoft Foundry, Presidio, MCP Tools, Rating API | Safe, grounded, low-latency guidance |
| Notification Delivery and MaintenanceCustom DocNotification Delivery and MaintenanceEmail delivery attempts and scheduled platform maintenance.Ownerplatform-engineering-teamOpen doc | Finance publishes an email command or a scheduled job starts | Finance, Notification, Scheduler, Catalog Ingestion, Kafka Broker | Reliable delivery attempts and predictable maintenance |