newsapps / beeswithmachineguns

A utility for arming (creating) many bees (micro EC2 instances) to attack (load test) targets (web applications).
http://apps.chicagotribune.com/
MIT License
6.43k stars 631 forks source link

async IO over multiprocessing lib? #134

Open simar7 opened 8 years ago

simar7 commented 8 years ago

Have you tried to use async IO over multiprocessing lib? I wonder if we can improve performance by doing so. Is this something worth while to try to implement? Let me know what you think and I'll create a diff.

samdfonseca commented 8 years ago

The only benefit I see in moving away from multiprocessing is letting you launch more than a few hundred instances at once. Since each instance is managed by its own process, you could run into issues trying use like 1000 instances or something wild that fries your processor. I can't imagine ever needing that many though...