STORE DOCS / DIAGRAMS
Single or multiple stores: independent sources Single or multiple stores: independent sources For independent sources, use multiple stores if caching or validation differs, error isolation matters, more sources are expected, or repository-level composition is feasible; otherwise use a single store. 02 / WHEN DATA SOURCES ARE NOT TIGHTLY COUPLED YES NO YES NO YES NO YES NO Do sources need different caching strategies or validation rules? Is independent error handling important? Do you anticipate adding more data sources in the future? Is combining data in the repository layer feasible? Use a single store Use multiple stores Question Outcome For independent sources, use multiple stores if caching or validation differs, error isolation matters, more sources are expected, or repository-level composition is feasible; otherwise use a single store.