- Building Microservices with .NET Core 2.0(Second Edition)
- Gaurav Aroraa
- 239字
- 2021-07-02 20:13:03
Master data
Handling master data is more about your personal choice and system-specific requirements. If you see that the master data is not going to change for ages and occupies an insignificant amount of records, you are better off with the configuration files or even code enumerations.
This requires someone to push out the configuration files once in a while when the changes do happen. However, this still leaves a gap for the future. As the rest of the system would depend on this one module, it will be responsible for these updates. If this module does not behave correctly, other parts of the system relying on it could also be impacted negatively.
Another option could be to wrap up the master data in a separate service altogether. Having the master data delivered through a service would provide the advantage of the services knowing the change instantly and understanding the capability to consume it as well.
The process of requesting this service might not be much different from the process of reading configuration files when required. It might be slower, but then it is to be done only as many times as necessary.
Moreover, you could also support different sets of master data. It would be fairly easy to maintain product sets that differ every year. With the microservice architecture style, it is always a good idea to be independent of any kind of outside reliance in future.
- 少兒人工智能趣味入門:Scratch 3.0動畫與游戲編程
- JavaScript從入門到精通(微視頻精編版)
- OpenDaylight Cookbook
- GeoServer Cookbook
- 大學計算機基礎實驗教程
- Learning ArcGIS Pro 2
- Arduino開發實戰指南:LabVIEW卷
- 跟小海龜學Python
- C語言程序設計教程(第2版)
- 從0到1:HTML+CSS快速上手
- Android開發案例教程與項目實戰(在線實驗+在線自測)
- C++ Application Development with Code:Blocks
- Practical Microservices
- Android Studio開發實戰:從零基礎到App上線 (移動開發叢書)
- 用Python動手學統計學