Skip to main content

Version: 3.8.x

Data Plane Resilience Overview

Resilience refers to a system's ability to withstand and recover from failures, disruptions, or unexpected events.

Consider situations where Data Plane (DP) nodes are unable to communicate with the Control Plane (CP). Potential causes include:

  • Poor network connectivity between DP and CP instances
  • CP database crash
  • CP upgrade
  • Resource contention on the CP host
  • CP host hardware failure

In this chapter, you will learn how to implement the data plane (DP) resilience pattern, such that when the control plane (CP) becomes unavailable, the DP instances can still operate normally. This helps you formulate a disaster recovery plan and quickly resume mission-critical functions when the control plane (CP) becomes unavailable, ensuring the high availability of your system.

DP Resilience Pattern

API7 offers a fallback CP feature that helps you implement DP resilience, where a backup gateway node exports the latest CP-derived configuration to external storage. When the CP cannot be reached, traffic gateway nodes fetch the configuration from the external storage.

info

Backup gateway nodes do not expose HTTP or HTTPS ports to handle API traffic. They are not counted toward the API7 Enterprise license limit.

The following diagram illustrates the normal operation, where the Control Plane (CP) pushes configuration to traffic gateway nodes and the backup gateway node, and the backup node periodically exports the configuration to external storage:


During the fallback operation, traffic gateway nodes fetch configuration from external storage when the Control Plane (CP) cannot be reached:


The fallback CP feature supports Azure Blob Storage and AWS S3 as external storage backends.

API7.ai Logo

The digital world is connected by APIs,
API7.ai exists to make APIs more efficient, reliable, and secure.

Sign up for API7 newsletter

Product

API7 Gateway

SOC2 Type IIISO 27001HIPAAGDPRRed Herring

Copyright © APISEVEN PTE. LTD 2019 – 2025. Apache, Apache APISIX, APISIX, and associated open source project names are trademarks of the Apache Software Foundation