Distributed self-replicating programs in Python
Go to file
David Wilson 01729b18a5 core: use an output deque rather than string to improve worst case perf
This probably worsens performance in the common case, but it prevents
runaway producers (see e.g. issue #36) from spending all their CPU
copying around huge strings.

It's also a small step towards a solution to issue #6, which will
replace the output buffer with some sort of fancier queue anyway.

This reduces a particular 40 second run of rsync to 1.5 seconds.
2018-03-19 21:35:36 +05:45
docs Remove final vestiges of context.key. 2018-03-19 21:35:36 +05:45
examples Fixup ansible_demo.py for recent Ansibles 2018-03-19 21:35:17 +05:45
mitogen core: use an output deque rather than string to improve worst case perf 2018-03-19 21:35:36 +05:45
tests fakessh: Add integration test for inter-child rsync. 2018-03-19 21:35:35 +05:45
.gitignore Initial commit. 2018-03-19 21:35:13 +05:45
README.md Add instructions for running tests. 2018-03-19 21:35:35 +05:45
dev_requirements.txt docs: Use sphinx-programoutput plugin for preamble_size.py 2018-03-19 21:35:36 +05:45
preamble_size.py fakessh: add to preamble_size.py 2018-03-19 21:35:35 +05:45
setup.py Initial commit. 2018-03-19 21:35:13 +05:45

README.md

Running The Tests

Your computer should have an Internet connection, and the docker command line tool should be able to connect to a working Docker daemon (localhost or elsewhere for OS X etc.) that can run new images.

The IP address of the Docker daemon must allow exposing ports from running containers, e.g. it should not be firewalled or port forwarded.

If in doubt, just install Docker on a Linux box in the default configuration and run the tests there.