Download 1.x PDF - Read the Docs
Transcript
IPython Documentation, Release 1.2.1: An Afternoon Hack
content = {
'status' : 'ok', # or 'error'
# if ok:
'id' : 0, # int, the engine id
}
Clients use the same socket as engines to start their connections. Connection requests from clients need no
information:
Message type: connection_request:
content = {}
The reply to a Client registration request contains the connection information for the multiplexer and load
balanced queues, as well as the address for direct hub queries. If any of these addresses is None, that
functionality is not available.
Message type: connection_reply:
content = {
'status' : 'ok', # or 'error'
}
Heartbeat
The hub uses a heartbeat system to monitor engines, and track when they become unresponsive. As described in messaging, and shown in connections.
Notification (PUB)
The hub publishes all engine registration/unregistration events on a PUB socket. This allows clients to have
up-to-date engine ID sets without polling. Registration notifications contain both the integer engine ID and
the queue ID, which is necessary for sending messages via the Multiplexer Queue and Control Queues.
Message type: registration_notification:
content = {
'id' : 0, # engine ID that has been registered
'uuid' : 'engine_id' # the IDENT for the engine's sockets
}
Message type : unregistration_notification:
content = {
'id' : 0 # engine ID that has been unregistered
'uuid' : 'engine_id' # the IDENT for the engine's sockets
}
7.3. Messaging for Parallel Computing
403
Related documents
User`s Manual
ipEngine-1 Hardware Reference Manual
AQ1100 Series Communication User`s Manual - Electro
MV1-R1280-G2 - Photonfocus
Ciao Manual - The Ciao System
maxpro® vms r310 - Honeywell Integrated Security
Example - Read the Docs
Siemens Operator Manual - Flint Machine Tools, Inc.
Ontario Risk Sharing Pool
i-CAT FLX Technical Guide
- anuga - Australian National University
video-‐monitorization system for a realistic driving simulator