CN107766149B - Method and device for ZooKeeper cluster configuration based on DUBBO - Google Patents

Method and device for ZooKeeper cluster configuration based on DUBBO Download PDF

Info

Publication number
CN107766149B
CN107766149B CN201710867692.3A CN201710867692A CN107766149B CN 107766149 B CN107766149 B CN 107766149B CN 201710867692 A CN201710867692 A CN 201710867692A CN 107766149 B CN107766149 B CN 107766149B
Authority
CN
China
Prior art keywords
service
zookeeper
dubbo
cluster
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710867692.3A
Other languages
Chinese (zh)
Other versions
CN107766149A (en
Inventor
王军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing MetarNet Technologies Co Ltd
Original Assignee
Beijing MetarNet Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing MetarNet Technologies Co Ltd filed Critical Beijing MetarNet Technologies Co Ltd
Priority to CN201710867692.3A priority Critical patent/CN107766149B/en
Publication of CN107766149A publication Critical patent/CN107766149A/en
Application granted granted Critical
Publication of CN107766149B publication Critical patent/CN107766149B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5072Grid computing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5015Service provider selection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/549Remote execution

Abstract

The embodiment of the invention provides a method and a device for ZooKeeper cluster configuration based on DUBBO, wherein the DUBBO comprises a service provider and a service consumer, and the method comprises the following steps: acquiring the number n of terminals serving as the service consumer and the service to be published provided by the service provider; storing the data corresponding to the service to be published in a ZooKeeper; and according to the number n of the terminals and a preset rule, performing cluster configuration on the ZooKeeper to obtain the number m of processes of data in the ZooKeeper, which are operated simultaneously, and performing maintenance processing on the data according to the number m of the processes. The device performs the above method. The method and the device for ZooKeeper cluster configuration based on DUBBO provided by the embodiment of the invention can ensure the ordered and reliable storage of data and facilitate the maintenance and processing of the data.

Description

Method and device for ZooKeeper cluster configuration based on DUBBO
Technical Field
The embodiment of the invention relates to the technical field of Internet, in particular to a duo browser based ZooKeeper cluster configuration method and device.
Background
With the rapid development of internet technology, DUBBO is increasingly widely used as an open-source distributed service framework.
The DUBBO adopts a very simple model, the DUBBO does not provide a specific service process, but provides an API method for calling, and defines two roles of a service Provider (Provider) and a service Consumer (Provider), wherein the service Provider issues services to a service registry; subscribing the service from the registration center by the service consumer; the service consumer invokes the available service that has been registered. In the prior art, data in a service process is processed in a broadcast mode or a direct connection mode, so that the data is often in a disordered state, and reliable storage of the data cannot be realized.
Therefore, how to ensure the ordered and reliable storage of data and facilitate the maintenance and processing of data becomes an urgent problem to be solved.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides a duo keeper cluster configuration method and device based on DUBBO.
In a first aspect, an embodiment of the present invention provides a method for ZooKeeper cluster configuration based on a DUBBO, where the DUBBO includes a service provider and a service consumer, and the method includes:
acquiring the number n of terminals serving as the service consumer and the service to be published provided by the service provider;
storing the data corresponding to the service to be published in a ZooKeeper;
and according to the number n of the terminals and a preset rule, performing cluster configuration on the ZooKeeper to obtain the number m of processes of data in the ZooKeeper, which are operated simultaneously, and performing maintenance processing on the data according to the number m of the processes.
In a second aspect, an embodiment of the present invention provides an apparatus for ZooKeeper cluster configuration based on a DUBBO, where the DUBBO includes a service provider and a service consumer, and the apparatus includes:
the acquiring unit is used for acquiring the number n of terminals serving as the service consumer and the service to be published provided by the service provider;
the storage unit is used for storing the data corresponding to the service to be published in the ZooKeeper;
and the configuration unit is used for carrying out cluster configuration on the ZooKeeper according to the number n of the terminals and a preset rule so as to obtain the number m of processes of data simultaneous operation in the ZooKeeper, and carrying out maintenance processing on the data according to the number m of the processes.
In a third aspect, an embodiment of the present invention provides another apparatus for ZooKeeper cluster configuration based on DUBBO, including: a processor, a memory, and a bus, wherein,
the processor and the memory are communicated with each other through the bus;
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform a method comprising:
acquiring the number n of terminals serving as the service consumer and the service to be published provided by the service provider;
storing the data corresponding to the service to be published in a ZooKeeper;
and according to the number n of the terminals and a preset rule, performing cluster configuration on the ZooKeeper to obtain the number m of processes of data in the ZooKeeper, which are operated simultaneously, and performing maintenance processing on the data according to the number m of the processes.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, including:
the non-transitory computer readable storage medium stores computer instructions that cause the computer to perform a method comprising:
acquiring the number n of terminals serving as the service consumer and the service to be published provided by the service provider;
storing the data corresponding to the service to be published in a ZooKeeper;
and according to the number n of the terminals and a preset rule, performing cluster configuration on the ZooKeeper to obtain the number m of processes of data in the ZooKeeper, which are operated simultaneously, and performing maintenance processing on the data according to the number m of the processes.
The method and the device for ZooKeeper cluster configuration based on DUBBO provided by the embodiment of the invention can ensure the ordered and reliable storage of data and facilitate the maintenance and processing of the data.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for ZooKeeper cluster configuration based on DUBBO according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a device configured by a ZooKeeper cluster based on DUBBO according to an embodiment of the present invention;
fig. 3 is a schematic physical structure diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow diagram of a method for configuring a ZooKeeper cluster based on a DUBBO in an embodiment of the present invention, and as shown in fig. 1, the method for configuring a ZooKeeper cluster based on a DUBBO in an embodiment of the present invention includes a service provider and a service consumer, and includes the following steps:
s1: and acquiring the number n of terminals serving as the service consumer and the service to be published provided by the service provider.
Specifically, the device acquires the number n of terminals serving as the service consumer and the service to be published provided by the service provider. The terminal may include a PC, a mobile phone, a PAD, etc., and is not particularly limited.
S2: and storing the data corresponding to the service to be published in the ZooKeeper.
Specifically, the device stores the data corresponding to the service to be published in the ZooKeeper. ZooKeeper is a visible service process. The ZooKeeper is used for cluster configuration, that is, a plurality of ZooKeeper processes can be run simultaneously, and the data is maintained by coordination among the processes.
S3: and according to the number n of the terminals and a preset rule, performing cluster configuration on the ZooKeeper to obtain the number m of processes of data in the ZooKeeper, which are operated simultaneously, and performing maintenance processing on the data according to the number m of the processes.
Specifically, the device performs cluster configuration on the ZooKeeper according to the number n of the terminals and a preset rule to obtain the number m of processes of data simultaneous operation in the ZooKeeper, and performs maintenance processing on the data according to the number m of the processes. The number of processes that can be configured is 2n +1(n > ═ 1), where n is the number of terminals. And then performing multi-process maintenance processing on the data according to the process number m.
The method for the ZooKeeper cluster configuration based on the DUBBO can ensure the ordered and reliable storage of data and is convenient for maintaining and processing the data.
On the basis of the foregoing embodiment, the performing cluster configuration on the ZooKeeper includes:
the process number m is obtained according to the following formula:
m=2n+1;
wherein m is the number of simultaneous travel processes of the data in the ZooKeeper, and n is the number of terminals.
Specifically, the device obtains the process number m according to the following formula:
m=2n+1;
wherein m is the number of simultaneous travel processes of the data in the ZooKeeper, and n is the number of terminals. Reference may be made to the above embodiments, which are not described in detail.
According to the method for the ZooKeeper cluster configuration based on the DUBBO, provided by the embodiment of the invention, the process number m is obtained through a formula, and the data can be ensured to be maintained and processed in a multi-process manner.
On the basis of the foregoing embodiment, the performing cluster configuration on the ZooKeeper includes:
and configuring the service provider and the service consumer in a spring configuration mode to call the DUBBO.
Specifically, the device configures the service provider and the service consumer in a spring configuration mode to call the DUBBO. It should be noted that: in a particular cluster configuration, the emphasis is on how the service provider and the service consumer invoke the DUBBO. There are two development modes using DUBBO, one is spring configuration mode, and the other is API mode for writing code to call DUBBO. The spring mode is recommended, and if the parameter configuration realized by the two modes is the same, the two modes can be called by crossing each other. That is, the service provider can be implemented in a spring manner, the service consumer is implemented in an API manner, and the spring and the API are equivalent without being affected.
According to the method for cluster configuration of ZooKeeper based on DUBBO provided by the embodiment of the invention, the service provider and the service consumer are configured in a spring configuration mode, so that the reasonability of cluster configuration is ensured.
On the basis of the above embodiment, the method further includes:
and deploying the same service in the services to be published on a plurality of hosts and/or a plurality of ports of the same host.
Specifically, the device deploys the same service in the services to be published on a plurality of hosts and/or a plurality of ports of the same host. For example: in DUBBO, ZooKeeper is deployed with 3 sets, and distributed cluster deployment is adopted, so that interruption of DUBBO service is avoided. Service A deploys 2 sets, service B deploys 3 sets, HA functions are respectively realized, and all the functions are registered in DUBBO.
The ZooKeeper cluster configuration method based on DUBBO provided by the embodiment of the invention avoids interruption of DUBBO service through distributed cluster deployment.
On the basis of the above embodiment, the method further includes:
and registering the same service in a registry in the DUBBO so that the service consumer calls the service of the node in the cluster through the registry.
Specifically, the device registers the same service in a registry in the DUBBO, so that the service consumer calls the service of the node in the cluster through the registry. The service for invoking a node within a cluster is detailed as follows:
(1) the ZooKeeper is started and loaded first, and then the service provider is operated.
(2) The service provider registers the service provided by itself with the registry at startup.
(3) When the service consumer starts, the service consumer subscribes the service required by the service consumer to the registry.
(4) The registry returns a list of service provider addresses to the service consumer and, if there is a change, the registry will push the change data to the service consumer based on the long connection.
(5) And the service consumer selects one service provider from the provider address list to call based on a soft load balancing algorithm, and selects another service provider to call if the call fails.
(6) The service consumer and the service provider accumulate the calling times and the calling time in the memory and send the statistical data to the monitoring center every minute at regular time.
According to the method for the ZooKeeper cluster configuration based on the DUBBO, the service consumer calls the service of the nodes in the cluster through the registration center, and mutual calling between the service provider and the service consumer is achieved.
On the basis of the above embodiment, the method further includes:
and sending the service for calling the nodes in the cluster to the service consumer according to a preset cluster access strategy.
Specifically, the device sends a service for calling nodes in the cluster to the service consumer according to a preset cluster access policy. The preset cluster access policy can comprise services of randomly selecting nodes in a cluster from a plurality of hosts and/or a plurality of ports of the same host; selecting the service of the nodes in the cluster from a plurality of hosts and/or a plurality of ports of the same host by round robin; and weights may be set to adjust the random probability or the round robin probability. The preset cluster access policy can be that the host with slow response receives fewer call requests; consistent Hash, the requests with the same parameters are always sent to the same service provider, when one service provider hangs up, the original requests sent to the service provider are spread to other service providers based on virtual nodes, and no drastic change is caused.
According to the method for the ZooKeeper cluster configuration based on the DUBBO, the service for calling the nodes in the cluster is sent to the service consumer through the preset cluster access strategy, and the mutual calling between the service provider and the service consumer is realized by adopting a more flexible strategy.
On the basis of the above embodiment, the preset cluster access policy includes:
and randomly selecting the service of the nodes in the cluster from the plurality of hosts and/or a plurality of ports of the same host.
Specifically, the device randomly selects the service of the nodes in the cluster from the plurality of hosts and/or a plurality of ports of the same host. Reference may be made to the above embodiments, which are not described in detail.
Or the like, or, alternatively,
the round robin selects the services of the nodes within the cluster from the plurality of hosts and/or a plurality of ports of the same host.
Specifically, the device is configured to select a service of a node within the cluster from the plurality of hosts and/or a plurality of ports of the same host. Reference may be made to the above embodiments, which are not described in detail.
According to the method for the ZooKeeper cluster configuration based on the DUBBO, the service for calling the nodes in the cluster is sent to the service consumer through the preset cluster access strategy, and further the mutual calling between the service provider and the service consumer is realized by adopting a more flexible strategy.
When the method is used, only the configuration of cluster, namely "failure safe," load balance, namely "random" needs to be added to the dubbo service label of the service provider. Of course, if two services are running on the same host, the ports of the protocol port 20880 need to be set differently. Transparent to the service consumer and no extra setup is needed.
To verify the calling distinction of the service, the interface implementation of the service provider needs to be modified, for example, 20880 in the return value is modified into other character strings, and meanwhile, after the client calls, the return value is counted, for example: the following modifications were made:
Figure BDA0001416481460000071
Figure BDA0001416481460000081
fig. 2 is a schematic structural diagram of a device configured by a ZooKeeper cluster based on a DUBBO in an embodiment of the present invention, and as shown in fig. 2, an embodiment of the present invention provides a device configured by a ZooKeeper cluster based on a DUBBO, where the DUBBO includes a service provider and a service consumer, the device includes an obtaining unit 1, a storage unit 2, and a configuration unit 3, where:
the acquiring unit 1 is used for acquiring the number n of terminals serving as the service consumer and the service to be published provided by the service provider; the storage unit 2 is used for storing the data corresponding to the service to be published in the ZooKeeper; the configuration unit 3 is configured to perform cluster configuration on the ZooKeeper according to the number n of the terminals and a preset rule, so as to obtain a number m of processes of data simultaneous operation in the ZooKeeper, and perform maintenance processing on the data according to the number m of processes.
Specifically, the acquiring unit 1 is configured to acquire the number n of terminals serving as the service consumer and a service to be published provided by the service provider; the storage unit 2 is used for storing the data corresponding to the service to be published in the ZooKeeper; the configuration unit 3 is configured to perform cluster configuration on the ZooKeeper according to the number n of the terminals and a preset rule, so as to obtain a number m of processes of data simultaneous operation in the ZooKeeper, and perform maintenance processing on the data according to the number m of processes.
The device for ZooKeeper cluster configuration based on DUBBO provided by the embodiment of the invention can ensure the ordered and reliable storage of data and is convenient for maintaining and processing the data.
The apparatus for ZooKeeper cluster configuration based on DUBBO provided in the embodiments of the present invention may be specifically configured to execute the processing flows of the above method embodiments, and its functions are not described herein again, and refer to the detailed description of the above method embodiments.
Fig. 3 is a schematic physical structure diagram of an apparatus according to an embodiment of the present invention, and as shown in fig. 3, the apparatus includes: a processor (processor)301, a memory (memory)302, and a bus 303;
the processor 301 and the memory 302 complete communication with each other through a bus 303;
the processor 301 is configured to call program instructions in the memory 302 to perform the methods provided by the above-mentioned method embodiments, including: acquiring the number n of terminals serving as the service consumer and the service to be published provided by the service provider; storing the data corresponding to the service to be published in a ZooKeeper; and according to the number n of the terminals and a preset rule, performing cluster configuration on the ZooKeeper to obtain the number m of processes of data in the ZooKeeper, which are operated simultaneously, and performing maintenance processing on the data according to the number m of the processes.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method provided by the above-mentioned method embodiments, for example, comprising: acquiring the number n of terminals serving as the service consumer and the service to be published provided by the service provider; storing the data corresponding to the service to be published in a ZooKeeper; and according to the number n of the terminals and a preset rule, performing cluster configuration on the ZooKeeper to obtain the number m of processes of data in the ZooKeeper, which are operated simultaneously, and performing maintenance processing on the data according to the number m of the processes.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: acquiring the number n of terminals serving as the service consumer and the service to be published provided by the service provider; storing the data corresponding to the service to be published in a ZooKeeper; and according to the number n of the terminals and a preset rule, performing cluster configuration on the ZooKeeper to obtain the number m of processes of data in the ZooKeeper, which are operated simultaneously, and performing maintenance processing on the data according to the number m of the processes.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the apparatuses and the like are merely illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the embodiments of the present invention, and are not limited thereto; although embodiments of the present invention have been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for ZooKeeper cluster configuration based on a DUBBO, the DUBBO including a service provider and a service consumer, comprising:
acquiring the number n of terminals serving as the service consumer and the service to be published provided by the service provider;
storing the data corresponding to the service to be published in a ZooKeeper;
and according to the number n of the terminals and a preset rule, performing cluster configuration on the ZooKeeper to obtain the process number m which is used for maintaining data and operates in the ZooKeeper at the same time, and according to the process number m, performing maintenance processing on the data.
2. The method of claim 1, wherein the performing cluster configuration on the ZooKeeper comprises:
the process number m is obtained according to the following formula:
m=2n+1。
3. the method of claim 1, wherein the performing cluster configuration on the ZooKeeper comprises:
and configuring the service provider and the service consumer in a spring configuration mode to call the DUBBO.
4. A method according to claim 1, 2 or 3, characterized in that the method further comprises:
and deploying the same service in the services to be published on a plurality of hosts or a plurality of ports of the same host.
5. The method of claim 4, further comprising:
and registering the same service in a registry in the DUBBO so that the service consumer calls the service of the node in the cluster through the registry.
6. The method of claim 5, further comprising:
and sending the service for calling the nodes in the cluster to the service consumer according to a preset cluster access strategy.
7. The method of claim 6, wherein the pre-set cluster access policy comprises:
randomly selecting a service of a node in the cluster from the plurality of hosts or a plurality of ports of the same host;
or, the round robin selects the service of the nodes in the cluster from the plurality of hosts or a plurality of ports of the same host.
8. An apparatus for ZooKeeper cluster configuration based on DUBBO, the DUBBO including a service provider and a service consumer, comprising:
the acquiring unit is used for acquiring the number n of terminals serving as the service consumer and the service to be published provided by the service provider;
the storage unit is used for storing the data corresponding to the service to be published in the ZooKeeper;
and the configuration unit is used for carrying out cluster configuration on the ZooKeeper according to the number n of the terminals and a preset rule so as to obtain the process number m which runs simultaneously in the ZooKeeper and is used for maintaining data, and carrying out maintenance processing on the data according to the process number m.
9. An apparatus for duo keeper cluster configuration based on DUBBO, comprising: a processor, a memory, and a bus, wherein,
the processor and the memory are communicated with each other through the bus;
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 7.
CN201710867692.3A 2017-09-22 2017-09-22 Method and device for ZooKeeper cluster configuration based on DUBBO Active CN107766149B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710867692.3A CN107766149B (en) 2017-09-22 2017-09-22 Method and device for ZooKeeper cluster configuration based on DUBBO

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710867692.3A CN107766149B (en) 2017-09-22 2017-09-22 Method and device for ZooKeeper cluster configuration based on DUBBO

Publications (2)

Publication Number Publication Date
CN107766149A CN107766149A (en) 2018-03-06
CN107766149B true CN107766149B (en) 2020-08-04

Family

ID=61266278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710867692.3A Active CN107766149B (en) 2017-09-22 2017-09-22 Method and device for ZooKeeper cluster configuration based on DUBBO

Country Status (1)

Country Link
CN (1) CN107766149B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109413185A (en) * 2018-10-31 2019-03-01 国网河南省电力公司焦作供电公司 A kind of equipment routing inspection system and its Cloud Server design method
CN109495559B (en) * 2018-11-06 2022-02-22 用友网络科技股份有限公司 Service registration and calling method and system of micro-service client
CN112422309B (en) * 2019-08-23 2023-03-28 阿里巴巴集团控股有限公司 System and method for distributed service discovery, storage medium and terminal
CN112333270A (en) * 2020-11-04 2021-02-05 中国电力财务有限公司 Method and system for micro-service dynamic routing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7930214B2 (en) * 2003-05-05 2011-04-19 Intel Corporation Management and arbitration of mobile service discovery
CN102053860A (en) * 2009-10-30 2011-05-11 中国人民解放军国防科学技术大学 CORBA-based OSGi distributed extensible system and method
CN105554160A (en) * 2016-01-29 2016-05-04 四川长虹电器股份有限公司 Dubbo distributed cluster system architecture method based on nginx load balancing
CN106506703A (en) * 2016-12-28 2017-03-15 掌阅科技股份有限公司 Based on the service discovery method of shared drive, apparatus and system, server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7930214B2 (en) * 2003-05-05 2011-04-19 Intel Corporation Management and arbitration of mobile service discovery
CN102053860A (en) * 2009-10-30 2011-05-11 中国人民解放军国防科学技术大学 CORBA-based OSGi distributed extensible system and method
CN105554160A (en) * 2016-01-29 2016-05-04 四川长虹电器股份有限公司 Dubbo distributed cluster system architecture method based on nginx load balancing
CN106506703A (en) * 2016-12-28 2017-03-15 掌阅科技股份有限公司 Based on the service discovery method of shared drive, apparatus and system, server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于DUBBO+ZOOKEEPER计量服务平台研究";冉勇 等;《计量与测试技术》;20170130(第01期);全文 *

Also Published As

Publication number Publication date
CN107766149A (en) 2018-03-06

Similar Documents

Publication Publication Date Title
CN107766149B (en) Method and device for ZooKeeper cluster configuration based on DUBBO
JP6929497B2 (en) Cross-blockchain interaction methods, devices, systems, and electronic devices
CN105376107B (en) Terminal testing method and proxy server
US11563649B2 (en) NF service consumer restart detection using direct signaling between NFs
US11057274B1 (en) Systems and methods for validation of virtualized network functions
US10820212B2 (en) System and method for partitioned wireless telecommunication network deployment
CN105208047B (en) Inserting method and server on distribution system services device
CN107635022A (en) Across intranet and extranet service access methods and device
CN113748685A (en) Network-based media processing control
US20180309802A1 (en) Infinite micro-services architecture
CN103945000A (en) Load balance method and load balancer
WO2016123896A1 (en) Information sharing method and device
US11178084B2 (en) Systems and methods for including enriched calling information in rich communications services (RCS) messaging
CN107800814B (en) Virtual machine deployment method and device
CN112994981B (en) Method and device for adjusting time delay data, electronic equipment and storage medium
CN108228310B (en) Balanced deployment method and device of virtual network function
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
CN110851275B (en) Load transfer method and device of routing node
CN106330504B (en) Method for realizing application and service controller
CN110851166A (en) User-unaware application program updating method and device and computer equipment
GB2514093A (en) Receiving a communication event
EP3163818A1 (en) Packet processing method and related device for network device
CN114978910A (en) Time sensitivity realization method and system of virtualization core network
EP2552050A2 (en) Methods for handling multiple device management (dm) server addresses in a dm account management object (mo)
CN109768897B (en) Server deployment method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant