Master data push, is it necessary?

The company's commodity system is studying how to carry out "master data push", which is to push commodity-related data information to other systems.

Roughly analyze, is this necessary?

 

-----------------------------------------

Push method: message, MQ

Push content: product information

Receiver: other systems that need to call product information

 

benefit:

1 The data of the commodity system has a redundancy in other systems. When other systems query commodity data, they can check themselves, which reduces the pressure on the commodity system. Redundancy may improve the query performance of its system for commodities.

   -- In this place, when you can't find the product, you should not check the product (whether it is remedied or not), otherwise the main data push will be of little significance, and the main data push will be full.

 

 

insufficiency

1 Need to develop, the commodity system needs to develop the "master data push" function

2. Its system needs to know the business of some commodities, and it needs to design a storage and query scheme for the master data pushed by the commodity system

3 What should I do if the data is inconsistent?

  -- 1 Don't worry about inconsistency, because it is pushed by message, we think the data is full

      2 is really inconsistent, there are pits, let's talk about it! !

 

Summarize:

1 It is too troublesome, you have to write code for both devices, and it is impossible for every system that depends on commodities to store commodity information

2 After the system receives the push to the main data, can it hit the commodity from its own redundant data? The amount of the commodity is very large, and the commodity system itself is a structure of sub-database and sub-table. If it cannot be hit from the cache , or the probability is very low, it is better to check the commodity system directly

3 After the system is vertically segmented, there will be more and more vertical applications, and the interaction between applications is inevitable. What we need is to extract the core business as an independent service, and gradually form a stable service center to enable front-end applications It can respond more quickly to changing market demands. Compared with the main data push, it can be service-oriented and optimize the performance of each service to the extreme. It seems to be a better choice.

 

Bring us to think

1 Commodities are not suitable for the main data push, other systems, such as the list of provinces and cities, may be suitable for the main data push in the system that relies on it, check the local

   These data structures are simple and the amount of data is small.

2 Master data push, the key is to identify what is "master data"

3 The amount of data is too large to manage

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327030046&siteId=291194637