Method and system for decoupling and persisting data based on ignite grid cache

A data cache and persistence technology, which is applied in the direction of electronic digital data processing, digital data information retrieval, special data processing applications, etc., can solve the problems that affect the efficiency and performance of Ignite clusters, and the instability of Ignite clusters, so as to avoid management complexity Enhancement, faster communication speed, and improved stability

Active Publication Date: 2022-01-04
中电福富信息科技有限公司 +1
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to solve the problem that the existing cache write-through mode in the data grid of Apache Ignite affects the efficiency and performance of the Ignite cluster due to the database and causes the instability of the Ignite cluster, it provides a method based on Ignite grid cache data decoupling persistence and The system will introduce a local message system similar to the producer-consumer mode between the cache and the database, that is, the producer first writes the cache update data to the local file, and then the consumer writes the data in the local file to the database

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 system for decoupling and persisting data based on ignite grid cache
  • Method and system for decoupling and persisting data based on ignite grid cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] Such as figure 1 As shown in or 2, the present invention discloses a decoupling persistence system based on Ignite grid cache data, which includes a database and multiple servers connected to the database, and each server includes multiple service nodes, multiple file queue directories, and clients Nodes, each service node, file queue directory, and client node are set in one-to-one correspondence. Each service node has multiple caches, each cache creates a corresponding producer, and the file queue directory corresponds to each Each producer has a queue directory corresponding to it, the cache is used to send its updated data to the corresponding producer, and the producer is used for data update, packaging and writing the packaged data into the corresponding queue directory data file.

[0022] Producers and service nodes share the same Java Virtual Machine (JVM). The communication speed in the process is fast; the integrated binding starts, and it will also restart ...

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 present invention discloses a method and system based on Ignite grid cache data decoupling and persistence. The system includes a database and multiple servers connected to the database. Each server includes multiple service nodes, multiple file queue directories, and client nodes. Each service node, file queue directory, and client node are set in one-to-one correspondence. Each service node has multiple caches. Each cache creates a corresponding producer. The file queue directory corresponds to each producer. There is a queue directory corresponding to it, and the cache is used to send its updated data to the corresponding producer, and the producer is used for data update, packaging, and writing the packaged data to the data file in the corresponding queue directory. The invention decouples the Ignite cache and the database, improves the speed of cache processing and the throughput of the cluster, avoids the influence of the database on the cluster, and improves the stability of the cluster.

Description

technical field [0001] The invention relates to the field of big data processing, in particular to a method and system for decoupling and persisting data based on Ignite grid cache. Background technique [0002] The Apache Ignite memory array organization framework is a high-performance, integrated and distributed memory computing and transaction platform for large-scale data set processing, which has higher performance than traditional disk-based or flash-based technologies. Provides high-performance, distributed in-memory data organization and management functions between applications and different data sources. [0003] In Apache Ignite's data grid, the write through function means that when the cache is updated, it will be automatically persisted, and the data will be persisted to the database. Currently, the write-through method of the Ignite data grid is a write-through method in which the cache and the database are tightly coupled. Even in the write-behind function ...

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): G06F9/54G06F16/172G06F16/182
CPCG06F9/546G06F16/172G06F16/182
Inventor 连城郭海涛孙而焓
Owner 中电福富信息科技有限公司
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