- 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
推薦閱讀
- C#高級編程(第10版) C# 6 & .NET Core 1.0 (.NET開發(fā)經(jīng)典名著)
- 從零開始:數(shù)字圖像處理的編程基礎(chǔ)與應(yīng)用
- ThinkPHP 5實(shí)戰(zhàn)
- 64位匯編語言的編程藝術(shù)
- 深入淺出DPDK
- Mastering macOS Programming
- Learning Salesforce Einstein
- Getting Started with NativeScript
- Getting Started with LLVM Core Libraries
- 基于Struts、Hibernate、Spring架構(gòu)的Web應(yīng)用開發(fā)
- Nginx Lua開發(fā)實(shí)戰(zhàn)
- MySQL從入門到精通(軟件開發(fā)視頻大講堂)
- Penetration Testing with the Bash shell
- STM8實(shí)戰(zhàn)
- Manage Your SAP Projects with SAP Activate