主权项 |
1. A system for communicating an application message between a plurality of nodes, comprising:
a processor executing instructions stored in memory to provide a plurality of nodes, coupled to and in communication with each other, each node comprising:
a respective first buffer, anda respective second buffer, wherein each node is configured for:
preparing its respective first buffer for receiving application messages,transmitting a read request to every other node, wherein:
each read request is transmitted in response to each respective first buffer being prepared for receiving messages, andeach read request comprises a reference to its respective first buffer,commanding every node to transmit one or more application messages to its respective first buffer,receiving each read request,determining, at a first time, whether its second buffer comprises the one or more application messages for transmittal to each node in response to a receipt of each read request, andimmediately processing each read request if the second buffer comprises the one or more application messages at the first time, wherein processing each read request comprises:
transmitting an application message of the one or more application messages from each node to every other node in response to a determination that the second buffer comprises the one or more application messages, the application message specifying that each respective first buffer is a destination of the application message,recording data indicating that each read request from every other node has been received in response to a determination that the second buffer does not comprise the one or more application messages, andsuspending processing of each read request until the second buffer comprises the one or more application messages if the second buffer does not comprise the one or more application messages at the first time. |