Search papers, labs, and topics across Lattice.
The paper introduces configuration-driven dynamic API routing, a system designed to enhance resilience in service integrations by dynamically selecting API providers based on real-time telemetry and configurable policies. It uses factor lists comprising hard gates and weighted scoring functions that evaluate providers based on metrics like latency, cost, and incident signals. The system's efficacy is demonstrated through an SMS verification case study, showing automated routing based on completion-rate telemetry replacing manual vendor switching.
Stop hardcoding your API vendor selection: this dynamic routing architecture lets you adapt vendor selection at runtime based on real-time metrics and policies, without redeploying applications.
Modern online services rely on third-party APIs for authentication, payments, communication, identity verification, fraud detection, observability, and fulfillment. These dependencies are outside the direct operational control of the application owner and may experience regional outages, throttling, latency spikes, quota exhaustion, or behavior changes that surface as user-visible failures. This paper presents configuration-driven dynamic API routing, an architecture for resilient third-party service integration based on pluggable factor lists, real-time telemetry, circuit breakers, bulkhead isolation, and a closed-loop decision engine. A factor list defines operation-specific hard gates and weighted scoring functions that evaluate candidate providers using live metrics, regional policy constraints, quota state, latency, cost, and incident signals. The router separates routing policy from application code, allowing operators to adapt vendor selection at runtime without redeploying applications. We formalize the factor-list model, describe a request-time routing algorithm, present the event pipeline that computes sliding-window provider health metrics, and analyze failover behavior under degraded-provider scenarios. We also describe an anonymized SMS verification case study in which manual vendor switching was replaced by automated routing driven by completion-rate telemetry.