Home > Design Patterns > Proxy Capability
Proxy Capability

Proxy Capability (Erl)

How can a service subject to decomposition continue to support consumers affected by the decomposition?

Problem

If an established service needs to be decomposed into multiple services, its contract and its existing consumers can be impacted.

Solution

The original service contract is preserved, even if underlying capability logic is separated, by turning the established capability definition into a proxy.

Application

Facade logic needs to be introduced to relay requests and responses between the proxy and newly located capabilities.

Impacts

The practical solution provided by this pattern results in a measure of service denormalization.

Architecture

Service

Listen to the podcasts that accompany this site

Proxy Capability: By preserving the existing capability and allowing it to act as a proxy for the relocated capability logic, existing consumers will be less impacted.

By preserving the existing capability and allowing it to act as a proxy for the relocated capability logic, existing consumers will be less impacted.