Payment Gateway Load Balancing via Anticipatory Routing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

E-commerce platforms face issues with payment gateways becoming overwhelmed, leading to time-outs, failures, and excessively long transaction completions, which can result in frustrated customers, failed sales, and potential erroneous double purchases or billing.

Innovation Solution

Implementing a method to anticipate and manage anticipated load events by identifying impacted payment gateways and proactively routing payment requests to alternative gateways with sufficient capacity, using a system that monitors gateway health and estimates potential load events based on merchant parameters and external data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If payment requests are routed to a single payment gateway, then the system is simple to operate, but the gateway becomes overwhelmed leading to time-outs and failures

Engineering Contradiction:
Improvepayment processing reliabilityVSAvoidgateway routing system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system segments payment request routing by dividing the single gateway into multiple gateway options. The load balancer divides payment requests into different segments and routes them to different payment gateways based on current load conditions, preventing any single gateway from becoming overwhelmed while maintaining operational simplicity through automated segmentation.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The load balancer acts as an intermediary between the e-commerce platform and multiple payment gateways. It receives payment requests from the platform, evaluates gateway availability and load conditions, and selectively routes requests to appropriate gateways. This intermediary layer shields the platform from gateway complexity while improving reliability through intelligent routing.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If the system monitors and routes to multiple payment gateways, then transaction success rate improves, but the system complexity increases

Engineering Contradiction:
Improvetransaction processing throughputVSAvoidload balancing system complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system performs preliminary actions by pre-evaluating payment gateway availability and load conditions before routing payment requests. The load balancer proactively monitors gateway status and maintains an updated view of gateway capacity, enabling it to route requests efficiently without complex real-time decision-making during transaction processing.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The load balancer implements feedback mechanisms by continuously monitoring payment gateway performance metrics, availability status, and load conditions. This feedback information is used to dynamically adjust routing decisions, ensuring high transaction throughput while managing system complexity through data-driven automation rather than manual configuration.

Inventive Principle:
Principle #23Feedback

3Loss of time

If payment requests are sent to overloaded gateways, then the routing process is fast, but transaction failures increase

Engineering Contradiction:
Improvepayment processing timeVSAvoidtransaction completion success
Core Design Contradiction:
Loss of timeVSReliability

Solution Approach 1:

The load balancer implements dynamic routing by continuously adapting payment request distribution based on real-time gateway load conditions. Rather than using static routing rules, the system dynamically adjusts which gateways receive requests based on current capacity, response times, and availability status. This dynamic approach prevents routing to overloaded gateways while minimizing processing delays through automated adaptation.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS11770342B2Methods and systems for gateway load balancing
Publication Date: 2023.09.26 SHOPIFY INC
  • US11770342B2 patent drawing
  • US11770342B2 patent drawing
  • US11770342B2 patent drawing

AI summary

Methods and systems for load balancing of payment requests among payment gateways by an e-commerce platform. The method may include detecting an anticipated load event and identifying a first payment gateway to be impacted by the anticipated load event, wherein a merchant account is associated with the first payment gateway. The platform may then identify, based on merchant parameters associated with the merchant account, a second payment gateway and, during the anticipated load event, transmit at least some payment requests first to the second payment gateway instead of to the first payment gateway.