# US 2022/0294861 A1 · Scalable collaborative editing

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

- Number: US 2022/0294861 A1
- Document ID: US20220294861A1
- Status: Published application
- Kind: A1
- Application number: 17/196,571
- Filed: 2021-03-09
- Published: 2022-09-15
- Earliest claimed: 2021-03-09
- Assignees: Red Hat, Inc.
- Applicants: Red Hat, Inc.
- Inventors: Eric Philip Wittmann; Paolo Antinori
- Web page: https://patentgrep.com/patent/US20220294861A1

## CPC

- H04L 65/4015: {where at least one of the additional parallel sessions is real time or time sensitive, e.g. white board sharing, collaboration or spawning of a subconference}
- H04L 67/60: Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources (admission control or resource allocation H04L47/70)
- H04L 65/1023: Media gateways
- H04L 65/403: Arrangements for multi-party communication, e.g. for conferences (data switching systems for conference H04L12/18; arrangements for connecting several subscribers to a common circuit, i.e. affording conference facilities H04M3/56; television conferencing systems H04N7/15)
- H04L 65/80: Responding to QoS
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/1004: Server selection for load balancing
- H04L 67/1029: using data related to the state of servers by a load balancer
- H04L 67/14: Session management (for real-time applications in data packet communications networks H04L65/1066)
- H04L 67/146: Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
- H04L 67/562: Brokering proxy services
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Systems and methods for scalable collaborative editing are generally described. In various examples, a first collaborative editing session may be executed at a first node of a first cluster of compute nodes. A load balancer executing on the first cluster of compute nodes may receive a first request from a first computing device. In various examples, the first request may include first identifier data identifying the first collaborative editing session. In some examples, the load balancer may determine that the first identifier data is associated with the first collaborative editing session. Further, the load balancer may determine that the first collaborative editing session is assigned to the first node. In some examples, the first request may be sent to the first node.

## Claims

### Claim 1

A method comprising:
executing a first collaborative editing session at a first node of a first cluster of compute nodes;
receiving, by a load balancer executing on the first cluster of compute nodes, a first request from a first computing device, the first request comprising first identifier data;
performing a lookup by the load balancer by querying a lookup table using the first identifier data;
determining, by the load balancer, that the first identifier data is associated with the first collaborative editing session in the lookup table;
determining, by the load balancer using the first identifier data, that the first collaborative editing session is executing on the first node;
determining, by the load balancer using the first identifier data, first data stored in the lookup table in association with the first identifier data, the first data identifying a first websocket;
sending, by the load balancer, the first request to the first node via the first websocket;
changing a state of the first collaborative editing session executing on the first node in response to the first request;
determining a replica of the first collaborative editing session executing on a second node in response to the lookup using the first identifier data;
determining, by the load balancer using the first identifier data, second data stored in the lookup table in association with the first identifier data, the second data identifying a second websocket;
determining a message broker of an asynchronous communication protocol, the message broker configured in communication with the first node and the second node;
sending, by the first collaborative editing session, a first message to the message broker, the first message comprising the second data identifying the second websocket;
receiving, by the second node, the first message from the message broker via the second websocket; and
changing a state of the replica of the first collaborative editing session executing on the second node in response to the first message.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving, by the load balancer, a second request from a second computing device, the second request comprising the first identifier data; and
sending the second request to the first node via the first websocket.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
receiving, by the load balancer, a second request from a second computing device, the second request comprising second identifier data;
performing a second lookup by the load balancer by querying the lookup table using the second identifier data;
determining, by the load balancer, that the second identifier data is associated with the second collaborative editing session in the lookup table;
determining, by the load balancer using the second identifier data, that the second collaborative editing session is executing on the second node;
determining, by the load balancer using the second identifier data, that the second data is stored in the lookup table in association with the second identifier data, the second data identifying the second websocket;
sending the second request to the second node via the second websocket;
changing a state of the second collaborative editing session executing on the second node;
determining a replica of the second collaborative editing session executing on a third node in response to the lookup using the second identifier data;
determining, by the load balancer using the second identifier data, third data stored in the lookup table in association with the second identifier data, the third data identifying a third websocket;
sending, by the second collaborative editing session, a second message to the message broker, the second message comprising the third data identifying the third websocket;
sending, by the message broker, the second message to the third node using the third websocket; and
changing a state of the replica of the second collaborative editing session executing on the third node in response to the second message.

### Claim 4

(canceled)

### Claim 5 (depends on 1)

The method of claim 1, wherein the first identifier data is included in a uniform resource locator (URL) of the first request.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first identifier data is included in a packet header of the first request.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first identifier data comprises a unique identifier data distinguishing the first collaborative editing session from among other collaborative editing sessions.

### Claim 8 (depends on 1)

The method of claim 1, wherein the load balancer is configured to determine respective associations between collaborative editing sessions and compute nodes on which the collaborative editing sessions are executing.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
receiving, by the load balancer, a second request from the first computing device, the second request comprising second identifier data identifying a second collaborative editing session;
determining, by the load balancer, that the second identifier data is associated with the second node of the first cluster of compute nodes; and
sending the second request to the second node.

