From 630ef8d4b91941e45d807ba48184775430e5ceff Mon Sep 17 00:00:00 2001 From: Tobias Brandt Date: Wed, 14 Nov 2012 12:44:00 +0200 Subject: [PATCH] DOC: Removed the messaging documentation since it seems obsolete. --- docs/index.rst | 1 - docs/messaging.rst | 30 ------------------------------ 2 files changed, 31 deletions(-) delete mode 100644 docs/messaging.rst diff --git a/docs/index.rst b/docs/index.rst index 9df0fb79..8195b494 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -37,7 +37,6 @@ Contents installation.rst overview.rst modules.rst - messaging.rst extensions.rst diff --git a/docs/messaging.rst b/docs/messaging.rst deleted file mode 100644 index f460cc8d..00000000 --- a/docs/messaging.rst +++ /dev/null @@ -1,30 +0,0 @@ -********* -Messaging -********* - -qbt runs backtests using multiple processes and zeromq messaging for communication and coordination. - -Backtest is the primary process. It maintains both server and client sockets: -zmq sockets for internal processing:: - - - data sink, ZMQ.REQ. Port = port_start + 1 - - backtest will connect to socket, and then spawn one process per datasource, passing the data sink url as a startup arg. Each - datasource process will bind to the socket, and start processing - - backtest is responsible for merging the data events from all sources into a serialized stream and relaying it to the - aggregators, merging agg results, and transmitting consolidated stream to event feed. - - agg source, ZMQ.PUSH. Port = port_start + 2 - - agg sink, ZMQ.PULL. Port = port_start + 3 - - control source, ZMQ.PUB. Port = port_start + 4 - - all child processes must subscribe to this socket. Control commands: - - START -- begin processing - - TIME -- current simulated time in backtest - - KILL -- exit immediately - -zmq sockets for backtest clients: -================================= - - orders sink, ZMQ.RESP. Port = port_start + 5 - - backtest will connect (can you bind?) to this socket and await orders from the client. Order data will be processed against the streaming datafeed. - - event feed, ZMQ.RESP. Port = port_start + 6 - - backtest will bind to this socket and respond to requests from client for more data. Response data will be the queue of events that - transpired since the last request. -