Micro service decentralized data management
Decentralization is a form of social relations and content proction formed in the development of the Internet. It is a new type of network content proction process relative to "centralization"
decentralizing is not to do without the center, but to let the nodes freely choose and decide the center. In short, centralization means that the center determines the node. The node must depend on the center, and the node cannot survive without the center. In a decentralized system, anyone is a node, and anyone can be a center. Any center is not permanent, but phased, and no center is mandatory for nodes
extended data:
in a system with many nodes, each node has a high degree of autonomy. Nodes can connect freely to each other to form a new connection unit. Any node may become the stage center, but it does not have the mandatory central control function. The influence between nodes will form nonlinear causality through the network. This open, flat and equal system phenomenon or structure is called decentralization
with the deepening of the interaction between subject and object, the constant balance of cognitive function and the continuous improvement of cognitive structure, the indivial can be released from the egocentric state, which is called decentralization
for your question, subtract the mean from each measurement.
From the perspective of Internet development, decentralization is the form of social relationship and content generation formed in the process of Internet development, and is a new network content proction process relative to "centralization"
compared with the early Internet (WEB 1.0) era, today's Internet (Web 2.0) content is no longer proced by professional websites or specific groups of people, but is the result of the joint participation and equal power of all Internet users. Anyone can express their views or create original content on the Internet to proce information together
with the diversification of network service forms, the decentralized network model becomes more and more clear and possible. After the rise of Web2.0, the services provided by Wikipedia, Flickr, blogger and other network service providers are decentralized. Any participant can submit content, and Internet users can create or contribute content together
since then, with the emergence of more simple and easy-to-use decentralized network services, the characteristics of Web2.0 have become more and more obvious. For example, the birth of services more suitable for ordinary Internet users, such as twitter and Facebook, has made it easier and more diversified to proce or contribute content to the Internet, thus enhancing the enthusiasm of Internet users to participate in the contribution and recing the threshold of procing content. Eventually, every netizen becomes a tiny and independent information provider, making the Internet more flat and content proction more diversified
from the perspective of astronomy, decentralization refers to the fact that the universe has no center, that is, a boundless mass without a central point

