Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

MongoDB-based load balancing optimization system and method

A load balancing and balancing technology, applied in transmission systems, electrical components, etc., can solve problems such as unbalanced server load

Inactive Publication Date: 2018-04-20
CHONGQING UNIV OF POSTS & TELECOMM
View PDF3 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The purpose of the present invention is to solve the problem that the existing automatic fragmentation mechanism of MongoDB causes the load imbalance of each server

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
  • MongoDB-based load balancing optimization system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The technical solutions in the embodiments of the present invention will be described clearly and in detail below with reference to the drawings in the embodiments of the present invention. The described embodiments are only some of the embodiments of the invention.

[0033] The technical scheme that the present invention solves the problems of the technologies described above is:

[0034] The present invention adds a load monitor module on the original MongoDB system framework, and is responsible for periodically and dynamically monitoring the cpu utilization rate N of each server CPU , Memory utilization N MEMORY , Bandwidth utilization N BANDWIDTH(In order to avoid affecting system performance due to obtaining too many indicators, only these three are considered). and set weights for them respectively.

[0035] After many experiments, it was found that cpu utilization and memory (momery) utilization have a greater impact on the performance of the server, so the s...

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 MongoDB-based load balancing optimization system, the MongoDB-based load balancing optimization system comprises a MongoDB system, data of the MongoDB is stored in each slice, the data is divided into data blocks of certain size and then placed in each server, and when the number of the data blocks in each server is not balanced, load balancing is realized through a balancer module; for the MongoDB-based load balancing optimization system, one load monitor module is added on the MongoDB system framework and is in charge of periodically and dynamically monitoring a cpuutilization rate NCPU, a memory utilization rate NMEMORY and a bandwidth utilization rate NBANDWIDTH of each server, and respectively setting a cpu utilization rate weight k1, a memory utilization rate weight k2 and a bandwidth utilization rate weight k3; and the server comprehensively considers adjustment according to real-time judgement on whether overloading exists and operation heat of the data blocks, and thus, MongoDB dynamic load balancing is realized. With the system and the method provided by the invention, a resource utilization rate of the server is maximized, and MongoDB dynamic load balancing is realized.

Description

technical field [0001] The invention belongs to the field of data processing performance optimization of databases, in particular to a method for improving load balancing, which improves the high concurrent reading and writing capabilities of databases. Background technique [0002] Due to the advent of the era of big data and the rapid development of cloud storage technology, people's daily life and various scientific experiments have generated massive amounts of data. For how to effectively and quickly store and extract these massive data, traditional relational databases have exposed many difficult problems. Especially in the face of high concurrent read and write requests, fast access to massive data, efficient storage, and high scalability of the database, it is difficult to meet the needs. [0003] Therefore, the non-relational database NoSql came into being. NoSql database is famous for supporting massive data, high availability, and high scalability, and solves the...

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/08
CPCH04L67/1008H04L67/1097H04L67/1001
Inventor 谭军张雄
Owner CHONGQING UNIV OF POSTS & TELECOMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products