Jump to content

Broker pattern: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m Typo/general fixes, replaced: a architectural pattern → an architectural pattern
No edit summary
Line 22: Line 22:


{{compu-prog-stub}}
{{compu-prog-stub}}

{{Design Patterns Patterns}}

{{DEFAULTSORT:Design Pattern (Computer Science)}}
[[Category:Software design patterns]]

Revision as of 11:45, 18 September 2022

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

Context

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

Motivation

  • 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.

See also