Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for realizing data synchronization between database and cache

A data synchronization and database technology, applied in the field of data processing, can solve the problems of poor real-time and accuracy of data synchronization, cumbersome and other problems

Active Publication Date: 2021-06-11
阿里巴巴(中国)网络技术有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] To sum up, in the prior art schemes for realizing database and cache synchronization, the real-time performance and accuracy of data synchronization are poor, and it is relatively cumbersome.

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
  • A method and device for realizing data synchronization between database and cache
  • A method and device for realizing data synchronization between database and cache
  • A method and device for realizing data synchronization between database and cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The present application embodiment provides a method and apparatus for implementing data synchronization of database and cache to make more convenient database and cache data synchronization, and improve data synchronization real-time and accuracy.

[0040] The present application provides a solution to TAIR to TAIR to provide a configuration, dynamic flexible general solution, abandoning a variety of problems and insufficient problems of existing technical solutions, perfectly solving the data in DB into Tair, DB and The problem of maintaining data synchronization between TAIR.

[0041] See figure 1 A device that provides data synchronization of a database and a cache provided herein, including:

[0042] Read the data module 10 for reading data from the database in a pre-configured data synchronization task, and transmits the processor 11 associated with the data synchronization task;

[0043] The processor 11 is configured to receive the data transmitted by the read data ...

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 application discloses a method and a device for synchronizing data between a database and a cache, so as to realize data synchronization between a database and a cache more conveniently, and improve the real-time performance and accuracy of data synchronization. A method for realizing data synchronization between a database and a cache provided by the present application includes: the data reading module reads data from the database according to a pre-configured data synchronization task, and sends the data to a processor associated with the data synchronization task; The processor receives the data, processes the data according to the pre-configured data processing rules, so that the data meets the cache requirements, and sends the processed data to the data write associated with the data synchronization task input module; the data writing module receives the data sent by the processor and writes it into the cache.

Description

Technical field [0001] The present application relates to the field of data processing, in particular, relates to a method and apparatus for realizing data synchronization of database and cache. Background technique [0002] Tair is a widely used distributed key (KV) storage, providing a distributed cache for countless business scenarios. The data source in Tair is except for the business data generated (such as the page HTML clip, user access results), the most important source is the database. Database (DB) as the most basic data store is the most common selection that requires persistent data storage. However, the relational database is facing many challenges under massive data, and TAIR's distributed KV is stored more excellent performance in performance, scalability, and data structural flexibility. So for those front-end applications that have a huge access, TAIR replacement DB is usually used as the primary data acquisition source. How to write DB data into Tair, and maint...

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): G06F16/27G06F16/23G06F16/2455
CPCG06F16/2365G06F16/24552
Inventor 项欢马俊锋
Owner 阿里巴巴(中国)网络技术有限公司