SIPp / pysipp

SIPp for Humans - launch multiple agents with Python
GNU General Public License v2.0
176 stars 54 forks source link

Async support via `trio` #53

Open goodboy opened 5 years ago

goodboy commented 5 years ago

trio recently added native subprocess support which could make for some really fancy stuff for spawing sipp processes and await-ing them before spawning it again. Though a bit hacky could make way for composing multiple simpler scenarios in native async python code.

Thoughts on this @vodik @wdoekes?

wdoekes commented 5 years ago

I'm all in favor of using the new python async stuff. If trio makes things easier: sure, it looks like a nice lib.

goodboy commented 5 years ago

trio will make things wayyy more sensible to reason about. I'm tempted to start a py3.6+ release that uses it alone and strip out subprocess.

I'll wait and see what others think.