# In praise of Mitogen (sped up our Ansible run from 14 minutes to 2 minutes)

**URL:** <https://forum.ansible.com/t/in-praise-of-mitogen-sped-up-our-ansible-run-from-14-minutes-to-2-minutes/27762>\
**Category:** Ansible Project\
**Created:** [June 10, 2018, 10:15pm UTC](https://forum.ansible.com/t/in-praise-of-mitogen-sped-up-our-ansible-run-from-14-minutes-to-2-minutes/27762 "2018-06-10T22:15:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Compton](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@Daniel\_Compton](https://forum.ansible.com/u/Daniel_Compton)\
**Post date:** [June 10, 2018, 10:15pm UTC](https://forum.ansible.com/t/in-praise-of-mitogen-sped-up-our-ansible-run-from-14-minutes-to-2-minutes/27762/1 "2018-06-10T22:15:44Z")

</div>

Hi folks

I just wanted to drop a note of praise for Mitogen ([http://mitogen.readthedocs.io/en/latest/ansible.html](http://mitogen.readthedocs.io/en/latest/ansible.html)). It is a plugin for Ansible that adds a new execution strategy that gives dramatically faster performance. For [clojars.org](http://clojars.org), it took our runtime from 14 minutes to 2 minutes. Others describe 1.25x-7x speedups and in an extreme case 1.5 hours to 3 minutes (!). I’ve been using it and have found it to be pretty stable, and David Wilson (creator) fixed a bug that I found in a matter of hours.

I would highly recommend people take a look at it and start experimenting with it. He’s written a series of posts at [https://sweetness.hmmz.org](https://sweetness.hmmz.org) describing his work and approach and what he’s managed to accomplish. In particular I’d highly encourage the Ansible core team look at what he’s done and see how Mitogen could be brought into core. These performance improvements are so significant that they open up Ansible into a bunch of places where it previously wasn’t even possible.

I don’t have any relation to the project other than being a backer of his [Kickstarter](https://www.kickstarter.com/projects/548438714/mitogen-extension-for-ansible) (which has delivered beyond my wildest expectations), but haven’t seen a lot of discussion about it here, so thought I’d plug it.

– Daniel.

---

<div class="post-metadata">

**Author:** ![Millard\_Matt](https://avatars.discourse-cdn.com/v4/letter/m/bcef8e/32.png) [@Millard\_Matt](https://forum.ansible.com/u/Millard_Matt)\
**Post date:** [June 13, 2018, 4:23pm UTC](https://forum.ansible.com/t/in-praise-of-mitogen-sped-up-our-ansible-run-from-14-minutes-to-2-minutes/27762/2 "2018-06-13T16:23:24Z")

</div>

This is an interesting project. I’d be curious on Ansible devs thoughts on it as that is a pretty dramatic speed up.

Matt
