Distributed Cache Removal via Targeted Server Selection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing distributed cache systems waste resources and reduce performance by requiring all cache servers to perform removal operations, even if they do not have the malicious data, due to the lack of targeted removal mechanisms.
Innovation Solution
A removal server is introduced that uses consistent Hashing to identify and remove only the cache servers with active periods exceeding the object's expiration period, thereby minimizing unnecessary removal operations across the system.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If removal operations are performed in all distributed cache servers, then the malicious data can be completely removed from the system, but the resource consumption and server burden increase significantly
Solution Approach 1:
The patent extracts the removal operation to a dedicated removal server that coordinates with cache servers. The removal server determines which cache servers actually contain the malicious data and sends targeted removal requests only to those specific servers, rather than broadcasting to all cache servers in the distributed system.
Solution Approach 2:
The removal server performs preliminary actions by first determining which cache servers store the malicious data before initiating removal operations. This preliminary identification step allows the system to avoid unnecessary removal operations on cache servers that do not contain the malicious data.
2Reliability
If removal operations are performed in all distributed cache servers, then the malicious data can be completely removed from the system, but the overall system performance is reduced
Solution Approach 1:
The removal operation is extracted from the general cache server operations and handled by a specialized removal server. This separation allows cache servers to focus on their primary caching functions while the removal server handles the coordination and execution of removal operations only where necessary.
Solution Approach 2:
The removal server performs preliminary determination of which cache servers contain malicious data before initiating removal operations. This preliminary action prevents unnecessary disruption to cache servers that do not hold the malicious data, thereby maintaining system performance.
3Ease of operation
If removal operations are performed in cache servers without malicious data, then the removal process is simplified, but unnecessary resource waste occurs
Solution Approach 1:
The removal operation is extracted and centralized in a removal server that intelligently determines which cache servers need to execute removal. This extraction maintains operational simplicity through centralized coordination while avoiding resource waste by targeting only necessary servers.
Solution Approach 2:
The removal server performs preliminary identification of cache servers containing malicious data before initiating removal operations. This preliminary action ensures that removal operations are executed only where necessary, eliminating waste of server resources on cache servers that do not contain the malicious data.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
A method, a system and a server for removing an object, comprising determining whether a server is in an active status and an active period of the server is greater than an expiration period associated with the object; and, in response to determining that the server is in the active status and the active period of the server is greater than the expiration period associated with the object, removing the object from the server.