Data processing method, server, client, device and readable storage medium

A data processing and server-side technology, applied in the field of data processing, can solve problems such as long operation cycle, high synchronous refresh, and low business reliability, and achieve the effect of improving efficiency and ensuring consistency
CN109213792BActive Publication Date: 2021-11-09WUHAN DOUYU NETWORK TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
WUHAN DOUYU NETWORK TECH CO LTD
Publication Date
2021-11-09

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

Embodiments of the present invention provide a data processing method, a server, a client, a device, and a readable storage medium. The method includes: the server determines the updated data in the relational database, writes the identifier of the updated data into the relational database, and sends a notification message to the client, the notification message is used to indicate that updated data. The client then determines the identifier of the updated data according to the notification message, obtains the data value corresponding to the identifier of the updated data from the relational database corresponding to the identifier of the updated data, and stores the corresponding data respectively The value is updated to the instance's cached data. By adopting this solution, the client can update the cached data in the instance in time to ensure data consistency.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of software, in particular to a data processing method, server, client, device and readable storage medium. Background technique

[0002] In the field of software engineering, there is a large flow of data access. In order to improve data retrieval efficiency and reduce request response time, data in relational databases is generally cached in memory databases to improve data throughput and excellent query performance. However, it is necessary to ensure the consistency of the data cached in the memory database and the data in the relational database. If the data is inconsistent, business problems may occur.

[0003] In order to achieve the purpose of data consistency, when the server writes to the relational database, the cache of the memory database is refreshed synchronously, thereby achieving data consistency. However, this method of synchronous refresh is limited to scenarios with fewer memory d...

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