Movatterモバイル変換


[0]ホーム

URL:


CN112272228B - Distributed registry system - Google Patents

Distributed registry system
Download PDF

Info

Publication number
CN112272228B
CN112272228BCN202011141885.9ACN202011141885ACN112272228BCN 112272228 BCN112272228 BCN 112272228BCN 202011141885 ACN202011141885 ACN 202011141885ACN 112272228 BCN112272228 BCN 112272228B
Authority
CN
China
Prior art keywords
registry
distributed
registration
service
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
CN202011141885.9A
Other languages
Chinese (zh)
Other versions
CN112272228A (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 Shenzhou Digital Technology Co ltd
Original Assignee
Beijing Shenzhou Digital Technology 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 Shenzhou Digital Technology Co ltdfiledCriticalBeijing Shenzhou Digital Technology Co ltd
Priority to CN202011141885.9ApriorityCriticalpatent/CN112272228B/en
Publication of CN112272228ApublicationCriticalpatent/CN112272228A/en
Application grantedgrantedCritical
Publication of CN112272228BpublicationCriticalpatent/CN112272228B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention provides a distributed registry architecture. The architecture comprises: the client SDK is used for accessing the client system to the distributed registry; the Proxy layer is used for virtually forming N virtual slices on the data node, calculating a hash value according to the service identifier after receiving the request of the client SDK, and routing the hash value to a specific data node; the data persistence layer comprises a plurality of data nodes and is used for carrying out distributed storage on the micro-services and providing registration services according to the received requests; and the management console is used for managing each component of the distributed registry. The distributed registry architecture provided by the invention can solve the problem that the registry service instance in the registry has a bottleneck.

Description

Distributed registry system
Technical Field
The invention relates to the technical field of micro-service architecture, in particular to a distributed registry system.
Background
With the development of industry technology, more and more enterprises and institutions are transforming technical architecture, and the micro-serviceization of the system is built.
For large enterprises and institutions, a registry (such as Eureka, zookeeper, nacos) which is relatively popular in the market at present has a certain bottleneck for registering service instances and service continuation, and when the service instances reach a certain amount, the service instances can cause great performance influence on the whole business system, and even cause normal operation of the system.
Disclosure of Invention
The invention aims to provide a distributed registry system which can solve the problem that a registry service instance in a registry has a bottleneck.
In order to solve the above technical problems, the present invention provides a distributed registry system, the system comprising: the client SDK is used for accessing the client system to the distributed registry; the Proxy layer is used for virtually forming N virtual slices on the data node, calculating a hash value according to the service identifier after receiving the request of the client SDK, and routing the hash value to a specific data node; the data persistence layer comprises a plurality of data nodes and is used for carrying out distributed storage on the micro-services and providing registration services according to the received requests; and the management console is used for managing each component of the distributed registry.
In some implementations, the client SDK supports registration and discovery of services, self-discovery and loading of Proxy layers.
In some implementations, the client SDK is compatible with access to multiple registry frameworks simultaneously, where the registry frameworks include: zookeeper, eureka, nacos, and the like.
In some embodiments, the data persistence layer is composed of a plurality of small clusters, each small cluster having data nodes disposed therein.
In some embodiments, the virtual slices are disposed corresponding to small clusters.
In some embodiments, the data node is configured to store a service registration instance.
In some embodiments, the management console primarily manages rights management for the registry.
In some embodiments, black and white lists accessed to the registry are included, proxy on-line management, data node management, virtual sharding maintenance, service routing, weight, and the like.
In some embodiments, further comprising: the data synchronizer is used for being compatible with stock application, and can synchronize service registration instance information of the original stock application into the distributed registration center and synchronize service registration instance of the distributed registration center into the original stock registration center.
With such a design, the invention has at least the following advantages:
through the distributed registry, service access carries out request routing through Proxy, unlimited capacity expansion Proxy according to needs can be supported, and through service identification consistency hash calculation, service information is routed to different data nodes, so that distributed storage of service information is realized, and the requirements of millions of instances of large enterprises and institutions are met.
Drawings
The foregoing is merely an overview of the present invention, and the present invention is further described in detail below with reference to the accompanying drawings and detailed description.
Fig. 1 is a schematic diagram of a distributed registry system according to an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
Because of limited service registration examples supported by registration centers in the market at present, the method has a certain limitation on micro-service construction of large enterprises and institutions, and registration and discovery of millions of examples are realized by developing a distributed registration center.
Referring to fig. 1, the distributed registry design is split into five modules as a whole: client SDK, proxy layer, data persistence layer, management console, and data synchronizer.
The client SDK is mainly responsible for accessing the client system to the distributed registry, supporting the registration and discovery of services, self discovery and loading of Proxy layers, and simultaneously being compatible with the access of the main-stream registry frameworks in the current market, such as zookeeper, eureka and other registries, so that the stock system can be easily accessed to the distributed registry.
The Proxy layer is mainly responsible for the access of clients, the Proxy is in stateless design, can be infinitely expanded to support the access of tens of thousands of services, the Proxy layer logically virtualizes data nodes into N virtual segments, the virtual segments are distributed on a Hash ring through a consistency Hash algorithm, the Proxy receives a client request, calculates Hash according to service identifiers to route to specific data nodes, registration and discovery of the services are achieved, and meanwhile the service registration information quantity of each data node is reduced.
The data persistence layer stores the registered instance of the service, the data persistence layer is composed of a plurality of small clusters, and Proxy routes the small clusters to different data clusters to realize distributed storage.
The management console mainly manages authority management of the registry and comprises management and control functions of black and white lists accessed to the registry, proxy on-line management, data node management, virtual fragment maintenance, service routing, weights and the like.
The data synchronization application is mainly used for being compatible with stock application, can synchronize service registration instance information of the original stock application into the distributed registry, and can synchronize service registration instance of the distributed registry into the original stock registry.
The above description is only of the preferred embodiments of the present invention, and is not intended to limit the invention in any way, and some simple modifications, equivalent variations or modifications can be made by those skilled in the art using the teachings disclosed herein, which fall within the scope of the present invention.

Claims (5)

CN202011141885.9A2020-10-222020-10-22Distributed registry systemActiveCN112272228B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202011141885.9ACN112272228B (en)2020-10-222020-10-22Distributed registry system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202011141885.9ACN112272228B (en)2020-10-222020-10-22Distributed registry system

Publications (2)

Publication NumberPublication Date
CN112272228A CN112272228A (en)2021-01-26
CN112272228Btrue CN112272228B (en)2024-08-20

Family

ID=74342223

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202011141885.9AActiveCN112272228B (en)2020-10-222020-10-22Distributed registry system

Country Status (1)

CountryLink
CN (1)CN112272228B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112887415B (en)*2021-02-032023-04-25北京云上曲率科技有限公司Globalization distributed program coordination service system
CN113497737B (en)*2021-05-132024-12-03曙光信息产业(北京)有限公司 System topology maintenance method, device, computer equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106301947A (en)*2016-08-312017-01-04广州唯品会信息科技有限公司Business information processing system and method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US7051038B1 (en)*2002-06-282006-05-23Microsoft CorporationMethod and system for a reporting information services architecture
US10089178B2 (en)*2016-02-292018-10-02International Business Machines CorporationDeveloping an accurate dispersed storage network memory performance model through training
CN106096038A (en)*2016-06-282016-11-09浪潮软件股份有限公司A kind of distributed database architecture under cloud computing framework
CN106385435A (en)*2016-08-302017-02-08乐视控股(北京)有限公司Service treatment method and system of service system
US20190278746A1 (en)*2018-03-082019-09-12infinite io, Inc.Metadata call offloading in a networked, clustered, hybrid storage system
CN110033095A (en)*2019-03-042019-07-19北京大学A kind of fault-tolerance approach and system of high-available distributed machine learning Computational frame

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106301947A (en)*2016-08-312017-01-04广州唯品会信息科技有限公司Business information processing system and method

Also Published As

Publication numberPublication date
CN112272228A (en)2021-01-26

Similar Documents

PublicationPublication DateTitle
US9998530B2 (en)Distributed global load-balancing system for software-defined data centers
CN106503163B (en)Global configuration multi-tenant dynamic data source system based on SaaS application
JP3716166B2 (en) Scalable multimedia file system for networked storage devices
US9069835B2 (en)Organizing data in a distributed storage system
CN102333029B (en)Routing method in server cluster system
US20120066394A1 (en)System and method for supporting lazy deserialization of session information in a server cluster
CN112272228B (en)Distributed registry system
CN112199427A (en) A data processing method and system
CN105939389A (en)Load balancing method and device
CN111614748A (en)Scalable peer-to-peer matching
CN114615268B (en)Service network, monitoring node, container node and equipment based on Kubernetes cluster
CN112953982B (en)Service processing method, service configuration method and related device
US11985362B2 (en)Distributed data storage for in-vehicle entertainment system
US20060282435A1 (en)Nonstop service system using voting, and information updating and providing method in the same
CN110601994A (en)Load balancing method for micro-service chain perception in cloud environment
CN107426323A (en)Distributed resource service and visual monitoring system and method
CN104410531A (en)Redundant system architecture approach
CN111491017B (en)CORS reference station data distribution system, method and device
CN108574666A (en) A data flow scheduling method, device and system
KR20140061534A (en)Scalable distributed multicluster device management server architecture and method of operation thereof
Alzboon et al.Towards self-resource discovery and selection models in grid computing
US12143441B2 (en)Systems and methods for server failover and load balancing
CN111181789B (en)Partition-based application disaster recovery system
CN111010444A (en)System and method for realizing Wowza streaming media engine distributed cluster
CN115037754B (en) A load balancing method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp