Gateway Traffic Control for Platform Stability
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing development platforms lack efficient traffic control mechanisms, leading to resource imbalances and system instability due to excessive invocations by client applications, which can cause system failures.
Innovation Solution
A method and system that utilize a gateway to receive requests from client applications, acquire and enforce traffic control rules, and detect whether these rules are satisfied, admitting or rejecting requests to prevent excessive invocations and manage system resource consumption.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If client applications make multiple calls on internal applications without traffic control, then the functionality and versatility of the platform is improved, but resource distribution becomes imbalanced and system stability deteriorates
Solution Approach 1:
The gateway serves as an intermediary component between client applications and internal applications. It receives calls from client applications, checks traffic control rules, and decides whether to forward the calls to internal applications. This mediator prevents direct uncontrolled access while maintaining platform functionality.
Solution Approach 2:
The system performs preliminary action by checking traffic control rules before allowing internal applications to be invoked. The gateway pre-evaluates whether a client application is eligible to call an internal application based on configured rules (such as frequency limits or patterns), and only allows the call if it passes the check.
2Reliability
If traffic control rules are implemented to prevent excessive calls, then system stability is improved, but device complexity increases
Solution Approach 1:
The gateway performs multiple functions: it acts as a traffic controller, a rule evaluator, and a call router. By consolidating these functions in a single component, the system achieves stable resource distribution without requiring complex distributed control mechanisms across multiple services.
Solution Approach 2:
The gateway implements self-service by autonomously evaluating traffic control rules and making decisions about call authorization without external intervention. It maintains its own state for tracking call patterns and automatically enforces rules, reducing the need for complex external management systems.
Data Source
AI summary
The present invention discloses a method and system for controlling traffic. The method for controlling traffic comprises: receiving, by a gateway, a request for invoking an internal application interface of the development platform from a client application; acquiring, by the gateway, rules for controlling the traffic, of the client application or the internal application interface; detecting, by the gateway, whether the rules for controlling the traffic are satisfied by the client application or the internal application interface; if so, admitting the request for invoking from the client application; otherwise, rejecting the request for invoking from the client application. The present invention prevents one same client application from excessively invoking an internal application through an internal application interface and prevents one same internal application from being invoked excessively, thereby reducing system resource consumption and improving system stability.


