Geek Culture
Published in

Geek Culture

Python — How to Send 100K Requests Quickly?

Send 100,000 HTTP requests quickly in Python

Suppose there is a file with 100,000 urls in it, and you need to send an http request to each url and print the status code of the request result. How to write code to complete these tasks as quickly as possible?

--

--

--

A new tech publication by Start it up (https://medium.com/swlh).

Recommended from Medium

Blockers with “Formulas and Validations” Module

Data Structure and Algorithms Revisited: Part 1

Algorithm Strategy and Various Algorithms

[VSCODE] Broken Syntax Highlighting When Add Func Return Type

Dealing with Large Data Files and Bad git commits

Hack Club Bank: A Bank For Student Hackers

38. Count and Say — LeetCode Solution

Reading excel files with Pyspark in AWS Glue and EMR

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tony

Tony

Senior Cloud Engineer

More from Medium

How to Sync Files with an Offline Storage Using Python

Automate All the Boring Kubernetes Operations With Python

Decimals in Python: The 0.1 Problem

Gunicorn