So now I am a bit puzzled. Just use request.Session for the majority of smaller cases, and for many requests use concurrent.futures?
What is your experience? Are there particular reasons you would use httpx over requests or concurrent.futures? E.g. scaling, asyncio, HTTP/2 support, other?
Curious to hear ...
#requests #pythonlibraries #asynchronousprogramming
In this #InfoQ article, we want to show how achieving #concurrency is the result of an appropriate design. To illustrate these concepts Enrico Piccinin uses, as an example, the Hilbert’s Hotel mathematical problem.
More insights: http://bit.ly/3YvtdEQ
#ParallelProgramming #AsynchronousProgramming #ProgrammingLanguages
#infoq #concurrency #parallelprogramming #asynchronousprogramming #programminglanguages