David Wilson
9e70a32567
ansible: log call timings
7 years ago
David Wilson
fa0eb21120
ansible: Ansible 2.4 compatibility.
7 years ago
David Wilson
c7ae317dd1
docs: more marketing, add lots of drama bold.
7 years ago
David Wilson
0ac3ab4c29
docs: a little more marketing
7 years ago
David Wilson
6a7930ae48
ansible: gracefully shut down the service thread at exit.
7 years ago
David Wilson
7a5d18835e
core: Ensure add_handler() callbacks really receive _DEAD on shutdown
7 years ago
David Wilson
7db5834c18
docs: tidy up ansible.rst
7 years ago
David Wilson
ca573c1a59
Bump version for release ( closes #85 )
7 years ago
David Wilson
2106159f4c
ansible: add a new limitation
7 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.
7 years ago
David Wilson
87db049669
ansible: delete utils.py and promote cast() to mitogen.utils
7 years ago
David Wilson
9d15d1fce8
ansible: document Strategy's implementation
7 years ago
David Wilson
7c1cc064a4
ansible: migrate logging variables into utils.
7 years ago
David Wilson
038cd02136
ansible: document the connection class.
7 years ago
David Wilson
4bd40bd257
ansible: remove old action subdirectory.
7 years ago
David Wilson
41b27d969c
ansible: clean up, structure and document strategy module.
7 years ago
David Wilson
7fb0fa3872
examples: rename playbooks for clarity.
7 years ago
David Wilson
1ea97ea68f
docs: add stats tracking
7 years ago
David Wilson
e32d812769
core: add a nasty hack for Ansible modules.
7 years ago
David Wilson
6658596c38
docs: initial Ansible extension docs.
7 years ago
David Wilson
c175fbfaf7
ansible: handle local connections and synchronize module too.
7 years ago
David Wilson
7f1315b3cb
parent: simplify route() call
...
Doesn't need to go via defer() since it's always running on the broker
thread.
7 years ago
David Wilson
4144b8b417
Some gitignore extras
7 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.
7 years ago
David Wilson
a53e85ff69
tests: stubs for future whitelist/blacklist tests.
7 years ago
David Wilson
7a56ea46ed
ansible: fix syntax error
7 years ago
David Wilson
81580c1b3f
examples: add test case for local Ansible connections
7 years ago
David Wilson
3fc541ca45
docs: fix preamble_size.py after whitelist changes
7 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%).
7 years ago
David Wilson
698996dc27
ansible: support local connections too
7 years ago
David Wilson
536fe9afb8
master: Select.all() sugar
7 years ago
David Wilson
28d5de77a3
ansible: we're gonna need more playbook steps
7 years ago
David Wilson
9219e9a125
ansible: support class_only=True in wrapped loader
7 years ago
David Wilson
5d9363be79
ansible: blacklist everything except our own namespaces
...
Farewell, pointless roundtrips, we hardly knew ye.
7 years ago
David Wilson
a031f927d4
importer: share blacklist logic between master/parent
7 years ago
David Wilson
68b34fa8f2
importer: module whitelist/blacklist support
...
Hoped to avoid it, but it's the obvious solution for Ansible.
7 years ago
David Wilson
4a20a57552
core: wrap selects in EINTR handlers
...
This isn't nearly enough, but it catches the most common victim of
EINTR.
7 years ago
David Wilson
5529a4fba6
core: #39 : don't call logging framework when logging is disabled
...
It looks ugly as sin, but this nets about a 20% drop in user CPU time,
and close to 15% increase in throughput.
The average log call is around 10 opcodes, prefixing with '_v and' costs
an extra 2, but both are simple operations, and the remaining 10 are
skipped entirely when _v or _vv are False.
7 years ago
David Wilson
d0fbcc0f48
ansible: generalized action module wrapping.
7 years ago
David Wilson
e5146df214
examples: import client/server.py test scripts as examples
7 years ago
David Wilson
af04f24c95
docs: fix Select() example for new style API.
7 years ago
David Wilson
762dbcef3d
examples: fix mitop example.
7 years ago
David Wilson
fce44a5843
unix: add small explainer note until real docs exist
7 years ago
dw
3e20b5036f
Merge pull request #79 from moreati/doc-router-route
...
Fix indentation of Router.route anchor
7 years ago
dw
feacb2bd40
Merge pull request #80 from moreati/sins-of-the-parent
...
Fix/split test_master tests following split of mitogen.master -> mitogen.parent
7 years ago
dw
d708405126
Merge pull request #82 from moreati/imported-via-the-scenic-route
...
Fix TypeError while initiliazing ImporterMixin
7 years ago
dw
9d1859796c
Merge pull request #83 from moreati/msg-in-a-jar
...
Fix lingering references to mitogen.core.Receiver.get_data()
7 years ago
dw
fdb379ba0b
Merge pull request #81 from moreati/django-unfound
...
FIx syntax error in FindRelatedImportsTest.test_django_db_models
7 years ago
David Wilson
0d57afc914
master: use queue-like Latch in Select() too.
7 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.
7 years ago