# US 2026/0093711 A1 · Shared connections in a distributed database

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

- Number: US 2026/0093711 A1
- Document ID: US20260093711A1
- Status: Published application
- Kind: A1
- Application number: 18/901,910
- Filed: 2024-09-30
- Published: 2026-04-02
- Earliest claimed: 2024-09-30
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Gourav Roy; Savan Jageshbhai Popat; Jiahe Liu
- Web page: https://patentgrep.com/patent/US20260093711A1

## CPC

- G06F 16/278: {Data partitioning, e.g. horizontal or vertical partitioning}
- G06F 16/188: Virtual file systems
- H04L 67/56: Provisioning of proxy services (store-and-forward switching systems in data switching networks H04L12/54)
- 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

Components of a distributed database may operate faster by maintaining connections to multiple other components. These components may be hosted on various physical computing devices. An application layer communication system comprising a network proxy on each computing device involved in the distributed database may decrease the overall number of connections that are to be established and maintained during operation of the distributed database. The network proxies at sending devices may reduce traffic across the connections by combining packets directed from a particular device to another.

## Claims

### Claim 1

A system, comprising:
a plurality of servers collectively hosting a plurality of virtual machines, wherein an individual virtual machine of the plurality of virtual machines implements an instance of a query processor;
a plurality of storage nodes collectively hosting a plurality of storage partitions storing data;
a plurality of network proxies of a first type of network proxy implemented at respective application layers of each server of the plurality of servers, wherein respective instances of the query processors are configured to connect, via the respective application layers of the respective servers, to respective network proxies of the first type of network proxy; and
a plurality of network proxies of a second type of network proxy implemented at respective application layers of each storage node of the plurality of storage nodes, wherein respective storage partitions of the plurality of storage partitions are configured to connect, via the respective application layers of the respective storage nodes, to respective network proxies of the second type of network proxy;
wherein the network proxies of the first type of network proxy are configured to establish connections to the network proxies of the second type of network proxy, wherein the established connections are available for shared use by the instances of the query processors to request data from the storage partitions and the storage partitions to send data to the instances of the query processors.

### Claim 2 (depends on 1)

The system of claim 1, wherein:
the plurality of storage partitions are organized into a plurality of clusters;
an individual cluster corresponds to a client and to one or more tokens; and
a particular instance of the query processors corresponds to the individual cluster and a particular one of the one or more tokens.

### Claim 3 (depends on 2)

The system of claim 2 wherein:
the one or more tokens are generated by an encryption agent; and
the second type of network proxy uses the particular one of the one or more tokens to associate a request originating from the particular instance of the query processors with a storage partition that is included in the cluster.

### Claim 4 (depends on 1)

The system of claim 1, wherein:
the individual virtual machine of the plurality of virtual machines is configured to stop implementing the instance of the query processor and implement a different instance.

### Claim 5 (depends on 1)

The system of claim 1 wherein:
the first type of network proxy stores key range information or health information corresponding to one or more of the plurality of storage partitions.

### Claim 6

A method, comprising:
establishing an application layer connection between a network proxy of a first type of network proxy and another network proxy of a second type of network proxy;
receiving, via an application layer of a server, at the network proxy of the first type of network proxy, a request from one or more virtual machines implementing query processor instances;
sending, via an application layer of a storage node, from the other network proxy of the second type of network proxy to one or more storage partitions storing data, the request forwarded from the network proxy of the first type of network proxy, wherein the request targets the one or more storage partitions;
sending, via the network proxy of the second type of network proxy and the network proxy of the first type of network proxy, data responsive to the request from the one or more storage partitions to the one or more query processor instances; and
performing said receiving at any network proxy of the first type of network proxy additional requests and sending via the first type of network proxy and the second type of network proxy additional data responsive to the additional requests using the established application layer connection or another established application layer connection.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
maintaining the established application layer connection for use for the additional requests for a threshold amount of time.

### Claim 8 (depends on 6)

The method of claim 6, wherein an individual virtual machine is configured to stop implementing an instance of the query processor for a given cluster and implement a different instance of another query processor for another cluster.

### Claim 9 (depends on 6)

The method of claim 6, further comprising:
receiving at the network proxy of the first type of network proxy, a connection request from a new query processor instance;
connecting to the new query processor instance via the application layer of the server; and
receiving another request from the new query processor instance.

### Claim 10 (depends on 6)

The method of claim 6, further comprising:
storing, using the first type of network proxy, key range information or health information corresponding to one or more of the plurality of storage partitions; and
determining, based on the key range information or the health information, which of the one or more of the plurality of storage partitions is to receive the one or more requests for the stored data.

