Closed CurtTilmes closed 8 years ago
Nice, thanks! Merged. I'm going to be able to deploy this to the TEST cluster and do some testing with the older version of yars before we upgrade, which will help us get a before and after as well as different configs once we upgrade.
Only change I made was to also use EV
. AnyEvent
and Mojo are both compatible with EV
, but Mojo doesn't work with the pure perl AE event loop.
Added another commit with an iteration capability, so you can specify, e.g. size: [8K,16K,32K,1M,4M,8M] etc. and it will cycle through them and dump out a .csv with all the stats.
So far it is all homogeneous though -- maybe needs a random distribution capability or some such to mix it up with some clients doing small files while other clients simultaneously do large files.
(I guess you could manually simulate that by starting multiple yars_exercises.)
Merged. If you can make future PRs on the Yars-Command-yars_exercise repo that will be easier.
Added a test case for yars_exercise using AnyEvent::Open3::Simple.