-
公开(公告)号:US11163619B2
公开(公告)日:2021-11-02
申请号:US16730125
申请日:2019-12-30
Applicant: MOTOROLA SOLUTIONS, INC.
Inventor: Georg Lund Petersen , Pawel Antemijczuk
Abstract: A state-aware microservice system for managing messages and providing a service. The state-aware microservice system includes a plurality of instances of the service, a message broker, a memory, and an electronic processor. The processor is configured to receive, via an instance of the plurality, a message for the service and determine whether a processing of the message is consistent with a current state of the system. When the processing of the message is consistent, the processor process the message via one of the plurality of instances. When the processing of the message is not consistent, the processor transmits the message to a first queue of the message broker, determines, from a timer of the message, a time-to-live of the message, and transfers the message to a second queue of one of the plurality of instances in response to the time-to-live expiring.
-
公开(公告)号:US20210200609A1
公开(公告)日:2021-07-01
申请号:US16730125
申请日:2019-12-30
Applicant: MOTOROLA SOLUTIONS, INC.
Inventor: Georg Lund Petersen , Pawel Antemijczuk
Abstract: A state-aware microservice system for managing messages and providing a service. The state-aware microservice system includes a plurality of instances of the service, a message broker, a memory, and an electronic processor. The processor is configured to receive, via an instance of the plurality, a message for the service and determine whether a processing of the message is consistent with a current state of the system. When the processing of the message is consistent, the processor process the message via one of the plurality of instances. When the processing of the message is not consistent, the processor transmits the message to a first queue of the message broker, determines, from a timer of the message, a time-to-live of the message, and transfers the message to a second queue of one of the plurality of instances in response to the time-to-live expiring.
-