David Wilson
e1fb156a56
docs: fix image labels
2018-02-28 00:14:52 +05:45
David Wilson
b708c3672a
docs: import but don't link compared.rst
2018-02-28 00:13:57 +05:45
David Wilson
52d5f47743
docs: Import, but do not yet link signals.rst
2018-02-28 00:07:58 +05:45
David Wilson
7785aa4ff8
ansible: Support many more common playbook variables.
2018-02-28 00:07:11 +05:45
David Wilson
8aeb0d6bb5
docs: Split up limitations list, add warning
2018-02-27 21:51:59 +05:45
David Wilson
d0b58d176b
ansible: initial support for async jobs
...
Running in a thread to begin with, but this must change.
2018-02-27 21:01:05 +05:45
David Wilson
d727d68068
docs: new Ansible limitation
2018-02-27 19:44:47 +05:45
David Wilson
9dbbd2e2dd
docs: remove delegate_to limitation
2018-02-27 15:43:10 +05:45
David Wilson
eeeea25eb9
docs: more Ansible
2018-02-27 14:05:56 +05:45
David Wilson
2837ec2ebe
docs: document one more Ansible limitation
2018-02-27 13:56:10 +05:45
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
2018-02-27 13:45:53 +05:45
David Wilson
47e2675acc
docs: new Ansible limitation, add new heading
...
Some differences are eventually likely to become permanent, because the
existing behaviour is unforgiveable.
2018-02-27 13:43:30 +05:45
David Wilson
719316daef
docs: Docker typo.
2018-02-25 22:06:08 +05:45
David Wilson
7cf7c3271a
Add Docker method.
2018-02-25 21:42:17 +05:45
David Wilson
d7f7331e7b
docs: more images.
2018-02-21 15:07:08 +05:45
David Wilson
a9f944f1ae
docs: single-threaded connection is the most important limitation
2018-02-21 15:07:08 +05:45
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
2018-02-19 19:35:27 +05:45
David Wilson
f7c1ff16c6
docs: small ansible.rst updates
2018-02-18 15:32:28 +05:45
David Wilson
0414df16a5
docs: mention CPU usage reduction
2018-02-18 14:44:53 +05:45
David Wilson
113b747e15
docs: fix up Ansible install docs.
2018-02-18 14:11:17 +05:45
David Wilson
fa69a966fe
docs: more modest and accurate numbers for Ansible
2018-02-18 14:06:31 +05:45
David Wilson
9e70a32567
ansible: log call timings
2018-02-18 13:37:20 +05:45
David Wilson
c7ae317dd1
docs: more marketing, add lots of drama bold.
2018-02-18 12:27:08 +05:45
David Wilson
0ac3ab4c29
docs: a little more marketing
2018-02-18 12:17:17 +05:45
David Wilson
7db5834c18
docs: tidy up ansible.rst
2018-02-18 11:16:16 +05:45
David Wilson
2106159f4c
ansible: add a new limitation
2018-02-17 17:38:17 +05:45
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.
2018-02-17 17:31:30 +05:45
David Wilson
87db049669
ansible: delete utils.py and promote cast() to mitogen.utils
2018-02-17 17:29:05 +05:45
David Wilson
7c1cc064a4
ansible: migrate logging variables into utils.
2018-02-17 16:18:03 +05:45
David Wilson
7fb0fa3872
examples: rename playbooks for clarity.
2018-02-17 14:52:49 +05:45
David Wilson
1ea97ea68f
docs: add stats tracking
2018-02-16 15:11:06 +05:45
David Wilson
6658596c38
docs: initial Ansible extension docs.
2018-02-16 12:02:18 +05:45
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.
2018-02-16 09:03:12 +05:45
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%).
2018-02-16 08:16:59 +05:45
David Wilson
536fe9afb8
master: Select.all() sugar
2018-02-16 07:39:15 +05:45
David Wilson
af04f24c95
docs: fix Select() example for new style API.
2018-02-15 06:03:01 +05:45
dw
3e20b5036f
Merge pull request #79 from moreati/doc-router-route
...
Fix indentation of Router.route anchor
2018-02-15 05:26:41 +05:45
dw
9d1859796c
Merge pull request #83 from moreati/msg-in-a-jar
...
Fix lingering references to mitogen.core.Receiver.get_data()
2018-02-15 05:24:58 +05:45
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.
2018-02-14 23:30:25 +00:00
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.
2018-02-15 04:52:29 +05:45
Alex Willmer
631c97b143
Fix indentation of Router.route anchor
2018-02-14 21:12:29 +00:00
David Wilson
dadee5dc05
docs: add Message documentation
2018-02-14 20:24:39 +05:45
David Wilson
8ef87bea6a
select: clean up API.
2018-02-14 19:45:22 +05:45
David Wilson
c9affbaf50
core: add auth_id field.
2018-02-14 09:16:27 +05:45
David Wilson
ddf4a21bac
Add mitogen.main() decorator mainly for docs and demo use.
2018-02-13 20:00:13 +05:45
David Wilson
6897227a31
utils: support log_to_file(usec=True)
2018-02-13 15:53:18 +05:45
David Wilson
b194e46d35
docs: reorder sections
2018-02-12 12:55:34 +05:45
David Wilson
1acb068fb6
docs: remove obsolete warning
2018-02-12 12:32:18 +05:45
David Wilson
76e4683ef1
docs: sphinx-autobuild default target.
2018-02-12 11:16:05 +05:45
David Wilson
3f86347edc
docs: fix typo
2018-02-12 10:38:26 +05:45