Method for realizing global ordered replaying under micro-service architecture
A micro-service, global technology, applied in the direction of inter-program communication, multi-program device, program control design, etc., can solve the problems of physical time stamp correspondence, unable to repeat the real history, etc., and achieve the effect of easy repeat
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0082] see figure 1 , microservice A is stand-alone, microservice B is a cluster, node 2 is the current master node, and node 3 is the slave node. Microservice C is a cluster, node 4 is the current master node, and node 5 is the slave node.
[0083] The message sending and receiving events in the system are marked with the local physical time of each node, and the logical clocks are as follows:
[0084]
[0085] According to the logical timestamp, although the local clocks of each host have a slight offset, the sequence of global events reconstructed according to the logs of each node is as follows:
[0086]
[0087] On the one hand, the logical timestamp of the event is kept quite close to the physical time, and on the other hand, the causal sequence of the event is also maintained.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com