DYNAMIC RUNTIME CHOOSING OF PROCESSING COMMUNICATION METHODS
First Claim
1. A computer-implemented method for processing data, comprising:
- establishing an operator graph of a plurality of processing elements, the operator graph defining at least one execution path, wherein a first processing element of the plurality of processing elements is configured to transmit data to at least one downstream processing element, and wherein the first processing element is capable of transmitting data to the at least one downstream processing element using at least one of a first communication protocol and a second communication protocol;
transmitting, by one or more computer processors, data from the first processing element to the at least one downstream processing element using the first communication protocol;
determining whether to switch from the first communication protocol to the second communication protocol; and
upon determining to switch, transmitting data from the first processing element to the at least one downstream processing element using the second communication protocol.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques are described for assigning and changing communication protocols for a pair of processing elements. The communication protocol determines how the pair of processing elements transmits data in a stream application. The pair may be assigned a communication protocol (e.g., TCP/IP or a protocol that uses a relational database, shared file system, or shared memory) before the operator graph begins to stream data. This assignment may be based on a priority of the processing elements and/or a priority of the communication protocols. After the operator graph begins to stream data, the pair of processing elements may switch to a different communication protocol. The decision to switch the communication protocol may be based on whether the pair of processing elements or assigned communication protocol is meeting established performance standards for the stream application.
-
Citations
9 Claims
-
1. A computer-implemented method for processing data, comprising:
-
establishing an operator graph of a plurality of processing elements, the operator graph defining at least one execution path, wherein a first processing element of the plurality of processing elements is configured to transmit data to at least one downstream processing element, and wherein the first processing element is capable of transmitting data to the at least one downstream processing element using at least one of a first communication protocol and a second communication protocol; transmitting, by one or more computer processors, data from the first processing element to the at least one downstream processing element using the first communication protocol; determining whether to switch from the first communication protocol to the second communication protocol; and upon determining to switch, transmitting data from the first processing element to the at least one downstream processing element using the second communication protocol. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
Specification