Unlock instant, AI-driven research and patent intelligence for your innovation.
A configurable caching system and method
What is Al technical title?
Al technical title is built by PatSnap Al team. It summarizes the technical point description of the patent document.
A caching system and caching technology, applied in the Internet field, can solve problems such as cache invalidation and achieve the effect of guaranteeing the hit rate
Active Publication Date: 2018-08-24
MOLBASE SHANGHAI BIOTECH CO LTD
View PDF4 Cites 0 Cited by
Summary
Abstract
Description
Claims
Application Information
AI Technical Summary
This helps you quickly interpret patents by identifying the three key elements:
Problems solved by technology
Method used
Benefits of technology
Problems solved by technology
In real business scenarios, changes in browsers, operating systems, url redirection, get parameters, cookie values, and many other factors may cause cache invalidation
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
Click on the blue label to locate the original text in one second.
Reading with bidirectional positioning of images and text.
Smart Image
Examples
Experimental program
Comparison scheme
Effect test
Embodiment 1
[0020] See figure 1 , a configurable caching system of the present invention, including a front-end scheduler, a front-end cache server, and a front-end scheduler, here refers to seven-layer application proxy software widely used in web development, including nginx, haproxy, etc. are very efficient For the front-end scheduler, nginx is preferred in the present invention.
[0021] Relevant location rules and embedded script Lua language are configured in the front-end scheduler. The present invention uses embedded script Lua language programming to eliminate possible interference with the cache through url rewriting technology and custom header domain values in the front-end scheduler. factor to maximize the cache hit rate.
[0022] The configurable caching method of the present invention is implemented by the above-mentioned configurable caching system, and includes at least the following steps:
[0023] (1) The front-end scheduler forwards the request, judges the request,...
Embodiment 2
[0047] Taking the login user language version distinction as an example, the present invention is divided into proxy service configuration logic and response matching logic.
[0048] An example of proxy service configuration logic is as follows:
[0049] rewrite / demo.php?test=abc / demo.php last; #Use internal jump to achieve the purpose of modifying url
[0050] set $deflang en; #default value
[0051] set_by_lua $flang'
[0052] local l = ngx.req.get_headers()['Accept-Language']
[0064] The above example only shows the matching and rewritin...
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
Login to View More
Abstract
The invention provides a configurable caching system and method. The system comprises a front-end scheduler and a front-end cache server. A related location rule and an embedded script Lua language are provided in the front-end scheduler. According to the system and the method provided by the invention, by using url rewriting technology and a self-defined header field value in the front-end scheduler, factors that may interfere with caching are eliminated, thereby ensuring a hit rate of caching to a maximum extent; it is ensured that different URLs are cached according to same logic; meanwhile, it is ensured that login users are provided with separate caching logic for a same URL.
Description
technical field [0001] The invention relates to the field of the Internet, in particular to a front-end caching system and method. Background technique [0002] Cache technology is ubiquitous in computer systems, from computers to various routing devices, from software implementation to hardware implementation, a well-designed cache system can greatly improve the response speed of the system and improve the user experience. In Internet applications, the cache system is divided into back-end caches such as memcache and redis, and front-end cache systems such as Squid, Varnish, Nginx, and Apache Traffic Server. Regardless of the front-end cache or the back-end cache, adapting to business needs and improving the cache hit rate are the most important pursuits. [0003] Front-end cache service refers to the use of CDN technology, using Squid, Varnish, Nginx, Apache TrafficServer, etc. as front-end cache to provide cache services described in the HTTP protocol. [0004] The HTTP...
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
Application Date:The date an application was filed.
Publication Date:The date a patent or application was officially published.
First Publication Date:The earliest publication date of a patent with the same application number.
Issue Date:Publication date of the patent grant document.
PCT Entry Date:The Entry date of PCT National Phase.
Estimated Expiry Date:The statutory expiry date of a patent right according to the Patent Law, and it is the longest term of protection that the patent right can achieve without the termination of the patent right due to other reasons(Term extension factor has been taken into account ).
Invalid Date:Actual expiry date is based on effective date or publication date of legal transaction data of invalid patent.