Method and device for log collection cluster load balance

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: 2014-09-03
GUANGDONG EFLYCLOUD COMPUTING CO LTD
View PDF6 Cites 28 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 balance
  • Method and device for log collection cluster load balance

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should 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 the convenience of description, only parts related to the present invention are shown in the drawings but not all content.

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

[0022] figure 1 It is a flow chart of a log collection cluster load balancing method provided in the first embodiment of the present invention, the method is applicable to log collection cluster load balancing, and can be executed by a log collection server. Among them, load balancing refers to the processing of logs. According to the current load of the log servers in the cluster, the task of processing logs should be allocated to the machines in the cluster to...

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 method and a device for log collection cluster load balance. The method comprises the following steps: synchronizing state information of a log server through zookeeper, confirming data of a pointer of a log server data structure according to the state information of the log server, receiving a log transmitted from a log client, confirming the pointer of the log server distributed by the log in a data group polling mode, and forwarding the log to a confirmed server to which the pointer of the log server distributed by the log points. Communication between a log collection server and a log server is achieved through zookeeper, as the zookeeper is a cluster, the problem of single point of failure is avoided, the log server is allocated for the received log according to the state information of the log server so as to store the log, and load balance is achieved.

Description

technical field [0001] Embodiments of the present invention relate to network technologies, and in particular to a method and device for log collection cluster load balancing. 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 will be saved in the cluster machines and provide data access interfaces. 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 log stored on the local disk to the nod...

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 Applications(China)
IPC IPC(8): H04L29/08
Inventor 何作祥李坤祥黄衍博
Owner GUANGDONG EFLYCLOUD COMPUTING CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products