Broker Pattern - Send Requests To The Correct Worker
Episode 6 of the Develpreneur: Become a Better Developer and Entrepreneur podcast, hosted by Rob Broadhead, titled "Broker Pattern - Send Requests To The Correct Worker" was published on January 20, 2022 and runs 15 minutes.
January 20, 2022 ·15m · Develpreneur: Become a Better Developer and Entrepreneur
Episode Description
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 us to have a flexible system for requests.
Stepwise Expansion of Services
Challenges
Similar Episodes
No similar episodes found.
Similar Podcasts
No similar podcasts found.