# US 10,956,880 B2 · Mixed deployment architecture for distributed services

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

- Number: US 10,956,880 B2
- Document ID: US10956880B2
- Status: Granted
- Kind: B2
- Application number: 14/789,319
- Filed: 2015-07-01
- Published: 2017-01-05
- Granted: 2021-03-23
- Earliest claimed: 2015-07-01
- Assignees: Paypal, Inc.
- Applicants: Paypal, Inc.
- Inventors: Kyle Towle
- Web page: https://patentgrep.com/patent/US10956880B2

## CPC

- G06Q 20/102: {Bill distribution or payments}
- G06F 9/5072: {Grid computing}
- H04L 41/5051: Service on demand, e.g. definition and deployment of services in real time
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/1001: for accessing one among a plurality of replicated servers
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Systems and methods for a mixed deployment architecture are provided. A data center system may include a core compute grid system and a plurality of distributed compute grid systems. The core compute grid system may provide one or more non-distributable services for a payment service provider, such as a database service, and may include one or more isolated environment zones. Each distributed compute grid system provides one or more distributable services for the payment service provider, and each distributed compute grid system provides an identical set of distributable services. The data center system also includes a network coupling the core compute grid system and plurality of distributed compute grid systems. The plurality of distributed compute grid systems transmit queued writes generated by the distributable services to the database service provided by the core compute grid system.

## Claims

### Claim 1

A method of deploying a service for a service provider in a data center, the method comprising:
receiving, by one or more hardware processors, a request to deploy a computer application corresponding to the service for the service provider in the data center, wherein the data center comprises a core compute grid system and a plurality of distributed compute grid systems coupled together via an internal network of the data center, wherein the plurality of distributed compute grid systems communicate with each other asynchronously via the internal network, and wherein a database application for providing a database service for the service provider is implemented within the core compute grid system;
analyzing, by the one or more hardware processors, computer code of the computer application;
determining, by the one or more hardware processors, whether the computer application corresponds to a stateful service based on the analyzing;
in response to determining that the computer application does not correspond to a stateful service, deploying, by the one or more hardware processors, the computer application on each of the plurality of distributed compute grid systems, wherein the plurality of distributed compute grid systems is configured to simultaneously provide the service for the service provider based on communication with the core compute grid system for accessing the database application;
allocating a portion of processing capacity of each of the plurality of distributed compute grid systems to the computer application based on a service level agreement metric associated with the service;
receiving an indication that first stateful data associated with the computer application is generated by a first distributed compute grid system of the plurality of distributed compute grid systems in response to processing a transaction for a user;
determining a data replication route through the plurality of distributed compute grid systems;
replicating the first stateful data to other distributed computer grid systems in the plurality of distributed compute grid systems according to the data replication route; and
transmitting the first stateful data to the database application of the core compute grid system through a routing abstraction layer.

### Claim 2 (depends on 1)

The method of claim 1, further comprising determining the service level agreement metric associated with the service, wherein the computer application is deployed on each of the plurality of distributed compute grid systems further based on the service level agreement metric.

### Claim 3 (depends on 1)

The method of claim 1, further comprising determining a communication requirement of the service, wherein the computer application is deployed on each of the plurality of distributed compute grid systems further based on the communication requirement.

### Claim 4 (depends on 1)

The method of claim 1 further comprising:
detecting that a first one of the plurality of distributed compute grid systems is unavailable; and
in response to the detecting, modifying the portion of processing capacity of a second one of the plurality distributed compute grid systems allocated to the computer application.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
causing the second one of the plurality distributed compute grid systems to use the modified portion of processing capacity to perform the service for the data center.

### Claim 6 (depends on 1)

The method of claim 1, wherein each of the plurality of distributed compute grid systems includes a cache memory for storing data associated with the computer application deployed on the corresponding distributed compute grid system, and wherein stateless data associated with the computer application written to a first cache memory of the first distributed compute grid system is not replicated to other distributed compute grid systems in the plurality of distributed compute grid systems.

### Claim 7 (depends on 1)

The method of claim 1, wherein each of the plurality of distributed compute grid systems includes a cache memory for storing data associated with the computer application deployed on the corresponding distributed compute grid system, wherein the first stateful data is written to a first cache memory of the first distributed compute grid system, and wherein the first stateful data is replicated to the other distributed compute grid systems in the plurality of distributed compute grid systems based on a critical state flag associated with the data.

### Claim 8

A system comprising:
a non-transitory memory; and
one or more hardware processors coupled to the non-transitory memory and configured to read instructions from the non-transitory memory to cause the system to perform operations comprising:
receiving a request to deploy a computer application corresponding to a service in a data center system, wherein the data center comprises a core compute grid system and a plurality of distributed compute grid systems coupled together via an internal network of the data center, wherein the plurality of distributed compute grid systems communicate with each other asynchronously via the internal network, and wherein a database application for providing a database service for the data center is implemented within the core compute grid system;
analyzing computer code associated with the computer application;
determining whether the computer application is a stateful application based on the analyzing;
determining to deploy the computer application on each of the plurality of distributed compute grid systems and not on the core compute grid system based on determining that the computer application is not a stateful application;
deploying the computer application on each of the plurality of distributed compute grid systems, wherein the plurality of distributed compute grid system is configured to simultaneously provide the service corresponding to the computer application based on communication with the core compute grid system for accessing the database application;
allocating a portion of processing capacity of each of the plurality of distributed compute grid systems to the computer application based on a service level agreement metric associated with the service;
receiving an indication that first stateful data associated with the computer application is generated by a first distributed compute grid system of the plurality of distributed compute grid systems in response to processing a payment transaction for a user;
determining a data replication route through the plurality of distributed compute grid systems;
replicating the first stateful data to other distributed compute grid systems in the plurality of distributed compute grid systems according to the data replication route; and
transmitting the first stateful data to the database application of the core compute grid system through a routing abstraction layer.

