Distributed collaboration method and collaboration device
A cooperator and distributed technology, applied in the field of computer systems, can solve the problems of rigid design of watch mechanism, rigid callback of zookeeper, low performance, etc., to achieve the effect of quick election, simplified configuration, and improved performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0116] Apply the distributed collaboration method provided by this application to cluster management.
[0117] For large-scale Internet applications with tens of thousands of server cluster environments like Taobao, there is usually a need for a cluster manager to manage the servers in the cluster, so that any server in the same cluster is down, and other servers can be aware of it. If the cluster manager goes down, all servers in the cluster cannot be affected in any way, and can be switched to the backup manager in real time to provide services. like Figure 4 shown. Figure 4 The active manager in the system is the same as the coordinator leader, and the standby manager is equivalent to the coordinator candidate.
[0118] The cluster manager (main manager and standby manager) internally provides a "group" (group) and "server" (server) configuration information, which is equivalent to the domain and node in this application, which are used to represent different A cluster...
Embodiment 2
[0122] Apply the distributed collaboration method provided by this application to the unification of configuration information.
[0123] In a distributed multi-machine environment, maintaining unified configuration information is the most common requirement. When configuration information changes, all machines can obtain and update it in real time. For example, in Taobao’s business service requirements, each business system such as commodities and transactions provides a service address to the outside world, and relies on the services of other business systems, then the service address is a public configuration information. If the service address changes, it should be all Business systems can learn and respond to changes in real time.
[0124] If the commodity business system needs to register its own service address, a node with "domain=commodity, node=service, value=address 1, address 2, address 3..." will be established on the coordinator;
[0125] If the transaction busin...
Embodiment 3
[0127] Embodiment 3, application of distributed lock
[0128] In a distributed environment, when multiple business systems compete for a common resource, distributed lock control is usually required. For example, a data download system in Taobao. If too many business systems download data concurrently, it will cause a lot of pressure and slow down , which can be controlled by distributed locks.
[0129] First, the data download system establishes a locked domain on the coordinator, and then each business system establishes its own node under the domain through the coordinator agent to queue and monitor the change information of the domain.
[0130] If a business system finds that its own node meets the preset conditions, such as its own node ranks first, it downloads the data, and deletes the node after the download is completed to release the lock. In this way, the information of the domain changes, and the synergist sends an event to Listen to the business system of the dom...
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