System of Record vs Derived Data

System of Record vs Derived Data An architecture diagram generated by Archify. Users · web / mobile · Architecture component Users web / mobile API Service · stateless handlers · Architecture component API Service stateless handlers System of Record · PostgreSQL primary · Architecture component · source of truth System of Record PostgreSQL primary source of truth Change Capture · update log, events · Architecture component · propagates changes Change Capture update log, events propagates changes Cache · Redis read-through · Architecture component · derived Cache Redis read-through derived Search Index · full-text queries · Architecture component · derived Search Index full-text queries derived Materialized Views · precomputed aggregates · Architecture component · derived Materialized Views precomputed aggregates derived BI Analysts · dashboards, reports · Architecture component BI Analysts dashboards, reports HTTPS SQL writes CDC events cache lookup search query refresh / evict index update recompute queries Legend Backend Database Message bus External