Distributed system design patterns
DISTRIBUTED-SYSTEMSSYSADMIN
From The practice of cloud system administration.
These are the three patterns:
- Load balancer with replicated backends
- LB forwards query to backend server.
- Backend server are replicated, so any backend should give the same response for a certain query.
- Round-robin or slow start algorithm to assign traffic.
- Server with multiple backend
- Server receives a query and then forward it to different components.
- The components all send their responses and then combine it to form the response the user gets.
- Server tree
- Root receives the full query and forwards eat to leaf nodes.
- Each leaf node works on the query.
- It allows for parallel searching of a large corpus of data for example.