# US 2023/0421522 A1 · Systems and methods for state synchronization

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

- Number: US 2023/0421522 A1
- Document ID: US20230421522A1
- Status: Published application
- Kind: A1
- Application number: 18/048,012
- Filed: 2022-10-19
- Published: 2023-12-28
- Earliest claimed: 2022-06-24
- Assignees: Meta Platforms, Inc.
- Applicants: Meta Platforms, Inc.
- Inventors: Vahid Jazayeri; Zahan Jagdish Malkani; Brian Laphun Tang; Tuan Nguyen; Ryan Edward Huettl; Yonghua Lin; Ritu Dimri; Oleksii Khomchenko; Dharaben Ghodasara; Evan Feiereisel; Rama Praveen Pyla; Abhishek Srikanth; Kancheng Zhu
- Web page: https://patentgrep.com/patent/US20230421522A1

## CPC

- H04L 12/1859: {adapted to provide push services, e.g. data channels}
- H04L 51/226: Delivery according to priorities
- H04L 12/1827: {Network arrangements for conference optimisation or adaptation}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A computer-implemented method for state synchronization may include (i) identifying a type of a message from a client device to a server that includes an intended update to content hosted on the server, (ii) determining, based on the type of the message, whether to direct the message to a best-effort publisher-subscriber module or a lossless publisher-subscriber, (iii) directing the message to the best-effort publisher-subscriber module based on the type of the message, (iv) identifying a different type of an additional message from the client device to the server that includes a new intended update to the content, and (v) directing the additional message to the lossless publisher-subscriber module based on the different type of the additional message. Various other methods, systems, and computer-readable media are also disclosed.

## Claims

### Claim 1

A computer-implemented method comprising:
identifying a type of a message from a client device to a server comprising an intended update to content hosted on the server;
determining, based on the type of the message, whether to direct the message to a best-effort publisher-subscriber module that processes messages with low latency but does not store the messages to a persistence layer or a lossless publisher-subscriber module that processes the messages with a higher latency but does store the messages to the persistence layer;
directing the message to the best-effort publisher-subscriber module based on the type of the message;
identifying a different type of an additional message from the client device to the server comprising a new intended update to the content; and
directing the additional message to the lossless publisher-subscriber module based on the different type of the additional message.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein directing the message to the best-effort publisher-subscriber module based on the type of the message comprises determining that the intended update within the message comprises a portion of a multi-message update that is expected to span multiple additional messages.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, further comprising sending complete content of the multi-message update to the lossless publisher-subscriber module in response to determining that the best-effort publisher-subscriber module has received the last message of the multi-message update and is not expecting further additional messages with content for the multi-message update.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein directing the additional message to the lossless publisher-subscriber module based on the different type of the additional message comprises determining that the new intended update within the additional message comprises a complete update contained in the additional message that is not expected to span any additional messages.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein each step of the method is performed by the client device.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein each step of the method is performed by the server.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the content hosted on the server comprises content of a persistent digital multimedia room.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, further comprising sending, by the lossless publisher-subscriber module, the additional message to the persistence layer.

### Claim 9

A system comprising:
at least one physical processor;
physical memory comprising computer-executable instructions that, when executed by the physical processor, cause the physical processor to:
identify a type of a message from a client device to a server comprising an intended update to content hosted on the server;
determine, based on the type of the message, whether to direct the message to a best-effort publisher-subscriber module that processes messages with low latency but does not store the messages to a persistence layer or a lossless publisher-subscriber module that processes the messages with a higher latency but does store the messages to the persistence layer;
direct the message to the best-effort publisher-subscriber module based on the type of the message;
identify a different type of an additional message from the client device to the server comprising a new intended update to the content; and
direct the additional message to the lossless publisher-subscriber module based on the different type of the additional message.

### Claim 10 (depends on 9)

The system of claim 9, wherein directing the message to the best-effort publisher-subscriber module based on the type of the message comprises determining that the intended update within the message comprises a portion of a multi-message update that is expected to span multiple additional messages.

### Claim 11 (depends on 10)

The system of claim 10, wherein the computer-executable cause the physical processor to send complete content of the multi-message update to the lossless publisher-subscriber module in response to determining that the best-effort publisher-subscriber module has received the last message of the multi-message update and is not expecting further additional messages with content for the multi-message update.

### Claim 12 (depends on 9)

The system of claim 9, wherein directing the additional message to the lossless publisher-subscriber module based on the different type of the additional message comprises determining that the new intended update within the additional message comprises a complete update contained in the additional message that is not expected to span any additional messages.

### Claim 13 (depends on 9)

The system of claim 9, wherein the physical processor is housed on the client device.

### Claim 14 (depends on 9)

The system of claim 9, wherein the physical processor is housed on the server.

### Claim 15 (depends on 9)

The system of claim 9, wherein the content hosted on the server comprises content of a persistent digital multimedia room.

### Claim 16 (depends on 9)

The system of claim 9, wherein the computer-executable cause the physical processor to send, by the loss-less publisher-subscriber module, the additional message to the persistence layer.

### Claim 17

A non-transitory computer-readable medium comprising one or more computer-readable instructions that, when executed by at least one processor of a computing device, cause the computing device to:
identify a type of a message from a client device to a server comprising an intended update to content hosted on the server;
determine, based on the type of the message, whether to direct the message to a best-effort publisher-subscriber module that processes messages with low latency but does not store the messages to a persistence layer or a lossless publisher-subscriber module that processes the messages with a higher latency but does store the messages to the persistence layer;
direct the message to the best-effort publisher-subscriber module based on the type of the message;
identify a different type of an additional message from the client device to the server comprising a new intended update to the content; and
direct the additional message to the lossless publisher-subscriber module based on the different type of the additional message.

### Claim 18 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein directing the message to the best-effort publisher-subscriber module based on the type of the message comprises determining that the intended update within the message comprises a portion of a multi-message update that is expected to span multiple additional messages.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein the computer-readable cause the computing device to send complete content of the multi-message update to the lossless publisher-subscriber module in response to determining that the best-effort publisher-subscriber module has received the last message of the multi-message update and is not expecting further additional messages with content for the multi-message update.

### Claim 20 (depends on 17)

The non-transitory computer-readable medium of claim 17, wherein directing the additional message to the lossless publisher-subscriber module based on the different type of the additional message comprises determining that the new intended update within the additional message comprises a complete update contained in the additional message that is not expected to span any additional messages.
