Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

Runtime View

Representative BookWorm runtime scenarios across commerce, discovery, customer feedback, and platform operations.

Architecture

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.

ScenarioTriggerKey Building BlocksPrimary Quality Goal
Checkout and Order CoordinationCustom DocCheckout and Order CoordinationCheckout creation and asynchronous basket and email coordination.Ownercommerce-fulfillment-teamOpen docCustomer submits checkoutCommerce, API Gateway, Ordering API, Basket API, Catalog API, Finance, NotificationConsistent 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 docCatalog write or scheduled batch triggerCatalog API, PostgreSQL, Scheduler, Catalog Ingestion, Microsoft Foundry, QdrantFresh 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 docFeedback is created or deletedRating API, Catalog API, Kafka BrokerAccurate derived ratings with recoverable invalid references
Conversational Book DiscoveryCustom DocConversational Book DiscoveryRouting, grounding, privacy, and response generation for a chat turn.Ownerai-capabilities-teamOpen docCustomer submits a chat turnStorefront, Chat API, Microsoft Foundry, Presidio, MCP Tools, Rating APISafe, grounded, low-latency guidance
Notification Delivery and MaintenanceCustom DocNotification Delivery and MaintenanceEmail delivery attempts and scheduled platform maintenance.Ownerplatform-engineering-teamOpen docFinance publishes an email command or a scheduled job startsFinance, Notification, Scheduler, Catalog Ingestion, Kafka BrokerReliable delivery attempts and predictable maintenance