SYSTEMS AND METHODS FOR PROVIDING SERVICES IN A STATELESS APPLICATION FRAMEWORK
First Claim
1. A method comprising:
- obtaining, by a first instance of a stateless application executed on a computer system, a workflow associated with a user account, wherein the workflow indicates a first task and a second task, wherein the second task is associated with a delayed schedule;
transmitting, by the first instance of the stateless application, a job request to a data processing engine based on the first task indicated in the workflow;
submitting, by the first instance of the stateless application to a messaging module, a message self-addressed to the stateless application based on the workflow, wherein the self-addressed message comprises a reference to the user account and the second task;
in response to receiving the self-addressed message from the messaging module, instantiating, by the computer system, a second instance of the stateless application; and
performing, by the second instance of the stateless application, the second task based on the self-addressed message.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and systems for providing an external scheduler in a stateless application framework are presented. A first instance of a stateless application transmits a job request to a data processing engine, and submits a message to a messaging queue. The message indicates a task to be performed according to a delayed schedule. The first instance of the stateless application terminates after submitting the message. The messaging queue transmits the message to the stateless application framework according to the delayed schedule. Upon receiving the message, a second instance of the stateless application is instantiated. The second instance of the stateless application performs an action based on the message and terminates.
-
Citations
20 Claims
-
1. A method comprising:
-
obtaining, by a first instance of a stateless application executed on a computer system, a workflow associated with a user account, wherein the workflow indicates a first task and a second task, wherein the second task is associated with a delayed schedule; transmitting, by the first instance of the stateless application, a job request to a data processing engine based on the first task indicated in the workflow; submitting, by the first instance of the stateless application to a messaging module, a message self-addressed to the stateless application based on the workflow, wherein the self-addressed message comprises a reference to the user account and the second task; in response to receiving the self-addressed message from the messaging module, instantiating, by the computer system, a second instance of the stateless application; and performing, by the second instance of the stateless application, the second task based on the self-addressed message. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. 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; obtaining, by a first instance of a stateless application executed on a computer system, a workflow associated with a user account, wherein the workflow indicates a first task and a second task, wherein the second task is associated with a delayed time; transmitting, by the first instance of the stateless application, a job request to a data processing engine based on the first task indicated in the workflow; submitting, by the first instance of the stateless application to a messaging module, a first message addressed to the stateless application based on the workflow, wherein the first message comprises a reference to the user account and the second task; in response to receiving the first message from the messaging module, instantiating, by the computer system, a second instance of the stateless application; and performing, by the second instance of the stateless application, the second task based on the first message. - View Dependent Claims (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:
-
obtaining, by a stateless application executed on a computer system, a workflow associated with a user account, wherein the workflow indicates a first task and a second task, wherein the second task is associated with a delayed time; transmitting, by the stateless application, a job request to a data processing engine based on the first task indicated in the workflow; submitting, by the stateless application to a messaging queue, a first message addressed to the stateless application based on the workflow, wherein the first message comprises a reference to the user account and the second task; and in response to receiving the first message from the messaging queue, performing, by the stateless application, the second task based on the first message. - View Dependent Claims (20)
-
Specification