Service flow restriction methodbased on zookeeper, system, server and storage medium

A current limiting method and server technology, applied in the field of computer software engineering, can solve problems such as poor scalability, low server resource utilization, and inability to adequately respond to service requests, and achieve the effect of ensuring consistency and a reliable message mechanism

Active Publication Date: 2018-12-21
WUHAN DOUYU NETWORK TECH CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the scalability is poor, the utilization rate of server resources is low, and it ca

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
  • Service flow restriction methodbased on zookeeper, system, server and storage medium
  • Service flow restriction methodbased on zookeeper, system, server and storage medium
  • Service flow restriction methodbased on zookeeper, system, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The present invention provides a service current limiting method, system, server and storage medium based on ZooKeeper, uses ZooKeeper's distributed scheduling capability and unified namespace, and aims at task computing scenarios, establishes three nodes in ZooKeeper, and records task execution information respectively And wait for information, and monitor the changes of nodes on ZooKeeper, and process the corresponding events. If all computing servers use the same ZooKeeper uniformly, there will be no information error in scheduling.

[0038] In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the following The described embodiments are only some, not all, embodiments of the present invention. Ba...

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 relates to a server current limiting method based on ZooKeeper, a system, a server and a storage medium, wherein the method establishes three nodes in the zookeeper, records tasks, executes information and wait information respectively, and listens for a change event of a node on the zookeeper and processes the corresponding event. ZooKeeper guarantees distributed data consistency and provides a reliable messaging mechanism to ensure that the current can be limited and merged into the waiting queue when the service is in high traffic.

Description

technical field [0001] The invention relates to the field of computer software engineering, in particular to a ZooKeeper-based service current limiting method, system, server and storage medium. Background technique [0002] In software engineering and big data fields, there are often offline task computing scenarios, that is, a large number of business analysis tasks require a large number of computing clusters to analyze business data, mine operations, and recommend strategies. There are many business analysis tasks, but computing servers are limited. How to balance computing tasks and server load usage is a key issue, which determines whether all tasks can be efficiently calculated and the servers are fully used. For example, when there are 1,000 computing tasks, but only 20 server instances, how to perform current limiting control. [0003] Traditional service rate limiting is mostly controlled by manual configuration. For example, during the period from 1:00 am to 2:00...

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
IPC IPC(8): H04L29/08G06F9/50G06F9/48
CPCH04L67/10G06F9/4881G06F9/5027H04L67/1001H04L67/63
Inventor 张振铎陈少杰张文明
Owner WUHAN DOUYU NETWORK TECH 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