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

Redis-based data calling method and its system

A data call and data technology, applied in the field of data processing, can solve the problems of high pressure on the database server, increased server pressure, slow response, etc., to achieve data consistency, increase data call speed, and reduce pressure.

Active Publication Date: 2019-04-23
北京铭万智达科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the case of a large amount of data requests, once the Memcache cache layer fails, each business logic layer needs to directly go to the data layer to query data, which directly leads to a very high pressure on the database server, and even slow response and lockup.
In addition, if the Memcache cache layer fails, more requests will be generated to call the database server, which will increase the pressure on each group of servers of the database server and cause slow response.

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
  • Redis-based data calling method and its system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] A kind of Redis-based data calling method described in the embodiment of the present invention comprises:

[0033] After the business layer receives the instructions from the client, it triggers a data query command or a data modification command. The business layer includes a PHP business layer and a .NET business layer. The website project is not limited to a development language and architecture environment, so in a large project There will be business layers with multiple development languages ​​coexisting, but the data sources accessed by these business layers are the same. The functions of the PHP business layer and the .NET business layer are the same, and both have the operations of adding, deleting, modifying, and querying.

[0034] The user logs in to the platform to issue instructions, and the business layer receives the instructions and selects to trigger a data query instruction or a data modification instruction, where the data modification instruction incl...

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 relates to a data calling method and system based on Redis.The data calling method includes the steps that a business layer triggers a data querying order or a data modifying order; if the business layer triggers the data querying order, the business layer accesses a Redis server and queries related data; if the business layer triggers the data modifying order, the business layer accesses a Java server, and a server database and the Redis server are subjected to same data changing through the Java server.The data requests of users are queried through all business layers of a database server, data only needs to be read from the Redis server, the pressure of the database is reduced accordingly, the data response time of database calling is shortened, and the data calling speed of the system is increased.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a Redis-based data calling method and system thereof. Background technique [0002] The cache technology of the WEB site basically adopts: business logic layer + Memcache cache layer + data layer, in which the Memcache cache layer is a temporary cache, and the server will periodically clear the data in the Memcache cache layer, or when the system is restarted, the Memcache cache layer The data in it will also be cleared. For the case of a large amount of data requests, once the Memcache cache layer fails, each business logic layer needs to directly go to the data layer to query data, which directly leads to a very high pressure on the database server, and even slow response and lockup. In addition, if the Memcache cache layer fails, more requests will be generated to call the database server, which will increase the pressure on each group of servers of the database server and caus...

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/25
CPCG06F16/25
Inventor 张桐铭柳赫
Owner 北京铭万智达科技有限公司