CN106878472A - A kind of distributed type assemblies data service method and system - Google Patents

A kind of distributed type assemblies data service method and system Download PDF

Info

Publication number
CN106878472A
CN106878472A CN201710260020.6A CN201710260020A CN106878472A CN 106878472 A CN106878472 A CN 106878472A CN 201710260020 A CN201710260020 A CN 201710260020A CN 106878472 A CN106878472 A CN 106878472A
Authority
CN
China
Prior art keywords
node
server
web
web server
data service
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.)
Pending
Application number
CN201710260020.6A
Other languages
Chinese (zh)
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.)
Guangdong Ma Liangxing Technology Development Co Ltd
Original Assignee
Guangdong Ma Liangxing Technology Development 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 Guangdong Ma Liangxing Technology Development Co Ltd filed Critical Guangdong Ma Liangxing Technology Development Co Ltd
Priority to CN201710260020.6A priority Critical patent/CN106878472A/en
Publication of CN106878472A publication Critical patent/CN106878472A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of distributed type assemblies data service method and system, specifically include:User terminal, Reverse Proxy, Web server processes node, database server.What the present invention integrated various open source technologies to realize distributed arithmetic can elastic telescopic company-data service.Vert.x is an asynchronous clog-free java framework increased income.Hazelcast is a Distributed Architecture increased income.Nginx is the high-performance HTTP and Reverse Proxy of lightweight.By distributed service cluster of the invention, resource can be effectively distributed, ensure the validity and energy efficiency of service.

Description

