1.0.0-rc.1 · Release Candidate2 min read
Data Stores
Understand what PostgreSQL, Redis, Meilisearch, and media storage own in the AutoCore architecture.
| Store | Authority or role | Recovery/consistency implication |
|---|---|---|
| PostgreSQL | Authoritative transactional records for installation, users, catalog, listings, policies, consent, payments, and audit | Data changes must be validated and persisted here before derived work is trusted. |
| Redis | Queue, cache, and short-lived coordination state where a module explicitly uses it | Loss can require requeue, cache rebuild, or fallback; it is not the marketplace record source. |
| Meilisearch | Derived listing document projection for text, filters, facets, and sorting | Drift or outage is handled through fallback/reindex concepts. |
| Media storage | Binary originals and generated objects behind a provider interface | Metadata and binary availability can diverge; processing and deletion require reconciliation. |
Search indexing flow
- PostgreSQL listing state changes.
- The API requests a search-document sync.
- The index service maps safe listing facts into a flat document.
- Meilisearch updates or removes the projection.
- Public search uses the projection when healthy and PostgreSQL when degraded.
Media processing flow
- A validated upload creates or updates a media metadata record.
- The image service cleans orientation and metadata and generates variants.
- The storage provider persists the original and derivative objects.
- The record becomes ready or retains a failed processing state.
- Listing/dealer surfaces consume approved public variants only.
No production bucket, index name, database URL, or host identifier belongs in this public architecture page.
Related articles
Media DomainUnderstand AutoCore media assets, processing states, variants, ownership, storage, and failure boundaries.Search and IndexingLearn how AutoCore uses PostgreSQL as truth and Meilisearch as a derived public search projection.System OverviewRead the source-verified AutoCore system context and responsibility boundaries.Background ProcessingUnderstand AutoCore queue, Worker, indexing, media, notification, and scheduled-processing boundaries.