Anti-corruption layer pattern
by Luis Chavarriaga, Software Architect

Anti-corruption-layer
Reading Time: 2 minutes
  • Evolving implementations without sacrificing compatibility or efficiency
  • Discovering services may be easier through a middle layer
  • Centralized error handling in the middle layer
  • Moving and unifying communication, monitoring, security and interoperability responsibilities to a layer that does not interfere with legacy or new systems
  • The anti-corruption layer could add latency when processing calls and requests between systems.
  • The anti-corruption layer is a candidate to become another component to scale. It is important to consider the strategy to scale it in order to avoid decreasing performance.
  • Transaction processing and data consistency should be monitored.
  • Migration projects that need to connect legacy and new systems.