### Claim 11 (depends on 6)

The method of claim 6, further comprising:
establishing another application layer connection between the network proxy of the first type of network proxy and another network proxy of a third type of network proxy, wherein the other network proxy of the third type is connected, via an application layer of a different server, to one or more virtual machines implementing a plurality of adjudicator instances, wherein a cluster comprises a set of query processor instances and a set of adjudicator instances, wherein a particular adjudicator instance of the set of adjudicator instances has been designated as a leader;
sending, from the network proxy of the first type of network proxy to the network proxy of the third type of network proxy, one or more requests to process data; and
sending, from the network proxy of the third type of network proxy to the one or more virtual machines implementing the plurality of adjudicator instances, wherein the plurality of adjudicator instances process the data and the leader commits the processed data in a commit journal.

### Claim 12 (depends on 11)

The method of claim 11, wherein:
the cluster is associated with one or more tokens; and
the one or more tokens identify the cluster and enable decryption, for the cluster, of the one or more requests to process data.

### Claim 13 (depends on 11)

The method of claim 11, further comprising:
receiving, at the network proxy of the first type of network proxy from the leader, information usable to determine which of the set of adjudicator instances is to process the one or more requests;
storing, at the network proxy of the first type of network proxy, the information; and
determining, based on the information, which of the set of adjudicator instances is to process the one or more requests.

### Claim 14 (depends on 6)

The method of claim 6, further comprising:
establishing another application layer connection between the network proxy of the second type of network proxy and another network proxy of a fourth type of network proxy, wherein the other network proxy of the fourth type of network proxy is connected, via an application layer of another server, to one or more virtual machines implementing a plurality of management instances, wherein the plurality of management instances receives one or more requests to store committed data;
sending, from the network proxy of the fourth type of network proxy to the network proxy of the second type of network proxy, the one or more requests to store the committed data; and
sending, from the network proxy of the second type of network proxy to the one or more storage partitions, the one or more requests to store the committed data.

### Claim 15 (depends on 14)

The method of claim 14, wherein:
the one or more requests to store the committed data comprise requests from multiple clients; and
said sending, from the network proxy of the fourth type of network proxy to the network proxy of the second type of network proxy, the one or more requests to store the committed data is performed by combining the one or more requests to store the committed data into a payload of a single packet.

### Claim 16 (depends on 15)

The method of claim 15, wherein the packet comprises:
a packet header;
the one or more requests to store the committed data; and
one or more identifiers respectively associated with one or more clusters which indicate particular respective storage partitions associated with the one or more requests to store the committed data.

### Claim 17

A non-transitory computer-readable storage medium storing program instructions that, when executed on or across one or more processors, cause the one or more processors to:
establish an application layer connection between a network proxy of a first type of network proxy and another network proxy of a second type of network proxy;
receive, via an application layer of a server, at the network proxy of the first type of network proxy, a request from one or more virtual machines implementing query processor instances;
send, via an application layer of a storage node, from the other network proxy of the second type of network proxy to one or more storage partitions storing data, the request forwarded from the network proxy of the first type of network proxy, wherein the request targets the one or more storage partitions;
send, via the network proxy of the second type of network proxy and the network proxy of the first type of network proxy, data responsive to the request from the one or more storage partitions to the one or more query processor instances; and
perform said receiving at any network proxy of the first type of network proxy additional requests and sending via the first type of network proxy and the second type of network proxy additional data responsive to the additional requests using the established application layer connection or another established application layer connection.

### Claim 18 (depends on 17)

The computer-readable storage media of claim 17, wherein the program instructions, when executed on or across the one or more processors, further cause the one or more processors to:
receive, at the network proxy of the first type of network proxy, a connection request from a new query processor instance;
connect the network proxy of the first type of network proxy to the new query processor instance via the application layer of the server; and
receive, at the network proxy of the first type of network proxy, another request from the new query processor instance.

### Claim 19 (depends on 17)

The computer-readable storage media of claim 17, wherein the program instructions, when executed on or across the one or more processors, further cause the one or more processors to:
store, at the first type of network proxy, key range information or health information corresponding to one or more of the plurality of storage partitions; and
determine, based on the key range information or the health information, which of the one or more of the plurality of storage partitions is to receive the one or more requests for the stored data.

### Claim 20 (depends on 17)

The computer-readable storage media of claim 17, wherein:
the one or more requests to store the committed data comprise requests from multiple clients; and
said sending the data responsive to the request is performed by combining the one or more requests to store the committed data into a payload of a single packet.
