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

Read the architecture guide →

Authoritative Azure Blob Storage container owned by the Catalog bounded context for binary book cover images and media assets.

ObjectStoreazure-storage-accountResidency: eastasiaRetention: 10yAccess Mode: readWriteObject Storage

Purpose & Ownership Boundary

Catalog Blob Storage (catalog-blob) is the authoritative object store owned exclusively by Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs in the Catalog bounded context for binary book cover images. Object storage keeps large binary payloads out of Catalog DatabaseContainerv1.0.0Catalog DatabaseAuthoritative PostgreSQL system of record owned by the Catalog bounded context for books, authors, categories, publisher...Ownercatalog-experience-teamDiagramOpen docs, which stores only permanent blob URNs (books.image) while Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs mints short-lived, read-only Shared Access Signature (SAS) URLs on demand.

Data Store Profile

PropertyValue
Bounded Context / OwnerCatalog — Catalog Experience TeamTeamCatalog Experience TeamStream-Aligned team owning BookWorm's product catalog, customer reviews, and storefront/backoffice discovery experience....Open docs
Engine / TechnologyAzure Blob Storage (Azure Storage Account in cloud; Azurite emulator locally)
Store TypeObject Storage
Primary Writer(s)Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs
Primary Reader(s)Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs (SAS URL minting; clients fetch directly via SAS)
Authoritative / Source of TruthYes
Data ClassificationInternal
Retention / TTL Policy10 years (explicit delete on book/image removal; no automatic lifecycle TTL)

Logical Data Layout & Key Patterns

Container / Key PatternStored DataTTL / EvictionInvalidation / Update Trigger
catalog-blob / {uuidv7}-{safeName}{safeExt}Binary book cover images (image/jpeg, image/png, image/webp)10y retention; 1 hour default read-only SAS URL expiryExplicit deletion (including snapshots) on image replacement or BookEntityv1.0.0BookCanonical sellable title in the product catalog, encapsulating descriptive metadata, pricing, stock availability, taxono...Ownercatalog-experience-teamOpen docs removal.
URN reference (books.image in catalogdb)urn:{account}:catalog-blob:{blobName}Permanent until book/image is updated or deletedValidated on every read/delete to match target storage account and container.

Consistency, Isolation & Security Guardrails

  • No public blob access: Public container/blob access is disabled (AllowBlobPublicAccess = false); access requires Managed Identity RBAC (StorageBlobDataContributor) for Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs and HTTPS-only, read-only SAS URLs (User Delegation Keys in Azure, account-key SAS in local Azurite) for browser downloads.
  • Strict URN & overwrite protection: Uploads enforce non-empty allowed image MIME types, sanitize filenames ([a-zA-Z0-9._-], max 100 chars), and guard against accidental overwrites via If-None-Match: *. URN validation rejects path traversal (/, \, ..) or cross-account mismatches.
  • No cross-store distributed transaction: Because PostgreSQL and Blob Storage do not share a two-phase commit, a failed database transaction after upload can leave an unreferenced blob that requires periodic reconciliation against books.image.
Warning

Shared Storage Account Isolation: catalog-blob shares the Azure Storage Account with Chat Session Blob StorageContainerv1.0.0Chat Session Blob StorageAuthoritative Azure Blob Storage container owned by the Conversational bounded context for durable AG-UI multi-turn chat...Ownerai-capabilities-teamDiagramOpen docs (chatting-blob) and Azure Functions host storage. Services must use container-scoped references—Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs must never access chatting-blob, and external services must never read catalog-blob directly or persist expiring SAS URLs.

Operational & Resilience Notes

Architecture Visualizations

Loading graph...