
Broker Pattern – Send Requests To The Correct Worker
The broker pattern may seem very similar to some others we have examined. However, it is more about distributed systems than balancing traffic. The pipe-filter and master-slave patterns provide single path processing. This pattern sends the requests down different paths based on the request itself. The Broker Pattern Defined A broker pattern is a sort of tree structure. We start with a client that makes a request to the broker. The broker assesses that request and then sends it to a server that can handle the request. Note that the selected server is not a candidate for load purposes as much as its services. The broker queries servers (or server report when they register) for services provided. This pattern allows... Read more