Request Filter for Event-Driven Web Server Load Reduction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current web server technologies, such as AJAX and Comet frameworks, face inefficiencies in managing asynchronous requests and event-driven content delivery, particularly when dealing with large numbers of clients, leading to increased memory and processing demands.

Innovation Solution

A method and system for processing requests using a request filter that specifies criteria and conditions for modifications in a shared context, along with a connection pool management system to optimize the transmission of modifications to clients, allowing for efficient event-driven content delivery without unnecessary resource usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If the Comet framework is used to enable event-driven content delivery to multiple clients, then the ability to push events to clients is improved, but the memory and processing power requirements of the web server increase significantly

Engineering Contradiction:
Improveevent-driven content delivery capabilityVSAvoidmemory and processing power consumption
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The patent segments the event distribution process by introducing request filters that selectively filter and route event notifications to specific clients based on criteria. Instead of broadcasting events to all clients, the system divides the distribution into targeted segments, reducing the overall processing load while maintaining event-driven capabilities for interested clients.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces request filters as intermediary components between the event source and clients. These filters act as mediators that process and evaluate events before they reach clients, determining which clients should receive which events. This intermediary layer reduces server processing requirements by preventing unnecessary event transmissions to clients that don't meet filter criteria.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If polling is used to enable clients to request content modifications, then the ability to update web content is improved, but the efficiency decreases due to unnecessary requests when no modifications have been made

Engineering Contradiction:
Improvecontent update capabilityVSAvoidpolling efficiency
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent implements a feedback mechanism where the server pushes event notifications to clients when modifications occur, eliminating the need for continuous polling. Clients receive feedback about content changes through the event-driven system, allowing them to update only when necessary rather than continuously requesting changes.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent prepares the system in advance by establishing event listeners and request filters before content modifications occur. When changes happen, the pre-configured filters immediately process and route notifications to appropriate clients, eliminating the delay and inefficiency of polling-based updates.

Inventive Principle:
Principle #10Preliminary action

3Speed

If the web server pushes messages to all clients simultaneously through unbroken connections, then real-time communication is improved, but the server load increases when handling large numbers of clients

Engineering Contradiction:
Improvereal-time message delivery speedVSAvoidserver processing power
Core Design Contradiction:
SpeedVSPower

Solution Approach 1:

The patent segments the client base into different groups based on request filter criteria. Instead of broadcasting to all clients simultaneously, the system divides the message distribution into targeted segments, pushing messages only to clients who match the filter criteria. This segmentation maintains real-time delivery speed for relevant clients while significantly reducing overall server processing power requirements.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS8108465B2Method and system for request processing
Publication Date: 2012.01.31 ORACLE AMERICAN INC
  • US8108465B2 patent drawing
  • US8108465B2 patent drawing
  • US8108465B2 patent drawing

AI summary

The invention relates to a method for request processing. The method includes receiving an asynchronous request for a shared context from a first client, where a second client is subscribed to the shared context. The method further includes receiving a modification of the shared context from the second client and, determining, in response to receiving the modification, that the modification matches a criteria specified in a first request filter, where the first request filter is one of a number of request filters associated with the shared context. The method further includes obtaining the first request filter and after determining that a first condition specified in the first request filter is satisfied, initiating the transmission of the modification to the first client, where the modification is displayed at the first client.