SYSTEMS AND METHODS FOR PROVIDING SERVICES IN A STATELESS APPLICATION FRAMEWORK
First Claim
1. A method comprising:
- instantiating, by a computer system, a first instance of a stateless application;
accessing, by the first instance of the stateless application, a context database to retrieve a record associated with a user account, wherein the record comprises first context data associated with a context of the user account within a state machine configuration and a first version number associated with a version of the record;
transmitting, by the first instance of the stateless application to a data processing engine, a first job request comprising a job descriptor, the first context data, and the first version number;
in response to receiving, from the data processing engine, a message comprising the first version number, instantiating, by the computer system, a second instance of the stateless application;
accessing, by the second instance of the stateless application, the context database to determine whether the record has been updated since the transmitting of the first job request based on the first version number;
in response to determining that the context record has been updated since the transmitting of the first job request, retrieving, by the second instance of the stateless application, second context data from the record; and
transmitting, by the second instance of the stateless application to the data processing engine, a second job request comprising the job descriptor and the second context data.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and systems for providing a stateless application framework are presented. The stateless application framework is utilized by different applications for implementing different workflows. Each workflow may be associated with one or more state machine configurations representing the different states within the workflow. Upon receiving an indication of an event from an application, a stateless application module transmits a job request to a data processing engine based on a current state of the event. When a response is received from the data processing engine, the state application module determines whether the state of the event has been updated since transmitting the job request. If it is determined that the state has been updated, the stateless application module is configured to transmit another job request to the data processing engine based on the updated state of the event.
1 Citation
20 Claims
-
1. A method comprising:
-
instantiating, by a computer system, a first instance of a stateless application; accessing, by the first instance of the stateless application, a context database to retrieve a record associated with a user account, wherein the record comprises first context data associated with a context of the user account within a state machine configuration and a first version number associated with a version of the record; transmitting, by the first instance of the stateless application to a data processing engine, a first job request comprising a job descriptor, the first context data, and the first version number; in response to receiving, from the data processing engine, a message comprising the first version number, instantiating, by the computer system, a second instance of the stateless application; accessing, by the second instance of the stateless application, the context database to determine whether the record has been updated since the transmitting of the first job request based on the first version number; in response to determining that the context record has been updated since the transmitting of the first job request, retrieving, by the second instance of the stateless application, second context data from the record; and transmitting, by the second instance of the stateless application to the data processing engine, a second job request comprising the job descriptor and the second context data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A system comprising:
-
a non-transitory memory; and one or more hardware processors coupled with the non-transitory memory and configured to read instructions from the non-transitory memory to cause the system to perform operations comprising; accessing a context database, to retrieve a record associated with a user account, wherein the record comprises first state data indicating a first state among a plurality of states within a state machine configuration and a first version number associated with a version of the record; transmitting, to a data processing engine, a first job request comprising a job descriptor, the first state data, and the first version number; in response to receiving, from the data processing engine, a first response comprising the first version number, accessing the context database to determine whether the record has been updated since the transmitting of the first job request based on the first version number; in response to determining that the record has been updated since the transmitting of the first job request, retrieving second state data from the record, wherein the second state data indicates a second state within the state machine configuration; and transmitting, to the data processing engine, a second job request comprising the job descriptor and the second context data. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
-
19. A non-transitory machine readable medium having stored thereon machine-readable instructions executable to cause a machine to perform operations comprising:
-
accessing a context database, to retrieve a record associated with a user account, wherein the record comprises first state data indicating a first state among a plurality of states within a state machine configuration and a first version number associated with a version of the record; transmitting, to a data processing engine, a first job request comprising a job descriptor, the first state data, and the first version number; in response to receiving, from the data processing engine, a first response comprising the first version number, accessing the context database to determine whether the record has been updated since the transmitting of the first job request based on the first version number; in response to determining that the record has been updated since the transmitting of the first job request, retrieving second state data from the record, wherein the second state data indicates a second state within the state machine configuration; and transmitting, to the data processing engine, a second job request comprising the job descriptor and the second context data. - View Dependent Claims (20)
-
Specification