HTTP Parallel Processing Router for Concurrent Request Handling
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing HTTP/HTTPS routers are limited in handling multiple requests and communicating with a large number of stores in a timely manner, resulting in delayed or incomplete information retrieval for users.
Innovation Solution
A parallel processing router that receives HTTP/HTTPS requests from clients, identifies capable remote servers, and transmits requests in parallel to multiple servers, compiling responses into a single response for efficient information retrieval.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If a traditional serial processing router is used to handle requests, then the system structure is simple, but the request handling speed and information retrieval timeliness deteriorate
Solution Approach 1:
The router divides incoming requests into multiple parallel processing streams, each handled by separate processing threads or channels. This segmentation allows simultaneous communication with multiple stores, dramatically increasing request handling speed while maintaining manageable complexity through modular architecture
Solution Approach 2:
The system transitions from sequential (one-dimensional) request processing to parallel (multi-dimensional) processing by introducing time concurrency. Multiple requests are processed simultaneously across different dimensional axes of the system architecture, achieving exponential speedup without proportional complexity increase
2Loss of information
If a serial processing router communicates with stores sequentially, then the device complexity is low, but the information retrieval completeness deteriorates
Solution Approach 1:
The router initiates multiple store communications in advance and parallel, rather than waiting for sequential completion. By preparing and sending requests to multiple stores simultaneously, the system retrieves complete information faster, reducing information loss while avoiding the complexity of sequential coordination protocols
3Productivity
If parallel processing is implemented in the router, then the productivity increases, but the device complexity increases
Solution Approach 1:
The parallel processing router is designed with universal components that can handle multiple request types and communicate with various store systems simultaneously. By creating multi-functional processing units that can adapt to different scenarios, the system achieves high productivity without proportionally increasing overall complexity
Solution Approach 2:
The router acts as an intermediary layer that manages parallel communications between clients and multiple stores. This mediator architecture abstracts the complexity of parallel processing, providing a simple interface to clients while handling complex multi-threaded operations internally, thus increasing productivity without exposing complexity to users
Data Source
AI summary
According to one aspect, embodiments of the invention provide a router having a first I/O terminal and a second I/O terminal, wherein the first I/O terminal is configured to be in communication with at least one client via a first network, wherein the second I/O terminal is configured to be in communication with a plurality of remote servers via a second network, and wherein the router is configured to receive, at the first I/O terminal via the first network, a web services request from the at least one client, identify, based on the web services request from the at least one client, a group of the plurality of remote servers that are capable of fulfilling the web services request, and transmit, in parallel via the second I/O terminal and the second network, the received web services request to each one of the plurality of remote servers within the group.


