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

Method and system for achieving multifunctional caching

A multi-functional, caching technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as limited number of available files, rigid configuration, impact of caching functions, etc., to reduce development and maintenance costs, The effect of improving access performance and increasing flexibility

Inactive Publication Date: 2018-04-27
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] First of all, this method only works on requests using the ngx_http_proxy_module module, which has certain limitations; second, the configuration is relatively rigid, and the cache cannot be dynamically turned on or off; third, because the acquired data is stored on the disk, the available files that can be stored The number of inodes is limited by the number of inodes in the file system; finally, during the data caching process, the caching device is single, and the data can only be cached in the specified directory, and the caching device cannot be freely selected. The realization of the caching function Has a certain impact and is not conducive to improving the performance of the entire system

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 achieving multifunctional caching
  • Method and system for achieving multifunctional caching

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0024] The method for realizing the multi-function caching in the embodiment of the present invention is based on Nginx implementation, zero intrusion to the original system, specifically can be: by using languages ​​such as Lua, write processing script, and script is registered in the different phases of Nginx, thereby realizes Using the Nginx proxy method, the cache func...

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 provides a method and system for achieving multifunctional caching. The technical boundedness of a caching function can be broken through, and the cost of development and maintenance isreduced; moreover, nonintrusive configuration can be achieved on an original system, and enabling and disabling of a cache are flexibly set; additionally, caching equipment can also be freely selected, and the system performance is improved. The method includes the steps of utilizing an Nginx, according to a data request, obtaining data from the caching equipment, and if the data is obtained successfully, returning the data back to a client side; otherwise, returning data to a source from a server, sending the data which is returned to the source back to the client side, and storing the data in the caching equipment, wherein returning to the source means that a request of the client side is sent back to the server and data is obtained from the server, and the caching equipment is a memorydatabase and / or an external database.

Description

technical field [0001] The invention relates to the field of computer technology and software, in particular to a method and system for realizing multi-functional cache. Background technique [0002] Caching technology has almost become an effective technical means to improve the performance of various systems, and it is an indispensable technology in Internet website systems. Each system uses different technologies in the process of implementing caching according to its own needs. [0003] In the prior art, an effective method for realizing the cache function is to use the ngx_http_proxy_module module of Nginx itself to cache data through a proxy. Through the relevant cache instructions in this module, it is easy to cache data in disk files, and the configuration is relatively simple. [0004] But this approach has some drawbacks: [0005] First of all, this method only works for requests using the ngx_http_proxy_module module, which has certain limitations; second, the ...

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): G06F17/30
CPCG06F16/2471G06F16/27
Inventor 马顺风
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD