4 ms·
Our architecture is a hub and spoke. Each executable maps data from an external source to a common domain model stored in Mongo we use a central api as the hub
by scarface74 9y ago
Our architecture is a hub and spoke. Each executable maps data from an external source to a common domain model stored in Mongo we use a central api as the hub that guarantees a consistent write model and validates the model based on MSs data annotation attributes. We create a corellation Id that tracks it between input and output (another executable). We use Serilog for structured logging. The hub Also publishes an event when the model changes.