clustericious / Yars

Yet-another ARchive Service
5 stars 2 forks source link

Yars exercise #26

Closed CurtTilmes closed 8 years ago

CurtTilmes commented 8 years ago

Added a test case for yars_exercise using AnyEvent::Open3::Simple.

plicease commented 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.

CurtTilmes commented 8 years ago

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.)

plicease commented 8 years ago

Merged. If you can make future PRs on the Yars-Command-yars_exercise repo that will be easier.