Broker Pattern

From Wikipedia, the free encyclopedia
Jump to: navigation, search

The Broker architectural pattern can be used to structure distributed software systems with decoupled components that interact by remote service invocations. A broker component is responsible for coordinating communication, such as forwarding requests, as well as for transmitting results and exceptions.

Context[edit]

  • A system that consists of multiple remote objects which interact synchronously or asynchronously.
  • Heterogeneous environment.

Problems[edit]

  • Usually, there is a need of having great flexibility, maintainability and changeability when developing applications.
  • Scalability is reduced.
  • Inherent networking complexities such as security concerns, partial failures, etc.
  • Networking diversity in protocols, operating systems, hardware.

Solution[edit]

Separate system communication functionality from the main application functionality by providing a broker that isolates communication-related concerns.