Deploying operators of a streaming application based on physical location attributes of a virtual machine
First Claim
1. An apparatus comprising:
- at least one processor;
a memory coupled to the at least one processor;
a streaming application residing in the memory and executed by the at least one processor, the streaming application comprising a flow graph that includes a plurality of operators that process a plurality of data tuples;
a streams manager residing in the memory and executed by the at least one processor, the streams manager monitoring performance of the streaming application, and when the streams manager determines an under-performing operator of the streaming application can be optimized sending a request to a cloud manager to provision at least one virtual machine, wherein the request specifies a location restriction that provides input for the cloud manger to determine a physical location for a preferred virtual machine based on physical location attributes of the preferred virtual machine; and
wherein the streams manager modifies the flow graph to move the under-performing operator of the streaming application to a preferred virtual machine based on the physical location attributes of the preferred virtual machine;
wherein the streams manager requests a cloud manager to provision at least one virtual machine with logic to implement at least one of the plurality of operators, and the cloud manager determines physical locations attributes of candidate virtual machines and determines the preferred virtual machine from the candidate virtual machines based on the physical location attributes, the cloud manager provisions the preferred virtual machine, and the streams manager modifies the flow graph to include the preferred virtual machine in the flow graph of the streaming application; and
wherein the location restriction indicates an operator processes politically sensitive data that must be performed in a specific political environment and instructs the cloud manager to select a VM with a physical location attribute that meets the location restriction for the specific nature of the sensitive data processed by the operator.
2 Assignments
0 Petitions
Accused Products
Abstract
A streams manager monitors operator performance of a streaming application to determine when the performance of an operator needs to be improved or optimized. The streams manager in conjunction with a cloud manager automatically determines one or more preferred virtual machines in a cloud with a specified streams infrastructure that best meet the needs of the underperforming operator or application component based on physical location attributes of the preferred virtual machines. The cloud manager determines the physical location attributes of the candidate virtual machines. The streams manager or the cloud manager can then determine a preferred virtual machine of the candidates to deploy the operator based on the physical location attributes. The streams manager then modifies the flow graph so one or more operators of the streaming application are deployed to a preferred virtual machine determined according to the physical location attributes of the preferred virtual machine.
14 Citations
3 Claims
-
1. An apparatus comprising:
-
at least one processor; a memory coupled to the at least one processor; a streaming application residing in the memory and executed by the at least one processor, the streaming application comprising a flow graph that includes a plurality of operators that process a plurality of data tuples; a streams manager residing in the memory and executed by the at least one processor, the streams manager monitoring performance of the streaming application, and when the streams manager determines an under-performing operator of the streaming application can be optimized sending a request to a cloud manager to provision at least one virtual machine, wherein the request specifies a location restriction that provides input for the cloud manger to determine a physical location for a preferred virtual machine based on physical location attributes of the preferred virtual machine; and
wherein the streams manager modifies the flow graph to move the under-performing operator of the streaming application to a preferred virtual machine based on the physical location attributes of the preferred virtual machine;wherein the streams manager requests a cloud manager to provision at least one virtual machine with logic to implement at least one of the plurality of operators, and the cloud manager determines physical locations attributes of candidate virtual machines and determines the preferred virtual machine from the candidate virtual machines based on the physical location attributes, the cloud manager provisions the preferred virtual machine, and the streams manager modifies the flow graph to include the preferred virtual machine in the flow graph of the streaming application; and wherein the location restriction indicates an operator processes politically sensitive data that must be performed in a specific political environment and instructs the cloud manager to select a VM with a physical location attribute that meets the location restriction for the specific nature of the sensitive data processed by the operator.
-
-
2. An apparatus comprising:
-
at least one processor; a memory coupled to the at least one processor; a streaming application residing in the memory and executed by the at least one processor, the streaming application comprising a flow graph that includes a plurality of operators that process a plurality of data tuples; and a streams manager residing in the memory and executed by the at least one processor, the streams manager monitoring performance of the streaming application; when the streams manager determines an under-performing operator of the streaming application can be optimized, sending a request to a cloud manager to provision at least one virtual machine; wherein the request specifies a location restriction that provides input for the cloud manger to determine a physical location for a preferred virtual machine based on physical location attributes of the preferred virtual machine, wherein the location restriction indicates an operator processes politically sensitive data that must be performed in a specific political environment and instructs the cloud manager to select a VM with a physical location attribute that meets the location restriction for the specific nature of the sensitive data processed by the operator, wherein the physical location attributes include a security attribute of the physical machine hosting the virtual machine that indicates a high level of security for the physical location hosting the virtual machine; and wherein the streams manager modifies the flow graph to move the under-performing operator of the streaming application to a preferred virtual machine based on the physical location attributes of the preferred virtual machine.
-
-
3. A computer-readable article of manufacture comprising software stored on a non-transitory computer readable medium, the software comprising:
-
a streams manager that monitors performance of a streaming application; when the streams manager determines an under-performing operator of the streaming application can be optimized, the streams manager sends a request to a cloud manager to provision at least one virtual machine, wherein the request specifies a location restriction that provides input for the cloud manger to determine a physical location for a preferred virtual machine based on physical location attributes of the preferred virtual machine; wherein the streams manager modifies a flow graph to move the under-performing operator of the streaming application to a preferred virtual machine based on physical location attributes of the preferred virtual machine; wherein the streams manager requests a cloud manager to provision at least one virtual machine with logic to implement at least one of the plurality of operators, and the cloud manager determines physical locations attributes of candidate virtual machines and determines the preferred virtual machine from the candidate virtual machines based on the physical location attributes, the cloud manager provisions the preferred virtual machine, and the streams manager modifies the flow graph to include the preferred virtual machine in the flow graph of the streaming application; and wherein the location restriction indicates an operator processes politically sensitive data that must be performed in a specific political environment and instructs the cloud manager to select a VM with a physical location attribute that meets the location restriction for the specific nature of the sensitive data processed by the operator.
-
Specification