DIF Nodes¶
Turberfield IPC can build for you a network node object, which takes your parcelled messages and delivers them to others listening via the distributed IPC framework (DIF).
Tokens¶
You’ll need a DIF token to use the framework. For now, the function
turberfield.ipc.fsdb.token()
is the source of these.
Down and up¶
Turberfield’s interface with the network point of attachment (POA) is via a pair of asyncio queues. The down queue takes your messages into the network, and the up queue is where messages arrive from the network.
Mechanisms and policies¶
Inspired by John Day’s Patterns in Network Architecture, the design of Turberfield IPC decouples network mechanisms and the policies which control them. A node can adopt the policies it wishes. However, there is only a minimal implementation (over UDP) at the moment, and so only one way of configuring a node.