compared with the early Internet (WEB 1.0) era, today's Internet (Web 2.0) content is no longer proced by professional websites or specific groups of people, but is the result of the joint participation and equal power of all Internet users. Anyone can express their views or create original content on the Internet to proce information together
with the diversification of network service forms, the decentralized network model becomes more and more clear and possible. After the rise of Web2.0, the services provided by Wikipedia, Flickr, blogger and other network service providers are decentralized. Any participant can submit content, and Internet users can create or contribute content together
since then, with the emergence of more simple and easy-to-use decentralized network services, the characteristics of Web2.0 have become more and more obvious. For example, the birth of services more suitable for ordinary Internet users, such as twitter and Facebook, has made it easier and more diversified to proce or contribute content to the Internet, thus enhancing the enthusiasm of Internet users to participate in the contribution and recing the threshold of procing content. Eventually, every netizen becomes a tiny and independent information provider, making the Internet more flat and content proction more diversified
from the perspective of astronomy, decentralization refers to the fact that the universe has no center, that is, a boundless mass without a central point.
centralization is first reflected in diversification. In the Internet world, there are no more than several portals has the final say. Various websites have begun to voice their own voice, express different choices and different hobbies, and these websites are distributed in every corner of the Internet world. Br > decentralisation is followed by the centralization of people, and decentralisation of content has become a trend, and people have become the key force to determine the survival of websites. It's a great change to build a website with indivials who lack interaction to gather talents and contribute their wisdom in the form of a circle. That is user-oriented, humanized< < br > decentralized content: < br > decentralization is the form of social relationship and content generation formed in the development of the Internet, which is a new network content proction process relative to "centralization"< Br > compared with the early Internet (Web1.0) era, today's Web (Web2.0) content is no longer proced by professional websites or specific groups of people, but is created by all Internet users with equal rights. Anyone can express their views or create original content on the Internet to proce information together< Br > with the diversification of network service forms, the decentralized network model is becoming clearer and more possible. After the rise of Web2.0, the services provided by Wikipedia, Flickr, blogger and other network service providers are decentralized. Any participant can submit content, and Internet users can create or contribute content together< After that, with the emergence of more simple and easy-to-use decentralized network services, the characteristics of Web2.0 became more and more obvious. For example, the birth of services more suitable for ordinary Internet users, such as twitter and Facebook, made it easier and more diversified to proce or contribute content to the Internet, thus enhancing the enthusiasm of Internet users to participate in the contribution and recing the threshold of procing content. Eventually, every netizen becomes a tiny and independent information provider, making the Internet more flat and content proction more diversified.
Decentralization: no server, no domain name and no app. The DAPP browser of the third-party Ethereum (ETH) wallet is the entrance, such as coin safety wallet, am wallet, wheat wallet, etc. DAPP can only be read in the block browser< 2. Essential difference:
centralization:
1. The mode and data are stored in the server, which can be modified at will and the outflow of funds can be controlled
2. Financial data cannot be disclosed to investors. Bonus is the financial personnel unified settlement
3. It is possible and feasible to circle money and run away<
Decentralization:
1. The whole business model relies on the automatic execution of eth smart contract, which is separated from human management
2. Financial transparency and bonus block settlement
3< Third, the security of personal information and funds:
centralization:
1. Declaration needs: name, telephone number, ID card, bank card and other information, which is dangerous to disclose personal information
2. The funds are stored in the bank card or centralized wallet of the project party, when the funds enter the site & gt; When the entry funds are decentralized:
1. Without any personal data, it is the ETH wallet address as the identification
2. The funds are stored in the contract wallet address of eth. No indivial or organization can transfer Ethereum. No matter how the funds change, the possibility of money entrapment is eliminated< 4. Bubble and risk analysis
centralization:
1. Development and operation cost 10% - 20%
2. Company profit 30% - 80%
3. Market allocation 10% - 50% as static and dynamic bonus<
Decentralization:
1. No development and operation costs
2. The profit of the technical side is 3%
3. The market allocation ratio is 97% as the static and dynamic bonus
to sum up, centralized projects are bound to die out, and decentralized projects will win the hearts of the people!
Foreword
microservice is a very popular technical framework at present. Through the miniaturization and atomization of services and the elastic scalability and high availability of distributed architecture, the loose coupling between services, the flexible adjustment and combination of services and the high availability of the system can be realized. It provides a good basic platform for business innovation and business continuity. This paper shares the design ideas and key points of the data architecture under this technical architecture. This paper includes the following contents
< UL >multi tier data architecture design in microservice technology framework Sub data and data decoupling
point 3: sub database and sub table
point 4: multi source data adaptation
point 5: multi source data cache
point 6: Data Mart
for easy understanding, this paper uses a simplified sales model to explain, as shown in the figure below. Figure 1 shows the relationship between customer, seller, commodity, pricing and order (other elements such as payment and logistics are omitted here)
Figure 1 sales model
in this sales model, the seller provides the goods, sets the price, the customer chooses the proct to purchase, and forms the sales order. According to the concept design of micro service, it can be divided into customer service, seller service, commodity service, pricing service, order service, and public service (such as authentication, authority, notification, etc.), as shown in Figure 2
Figure 9 data cache
key point 6: Data Mart
data mart is a big topic. When the existing data can't be used for business simply through several tables data association and simple processing, we need to consider building a data mart. Data mart analyzes the processing data from the perspective of data utilization. After a series of data operations such as importing, cleaning, processing and view making of multi-source data, it provides available and stable data sources for business. For example, in sales analysis, the concept of data mart should be used for multi-dimensional analysis, such as what kind of customers like what kind of goods, the impact of price on sales amount, and the relationship between sales amount and regional date, as shown in Figure 10
Figure 10 data mart
data carries information. Good data architecture design will make the business system more fluent, easier to understand and maintain. This paper just summarizes some experience in the actual project for you to share. If there are any deficiencies, please supplement and give us advice
< / UL >(this article is reprinted to gitchat technology talk)