A kind of distributed type assemblies data service method and system
Technical field
The present invention relates to a kind of data, services field, more particularly to a kind of distributed type assemblies data service method and System.
Background technology
With the fast development of internet industry, the continuous expansion of organization business, demand constantly increases and customer volume Be continuously increased, technological frame is faced with increasing challenge.On the one hand, with the expansion of business, how to provide the user Reliable service, how effectively to process after user increases causes concurrent request number to increase, the problem of caused low-response, Yi Jiru What effectively solves the problems, such as big data quantity that user brings after increasing etc..Still further aspect, company or organization business it is continuous Expansion, demand constantly increases, and increasing people adds development teams, and code library is also drastically expanding.Current technology becomes Maintenance cost, flexibility of the gesture to servicing, testing cost, construction cost requirement more and more higher.
And traditional monomer framework use unified technical system and standard, exploitation when, by Module Division, each module it Between it is relatively independent;In deployment, system is as an integral deployment.
Traditional monomer framework is difficult to meet the requirement of current internet technology.
1. poor compatibility
Using unified technical standard, to the compatible and restricted to the diversity of platform of technology, it is difficult to can meet now many The platform of sample.
2. operation expanding or change are unfavorable for
Stand-alone development between module, but there is overlapping code, when business change or when needing extension, can only be based on whole system Changed or extended, it is impossible to changed on demand or extend for some functional module.
3. maintenance cost is high
Monomer architecture interface is superfluous long and complex, and repeatedly after change, framework can expand and indigestion system.
4. poor fault tolerance
Monomer framework using system as unitary construction, deployment, when one of module occur it is abnormal, can only whole system weight It is new to update, build, disposing.
The content of the invention
It is contemplated that at least solving one of technical problem present in prior art.
To achieve the above object, a kind of distributed type assemblies data service method of present invention design, comprises the following steps:
Step S1, Reverse Proxy receives the web request that user terminal sends, and the web request is forwarded into web services Device;
The web request for receiving is forwarded to one or more treatment nodes by step S2, web server;
Step S3, one or more for the treatment of node visit database servers obtain the result that database server is returned;
The result is forwarded to web server by step S4, treatment node, and the web server is according to the knot for receiving Fruit merges treatment, then the result after merging is sent to Reverse Proxy;
Step S5, the result after the merging that the proxy server will be received is sent to user terminal.
Specifically, the user terminal sends web request by browser, and after user terminal sends web request, DNS Server makes requests on the parsing of address, obtains purpose IP address, and the web request is sent to destination address.
Specifically, the reverse server be Nginx servers, the web server be using the server of vertx, The treatment node is using the node of vertx.
Preferably, also there is monitor node, it is used to send heartbeat message to web server, be used to determine web server Survival condition.
Preferably, the monitor node is the node using hazelcast technologies.
Specifically, after the monitor node finds that web server list changes, then notifying all chartered Node, updates newest web server list.
Another aspect of the present invention also provides a kind of distributed type assemblies data service system, including:
User terminal, for sending web request and receiving result;
Reverse Proxy, the web request for receiving user terminal transmission is forwarded to web server, and receive the knot for merging Fruit information is forwarded to user terminal;
Web server, the web request for receiving Reverse Proxy forwarding, is forwarded to treatment node, and receiving area The result of node is managed, treatment is merged, then be forwarded to Reverse Proxy;
Treatment node, the web request for receiving web server forwarding is forwarded to database server, and receive database clothes The result of business device return is simultaneously forwarded to web server;
Database server, for the web request that reception processing node sends, and returns the result to treatment node.
Preferably, also include:
Monitor node, it is used to send heartbeat message to web server, is used to determine the survival condition of web server.
Specifically, the reverse server be Nginx servers, the web server be using the server of vertx, The treatment node is using the node of vertx.
Specifically, the monitor node is the node using hazelcast technologies.
Distributed arithmetic can elastic telescopic company-data service integrated application load balancing and micro services technology, with Lower advantage:
First, distributed service cluster, effectively distributes resource, has ensured the validity and energy efficiency of service;
2nd, it is that multiple method of servicing solve complexity problem by decomposing huge monomer-type application.In the situation that function is constant Under, using being broken down into multiple manageable branches or service.Each service has one to be determined with RPC- or message-driven API Adopted clearly border.Micro services architecture mode provides modular solution to using monomer-type coded system function difficult to realize Certainly scheme, thus, single service is easy to develop, understand and safeguard.
3rd, this framework causes that each service can have special development teams to develop.Developer can be with unrestricted choice Development technique, there is provided API service.Then, it is this freely to mean that developer be forced to use certain project and begin with Dated technology, they can select present technology.Even, because service is all relatively easy, that is, present technology is used Code before rewriteeing is nor highly difficult thing.
4th, micro services architecture mode is the deployment of each micro services independence.Developer no longer needs to coordinate other service departments Affix one's name to the influence serviced this.This change can accelerate deployment speed.UI team can be tested using AB, and quickly deployment becomes Change.Micro services architecture mode makes it possible that ensured sustained development is disposed.
Finally, flexible micro services architecture mode that can be elastic causes the independent extension of each service.Can be according to each clothes The scale of business meets the scale of demand to dispose.
Brief description of the drawings
Fig. 1 shows that distribution of the present invention can resilient infrastructure schematic diagram;
Fig. 2 shows a kind of flow chart of distributed type assemblies data service method of the invention;
Fig. 3 shows the schematic block diagram of micro services cluster of the present invention;
Fig. 4 shows the communication flow diagram between present invention service;
Fig. 5 shows the service operation flow chart of one embodiment of the invention;
Fig. 6 shows a kind of structured flowchart of distributed type assemblies data service system of the invention.
Specific embodiment
It is below in conjunction with the accompanying drawings and specific real in order to be more clearly understood that the above objects, features and advantages of the present invention Mode is applied to be further described in detail the present invention.It should be noted that in the case where not conflicting, the implementation of the application Feature in example and embodiment can be mutually combined.
Many details are elaborated in the following description in order to fully understand the present invention, but, the present invention may be used also Implemented with being different from mode described here using other, therefore, protection scope of the present invention does not receive following public tool The limitation of body embodiment.
Based on above-mentioned monolithic framework, project needs a new framework to solve monolithic framework shortcoming, to meet business Fast development, data rapid growth, user quickly increase.New architecture, realized based on micro services distributed arithmetic can elasticity Flexible company-data service framework is, it is necessary to meet following demand:
A, decoupling, complexity are controllable:While by application decomposition, the endless accumulation of script complexity is evaded.Each Micro services are absorbed in simple function, and clearly state service boundaries by defining good interface, can be by a small-scale exploitation Team controls completely, it is easy to keep maintainable and development efficiency high.
B, quick, independent deployment:Can independently dispose.It is whole without compiling, deployment when certain micro services is changed Using.So that issue is more efficiently, while reduce to the risk caused by production environment, it is final to shorten the application delivery cycle.
C, Technology Selection are flexible:Each team can freely select according to the demand of own services and the present situation of industry development Select the technology stack being best suitable for.
It is d, fault-tolerant:When a certain establishment is broken down, under the conventional architectures of single process, failure is probably in process Interior diffusion, forms application of overall importance unavailable.Failure is isolated in single service.Design is good, and other services can pass through Retry, steadily degenerate etc. mechanism realize the fault-tolerant of application.
E, elastic telescopic extension:Using according to practical condition, framework needs to embody flexibility, can quickly be stretched Contracting, autgmentability.
F, function are specific:Single service typically completes certain specific function, such as message management, customer account management etc.. Each service has the service logic and adapter of oneself.
This programme integrates various open source technologies(Nginx+Vert.x+hazelcast)Can bullet come realize distributed arithmetic Property flexible company-data service.Vert.x is an asynchronous clog-free java framework increased income.Hazelcast is one and increases income Distributed Architecture.Nginx is the high-performance HTTP and Reverse Proxy of lightweight.
Fig. 1 shows that distribution of the present invention can resilient infrastructure schematic diagram.
As shown in figure 1, multiple servers are configured in system framework constitutes service cluster, load balancing is realized.User terminal is sent out Go out request, using DNS load balancing, each domain name mapping can calculate a different IP address and return according to load-balancing algorithm Return, browser accesses real physical host according to the ip addresses.
In DNS rear ends, Nginx is used, realized reverse proxy load balancing.After Nginx receives request, according to negative Carry equalization algorithm and calculate an address for real physics device, and forward a request to real server, at real server After having managed, response is returned into Reverse Proxy, the response is returned to user by Reverse Proxy again.
In micro services cluster, the integrality according to business function and responsibility builds multiple micro services, and system is according to service Registration and discovery mechanism, micro services treatment is issued by request.
Fig. 2 shows a kind of flow chart of distributed type assemblies data service method of the invention.
As shown in Fig. 2 a kind of distributed type assemblies data service method of the invention includes:
Step S1, Reverse Proxy receives the web request that user terminal sends, and the web request is forwarded into web services Device;
The web request for receiving is forwarded to one or more treatment nodes by step S2, web server;
Step S3, one or more for the treatment of node visit database servers obtain the result that database server is returned;
The result is forwarded to web server by step S4, treatment node, and the web server is according to the knot for receiving Fruit merges treatment, then the result after merging is sent to Reverse Proxy;
Step S5, the result after the merging that the proxy server will be received is sent to user terminal.
Specifically, the user terminal sends web request by browser, and after user terminal sends web request, DNS Server makes requests on the parsing of address, obtains purpose IP address, and the web request is sent to destination address.
Specifically, the reverse server be Nginx servers, the web server be using the server of vertx, The treatment node is using the node of vertx.
Preferably, also there is monitor node, it is used to send heartbeat message to web server, be used to determine web server Survival condition.
Preferably, the monitor node is the node using hazelcast technologies.
Specifically, after the monitor node finds that web server list changes, then notifying all chartered Node, updates newest web server list.
Fig. 3 shows the schematic block diagram of micro services cluster of the present invention.
As shown in figure 3, it illustrates the framework in micro services cluster.Including application layer, service layer, data Layer.And And also include different micro services in each layer.
Meanwhile, the basic principle that the present invention is also divided based on micro services:
1) functional completeness, responsibility unicity.
2) granularity is moderate, and team is subjected to.
3) elastic telescopic.
4) independent deployment and life cycle management.
The partition strategy of micro services has two kinds:
1) longitudinal direction, the direction according to application layer, service layer, data Layer divides;
2) it is laterally, different with responsibility according to function in each longitudinal direction, it is divided into " micro- business " one by one.
It is that multiple method of servicing solve complexity problem by decomposing huge monomer-type application, in order to reduce micro services Coupling, tries one's best the function of each business association in system and extracts, and is precipitated as common component or public service, gradually shape Into the kernel service of stabilization, enable each micro services " iImmune ", each micro services being capable of stand-alone development, maintenance, portion Administration.
Fig. 4 shows the communication flow diagram between present invention service.
As shown in figure 4, Event bus are the nervous systems of Vert.x, the communication between micro services mainly passes through Event Bus+Hazelcast is realized.
Vert.x supports that distributed and multinuclear is utilized.The information of each Vert.x node is managed by Hazelcast, then Message is sent out mutually by EventBus among the nodes, while Vert.x can also support the High Availabitity of application.The execution of Vert.x Entrance of the unit verticle, i.e. program.Verticle is divided to two kinds, and a kind of is that the suitable I/O based on EventLoop is intensive Type, also a kind of worker verticle for being to be adapted to CPU intensive type.And the intercommunication of verticle can only pass through Eventbus, can support the communication of point to point, it is also possible to support publish & subscribe communication modes.
All service logics can all run on the EventLoop in Netty in fact, and EventLoop passes through recurrence event Queue performs all of service logic, so can some I/O operations, frequently event is peeled away from CPU in time, All of event call-back is processed finally by one readjustment Handler of registration.
Worker verticle are primarily used to process synchronization process.Such as third party's framework does not have asynchronous interface, most Typical case is exactly JDBC.So traditional realization based on multithreading model can be degenerated to by worker verticle.This It is also the means for matching some former projects.
Vert.x nodes are communicated by EventBus, and EventBus is obtained in whole cluster by HazelCast Nodal information.Each verticle is in fact a thread, can so make full use of multinuclear.
Fig. 5 shows the service operation flow chart of one embodiment of the invention.
As shown in figure 5, user terminal sends web request to Nginx servers, web server is subsequently forwarded to, then be forwarded to Treatment node.Wherein, web server and treatment node are one or more, specifically can be according to actual network topology structure Determine.Treatment node visit database server, obtains the returning result of database server, returns again to result to web At server, result is merged treatment by web server, is retransmited to Nginx servers, Nginx servers retransmit to Shown at user terminal.Wherein, hazelcast nodes are monitored to web server in real time.Hazelcast nodes are prisons Control node, by heartbeat monitor its server registered survival condition.New micro services node past can be incited somebody to action once setting up Monitor node registration service.Once hazelcast has found that the service list of registration changes, past can notify all registered Node, newest surviving node list.
Treatment node major function is processing data.Newly-increased treatment node, can all be registered as to monitor node every time One new node.Treatment node can be continuously increased with the increase for needing, and realize the expansion of business.
Fig. 6 shows a kind of structured flowchart of distributed type assemblies data service system of the invention.
As shown in fig. 6, the present invention also provides a kind of distributed type assemblies data service system, including:
User terminal, for sending web request and receiving result;
Reverse Proxy, the web request for receiving user terminal transmission is forwarded to web server, and receive the knot for merging Fruit information is forwarded to user terminal;
Web server, the web request for receiving Reverse Proxy forwarding, is forwarded to treatment node, and receiving area The result of node is managed, treatment is merged, then be forwarded to Reverse Proxy;
Treatment node, the web request for receiving web server forwarding is forwarded to database server, and receive database clothes The result of business device return is simultaneously forwarded to web server;
Database server, for the web request that reception processing node sends, and returns the result to treatment node.
Preferably, also include:
Monitor node, it is used to send heartbeat message to web server, is used to determine the survival condition of web server.
Specifically, the reverse server be Nginx servers, the web server be using the server of vertx, The treatment node is using the node of vertx.
Specifically, the monitor node is the node using hazelcast technologies.
General web request is initiated from browser, obtains IP address by dns resolution first, is then assisted by http View transmit a request to corresponding IP.
During dns resolution, dns server can carry out a distribution that load balancing realizes request, this kind of operation The pressure of Reverse Proxy can be mitigated, but the content of this respect can't be related in this programme, so skip over not saying.
Reverse Proxy nginx forwards web request.Reverse Proxy cannot process any request in itself, only It is responsible for the forwarding of web request.Here there is a configuration process for forwarding rule.Because nginx will realize turning for web request Hair is, it is necessary to know the presence of micro services web nodes and know the web request that each micro services web nodes can be processed.
Micro services web node major functions are to forward the request to multiple micro services treatment nodes, and merging data is simultaneously returned. Hazelcast nodes can monitor the survival condition of all micro services nodes as a monitor node during this, and in time All nodes of micro services are notified, this ensures that web nodes are known that the survival condition of other nodes, it is ensured that data are not Can be forwarded to and die for the sake of honour a little.By knowing existing surviving node, web nodes can also be sent by load-balancing algorithm to node please Ask.
Hazelcast nodes are monitor nodes, by heartbeat monitor its server registered survival condition.New is micro- Service node is once set up, can be past by monitor node registration service.Once hazelcast has found that the service list of registration occurs Change, past can notify all registered nodes, newest surviving node list.
Treatment node major function is processing data.Newly-increased treatment node, can all be registered as to monitor node every time One new node.Treatment node can be continuously increased with the increase for needing, and realize the expansion of business.
Database server node, storage and processing data.
The present invention utilizes micro services framework, is developed based on JVM, lightweight, high performance characteristic;To each service, Data acquisition is carried out there is provided monitoring interface, by Surveillance center, by monitoring interface, realize service monitoring;Clustered node goes Centralization, whole micro services cluster does not have a centralization node, any node delay machine do not interfere with cluster in other nodes it is external Service is provided.;Containerization is designed, using the design pattern that reversely relies on injection each can be serviced according to service needed Granularity is divided.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text means relevant with embodiment Special characteristic, structure or characteristic are included at least one embodiment of the present invention.Therefore, occur everywhere in entire disclosure " in one embodiment " or " in one embodiment " not necessarily refers to identical embodiment.Additionally, these specific feature, knots Structure or characteristic can be combined in one or more embodiments in any suitable manner.It should be understood that in various implementations of the invention In example, the size of the sequence number of above-mentioned each process is not meant to the priority of execution sequence, and the execution sequence of each process should be with its work( Can determine with internal logic, the implementation process without tackling the embodiment of the present invention constitutes any restriction.The embodiments of the present invention Sequence number is for illustration only, and the quality of embodiment is not represented.
It should be noted that herein, term " including ", "comprising" or its any other variant be intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also include other key elements being not expressly set out, or also include for this process, method, article or device institute are intrinsic Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in the process of key element, method, article or device.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, can be by it Its mode is realized.Apparatus embodiments described above are only schematical, for example, the division of the unit, is only A kind of division of logic function, can have other dividing mode, such as when actually realizing:Multiple units or component can be combined, or Another system is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed each composition portion Coupling point each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs of equipment or unit by some interfaces Or communication connection, can be electrical, machinery or other forms.
The above-mentioned unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location;Both a place had been may be located at, it is also possible to be distributed to multiple network lists In unit;Part or all of unit therein can be according to the actual needs selected to realize the purpose of this embodiment scheme.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing unit, also may be used Being each unit individually as a unit, it is also possible to which two or more units are integrated in a unit;It is above-mentioned Integrated unit can both be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in computer read/write memory medium, and the program exists During execution, the step of including above method embodiment is performed;And foregoing storage medium includes:Movable storage device, read-only deposit Reservoir(Read Only Memory, ROM), magnetic disc or CD etc. are various can be with the medium of store program codes.
Or, if the above-mentioned integrated unit of the present invention is to realize in the form of software function module and as independent product When selling or using, it is also possible to which storage is in a computer read/write memory medium.Based on such understanding, the present invention is implemented The part that the technical scheme of example substantially contributes to prior art in other words can be embodied in the form of software product, The computer software product is stored in a storage medium, including some instructions are used to so that a computer equipment(Can be with It is personal computer, server or network equipment etc.)Perform all or part of each embodiment methods described of the invention. And foregoing storage medium includes:Movable storage device, ROM, magnetic disc or CD etc. are various can be with Jie of store program codes Matter.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of distributed type assemblies data service method, it is characterised in that comprise the following steps:
Step S1, Reverse Proxy receives the web request that user terminal sends, and the web request is forwarded into web services Device;
The web request for receiving is forwarded to one or more treatment nodes by step S2, web server;
Step S3, one or more for the treatment of node visit database servers obtain the result that database server is returned;
The result is forwarded to web server by step S4, treatment node, and the web server is according to the knot for receiving Fruit merges treatment, then the result after merging is sent to Reverse Proxy;
Step S5, the result after the merging that the proxy server will be received is sent to user terminal.
2. a kind of distributed type assemblies data service method according to claim 1, it is characterised in that the user terminal passes through Browser sends web request, and after user terminal sends web request, dns server makes requests on the parsing of address, obtains Purpose IP address, and the web request is sent to destination address.
3. a kind of distributed type assemblies data service method according to claim 1, it is characterised in that the reverse server It is Nginx servers, the web server is that, using the server of vertx, the treatment node is using the node of vertx.
4. a kind of distributed type assemblies data service method according to claim 1, it is characterised in that also there is monitoring and save Point, it is used to send heartbeat message to web server, is used to determine the survival condition of web server.
5. a kind of distributed type assemblies data service method according to claim 4, it is characterised in that the monitor node is Using the node of hazelcast technologies.
6. a kind of distributed type assemblies data service method according to claim 4, it is characterised in that when the monitor node It was found that after web server list changes, then notifying all chartered nodes, newest web server list is updated.
7. a kind of distributed type assemblies data service system, is applied to the method described in claim 1, it is characterised in that including:
User terminal, for sending web request and receiving result;
Reverse Proxy, the web request for receiving user terminal transmission is forwarded to web server, and receive the knot for merging Fruit information is forwarded to user terminal;
Web server, the web request for receiving Reverse Proxy forwarding, is forwarded to treatment node, and receiving area The result of node is managed, treatment is merged, then be forwarded to Reverse Proxy;
Treatment node, the web request for receiving web server forwarding is forwarded to database server, and receive database clothes The result of business device return is simultaneously forwarded to web server;
Database server, for the web request that reception processing node sends, and returns the result to treatment node.
8. a kind of distributed type assemblies data service system according to claim 7, it is characterised in that also include:
Monitor node, it is used to send heartbeat message to web server, is used to determine the survival condition of web server.
9. a kind of distributed type assemblies data service system according to claim 7, it is characterised in that the reverse server It is Nginx servers, the web server is that, using the server of vertx, the treatment node is using the node of vertx.
10. a kind of distributed type assemblies data service system according to claim 8, it is characterised in that the monitor node It is the node using hazelcast technologies.
CN201710260020.6A 2017-04-20 2017-04-20 A kind of distributed type assemblies data service method and system Pending CN106878472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710260020.6A CN106878472A (en) 2017-04-20 2017-04-20 A kind of distributed type assemblies data service method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710260020.6A CN106878472A (en) 2017-04-20 2017-04-20 A kind of distributed type assemblies data service method and system

Publications (1)

Publication Number Publication Date
CN106878472A true CN106878472A (en) 2017-06-20

Family

ID=59162910

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710260020.6A Pending CN106878472A (en) 2017-04-20 2017-04-20 A kind of distributed type assemblies data service method and system

Country Status (1)

Country Link
CN (1) CN106878472A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222567A (en) * 2017-07-07 2017-09-29 北京京东尚科信息技术有限公司 Method, device and the service cluster of processing data request
CN107547654A (en) * 2017-09-12 2018-01-05 郑州云海信息技术有限公司 A kind of distributed objects storage cluster, deployment, method of servicing and system
CN107870768A (en) * 2017-11-10 2018-04-03 郑州云海信息技术有限公司 Web application does not shut down dispositions method under a kind of CAE cluster modes
CN107979635A (en) * 2017-10-24 2018-05-01 广东康美通信息服务有限公司 System, method and storage medium based on micro services
CN109040263A (en) * 2018-08-10 2018-12-18 北京奇虎科技有限公司 Method for processing business and device based on distributed system
CN109324942A (en) * 2018-08-07 2019-02-12 顺丰科技有限公司 The dual-active processing method of micro services, apparatus and system, equipment, storage medium
CN109660523A (en) * 2018-12-03 2019-04-19 顺丰科技有限公司 WAF guiding device, system and method
CN109753403A (en) * 2017-11-06 2019-05-14 阿里巴巴集团控股有限公司 Server operation method, apparatus, equipment and system
CN109803002A (en) * 2018-12-29 2019-05-24 广东劲天科技有限公司 Charging pile communication means, device, equipment and storage medium based on domain name
CN110764742A (en) * 2019-10-18 2020-02-07 成都信息工程大学 High-speed calculation method and system for linear correlation of climate observation data
CN111382135A (en) * 2018-12-29 2020-07-07 上海菱秀自动化科技有限公司 Distributed data storage and access device
CN111866048A (en) * 2019-04-30 2020-10-30 中移(苏州)软件技术有限公司 Management method, agent equipment, management equipment, main server and system
CN112788076A (en) * 2019-11-07 2021-05-11 北京京东尚科信息技术有限公司 Method and device for deploying multi-service load
CN114760303A (en) * 2022-03-29 2022-07-15 京东科技信息技术有限公司 Traffic configuration, traffic distribution and service program upgrading method for server cluster
CN115550226A (en) * 2022-07-27 2022-12-30 京东城市(北京)数字科技有限公司 Flow monitoring method and device of distributed system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243620A (en) * 2014-10-17 2014-12-24 浪潮电子信息产业股份有限公司 High-performance WEB production environment architecture
CN106170016A (en) * 2016-07-28 2016-11-30 深圳市创梦天地科技有限公司 A kind of method and system processing high concurrent data requests
WO2017219733A1 (en) * 2016-06-21 2017-12-28 中兴通讯股份有限公司 Method and device for responding to request

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104243620A (en) * 2014-10-17 2014-12-24 浪潮电子信息产业股份有限公司 High-performance WEB production environment architecture
WO2017219733A1 (en) * 2016-06-21 2017-12-28 中兴通讯股份有限公司 Method and device for responding to request
CN106170016A (en) * 2016-07-28 2016-11-30 深圳市创梦天地科技有限公司 A kind of method and system processing high concurrent data requests

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222567A (en) * 2017-07-07 2017-09-29 北京京东尚科信息技术有限公司 Method, device and the service cluster of processing data request
CN107547654B (en) * 2017-09-12 2020-10-02 郑州云海信息技术有限公司 Distributed object storage cluster, deployment and service method and system
CN107547654A (en) * 2017-09-12 2018-01-05 郑州云海信息技术有限公司 A kind of distributed objects storage cluster, deployment, method of servicing and system
CN107979635A (en) * 2017-10-24 2018-05-01 广东康美通信息服务有限公司 System, method and storage medium based on micro services
CN109753403B (en) * 2017-11-06 2022-09-23 阿里巴巴集团控股有限公司 Server operation method, device, equipment and system
CN109753403A (en) * 2017-11-06 2019-05-14 阿里巴巴集团控股有限公司 Server operation method, apparatus, equipment and system
CN107870768A (en) * 2017-11-10 2018-04-03 郑州云海信息技术有限公司 Web application does not shut down dispositions method under a kind of CAE cluster modes
CN107870768B (en) * 2017-11-10 2020-11-17 浪潮云信息技术股份公司 Non-stop deployment method of Web application program in CAE cluster mode
CN109324942A (en) * 2018-08-07 2019-02-12 顺丰科技有限公司 The dual-active processing method of micro services, apparatus and system, equipment, storage medium
CN109324942B (en) * 2018-08-07 2022-06-07 顺丰科技有限公司 Double-activity processing method, device, system, equipment and storage medium for microservice
CN109040263B (en) * 2018-08-10 2022-02-25 北京奇虎科技有限公司 Service processing method and device based on distributed system
CN109040263A (en) * 2018-08-10 2018-12-18 北京奇虎科技有限公司 Method for processing business and device based on distributed system
CN109660523A (en) * 2018-12-03 2019-04-19 顺丰科技有限公司 WAF guiding device, system and method
CN111382135A (en) * 2018-12-29 2020-07-07 上海菱秀自动化科技有限公司 Distributed data storage and access device
CN109803002A (en) * 2018-12-29 2019-05-24 广东劲天科技有限公司 Charging pile communication means, device, equipment and storage medium based on domain name
CN111866048A (en) * 2019-04-30 2020-10-30 中移(苏州)软件技术有限公司 Management method, agent equipment, management equipment, main server and system
CN111866048B (en) * 2019-04-30 2022-07-01 中移(苏州)软件技术有限公司 Management method, agent equipment, management equipment, main server and system
CN110764742A (en) * 2019-10-18 2020-02-07 成都信息工程大学 High-speed calculation method and system for linear correlation of climate observation data
CN112788076A (en) * 2019-11-07 2021-05-11 北京京东尚科信息技术有限公司 Method and device for deploying multi-service load
CN114760303A (en) * 2022-03-29 2022-07-15 京东科技信息技术有限公司 Traffic configuration, traffic distribution and service program upgrading method for server cluster
CN115550226A (en) * 2022-07-27 2022-12-30 京东城市(北京)数字科技有限公司 Flow monitoring method and device of distributed system

Similar Documents

Publication Publication Date Title
CN106878472A (en) A kind of distributed type assemblies data service method and system
CN106663030B (en) Scalable failover communication in distributed clusters
CN106663033B (en) System and method for supporting a wraparound domain and proxy model and updating service information for cross-domain messaging in a transactional middleware machine environment
US8032780B2 (en) Virtualization based high availability cluster system and method for managing failure in virtualization based high availability cluster system
US8108612B2 (en) Location updates for a distributed data store
US8108623B2 (en) Poll based cache event notifications in a distributed cache
US8032578B2 (en) Using distributed queues in an overlay network
US20090177914A1 (en) Clustering Infrastructure System and Method
CN106210151A (en) A kind of zedis distributed caching and server cluster monitoring method
JP5605229B2 (en) Application server management system, application server management method, management apparatus, application server, and computer program
US20120278817A1 (en) Event distribution pattern for use with a distributed data grid
CN102934412B (en) Server cluster
Trivedi et al. System availability assessment using stochastic models
US10091283B2 (en) Distributed scheduling systems for digital magazine
CN112492022A (en) Cluster, method, system and storage medium for improving database availability
Subramaniyan et al. GEMS: Gossip-enabled monitoring service for scalable heterogeneous distributed systems
US8230086B2 (en) Hidden group membership in clustered computer system
US7386753B2 (en) Subscription-based management and distribution of member-specific state data in a distributed computing system
CN105100185A (en) System and method for adaptively integrating a database state notification service with a distributed transactional middleware machine
CN113326100A (en) Cluster management method, device and equipment and computer storage medium
US20190253313A1 (en) Architectural design to enable bidirectional service registration and interaction among clusters
US20160125330A1 (en) Rolling upgrade of metric collection and aggregation system
Osrael et al. Axis2-based replication middleware forweb services
US10275467B2 (en) Multi-level high availability model for an object storage service
JP6653676B2 (en) Optimal container placement system and container recovery method

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170620