Reviews and ratings
How the Reviews domain accepts, moderates, publishes and aggregates product feedback.
Reviews & RatingsDomainv1.0.0Reviews & RatingsThe Reviews & Ratings domain owns customer feedback on products — how reviews are submitted, moderated, published and ag...Ownerreviews-platformDiagramOpen docs owns customer feedback on products. Unlike the other domains, it is modelled directly with services and data stores rather than nested systems.
Domain map
Services
Review APIServicev1.0.0Review APIThe public-facing API for product reviews. Accepts review submissions, serves published reviews, and is the entry point ...Publishesreview-submitted, review-flagged +1Subscribessubmit-review, flag-review +2Ownerreviews-platformDiagramRepositoryOpen docs accepts review commands and serves product reviews. It writes to Review DatabaseContainerv1.0.0Review DatabasePostgreSQL database that is the system of record for reviews and their moderation state.Ownerreviews-platformDiagramOpen docs and reads aggregate data from Rating CacheContainerv1.0.0Rating CacheRedis cache that serves each product's aggregate star rating with low latency.Ownerreviews-platformDiagramOpen docs.
Review Moderation WorkerServicev1.0.0Review Moderation WorkerAsynchronous worker that screens submitted reviews for spam, abuse and policy violations, then publishes or rejects them...Publishesreview-published, review-rejectedSubscribesreview-submitted, review-flaggedOwnerreviews-platformDiagramRepositoryOpen docs consumes Review SubmittedEventv1.0.0Review SubmittedPublished when a customer submits a review. The review is stored but not yet visible — it awaits moderation. Ownerreviews-platformSchemaDiagramOpen docs and publishes either Review PublishedEventv1.0.0Review PublishedPublished when a submitted review passes moderation and becomes visible on the storefront. Ownerreviews-platformSchemaDiagramOpen docs or Review RejectedEventv1.0.0Review RejectedPublished when a submitted review fails moderation (spam, abuse or policy violation) and will not be shown. Ownerreviews-platformSchemaDiagramOpen docs.
Rating AggregatorServicev1.0.0Rating AggregatorKeeps each product's aggregate star rating up to date as reviews are published, and serves it fast from a cache. Publishesrating-updatedSubscribesreview-publishedOwnerreviews-platformDiagramRepositoryOpen docs reacts to published reviews and updates the product rating model, publishing Rating UpdatedEventv1.0.0Rating UpdatedPublished when a product's aggregate rating changes as a result of a newly published review. Ownerreviews-platformSchemaDiagramOpen docs.
Core entity
ReviewEntityv1.0.0ReviewA customer's review and rating of a product, including its moderation lifecycle.Ownerreviews-platformOpen docs is the central aggregate. It moves from submitted to moderated to published or rejected.
Customer interactions
Customers can submit, flag and vote on reviews:
- Submit ReviewCommandv1.0.0Submit ReviewCommand issued by a customer to submit a review and rating for a product. Ownerreviews-platformSchemaDiagramOpen docs
- Flag ReviewCommandv1.0.0Flag ReviewCommand issued by a customer or moderator to flag a published review for re-moderation. Ownerreviews-platformSchemaDiagramOpen docs
- Vote Review HelpfulCommandv1.0.0Vote Review HelpfulCommand issued by a customer to mark a published review as helpful (or remove their vote). Ownerreviews-platformSchemaDiagramOpen docs
- Get Product ReviewsQueryv1.0.0Get Product ReviewsQuery to fetch the published reviews and aggregate rating for a product. Ownerreviews-platformSchemaDiagramOpen docs
Product impact
Reviews influence product discovery and conversion, but they do not own product data. Product identity remains in CatalogDomainv1.0.0CatalogThe Catalog domain owns everything about products — how they are created, maintained and made discoverable across Acme I...Ownerproduct-platformDiagramOpen docs, while review state remains in Reviews.