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

Read the architecture guide →

Internal Quartz-based platform system that persists schedules, coordinates recurring jobs, and dispatches background work without owning domain data.

Internal

System Purpose & Boundary

The Scheduler System coordinates recurring background job schedules and operational trigger inspection within the PlatformDomainv1.0.0PlatformProvides cross-cutting capabilities for recurring scheduled triggers and durable, idempotent transactional email notific...Ownerplatform-engineering-teamDiagramOpen docs domain. It serves Administrators monitoring and controlling job schedules while triggering downstream maintenance work in Product Catalog SystemSystemv1.0.0Product Catalog SystemInternal BookWorm system that owns catalog management, product discovery, and catalog search index ingestion within the ...Ownercatalog-experience-teamDiagramOpen docs and Notification SystemSystemv1.0.0Notification SystemInternal platform system that consumes order commands, renders email templates, and submits messages over SMTP. Ownerplatform-engineering-teamDiagramOpen docs. Owning domain business tables, executing search-index mutations directly, and storing credentials or business payloads in job metadata are explicitly out of scope.

Note

A completed job firing in the Scheduler System confirms only that the trigger was dispatched—not that downstream business processing succeeded. Operators must verify target-side metrics (such as pending catalog vector updates) to confirm end-to-end completion.

Contained Capabilities

Service / AgentRole in SystemPrimary Data StoreInteraction Style (Sync / Async)
Scheduler ServiceServicev1.0.0Scheduler ServiceSingle-host Quartz.NET job execution engine and operational dashboard UI for scheduling recurring platform jobs and insp...PublishesProcessVectorBatchIntegrationEventAPIsAsyncAPIOwnerplatform-engineering-teamDiagramRepositoryOpen docsExecutes durable UTC cron schedules, persists execution history, publishes batch triggers via outbox, and exposes an admin operator dashboardScheduler DatabaseContainerv1.0.0Scheduler DatabaseAuthoritative PostgreSQL database owned by the Platform bounded context for Quartz.NET job definitions, cluster locks, e...Ownerplatform-engineering-teamDiagramOpen docsAsync (Kafka publisher) & Sync (Admin UI)

External Interactions & Trust Boundaries

System Visualizations

System Context

Component Topology

Architecture Decisions

Architecture Decision Records (5)

Decisions that apply to this Scheduler System. Search, filter by status, or sort by clicking a column.
Summary
ADR-004: Let Scheduler trigger Notification-owned maintenance batchesSupersededNov 1, 2026Scheduler publishes hourly maintenance requests while Notification selects and processes bounded outbox batches and owns resend and cleanup outcomes.
ADR-001: Persist Quartz scheduling state in PostgreSQLAcceptedOct 27, 2026The Scheduler System uses PostgreSQL as the authoritative durable store for Quartz schedules, trigger state, coordination, and execution diagnostics.
ADR-002: Keep business ownership outside the SchedulerAcceptedOct 27, 2026The Scheduler System coordinates when work is attempted, while Catalog and Notification systems own validation, processing, business data, and final outcomes.
ADR-003: Make scheduled jobs misfire-aware and safe to repeatAcceptedOct 27, 2026Scheduled jobs use explicit misfire handling, bounded execution, and target-side idempotency so restarts, timeouts, and retries do not silently lose or duplicate business work.
ADR-004: Keep Scheduler credentials and sensitive payloads out of job stateAcceptedOct 27, 2026Scheduler credentials and sensitive downstream data are supplied through runtime configuration and excluded from Quartz metadata and routine telemetry.
  • Product IngestionFlowv1.0.0Product IngestionCatalog API persists product changes in PostgreSQL; Scheduler triggers Catalog Ingestion over Kafka every five minutes t...Ownercatalog-experience-teamView flowOpen docs — Scheduled catalog vector ingestion workflow.
  • Quartz scheduler schema referenceCustom DocQuartz scheduler schema referencePostgreSQL schema, keys, retention limits, and BookWorm job configuration for all 15 Quartz.NET 4.8.1 tables in schedule...Ownerplatform-engineering-teamOpen doc — Persistent scheduler schema reference.
  • domains/bookworm/subdomains/platform/guides/scheduled-work-and-email-notifications — Guide to scheduled platform work.