Definition of distribution
A series of tasks are completed by multiple computers, and a service is divided into multiple subsystems, which are deployed on different servers
Problems to be solved in distributed systems:
1. Task breakdown
2. Node communication
Distributed and clustered
Distributed: A service is divided into multiple subsystems and deployed on different servers
Cluster: The same service is deployed on multiple servers
Distributed and microservices
The subtle difference between microservices and distribution is that the application of a microservice does not have to be spread across multiple servers. It can also be the same server running different services
Architecture Evolution process
1. First edition
2. Second Edition
The single machine load is increasing, and the database server is separated from the application server
3. Third Edition
Application servers are clustered
4. Fourth Edition
High-performance operations for databases
Fifth edition
Joining a Search cluster
Sixth edition
To solve the continuous increase of visits, introduce the caching mechanism (page caching + CDN)
7th Edition
Horizontal/vertical split of the database
Eighth edition
Service separation, microservitization