PostgreSQL C3 Relationships
PostgreSQL C3 already contains eight application clients and five databases. Restore nine dependencies: combined read/write access, separate writes and reads, and a batch load.
Starting Diagram
All thirteen objects are in place, but their dependencies are hidden. The catalog restores existing relationships without creating duplicates.
Relationship Catalog
Select Add: Relationship. Each dependency name describes a stable interaction
mode, while the specific operation remains in its description.
Read and Write
Begin with the four dependencies named Reads and writes data: one each for
the online catalog, authentication service, Backend, and notification
administration service.
Write Data
Add the order processor's write to OrdersDB and the notification orchestrator's write to CommunicationDB. Both arrows run from application to data store.
Read Data
Select the separate order read and the reporting service's communications read. Order processor and OrdersDB now have two distinct relationships: read and write.
Batch Load
The final dependency connects Inventory ETL worker to CatalogueDB. Batch loading has a different execution and operational profile from ordinary writes, so it receives its own name.
Add the Relationships
Select Add. SysCraft draws nine dependencies from eight application components
to five databases.
Result
PostgreSQL C3 is complete: thirteen objects and nine precise relationships. An arrow represents a client's knowledge of a data store, not the direction in which returned data travels. Reads and writes are separated only when useful.
Timeline
00:00— PostgreSQL C3 without relationships00:08— Relationship catalog00:19— Read and write00:42— Write data00:58— Read data01:14— Batch load01:26— Adding relationships01:30— Complete topology01:34— Overview01:39— Result
Previous lesson: PostgreSQL C3 Clients and Relationships.
Next lesson: Your First Component Interface.