managing concurrency with xargs

Today I learned that you can manage concurrency with the humble xargs utility, using the -P option to specify maximum number of jobs.  I stumbled across this while looking for ways to make provisioning with Vagrant faster, and IMHO this is a very clean and elegant solution.

http://www.joemiller.me/2012/04/26/speeding-up-vagrant-with-parallel-provisioning/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s