### Claim 10 (depends on 1)

The method of claim 1, wherein a plurality of nodes of the first cluster each execute respective collaborative editing sessions.

### Claim 11

A system comprising:
a first cluster of compute nodes comprising a first node, wherein the first node is configured to execute a first collaborative editing session;
a load balancer executing on the first cluster of compute nodes, the load balancer configured to:
receive a first request from a first computing device, the first request comprising first identifier data;
perform a lookup by querying a lookup table using the first identifier data;
determine that the first identifier data is associated with the first collaborative editing session in the lookup table;
determine, using the first identifier data, that the first collaborative editing session is executing on the first node;
determine, using the first identifier data, first data stored in the lookup table in association with the first identifier data, the first data identifying a first websocket;
send the first request to the first node via the first websocket;
change a state of the first collaborative editing session executing on the first node in response to the first request;
determine a replica of the first collaborative editing session executing on a second node in response to the lookup using the first identifier data;
determine, using the first identifier data, second data stored in the lookup table in association with the first identifier data, the second data identifying a second websocket;
determine a message broker of an asynchronous communication protocol, the message broker configured in communication with the first node and the second node;
send, by the first collaborative editing session, a first message to the message broker, the first message comprising the second data identifying the second websocket;
receive, by the second node, the first message from the message broker via the second websocket; and
change a state of the replica of the first collaborative editing session executing on the second node in response to the first message.

### Claim 12 (depends on 11)

The system of claim 11, wherein the load balancer is further configured to:
receive a second request from a second computing device, the second request comprising the first identifier data; and
send the second request to the first node via the first websocket.

### Claim 13 (depends on 11)

The system of claim 11, wherein the load balancer is further configured to:
receive, by the load balancer, a second request from a second computing device, the second request comprising second identifier data;
perform a second lookup by the load balancer by querying the lookup table using the second identifier data;
determine that the second identifier data is associated with the second collaborative editing session in the lookup table;
determine, using the second identifier data, that the second collaborative editing session is executing on the second node;
determine, using the second identifier data, that the second data is stored in the lookup table in association with the second identifier data, the second data identifying the second websocket;
send the second request to the second node via the second websocket;
change a state of the second collaborative editing session executing on the second node;
determine a replica of the second collaborative editing session executing on a third node in response to the lookup using the second identifier data;
determine, using the second identifier data, third data stored in the lookup table in association with the second identifier data, the third data identifying a third websocket;
send, by the second collaborative editing session, a second message to the message broker, the second message comprising the third data identifying the third websocket;
send, by the message broker, the second message to the third node using the third websocket; and
change a state of the replica of the second collaborative editing session executing on the third node in response to the second message.

### Claim 14

(canceled)

### Claim 15 (depends on 11)

The system of claim 11, wherein the first identifier data is included in a uniform resource locator (URL) of the first request.

### Claim 16 (depends on 11)

The system of claim 11, wherein the first identifier data is included in a packet header of the first request.

### Claim 17 (depends on 11)

The system of claim 11, wherein the first identifier data comprises a unique identifier data distinguishing the first collaborative editing session from among other collaborative editing sessions.

### Claim 18

A method comprising:
deploying a first collaborative editing session on a first node of a first cluster of compute nodes;
sending first data to a load balancer of the first cluster of compute nodes, the first data including first resource identifier data identifying the first collaborative editing session from among other collaborative editing sessions and associating the first collaborative editing session with the first node;
deploying a second collaborative editing session on a second node of the first cluster of compute nodes;
sending second data to the load balancer, the second data including second resource identifier data identifying the second collaborative editing session from among other collaborative editing sessions and associating the second collaborative editing session with the second node;
changing a state of the first collaborative editing session executing on the first node in response to a first request;
determining a replica of the first collaborative editing session executing on the second node;
determining, using the first resource identifier data, a first websocket associated with the first resource identifier data and the second node;
determining a message broker of an asynchronous communication protocol, the message broker configured in communication with the first node and the second node;
sending, by the first collaborative editing session, a first message to the message broker, the first message comprising data identifying the first websocket;
receiving, by the second node, the first message from the message broker via the second websocket; and
changing a state of the replica of the first collaborative editing session executing on the second node in response to the first message.

### Claim 19 (depends on 18)

The method of claim 18, further comprising:
receiving, by the load balancer, a second request from a first computing device to establish communication with the first collaborative editing session;
determining, by the load balancer, that the second request comprises the first resource identifier data; and
sending the second request to the first node.

### Claim 20 (depends on 19)

The method of claim 19, further comprising:
receiving, by the load balancer, a third request from the first computing device to establish communication with the second collaborative editing session;
determining, by the load balancer, that the third request comprises the second resource identifier data; and
sending the second request to the second node.

### Claim 21 (depends on 1)

The method of claim 1, further comprising storing the first identifier data in the lookup table in association with a first network path and a first cluster instance identifier.
