Commit Graph

199 Commits (2a88b6264f1f7fae117933fa6ba3a2e18c86fd2a)

Author SHA1 Message Date
David Wilson 9133ceac08 docs: Fix install docs now Ansible package layout changed. 8 years ago
David Wilson 1b03a79107 docs: mitogen.core.Latch docs 8 years ago
David Wilson e1fb156a56 docs: fix image labels 8 years ago
David Wilson b708c3672a docs: import but don't link compared.rst 8 years ago
David Wilson 52d5f47743 docs: Import, but do not yet link signals.rst 8 years ago
David Wilson 7785aa4ff8 ansible: Support many more common playbook variables. 8 years ago
David Wilson 8aeb0d6bb5 docs: Split up limitations list, add warning 8 years ago
David Wilson d0b58d176b ansible: initial support for async jobs
Running in a thread to begin with, but this must change.
8 years ago
David Wilson d727d68068 docs: new Ansible limitation 8 years ago
David Wilson 9dbbd2e2dd docs: remove delegate_to limitation 8 years ago
David Wilson eeeea25eb9 docs: more Ansible 8 years ago
David Wilson 2837ec2ebe docs: document one more Ansible limitation 8 years ago
David Wilson 69f4c541a8 docs: Replace shifty hacker dude with plebey skater dude
Farewell, shifty hacker dude! May your 0days be many and your
indictments be few
8 years ago
David Wilson 47e2675acc docs: new Ansible limitation, add new heading
Some differences are eventually likely to become permanent, because the
existing behaviour is unforgiveable.
8 years ago
David Wilson 719316daef docs: Docker typo. 8 years ago
David Wilson 7cf7c3271a Add Docker method. 8 years ago
David Wilson d7f7331e7b docs: more images. 8 years ago
David Wilson a9f944f1ae docs: single-threaded connection is the most important limitation 8 years ago
David Wilson 2c77adb4a5 docs: store blog images for fear of laptop crash
There is only so much trackpad-driven yEd work one man can handle
8 years ago
David Wilson f7c1ff16c6 docs: small ansible.rst updates 8 years ago
David Wilson 0414df16a5 docs: mention CPU usage reduction 8 years ago
David Wilson 113b747e15 docs: fix up Ansible install docs. 8 years ago
David Wilson fa69a966fe docs: more modest and accurate numbers for Ansible 8 years ago
David Wilson 9e70a32567 ansible: log call timings 8 years ago
David Wilson c7ae317dd1 docs: more marketing, add lots of drama bold. 8 years ago
David Wilson 0ac3ab4c29 docs: a little more marketing 8 years ago
David Wilson 7db5834c18 docs: tidy up ansible.rst 8 years ago
David Wilson 2106159f4c ansible: add a new limitation 8 years ago
David Wilson fca9ff1d40 docs: remove fixed Ansible limitation
The solution was that Mitogen's loader should emulate the behaviour of
ansible.executor.module_common, which restricts dependency scanning to
the ansible.module_utils namespace.
8 years ago
David Wilson 87db049669 ansible: delete utils.py and promote cast() to mitogen.utils 8 years ago
David Wilson 7c1cc064a4 ansible: migrate logging variables into utils. 8 years ago
David Wilson 7fb0fa3872 examples: rename playbooks for clarity. 8 years ago
David Wilson 1ea97ea68f docs: add stats tracking 8 years ago
David Wilson 6658596c38 docs: initial Ansible extension docs. 8 years ago
David Wilson 7e8ef4223c ssh: enable compression by default
Using the same test as in 7af97c0365,
transmitted wire bytes drops from 135,531 to 133,071 (-1.81%), while
received drops from 21,073 to 14,775 (-30%).

Combined, both changes shave 13,914 bytes (-8.6%) off aggregate
bandwidth usage.

Make it configurable as compression hurts in some scenarios.
8 years ago
David Wilson 7af97c0365 importer: drop redundant prefix from pkg_present
For the 52 submodules of ansible.modules.system, this produced a 1602
byte pkg_present list. After stripping it becomes 406 bytes, and the
entire LOAD_MODULE size drops from 1988 bytes to 792 bytes (-60%).

For the 68 submodules of ansible.module_utils, 1902 bytes pkg_present
becomes 474 bytes (-75%), and LOAD_MODULE size drops from 2867 bytes to
1439 bytes (-49%).

In a simple test running Ansible's "setup" module followed by its "apt"
module, wire bytes sent drops from 140,357 to 135,531 (-3.4%).
8 years ago
David Wilson 536fe9afb8 master: Select.all() sugar 8 years ago
David Wilson af04f24c95 docs: fix Select() example for new style API. 8 years ago
dw 3e20b5036f
Merge pull request #79 from moreati/doc-router-route
Fix indentation of Router.route anchor
8 years ago
dw 9d1859796c
Merge pull request #83 from moreati/msg-in-a-jar
Fix lingering references to mitogen.core.Receiver.get_data()
8 years ago
Alex Willmer 3bf204f8d6 docs: Fix out of date get_data() snippets
As of adc8fe3aed Receiver objects do not
have a get_data() method and Receiver.get() does not unpickle the
message.
8 years ago
David Wilson a6324aaeb1 Latch v2: combined queue + one self-pipe-per-thread
Turns out it is far too easy to burn through available file descriptors,
so try something else: self-pipes are per thread, and only temporarily
associated with a Lack that wishes to sleep.

Reduce pointless locking by giving Latch its own queue, and removing
Queue.Queue() use in some places.

Temporarily undo merging of of Waker and Latch, let's do this one step
at a time.
8 years ago
Alex Willmer 631c97b143 Fix indentation of Router.route anchor 8 years ago
David Wilson dadee5dc05 docs: add Message documentation 8 years ago
David Wilson 8ef87bea6a select: clean up API. 8 years ago
David Wilson c9affbaf50 core: add auth_id field. 8 years ago
David Wilson ddf4a21bac Add mitogen.main() decorator mainly for docs and demo use. 8 years ago
David Wilson 6897227a31 utils: support log_to_file(usec=True) 8 years ago
David Wilson b194e46d35 docs: reorder sections 8 years ago
David Wilson 1acb068fb6 docs: remove obsolete warning 8 years ago