Rahul Sharma (Editor)

Broker pattern

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

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.

Contents

Context

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

  • 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

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

    References

    Broker pattern Wikipedia