- Mastering Concurrency in Python
- Quan Nguyen
- 137字
- 2021-06-10 19:24:06
Concurrent Web Requests
This chapter will focus on the application of concurrency in making web requests. Intuitively, making requests to a web page to collect information about it is independent to applying the same task to another web page. Concurrency, specifically threading in this case, therefore can be a powerful tool that provides a significant speedup in this process. In this chapter, we will learn the fundamentals of web requests and how to interact with websites using Python. We will also see how concurrency can help us make multiple requests in an efficient way. Finally, we will look at a number of good practices in web requests.
In this chapter, we will cover the following concepts:
- The basics of web requests
- The requests module
- Concurrent web requests
- The problem of timeout
- Good practices in making web requests
推薦閱讀
- Google Flutter Mobile Development Quick Start Guide
- 微服務與事件驅動架構
- Responsive Web Design with HTML5 and CSS3
- Raspberry Pi for Secret Agents(Third Edition)
- Bootstrap Essentials
- C# 8.0核心技術指南(原書第8版)
- LabVIEW虛擬儀器程序設計從入門到精通(第二版)
- Android Development Tools for Eclipse
- 深入理解BootLoader
- Mastering HTML5 Forms
- Learning Unreal Engine Game Development
- Java面向對象程序設計教程
- C語言程序設計實驗指導與習題精解
- Python人工智能項目實戰
- 瘋狂Ajax講義(第3版)