System and method for realizing restoration of web service in case of crash of database

A database and website technology, which is applied in the field of website service recovery when the database is down, can solve the problems that the page cannot provide any service, the website is paralyzed, etc., and achieve the effect of ensuring normal access and wide application range

Inactive Publication Date: 2014-05-14
CERTUS NETWORK TECHNANJING
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the database cluster in the system is down, such as: SAN (Storage Area Networking, storage area network) fails, it will cause all pages of the website to be unable to provide any services, and the entire website will be paralyzed

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
  • System and method for realizing restoration of web service in case of crash of database
  • System and method for realizing restoration of web service in case of crash of database
  • System and method for realizing restoration of web service in case of crash of database

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach

[0042] In order to realize the function described in the present invention, the specific implementation is as follows:

[0043] 1. Add page cache server and database cache server to the website.

[0044] 2. Install caching programs such as Nginx (a lightweight web server / reverse proxy server and email (IMAP / POP3) proxy server) on the web server, and cache common pages in the page caching server. For some non-common pages, such as personalized pages, etc., modify the program to transfer the personalized content from other URL (Uniform Resource Locator) fetching.

[0045] 3. Provide a database cache server for the database, cache common database query content on the database cache server, and ensure that commonly used database query results can be obtained in the database cache server.

[0046] 4. Reconfigure the permission logic of the website to ensure that the system can obtain data from the database cache server to complete user authentication when the database is down and...

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 system and method for realizing the restoration of a web service in case of a crash of a database. The system comprises a page caching server and a database caching server, wherein the page caching server is used for acquiring a general web page from a web server of the web service for caching, and the database caching server is used for caching general database query content of the web service. The structure is adopted for the system and method for realizing the restoration of the web service in case of the crash of the database, page caching and database caching are reasonably set, asynchronous personalized data are acquired, reasonable strategies and services are set, and web page caching, asynchronous personalized data loading, database caching and other technologies are applied comprehensively, as a result, the web service can be quickly restored in case of the crash of the database, a user website can still provide all or part of service under the circumstance that the database has the crash, normal access by users of the web site can be guaranteed, and the application range is wider.

Description

technical field [0001] The invention relates to the technical field of website services, in particular to the technical field of website database recovery when downtime, and specifically refers to a system and method for realizing website service recovery under the condition of database downtime. Background technique [0002] In the existing website, the database occupies a very core position. Almost all user operations require the participation of the database. The simple topology of the entire website system is as follows: figure 1 shown. If the database cluster in the system is down, such as: SAN (Storage Area Networking, storage area network) failure, it will cause all pages of the website to be unable to provide any services, and the entire website will be paralyzed. Contents of the invention [0003] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art, and to provide a database server that can still provide all or ...

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/30G06F11/00H04L29/08
CPCG06F16/23H04L67/568
Inventor 逯利军钱培专姜健卢天华曹晶林强
Owner CERTUS NETWORK TECHNANJING
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products