Asynchronous Bot Detection in Multi-Instance Cloud Systems
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In cloud computing environments, distinguishing between human and bot activities becomes increasingly difficult as data volumes grow, leading to inefficiencies in resource utilization and billing, as current methods fail to efficiently detect and classify bots within multi-instance systems.
Innovation Solution
Implementing an asynchronous non-blocking transaction bot detection mechanism that executes only once per session, utilizing session attributes and an in-memory cached list of bots to enhance detection speed and efficiency, allowing for differentiated handling of human and bot interactions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If traditional bot detection methods are used in cloud computing environments, then bot detection capability is provided, but resource utilization efficiency deteriorates and billing accuracy worsens due to inability to efficiently distinguish human and bot activities
Solution Approach 1:
The bot detection system is segmented into multiple independent bot detection instances, each handling specific sessions. This allows parallel processing of bot detection across different instances without blocking other transactions, improving both detection accuracy and resource utilization efficiency simultaneously
Solution Approach 2:
The system performs preliminary bot detection by setting session attributes during session creation and executing bot detection logic before main transaction processing. This preliminary action enables early identification of bots, allowing optimized resource allocation and accurate billing decisions to be made upfront
2Reliability
If bot detection is executed for every transaction, then comprehensive bot detection is achieved, but transaction processing speed deteriorates due to repeated detection overhead
Solution Approach 1:
Bot detection is implemented as periodic action executed only once per session at the beginning, rather than for every transaction. The system sets a session attribute indicating bot detection has been performed, and subsequent transactions within the same session skip detection, maintaining reliability while improving processing speed
Solution Approach 2:
The system performs preliminary bot detection by setting session attributes during session creation and executing bot detection logic before main transaction processing. This preliminary action enables early identification of bots, allowing optimized resource allocation and accurate billing decisions to be made upfront
3Measurement precision
If synchronous bot detection is used, then accurate bot classification is achieved, but system responsiveness deteriorates due to blocking transactions during detection
Solution Approach 1:
An intermediary session attribute mechanism is introduced to store bot detection results. The asynchronous bot detection process writes results to this intermediary storage, allowing the main transaction flow to continue without waiting for detection completion, thus maintaining both accuracy and responsiveness
Solution Approach 2:
The patent replaces the mechanical synchronous blocking detection mechanism with an asynchronous non-blocking detection system. Bot detection runs in the background while transactions proceed independently, with results communicated through session attributes rather than direct blocking calls
4Reliability
If multiple bot detection instances process the same session, then detection coverage is improved, but system efficiency deteriorates due to redundant processing
Solution Approach 1:
Multiple bot detection instances are merged through a shared session attribute space. All instances read the same session attributes and bot detection results, eliminating redundant processing while maintaining comprehensive detection coverage across the distributed system
Data Source
AI summary
A computing system includes a server. The server is communicatively coupled to a data repository and is configured to store a data in the data repository. The server is further configured to create a server instance, wherein the server instance is associated with a user. The server is additionally configured to create a session based on an external entity requesting a resource from the server instance, and to execute a bot detection logic to determine if the external entity is a bot. If the external entity is a bot then the server is configured to perform a bot-based action, wherein the server is configured to provide for multi-instance support to a plurality of users.


