Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for log collection cluster load balancing

A cluster load balancing and logging technology, applied in the network field, can solve the problems of not considering load balancing, limited traffic, log loss, etc., to avoid single point of failure, good performance, and achieve the effect of load balancing

Active Publication Date: 2017-12-12
GUANGDONG EFLYCLOUD COMPUTING CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the prior art, a central controller implements the communication between the upload server and the node collection server. If a problem occurs in the central controller, the entire system cannot continue to work, and there is a single point of failure problem; the prior art does not consider the central collection Server load problem. When the central collection server is a single machine, the flow it can withstand is limited. If the flow exceeds the limit value, packet loss will occur, resulting in log loss. When the central collection server is a cluster, the load is not considered. balance problem

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for log collection cluster load balancing
  • Method and device for log collection cluster load balancing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The present invention will be further described in detail below with reference to the drawings and embodiments. It can be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for ease of description, the drawings only show a part but not all of the content related to the present invention.

[0021] figure 1 The first embodiment of the invention is shown.

[0022] figure 1 It is a flowchart of a method for load balancing of a log collection cluster provided by the first embodiment of the present invention. The method is suitable for load balancing of a log collection cluster and can be executed by a log collection server. Among them, load balancing refers to the processing of logs. The task of processing logs should be allocated to the machines in the cluster according to the current load of the log server in the cluster to ensure the normal availa...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a log collection cluster load balancing method and device. The method comprises: synchronizing the state information of the log server through zookeeper; determining an array of pointers to the data structure of the log server according to the state information of the log server; receiving the log sent by the log client; determining as the log by polling the array A pointer to an assigned log server; forwarding the log to the log server pointed to by the determined pointer to the log server assigned to the log. The present invention realizes the communication between log collection server and log server through zookeeper, because zookeeper is a cluster, has avoided the problem of single point of failure; According to the state information of log server, assign log server to store for the log received, realized load balanced.

Description

Technical field [0001] The embodiment of the present invention relates to network technology, and in particular to a method and device for load balancing of a log collection cluster. Background technique [0002] The log collection cluster is a service cluster composed of multiple log collection servers. The log sending client sends data to the cluster, and the data is stored in the cluster machines and provides an access interface for the data. In the prior art, the implementation method of the log collection cluster includes: the upload server receives the log upload notification message carrying the address information of at least one node collection server sent by the central controller, and saves the received address information of each node collection server; The upload server selects the address information of a node collection server to receive logs from the saved address information of the node collection server; the upload server sends the logs stored on the local disk ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08
Inventor 何作祥李坤祥黄衍博
Owner GUANGDONG EFLYCLOUD COMPUTING CO LTD