Patent ID: 11880419
Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 16:
17. A method for managing state data for use by a network function utilizing cloud network architecture, the network function being based on stateless microservices, the stateless microservices being independently deployable, comprising:
receiving a first request for the state data from a first microservice instance, wherein the state data includes information from previous transactions to affect processing of subsequent transactions;
based on the first request, sending the state data to the first microservice instance;
receiving an instruction from the first microservice instance to take a lock on the state data such that the state data is unavailable except by the first microservice instance, the instruction including an identification of the first microservice instance;
invoking, by the network function, a durable timer indicating a duration of time in which the state data is locked;
while the lock is taken, preventing other microservice instances from retrieving the state data;
after receiving the instruction, receiving a second request for the state data from a second microservice instance; and
based on the second request, notifying the second microservice instance of the lock and the identification of the first microservice instance to the second microservice instance.