Managing parallel requests in a communications environment supporting serial and parallel request handlers
First Claim
1. A method performed by a computer system for managing parallel requests in a communications environment supporting serial and parallel requests, comprising:
- enqueuing a request message that is to be sent to a recipient computing device, the message containing a conversation identifier;
sending the message to the recipient computing device;
receiving a response from the recipient computing device;
determining from the received response whether it contains the conversation identifier; and
when the received response contains the conversation identifier, determining that the recipient computing device supports request messages in parallel.
2 Assignments
0 Petitions
Accused Products
Abstract
A facility is described for managing parallel requests in a communications environment having devices or applications (“request handlers”) that support serial and parallel message processing. In various embodiments, the facility receives messages directed to a recipient from an application and sends a first message to the recipient without sending subsequently received messages to the recipient. Upon receiving a response from the recipient to the first message, the facility determines whether the recipient supports parallel or serial message processing. When the recipient supports parallel message processing, the facility sends the subsequently received messages to the recipient without awaiting a response to a message before sending another message. When the recipient supports serial message processing, the facility sends a subsequent message after receiving a response to a previously sent message.
-
Citations
20 Claims
-
1. A method performed by a computer system for managing parallel requests in a communications environment supporting serial and parallel requests, comprising:
-
enqueuing a request message that is to be sent to a recipient computing device, the message containing a conversation identifier; sending the message to the recipient computing device; receiving a response from the recipient computing device; determining from the received response whether it contains the conversation identifier; and when the received response contains the conversation identifier, determining that the recipient computing device supports request messages in parallel. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for managing parallel requests in a communications environment supporting serial and parallel request handlers, comprising:
-
a message queue component that stores messages that are to be sent to a recipient endpoint, the messages containing a header field indicating an identifier and a header field indicating a recipient for the messages; a correspondence table component that associates the identifier and recipient for each message; a target state list component that stores a state for each message recipient; and an application program interface component that receives a request, creates a message, associates the created message with an identifier, stores the created message in the message queue, sends the message to the recipient, stores in the correspondence table an association between the identifier and recipient indicated for the message, receives from the recipient a response to the message, determines from a header field of the received response that the recipient can receive messages in parallel, and stores in the target state list a state indicating that the recipient can receive messages in parallel. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A computer-readable medium whose contents cause a computing system to perform a method comprising:
-
receiving from an application messages directed to a recipient; sending a first message to the recipient without sending subsequently received messages to the recipient; upon receiving a response from the recipient to the first message, determining whether the recipient supports parallel or serial message processing; when the recipient supports parallel message processing, sending the subsequently received messages to the recipient without awaiting a response to a message before sending another message; and when the recipient supports serial message processing, sending a subsequent message after receiving a response to a previously sent message. - View Dependent Claims (18, 19, 20)
-
Specification