Retail

Customer, product, order and stock in one picture.

Retail answers questions across a transaction, a shelf and a warehouse at the same time, and it answers them while the store is open.

A stock-out explained from its own movement events, while the store is open.

The story

A stock-out explained from its own movement events, while the store is open.

Where it starts

Transactions and baskets

Sales lines, tenders, returns and channels as records. It is the first of 4 workloads running in Retail.

The question it raises

Availability with cause

A stock-out is read with its movement events and its transaction history in one request.

Why one question is hard

From Assort to Measure

Retail data moves through 4 stages — Assort → Supply → Sell → Measure. The shapes in play are SQL, Time series, Events, JSON / documents, and answering one question means reading across all of them.

What PLOMID contributes

Retail reads are transactional and analytical at once. These are the parts that let one system serve both.

  • One data layer Rows, documents and time-ordered events live in one system, so a question is asked once instead of once per store.
  • Time-ordered storage Measurements and events are stored beside the records and documents they describe, so history and current state agree.
  • Predicates narrow the work Indexes and access paths decide what a query touches before a page is read, so operational reads stay bounded.
The environment

Transactions, stock, stores, promotions and customer behaviour.

Point-of-sale transactions are records, stock movements are events, and footfall or sensor data is time-ordered. PLOMID holds them in one layer, so availability and assortment questions read from the operational source rather than a nightly extract.

The data journey

How retail data reaches one layer.

Walk the path the data takes, from the environment that produces it to the questions it answers. Select a station, or a shape, to read each step.

A stock-out explained from its own movement events, while the store is open.

Environment

The store

Sites, shelves and products, trading all day.

SQL

One environment · many workloads

What runs against retail data.

4 workload families over one set of shapes. Choose one to see what it moves and where it lands.

Sales lines, tenders, returns and channels as records.

  • Planned once against the layer, not once per store
  • Read beside the records it shares a key with
  • Persisted under one storage contract
Where the data goes to work

Questions customers force you to answer.

Each one spans the event and the record around it, answered from the same layer rather than joined by hand.

Availability with cause

A stock-out is read with its movement events and its transaction history in one request.

  • SQL

Promotion effect

Behaviour measurements and sales records share a layer, so an effect is computed rather than inferred.

  • Events
  • SQL

Store comparison

Aggregates over live transactions replace a reporting extract.

  • SQL
  • Time series

Returns and shrinkage

Returns are records and counts are events, held together so the difference is explainable.

  • Time series
  • JSON / documents
Workload architecture

From event to record.

The work, the shapes it names and the path a request takes — from the storefront to the warehouse.

Retail · workload architecture
Workloads

What runs against this data.

  • Transactions and baskets
  • Stock and movement
  • Store and product records
  • Behaviour measurements
Data models

The shapes those workloads read and write.

  • SQL
  • Time series
  • Events
  • JSON / documents
The layer

One path from a request to the data it names.

  • Planning Predicates narrow the work before it runs
  • Execution Records, fields and windows answered together
  • Transactions Readers and writers do not block each other
Surfaces

How the work reaches the layer.

  • SQL surface The query language the layer is documented in
  • Applications Services and jobs writing and reading as they run
  • Analytics & AI clients The same layer, the same access path
Data models in play

The shapes, in one layer.

4 shapes carry this domain. Choose a stage to read the operation, or a shape to see every stage that handles it.

PLOMID · Retail assort · supply · sell · measure Select a stage
Stage

Assort

Products, suppliers and price records

SQL

Workload map Retail workload map. Every shape on it is a surface of the layer, and each stage names the part of the operation it carries.
  • SQL Records, keys and joins
  • Time series Measurements and events in time order
  • Events Operational events as they happen
  • JSON / documents Documents and nested objects
Deployment & residency

Where this data is allowed to run.

Stores lose connectivity, so a local read path and a central record both matter.

Deployment, residency and control
What you build next

Transactional Systems

Application records with consistent reads and writes while reports run against them.

If Availability with cause is your question, start here.