CACHE DATA PROCESSING USING CACHE CLUSTER WITH CONFIGURABLE MODES
0 Assignments
0 Petitions
Accused Products
Abstract
Processing cache data includes sending a cache processing request to a master cache service node in a cache cluster that includes a plurality of cache service nodes, the cache cluster being configurable in an active cluster configuration mode wherein the plurality of cache service nodes are all in working state and a master cache service node is selected among the plurality of cache service nodes, or in a standby cluster configuration mode, wherein the master cache service node is the only node among the plurality of cache service nodes that is in working state. It further includes waiting for a response from the master cache service node, determining whether the master cache service node has failed; and in the event that the master cache service node has failed, selecting a backup cache service node.
-
Citations
18 Claims
-
1. (canceled)
-
2. A system, comprising:
a cache client configured to; send a cache processing request to a master cache service node in a plurality of cache service nodes, wherein the cache processing request includes an operation; determine that the master cache service node has failed; and in response to the determination that the master cache service node has failed; select a backup cache service node from the plurality of cache service nodes to perform the cache processing request; send the cache processing request to the backup cache service node, wherein a task execution thread pool prevents one or more cache service nodes from the plurality of cache service nodes other than the backup cache service node from performing the operation; receive a successful operation result corresponding to the cache processing request from the backup cache service node; and in response to the successful operation result, store the operation and the successful operation result in a cluster operation task queue, wherein the operation and the successful operation result are to be copied from the cluster operation task queue to the master cache service node in the event that the master cache service node recovers from failure. - View Dependent Claims (3, 4, 5, 6, 7, 8, 9)
-
10. A method, comprising:
-
sending a cache processing request to a master cache service node in a plurality of cache service nodes, wherein the cache processing request includes an operation; determining that the master cache service node has failed; and in response to the determination that the master cache service node has failed; selecting a backup cache service node from the plurality of cache service nodes to perform the cache processing request; sending the cache processing request to the backup cache service node, wherein a task execution thread pool prevents one or more cache service nodes from the plurality of cache service nodes other than the backup cache service node from performing the operation; receiving a successful operation result corresponding to the cache processing request from the backup cache service node; and in response to the successful operation result, storing the operation and the successful operation result in a cluster operation task queue, wherein the operation and the successful operation result are to be copied from the cluster operation task queue to the master cache service node in the event that the master cache service node recovers from failure. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer program product, wherein the computer program product is embodied in a non-transitory computer readable storage medium and comprises computer instructions for:
-
sending a cache processing request to a master cache service node in a plurality of cache service nodes, wherein the cache processing request includes an operation; determining that the master cache service node has failed; and in response to the determination that the master cache service node has failed; selecting a backup cache service node from the plurality of cache service nodes to perform the cache processing request; sending the cache processing request to the backup cache service node, wherein a task execution thread pool prevents one or more cache service nodes from the plurality of cache service nodes other than the backup cache service node from performing the operation; receiving a successful operation result corresponding to the cache processing request from the backup cache service node; and in response to the successful operation result, storing the operation and the successful operation result in a cluster operation task queue, wherein the operation and the successful operation result are to be copied from the cluster operation task queue to the master cache service node in the event that the master cache service node recovers from failure.
-
Specification