Monomer can solve our business problems in the early stage, but with the growth of users, equipment and concurrency, it is not enough to support the whole business system. At this time, we must adopt the way of hardware + software to solve such problems. If the company has the money, it can solve the problem directly by upgrading the hardware (service configuration + bandwidth). However, most companies still want to save this part of the cost (Ali cloud and other cloud platform fees are really not cheap), so, to solve this problem from multiple angles, that is cost-effective. Columnar databases such as HBase are also applications that use a large amount of idle disk resources to store large amounts of data. In this way, we can use resources with good technology and cost performance to do things. Distributed, is to solve this problem, when your business can not support one, we will give you two, one person can not solve, two people should be enough. However, more people have solved the problem. You need a management layer to manage who handles what, like someone taking a leave of absence. You have to substitute another person, otherwise, there’s no way to continue the process. Here is my understanding of distribution and clustering.
Distributed means to break down the business into steps, such as cooking, choosing, cooking, serving, and paying. Separate each part to do their own part of the business. Cluster: resemble move brick of, one person is not enough, I allocate you more several people, you are stem of same thing. In a broad sense, it is also distributed.Copy the code
What I do now. Net distributed framework is microservices.
Below I list the technology stack for microservices.
In the next period of time, I will present this framework and make progress together.
The whole point is, if a single unit can solve a problem, there’s no need to distribute, and if you can’t distribute, don’t distribute.
Distribution greatly increases the complexity of the system.