# US 2024/0004868 A1 · Deferred computation of entity states in a software platform

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

- Number: US 2024/0004868 A1
- Document ID: US20240004868A1
- Status: Published application
- Kind: A1
- Application number: 17/855,602
- Filed: 2022-06-30
- Published: 2024-01-04
- Earliest claimed: 2022-06-30
- Assignees: Atlassian Pty Ltd.; Atlassian Inc.
- Applicants: Atlassian Pty Ltd.; Atlassian Inc.
- Inventors: Eric Dalgliesh
- Web page: https://patentgrep.com/patent/US20240004868A1

## CPC

- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F 16/252: {between a Database Management System and a front-end application}
- G06F 16/953: Querying, e.g. by the use of web search engines
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A software platform includes a frontend and a backend application instance. A user can operate the frontend to modify a data object stored in a database of the backend application instance. The data object may be associated with a higher-order object, referred to as an entity of the software platform. One or more data consumers (e.g., search engine indexing services) may require as input a full computed state of platform-level objects such as entities. The software platform defers computation of entities until necessary by inserting work items into a work item queue that reference entities in need of full state computation. Worker nodes wait specified deferral periods before computing full entity states and transmitting the full computed states to the one or more data consumers, thereby significantly reducing redundant computation of full entity states.

## Claims

### Claim 1

A system for serving a structured data representation of a full computed state of an entity of a software platform to a consumer of the full computed state of the entity, the system comprising:
a host server comprising:
a memory resource storing an executable asset; and
a processing resource operably coupled to the memory resource and configured to retrieve the executable asset from the memory resource to instantiate an instance of a backend application supporting the software platform and configured to communicably couple to one or more instances of the frontend application, the backend application configured to:
receive an update to a data object associated with the entity;
cause the update to the data object to be committed to a backend database of the software platform;
increment a version number associated with the entity;
create an identifier identifying the entity and the version number in a work item queue; and
a worker node instance configured to:
retrieve a work item from the work item queue, the work item comprising the identifier and the version number;
in accordance with determining that the version number is not the highest version number among all work items in the work item queue that comprise the identifier, discarding the work item;
in accordance with determining that the version number is the highest version number among all work items in the work item queue that comprise the identifier, computing the full state of the entity as the structured data representation;
in response to completing computation of the full state of the entity serving the structured data representation of the full computed state of the entity to the consumer.

### Claim 2 (depends on 1)

The system of claim 1, wherein:
the update to the data object associated with the entity is received by the backend application in response to an input provided by a user to the frontend application;
the software platform is a documentation system and the consumer is a search engine service.

### Claim 3 (depends on 1)

The system of claim 1, wherein the software platform is a documentation system and the consumer is a frontend application instance executing at a client device.

### Claim 4 (depends on 1)

The system of claim 1, wherein the worker node is instantiated by the backend application.

### Claim 5 (depends on 1)

The system of claim 1, wherein the worker node is instantiated by a server computer separate from the host server.

### Claim 6 (depends on 1)

The system of claim 1, wherein the worker node is configured to pop a next item from the work item queue after expiration of a time interval.

### Claim 7 (depends on 1)

The system of claim 1, wherein the worker node is configured to serve the full computed state of the entity to the computer a second time to ensure delivery.

### Claim 8 (depends on 1)

The system of claim 1, wherein the entity is a project tracked by an issue tracking system and the data object is a task associated with the project.

### Claim 9

A method for deferring computation of a full computed state of an entity of a software platform, the method comprising:
receiving an update to a data object associated with the entity;
causing the update to the data object to be committed to a backend database of the software platform;
retrieving from a datastore, a version number associated with the entity;
incrementing the version number associated with the entity;
retrieving or creating an identifier identifying the entity;
creating a work item comprising a first attribute comprising the version number and a second attribute comprising the identifier;
inserting the work item into a work item queue such that the structured data object can thereafter be retrieved by a worker node instance configured to determine whether the version number of the work item is the highest version number of any work item that comprise the identifier in the work item queue and in accordance with the determination that the version number of the work item is the highest version number, computing the full state of the entity.

### Claim 10 (depends on 9)

The method of claim 9, wherein:
the data object is a first data object;
the update is a first update;
the version number is a first version number;
the work item is a first work item; and
the method comprises:
receiving a second update to a second data object associated with the entity;
causing the second update to the second data object to be committed to the backend database of the software platform;
incrementing the first version number associated with the entity to a second version number;
retrieving the identifier identifying the entity;
creating a second work item comprising a third attribute comprising the second version number and a fourth attribute comprising the identifier;

### Claim 11 (depends on 9)

The method of claim 9, wherein the software platform is a documentation platform and the entity comprises a document of the documentation platform.

### Claim 12 (depends on 11)

The method of claim 11, wherein the data object comprises a paragraph of the document.

### Claim 13 (depends on 9)

The method of claim 9, wherein the worker node instance is configured to, upon completion of computation of the full state of the entity, transmit the computed full state to a consumer.

### Claim 14 (depends on 13)

The method of claim 13, wherein the consumer is a search engine service associated with the software platform.

### Claim 15

A method of deferring computation of a full computed state of an entity of a software platform, the method comprising:
a memory resource storing an executable asset; and
a processing resource operably coupled to the memory resource and configured to retrieve the executable asset from the memory resource to instantiate an instance of a worker node configured to:
access a work item queue comprising two or more work items;
popping a work item from the work item queue, the work item comprising an identifier identifying the entity and a version number identifying a version of the entity;
in accordance with determining that the version number is not the highest version number among all items in the work item queue that comprise the identifier, discarding the work item and retrieving a next work item from the work item queue;
in accordance with a determination that the version number is the highest version number among all work items in the work item queue that comprise the identifier, computing the full state of the entity;
in response to completing computation of the full state of the entity serving the full computed state of the entity to a data consumer communicably coupled to the software platform.

### Claim 16 (depends on 15)

The method of claim 15, wherein the worker node instance is one of a set of worker node instances instantiated by the processing resource

### Claim 17 (depends on 15)

The method of claim 15, wherein the work item queue is maintained by a backend of the software platform.

### Claim 18 (depends on 15)

The method of claim 15, wherein the processing resource is configured to instantiate a backend instance of the software platform.

### Claim 19 (depends on 15)

The method of claim 15, wherein the data consumer is a search engine service.

### Claim 20 (depends on 15)

The method of claim 15, wherein the software platform is a documentation platform and the entity is a document of the documentation platform.
