|
|
|
@ -57,7 +57,7 @@ writing the decompressed result to the write-end of the UNIX pipe.
|
|
|
|
|
|
|
|
|
|
To allow recovery of ``stdin`` for reuse by the bootstrapped process for
|
|
|
|
|
parent<->child communication, it is necessary for the first stage to avoid
|
|
|
|
|
closing ``stdin`` or reading from it until until EOF. Therefore, the master
|
|
|
|
|
closing ``stdin`` or reading from it until EOF. Therefore, the master
|
|
|
|
|
sends the :py:mod:`zlib`-compressed payload prefixed with an integer size,
|
|
|
|
|
allowing reading by the first stage of exactly the required bytes.
|
|
|
|
|
|
|
|
|
@ -572,10 +572,10 @@ to receive a message from a newly constructed child before receiving a
|
|
|
|
|
corresponding ``ADD_ROUTE`` sent by the child's parent, describing how to reply
|
|
|
|
|
to it.
|
|
|
|
|
|
|
|
|
|
When ``sudo:node22a:webapp`` wants to send a message to
|
|
|
|
|
``sudo:node12b:webapp``, the message will be routed as follows:
|
|
|
|
|
When ``sudo:node12b:webapp`` wants to send a message to
|
|
|
|
|
``sudo:node22a:webapp``, the message will be routed as follows:
|
|
|
|
|
|
|
|
|
|
``sudo:node22a:webapp -> node22a -> rack22 -> dc2 -> bastion -> dc1 -> rack12 -> node12b -> sudo:node12b:webapp``
|
|
|
|
|
``sudo:node12b:webapp -> node12b -> rack12 -> dc1 -> bastion -> dc2 -> rack22 -> node22a -> sudo:node22a:webapp``
|
|
|
|
|
|
|
|
|
|
.. image:: images/route.svg
|
|
|
|
|
:class: mitogen-full-width
|
|
|
|
|