6
Application of NoSQL Database in Web Crawling GU Yunhua, SHEN Shu, ZHENG Guansheng International Journal of Digital Content Technology and i ts Applications. Volume 5, Number 6, June 2011 Application of NoSQL Database in Web Crawling GU Yunhua, SHEN Shu, ZHENG Guansheng College of Computer and Software, Nanjing University of Information Science and Technology, Nanjing, 210044, China doi:10.4156/jdcta.vol5.issue6.31  Abstract Web crawling is one of the most important applications of the Internet; the selection of database storage directly affects the performance of search engines. In the past few decades, the traditional relational databases almost monopolize all areas of the database applications. However, with the continuous development of web applications, they are facing the severe challenges. NoSQL database is the broad definition of non-relational data storage. This article gives the data storage structure and query of relational database and NoSQL database MongoDB to meteorological BBS information collection system, and the advantage and the disadvantage are listed in data structure, query and scalability. Compared to relational database, MongoDB supports schema-free, has great query  performance with huge amount of data and provides easy horizontal scalability with low cost of hardware. It is more suitable for data storage in Web crawling. Keywords:  NoSQL, MongoDB, W eb Crawling 1. Introduction Web crawling is to filter and collect various information and resource from Internet, according to a certain theme, storage the information into the database, and construct the search engine for users. Because of the huge amount of information, the performance of search engine is mostly affected by storage form and the storage database. Web crawling requests great capacity of storage space and low hardware costs. Its requirements of consistency and integrity can be reduced, but need high availabilit y, scalability and performance. The relational databases store data in the form of a two-dimensi onal table with strictly row and column format, and emphasize the consistency and integrity of data, thus the  performance in the distributed data management has low efficient, resulting in poor horizontal scalability and high hardware costs when increasing the data storage [1-3]. With the increasing resources of information, the traditional relational database can no longer suffice requirement to query information [4,5]. Several famous search engines implement their own databases, such as Google’s BigTable[6]. That has brought a new generation of database -- NoSQL database. This paper gives the solution of relational database and NoSQL to a certain meteorological BBS information collection system, and compares the advantage and disadvantage of them. The rest of this paper is organized as follows: Section 2, we give a brief description of normal Web crawling system architecture and their convergence properties. The fundamental NoSQL database is discussed in Section 3 and we compare the characteristics between the NoSQL database and relational database in section 4. The further research on NoSQL database in information retrieval is proposed in Section 5. 2. Web Crawling System 2.1. Principles of Web Crawling Web crawling is a process that automatically obtains information from the Web pages through the link relationships between them and expands to the entire Web. This process is mainly done by the Web Crawler which usually consists of spider, controller and original page library, as shown in Figure 1. The spider crawls the pages from the Internet, extracts the URLs to URL database, and saves the pages to the original page library. As crawling a Web page usually takes seconds time to wait network communication, multiple spiders will be started to parallel process so as to improve the crawl rate. The - 261 -

31_ JDCTA_June-35

Embed Size (px)

Citation preview

Page 1: 31_ JDCTA_June-35

8/10/2019 31_ JDCTA_June-35

http://slidepdf.com/reader/full/31-jdctajune-35 1/6

Page 2: 31_ JDCTA_June-35

8/10/2019 31_ JDCTA_June-35

http://slidepdf.com/reader/full/31-jdctajune-35 2/6

Page 3: 31_ JDCTA_June-35

8/10/2019 31_ JDCTA_June-35

http://slidepdf.com/reader/full/31-jdctajune-35 3/6

Page 4: 31_ JDCTA_June-35

8/10/2019 31_ JDCTA_June-35

http://slidepdf.com/reader/full/31-jdctajune-35 4/6

Page 5: 31_ JDCTA_June-35

8/10/2019 31_ JDCTA_June-35

http://slidepdf.com/reader/full/31-jdctajune-35 5/6

Page 6: 31_ JDCTA_June-35

8/10/2019 31_ JDCTA_June-35

http://slidepdf.com/reader/full/31-jdctajune-35 6/6