osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Python unit test framework to fire 1000 unique concurrent requests (rmlibre)


If you want to try out some libraries to build your own tests, you could
try aiohttp, aiodns, and asyncio. The requests using these libraries are
made asynchronously, not completely in parallel, but produce a similar
effect at lower cost. Some examples and docs on these can be found here:
https://docs.aiohttp.org/en/v2.3.5/

I also recently came across this talk where the author created a server
to resolve 100 million requests to a server using asyncio. You can find
the talk here: https://www.youtube.com/watch?v=Mj-Pyg4gsPs

Also, Raymond Hettinger gave a talk on useful testing modules, which
could be helpful in deciding how to create your tests:
https://www.youtube.com/watch?v=ARKbfWk4Xyw




On 2019-08-29 16:00, python-list-request at python.org wrote:
> Send Python-list mailing list submissions to
> 	python-list at python.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://mail.python.org/mailman/listinfo/python-list
> or, via email, send a message with subject or body 'help' to
> 	python-list-request at python.org
> 
> You can reach the person managing the list at
> 	python-list-owner at python.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Python-list digest..."
> 
> Today's Topics:
> 
>    1. Re: Python unit test framework to fire 1000 unique concurrent
>       requests (Pankaj Jangid)
>    2. Re: How do I decouple these two modules? (Andrea D'Amore)
>    3. Re: An "Object" class? (Cristian Cocos)
>    4. Re: An "Object" class? (Chris Angelico)
>    5. Fwd: installation problem (fateme jbr)
>    6. Re: Fwd: installation problem (DL Neil)
>    7. Re: How to use regex to search string between {}? (Jason Friedman)
>    8. Compare zip lists where order is important (Sayth Renshaw)
>    9. Re: How to use regex to search string between {}? (Sayth Renshaw)
>   10. if STREAM.isatty(): (Hongyi Zhao)
>   11. Re: An "Object" class? (Alan Bawden)
>   12. Re: Compare zip lists where order is important (Sayth Renshaw)
>   13. Re: Compare zip lists where order is important (Sayth Renshaw)
>   14. [SOLVED] Re: Compare zip lists where order is important
>       (Sayth Renshaw)
>   15. pandas loc on str lower for column comparison (Sayth Renshaw)
>   16. unable to to install paython (Alemu Geletew)
>   17. Re: [SOLVED] Re: Compare zip lists where order is important
>       (Peter Otten)
>   18. Re: Compare zip lists where order is important (Frank Millman)
>   19. Re: Compare zip lists where order is important (Frank Millman)
>   20. Re: [SOLVED] Re: Compare zip lists where order is important
>       (Sayth Renshaw)
>   21. Re: [SOLVED] Re: Compare zip lists where order is important
>       (Peter Otten)
>   22. Re: unable to to install paython (o1bigtenor)
>   23. Re: if STREAM.isatty(): (Rhodri James)
>   24. Re: if STREAM.isatty(): (Hongyi Zhao)
>   25. Re: if STREAM.isatty(): (Rhodri James)
>   26. Re: if STREAM.isatty(): (Eryk Sun)
>   27. Re: pandas loc on str lower for column comparison
>       (Piet van Oostrum)
>   28. Re: pandas loc on str lower for column comparison
>       (Piet van Oostrum)
>   29. Re: if STREAM.isatty(): (Hongyi Zhao)
>   30. Re: if STREAM.isatty(): (Rhodri James)
>   31. Re: unable to to install paython (Dennis Lee Bieber)