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

Distributed data center based on kafka and Hash shared memory

A distributed data and shared memory technology, applied in the field of distributed data centers, can solve the problems of high access pressure on the central database, insufficient data access efficiency, slow database data access speed, etc., to ensure normal operation and reduce access pressure. , the effect of solving the rapid demand

Active Publication Date: 2021-09-17
深圳智多豚物联技术有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As the amount of data increases, the data in the central database becomes larger and larger, and the frequency of writing and accessing the data center also increases. The performance of the center also limits the continuous growth of the business. Since the data center uses redis or database to store data, the business has a certain speed requirement on the data access speed. When it is cross-regional or even transnational, the data access efficiency cannot meet the business requirements. In other words, the access efficiency of the data center cannot meet the business processing capabilities, it is difficult to achieve fast and real-time data access and inspection, and the data access speed of cross-regional access to the central database is slow

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
  • Distributed data center based on kafka and Hash shared memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0028] refer to figure 1 As shown, the present invention provides a distributed data center based on kafka and hash shared memory, including:

[0029] Central database 1, the central database 1 establishes a data update table corresponding to the constant table, and writes the added / modified data of the constant table into the data update table through a trigger; specifically, the central database 1 Create a mysql table with the same fields of an existing constant table through the table creation statement of mysql (mysql is a relational database management system) (mysql table is called a data update table, and the data update table is used to replace the mysql table in the following) , and create a trigger corresponding to the data table through the statement of creating a trigger in mysql, thereby triggering the insert and update operatio...

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 distributed data center based on kafka and Hash shared memory, comprising: a central database which is used for establishing a data update table and writing added / modified data into the data update table; a newly-added data reading server side which reads the newly-added data of the data updating table and pushes the newly-added data to the kafka; a root data center server which reads the total data and then consumes the newly added data in the kafka when the shared memory has no data, directly consumes the newly added data in the kafka when the shared memory has data, and writes the read data into the shared memory; and a plurality of pages of node data center servers which synchronize full data to own nodes and consume newly added data in the kafka when the shared memory has no data, and directly consume the newly added data in the kafka when the shared memory has data, wherein the data are stored in the shared memory. According to the invention, distributed query is realized, the query and check speed is high, and the quick requirement of local services on query and check is met.

Description

technical field [0001] The invention relates to the technical field of data centers, in particular to a distributed data center based on kafka and hash shared memory. Background technique [0002] For data centers, redis (redis is a key-value storage system) or database is generally used for storage at present, and there is only one central database or a database with read-write separation. As the amount of data increases, the data in the central database becomes larger and larger, and the frequency of writing and accessing the data center also increases. The performance of the center also limits the continuous growth of the business. Since the data center uses redis or database to store data, the business has a certain speed requirement on the data access speed. When it is cross-regional or even transnational, the data access efficiency cannot meet the business requirements. The access efficiency of the data center cannot meet the business processing capacity, it is diffic...

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): G06F16/27G06F9/50G06F16/2453
CPCG06F16/275G06F16/2453G06F9/5016Y02D10/00
Inventor 凌远泽陈贤平
Owner 深圳智多豚物联技术有限公司
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