# US 2018/0121304 A1 · System and method for managing a cluster of cache servers (trask)

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2018/0121304 A1
- Document ID: US20180121304A1
- Status: Published application
- Kind: A1
- Application number: 15/783,537
- Filed: 2017-10-13
- Published: 2018-05-03
- Earliest claimed: 2016-10-27
- Assignees: Machine Zone, Inc.
- Applicants: Machine Zone, Inc.
- Inventors: Eric Liaw; Kevin Xiao; Glen Wong
- Web page: https://patentgrep.com/patent/US20180121304A1

## CPC

- G06F 11/2094: {Redundant storage or storage space (G06F11/2056 takes precedence)}
- G06F 12/0848: {Partitioned cache, e.g. separate instruction and operand caches}
- G06F 12/128: adapted to multidimensional cache systems, e.g. set-associative, multicache, multiset or multilevel
- G06F 16/24552: {Database cache management}
- G06F 2201/805: Real-time
- G06F 2201/82: Solving problems relating to consistency
- G06F 2212/282: Partitioned cache
- G06F 2212/621: Coherency control relating to peripheral accessing, e.g. from DMA or I/O device
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Implementations of this disclosure are directed to systems, devices and methods for implementing a cache data management system. Webserver computers receive cache data requests for data stored at a computer cluster comprising a plurality of master cache data server computers that do not have corresponding slave cache data server computers to store reserve cache data. Proxy computers in communication with the plurality of webserver computers and the computer cluster route the cache data requests from the webserver computers to the computer cluster. Each proxy computer includes a sentinel module to monitor a health of the computer cluster by detecting failures of master cache data server computers and a trask monitor agent to manage the computer cluster. In response to the sentinel module detecting a failed master cache data server computer, the trask monitor agent replaces the failed master cache data server computer with a substantially empty reserve master cache data server computer, which is subsequently populated with the reserve cache data from a master database.

## Claims

### Claim 1

A cache data management system, comprising:
a plurality of webserver computers to handle cache data requests;
a computer cluster comprising a plurality of master cache data server computers without a corresponding plurality of slave cache data server computers to store reserve cache data; and
a plurality of proxy computers in communication with the plurality of webserver computers and the computer cluster,
wherein the plurality of proxy computers routes the cache data requests from the plurality of webserver computers to the computer cluster, and
wherein each proxy computer comprises:
a sentinel module to monitor a health of the computer cluster,
wherein the sentinel module detects failures of master cache data server computers; and
a trask monitor agent to manage the computer cluster,
wherein, in response to the sentinel module detecting a failed master cache data server computer, the trask monitor agent replaces the failed master cache data server computer with a substantially empty reserve master cache data server computer, and
wherein the substantially empty reserve master cache data server computer is populated with the reserve cache data from a master database.

### Claim 2 (depends on 1)

The cache data management system of claim 1, wherein each webserver computer comprises a cache data request module.

### Claim 3 (depends on 1)

The cache data management system of claim 1, wherein each proxy computer further comprises:
a plurality of cache data request distribution modules to route the cache data requests from cache data request modules of the plurality of webserver computers to one of the plurality of master cache data server computers.

### Claim 4 (depends on 1)

The cache data management system of claim 1, wherein each cache data request distribution module randomly routes the cache data requests among the plurality of master cache data server computers.

### Claim 5 (depends on 1)

The cache data management system of claim 1, wherein a connection is established between one of the plurality of webserver computers and one of the plurality of proxy computers upon receipt of a request for one of a plurality of cache keys at the one of the plurality of webserver computers.

### Claim 6 (depends on 5)

The cache data management system of claim 5, wherein the master cache data server computers collectively store the plurality of cache keys and serve a selected cache key upon receipt of the routed cache data requests.

### Claim 7 (depends on 1)

The cache data management system of claim 1, further comprising:
a plurality of state monitoring servers to (i) monitor a state of the plurality of master cache data server computers, and (ii) select one of the plurality of proxy computers as a proxy leader.

### Claim 8 (depends on 1)

The cache data management system of claim 1, wherein the plurality of master cache data server computers is subdivided into server pools.

### Claim 9 (depends on 8)

The cache data management system of claim 8, wherein one or more substantially empty reserve master cache data server computers become operational to increase a size of the server pool.

### Claim 10 (depends on 1)

The cache data management system of claim 1, wherein the sentinel module discovers other sentinel modules monitoring a same instance of one of the plurality of master cache data server computers.

### Claim 11

A method for managing cache data, comprising:
receiving cache data requests at a plurality of webserver computers;
routing, by a plurality of proxy computers in communication with the plurality of webserver computers and a computer cluster, the cache data requests from the plurality of webserver computers to the computer cluster,
wherein the computer cluster comprises a plurality of master cache data server computers without a corresponding plurality of slave cache data server computers to store reserve cache data, and
wherein each proxy computer comprises a sentinel module to monitor a health of the computer cluster, and a trask monitor agent to manage the computer cluster;
detecting, by the sentinel module, a failed master cache data server computer;
replacing, by the trask monitor agent, the failed master cache data server computer with a substantially empty reserve master cache data server computer; and
populating the substantially empty reserve master cache data server computer with the reserve cache data from a master database.

### Claim 12 (depends on 11)

The method of claim 11, wherein each webserver computer comprises a cache data request module.

### Claim 13 (depends on 11)

The method of claim 11, comprising:
routing the cache data requests from cache data request modules of the plurality of webserver computers to one of the plurality of master cache data server computers.

### Claim 14 (depends on 11)

The method of claim 11, comprising:
randomly routing the cache data requests among the plurality of master cache data server computers.

### Claim 15 (depends on 11)

The method of claim 11, comprising:
establishing a connection between one of the plurality of webserver computers and one of the plurality of proxy computers upon receipt of a request for one of a plurality of cache keys at the one of the plurality of webserver computers.

### Claim 16 (depends on 15)

The method of claim 15, comprising:
storing the plurality of cache keys at the master cache data server computers; and
serving a selected cache key upon receipt of the routed cache data requests.

### Claim 17 (depends on 11)

The method of claim 11, comprising:
monitoring a state of the plurality of master cache data server computers; and
selecting one of the plurality of proxy computers as a proxy leader.

### Claim 18 (depends on 11)

The method of claim 11, comprising:
subdividing the plurality of master cache data server computers into server pools.

### Claim 19 (depends on 18)

The method of claim 18, wherein one or more substantially empty reserve master cache data server computers become operational to increase a size of the server pool.

### Claim 20

A non-transitory computer-readable medium having instructions stored thereon that, when executed by one or more computer processors, cause the one or more computer processors to:
receive cache data requests at a plurality of webserver computers;
route, by a plurality of proxy computers in communication with the plurality of webserver computers and a computer cluster, the cache data requests from the plurality of webserver computers to the computer cluster,
wherein the computer cluster comprises a plurality of master cache data server computers without a corresponding plurality of slave cache data server computers to store reserve cache data, and
wherein each proxy computer comprises a sentinel module to monitor a health of the computer cluster, and a trask monitor agent to manage the computer cluster;
detect, by the sentinel module, a failed master cache data server computer;
replace, by the trask monitor agent, the failed master cache data server computer with a substantially empty reserve master cache data server computer; and
populate the substantially empty reserve master cache data server computer with the reserve cache data from a master database.
