Information Technology Reference
In-Depth Information
The same is true for distributed systems. Every minute spent simplifying a design pays off
time and time again when the system is in operation.
1.3 Composition
Distributed systems are composed of many smaller systems. In this section, we explore
three fundamental composition patterns in detail:
• Load balancer with multiple backend replicas
• Server with multiple backends
• Server tree
1.3.1 Load Balancer with Multiple Backend Replicas
Thefirstcompositionpatternistheloadbalancerwithmultiplebackendreplicas.Asdepic-
ted in Figure 1.1 , requests are sent to the load balancer server. For each request, it selects
one backend andforwardstherequestthere.Theresponsecomesbacktotheloadbalancer
server, which in turn relays it to the original requester.
Figure 1.1: A load balancer with many replicas
The backends are called replicas because they are all clones or replications of each oth-
er. A request sent to any replica should produce the same response.
Search WWH ::




Custom Search