System and method used for processing high-concurrency data request of forum

A data request and forum technology, applied in the transmission system, electrical components, etc., can solve the problems such as the rapid increase in the number of posts and replies, and the multiplication of system pressure, so as to achieve comprehensive storage content, improve compression performance and stability, and improve compression resistance effect of ability

Inactive Publication Date: 2016-12-07
天涯社区网络科技股份有限公司
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The architecture of some ordinary small and medium-sized websites is a two-tier structure of application server + database server. This architecture has no major problems in dealing with ordinary user access. However, as time goes by, the amount of data accumulated every day and the rapid growth The number of visits will double the pressure on the entire system, especially when some news events occur, the number of forum posts and replies will increase sharply in a short period of time. way to meet the huge user traffic
However, increasing the application server cannot alleviate the pressure bottleneck caused by the increase in data volume and access volume. In the end, the pressure bottleneck will be on the database server layer, which will also affect the application server in turn. However, the database server is scarce and difficult to expand Therefore, it is necessary to transform the overall system of the forum, improve the system's ability to withstand pressure, reduce access to the database, and make the horizontal expansion of each layer of the system an extremely simple matter

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 used for processing high-concurrency data request of forum
  • System and method used for processing high-concurrency data request of forum
  • System and method used for processing high-concurrency data request of forum

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] Such as Figure 1-3 As shown, the present invention provides a system for processing highly concurrent data requests of forums, including a database server, a data cache server, an application server and a page cache server.

[0043] The page caching server is used for caching the source code of the HTML page sent by the application server, responding to the request of the client to access the page, and obtaining the source code of the HTML page of the requested page from the local or the application server.

[0044] see image 3, the application server includes a data reading module, a source code construction module, a data writing module, a first active update module and a second active update module. Wherein, the data reading module is used to read page data from a data cache server or a database server; the source code construction module is used to construct the page data into an HTML page source code and return it to the page cache server; The data writing modu...

Embodiment 2

[0054] The present invention also provides a method for processing high-concurrency data requests of forums. The method is implemented by using the above-mentioned system for processing high-concurrency data requests of forums, including a method for reading data and a method for updating data, and the method for reading The method of fetching data includes the following steps:

[0055] S101. Responding to the request of the client to access the page, determine whether the HTML page source code of the requested page is cached in the page cache server, if so, return the HTML page source code cached in the page cache server to the client, if not, then Send a page data request to the application server;

[0056] S102. According to the page data request, the application server queries whether the page data corresponding to the page data request is cached in the data cache server, if yes, reads the page data from the data cache server, if not, Then read the page data corresponding...

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 system used for processing a high-concurrency data request of a forum. The system comprises a database server, a data cache server, an application server and a page cache server. According to the system, by changing a conventional website architecture, the page cache server is additionally arranged at the front end of the application server, a cache server is additionally arranged between the application server and a storage server, and HTML page source codes are cached by utilizing the page cache server, so that logic operation work of the application server is reduced and the application server is well protected; and page data is cached by utilizing the data cache server, so that the frequency of visiting the database server is reduced, the application server and the database server are well protected, and the pressure resistance and stability of the whole system are improved.

Description

technical field [0001] The invention relates to computer system data processing, in particular to a system and method for processing high concurrent data requests of forums. Background technique [0002] Forum is also known as BBS, which is a common WEB system for information services on the Internet. It provides a platform for users to communicate with each other. Each user can post information or put forward opinions. It is a highly interactive and rich in content With the timely Internet electronic information service system, users can obtain various information services, release information, discuss, chat, etc. on the BBS site. [0003] With the development of the Internet today, various forums have sprung up like mushrooms after rain, and have grown rapidly. Forums cover almost every aspect of people's lives, and almost everyone can find the topical forums they are interested in or need to know about, and various websites, comprehensive portals or functional thematic w...

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): H04L29/08
CPCH04L67/02H04L67/5682
Inventor 王亮
Owner 天涯社区网络科技股份有限公司
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