Skip to main content

Design and Implementation of Web Crawler Based on Coroutine Model

  • Conference paper
  • First Online:
Cloud Computing and Security (ICCCS 2018)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 11063))

Included in the following conference series:

Abstract

Web crawler is widely used in Chinese information processing. According to the problem to be dealt with, crawling related domains data, it provides the basis for subsequent Chinese information processing. The traditional multi-threaded model has obvious limitations and deficiencies when dealing with high concurrency and large number of I/O blocking operations. To solve the above problems, this paper proposes a solution based on the coroutine model. In this paper, the basic principles and implementation methods of coroutine are discussed in detail, then give a complete implementation of web crawler based on coroutine. Experimental results had shown that our scheme can effectively reduce system load and improve web crawler crawling efficiency.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Network crawler. https://en.wikipedia.org/wiki/networkcrawler. Accessed 1 Feb 2018

  2. Hua, B.L.: Research on knowledge extraction system architecture based on NLP. New Library Information Technology, pp. 38–41 (2007)

    Google Scholar 

  3. WordNet structure and relations. http://wordnet.princeton.edu/. Accessed 1 Feb 2018

  4. Li, X.M., Yan, H.F., Wang, J.M.: Search Engine: Principle, Technology and System. Science China Press, Beijing (2012)

    Google Scholar 

  5. Yin, J., Yin, Z.B., Huang, H.: Analysis and solution of the bottleneck of web reptilian efficiency. J. Comput. Appl. 28(5), 1114–1119 (2008)

    MATH  Google Scholar 

  6. Zhou, D.M., Li, Z.J.: High-performance web reptiles: a review of research. Comput. Sci. 36(8), 26–29 (2009)

    Google Scholar 

  7. Shaver, C., Lee, E.A.: The coroutine model of computation. In: Proceedings of the International Conference on Model Driven Engineering Languages and Systems, pp. 319–334 (2012)

    Google Scholar 

  8. Document of Beautiful Soup. https://www.crummy.com/software/BeautifulSoup/. Accessed 1 Mar 2018

  9. Coroutines with async and await syntax. https://www.python.org/dev/peps/pep-0492/. Accessed 1 Mar 2018

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Renshuang Ding .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Ding, R., Wang, M. (2018). Design and Implementation of Web Crawler Based on Coroutine Model. In: Sun, X., Pan, Z., Bertino, E. (eds) Cloud Computing and Security. ICCCS 2018. Lecture Notes in Computer Science(), vol 11063. Springer, Cham. https://doi.org/10.1007/978-3-030-00006-6_39

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-00006-6_39

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-00005-9

  • Online ISBN: 978-3-030-00006-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics