US Patent No. 11349923B2- Prepared by Attorney David Tran for Salesforce and filed by Dergosits & Noah LLP
Brief Description: FIG. 3 shows an example diagram that includes a stateful service and an auto-scaling group associated with the stateful service, in accordance with some embodiments. In diagram 300, stateful service 301 may be a service that requires the data it generates to be stored in a persistent storage such that the data is not lost if the stateful service 301 is terminated. When the stateful service 301 is restarted, the stateful service 301 may continue its operation using the data stored in the persistent storage and may behave as if the termination did not occur. The stateful service 301 may be associated with a stateful application. An example of a stateful application is a database application such as MySQL application, which is an open-source database application developed by Oracle Corporation of Redwood City, Calif. The data stored in the persistent storage by the stateful application may be referred to as stateful data. In contrast, non-stateful (or stateless) service (not shown) may be a service that is not configured to store data that it generates such that loss of the data due to termination of the stateless service does not affect the stateless service when it is subsequently restarted. Each time a stateless service is started, the stateless service may be viewed as being started for the first time, even though the stateless service may have been started and terminated previously. A stateless service may be associated with a stateless application. A simple example of a stateless application is a calculator application. Each time it is started, it always displays a zero with no memory of any previous calculations.