### Claim 9 (depends on 8)

The system of claim 8, wherein each of the plurality of distributed compute grid systems includes a cache memory for storing data associated with the computer application deployed on the corresponding distributed compute grid system, and wherein stateless data associated with the computer application written to a first cache memory of the first distributed compute grid system is not replicated to other distributed compute grid systems in the plurality of distributed compute grid systems.

### Claim 10 (depends on 8)

The system of claim 8, wherein each of the plurality of distributed compute grid systems includes a cache memory for storing data associated with the computer application deployed on the corresponding distributed compute grid system, wherein the first stateful data is written to a first cache memory of the first distributed compute grid system, and wherein the first stateful data is replicated to the other distributed compute grid systems in the plurality of distributed compute grid systems based on a critical state flag associated with the data.

### Claim 11 (depends on 8)

The system of claim 8, wherein the operations further comprise:
detecting that a first one of the plurality of distributed compute grid systems is unavailable; and
in response to the detecting, modifying the portion of processing capacity of a second one of the plurality distributed compute grid systems allocated to the computer application.

### Claim 12 (depends on 8)

The system of claim 8, wherein the service comprises at least one of a web service, a cryptography service, or an analytics service.

### Claim 13 (depends on 8)

The system of claim 8, wherein the operations further comprise determining the service level agreement metric associated with the service, wherein the computer application is determined to deploy on each of the plurality of distributed compute grid systems and not on the core compute grid system further based on the service level agreement metric.

### Claim 14

A non-transitory machine-readable medium having stored thereon machine-readable instructions executable to cause a machine to perform operations comprising:
receiving a request to deploy a service in a data center, wherein the data center comprises a core compute grid system and a plurality of distributed compute grid systems coupled together via an internal network of the data center, wherein the plurality of distributed compute grid systems communicate with each other asynchronously via the internal network, and wherein a database application for providing a database service for the data center is implemented within the core compute grid system;
determining that the service corresponds to a stateless service based on analyzing the service;
determining to deploy a computer application corresponding to the service on each of the plurality of distributed compute grid systems and not on the core compute grid system based on the determining that the service corresponds to a stateless service;
deploying the computer application on each of the plurality of distributed compute grid systems, wherein the plurality of distributed compute grid system is configured to simultaneously provide the service based on communication with the core compute grid system for accessing the database application;
allocating a portion of processing capacity of each of the plurality of distributed compute grid systems to the computer application based on a service level agreement metric associated with the service;
receiving an indication that first stateful data associated with the computer application is generated by a first distributed compute grid system of the plurality of distributed compute grid systems in response to processing a payment transaction for a user;
determining a data replication route through the plurality of distributed compute grid systems;
replicating the first stateful data to other distributed compute grid systems in the plurality of distributed compute grid systems according to the data replication route; and
transmitting the first stateful data to the database application of the core compute grid system through a routing abstraction layer.

### Claim 15 (depends on 14)

The non-transitory machine-readable medium of claim 14, wherein the operations further comprise:
detecting that a first one of the plurality of distributed compute grid systems is unavailable; and
in response to the detecting, modifying the portion of processing capacity of a second one of the plurality distributed compute grid systems allocated to the computer application.

### Claim 16 (depends on 15)

The non-transitory machine-readable medium of claim 15, wherein the operations further comprise:
causing the second one of the plurality distributed compute grid systems to use the modified portion of processing capacity to perform the service for the data center.

### Claim 17 (depends on 14)

The non-transitory machine-readable medium of claim 14, wherein the operations further comprise determining the service level agreement metric associated with the service, wherein the computer application is determined to deploy on each of the plurality of distributed compute grid systems and not on the core compute grid system further based on the service level agreement metric.

### Claim 18 (depends on 14)

The non-transitory machine-readable medium of claim 14, wherein each of the plurality of distributed compute grid systems includes a cache memory for storing data associated with the computer application deployed on the corresponding distributed compute grid system, and wherein stateless data associated with the computer application written to a first cache memory of the first distributed compute grid system is not replicated to other distributed compute grid systems in the plurality of distributed compute grid systems.

### Claim 19 (depends on 14)

The non-transitory machine-readable medium of claim 14, wherein each of the plurality of distributed compute grid systems includes a cache memory for storing data associated with the computer application deployed on the corresponding distributed compute grid system, wherein the first stateful data is written to a first cache memory of the first distributed compute grid system, and wherein the first stateful data is replicated to the other distributed compute grid systems in the plurality of distributed compute grid systems based on a critical state flag associated with the data.

### Claim 20 (depends on 14)

The non-transitory machine-readable medium of claim 14, wherein the service comprises at least one of a web service, a cryptography service, or an analytics service.
