Persistent query dispatch and execution architecture
First Claim
1. A computer data system having a persistent query dispatch and execution architecture, the system comprising:
- one or more processors each being a hardware processor;
computer readable storage coupled to the one or more processors, the computer readable storage having stored thereon instructions that, when executed by the one or more processors, cause the one or more processors to perform operations including;
sending an electronic request for a remote query processor from a persistent query controller to a remote query dispatcher executing on a query server computer, wherein the request includes parameters for configuring the remote query processor and an operating environment for the remote query processor, the parameters including a parameter selected from the group consisting of;
a shell variable to be set on the operating environment for the remote query processor, anda classpath specifying a location of code to be used by the remote query processor;
attempting, at the remote query dispatcher, to allocate an isolated operating environment for the remote query processor and to start execution of the remote query processor on the query server computer;
when the remote query processor is started, performing operations including;
providing the persistent query controller with an address assignment of the remote query processor or of a proxy machine in communication with the remote query processor, the address assignment identifying a specific address of the query server computer or of the proxy machine available to connect electronically over an electronic communications network;
automatically connecting from the persistent query controller to the remote query processor via the electronic communications network;
transmitting a persistent database query electronically from the persistent query controller to the remote query processor;
publishing persistent database query configuration information including a state of the persistent database query and the address assignment of the remote query processor;
connecting from a client to the remote query processor via the electronic communications network;
executing the persistent database query;
after the executing the persistent database query has started, receiving, from a second client different than the client, an instruction to the persistent query controller to modify code executed for the persistent database query;
determining whether to allow the connection by the client to the remote query processor based on access control information specific to the persistent database query; and
when the connection by the client is allowed;
sending a request to perform an administrative operation with respect to the persistent database query from the client to the persistent query controller, the administrative operation being an instruction to modify one or more of the parameters for configuring the remote query processor and the operating environment for the remote query processor, anddetermining whether the client is authorized to perform the administrative operation based on the access control information.
3 Assignments
0 Petitions
Accused Products
Abstract
The disclosed subject matter includes systems, methods, and computer readable medium for improving performance of a computer data system. An electronic request for a remote query processor (RQP) can be sent from the persistent query controller to a remote query dispatcher (RQD) executing on a query server computer. The request can include parameters for configuring the RQP and an operating environment for the RQP. The RQD can automatically attempt to allocate an isolated operating environment for the RQP and to prepare the RQP on the query server computer. When the RQP is prepared, performing: providing the controller with an address assignment of the RQP; automatically connecting from the controller to the RQP via a network; transmitting a persistent database query electronically from the controller to the RQP; publishing persistent database query configuration information including a query state and the RQP address assignment; and connecting from a client to the RQP.
437 Citations
27 Claims
-
1. A computer data system having a persistent query dispatch and execution architecture, the system comprising:
-
one or more processors each being a hardware processor; computer readable storage coupled to the one or more processors, the computer readable storage having stored thereon instructions that, when executed by the one or more processors, cause the one or more processors to perform operations including; sending an electronic request for a remote query processor from a persistent query controller to a remote query dispatcher executing on a query server computer, wherein the request includes parameters for configuring the remote query processor and an operating environment for the remote query processor, the parameters including a parameter selected from the group consisting of; a shell variable to be set on the operating environment for the remote query processor, and a classpath specifying a location of code to be used by the remote query processor; attempting, at the remote query dispatcher, to allocate an isolated operating environment for the remote query processor and to start execution of the remote query processor on the query server computer; when the remote query processor is started, performing operations including; providing the persistent query controller with an address assignment of the remote query processor or of a proxy machine in communication with the remote query processor, the address assignment identifying a specific address of the query server computer or of the proxy machine available to connect electronically over an electronic communications network; automatically connecting from the persistent query controller to the remote query processor via the electronic communications network; transmitting a persistent database query electronically from the persistent query controller to the remote query processor; publishing persistent database query configuration information including a state of the persistent database query and the address assignment of the remote query processor; connecting from a client to the remote query processor via the electronic communications network; executing the persistent database query; after the executing the persistent database query has started, receiving, from a second client different than the client, an instruction to the persistent query controller to modify code executed for the persistent database query; determining whether to allow the connection by the client to the remote query processor based on access control information specific to the persistent database query; and when the connection by the client is allowed; sending a request to perform an administrative operation with respect to the persistent database query from the client to the persistent query controller, the administrative operation being an instruction to modify one or more of the parameters for configuring the remote query processor and the operating environment for the remote query processor, and determining whether the client is authorized to perform the administrative operation based on the access control information. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method for improving performance of a computer data system through control of a persistent query dispatch and execution architecture, the method comprising:
-
sending an electronic request for a remote query processor from a persistent query controller to a remote query dispatcher executing on a query server computer, wherein the request includes parameters for configuring the remote query processor and an operating environment for the remote query processor, the parameters including a parameter selected from the group consisting of; a shell variable to be set on the operating environment for the remote query processor, and a classpath specifying a location of code to be used by the remote query processor; automatically attempting, at the remote query dispatcher, to allocate an isolated operating environment for the remote query processor and to prepare the remote query processor on the query server computer; when the remote query processor is prepared, performing operations including; providing the persistent query controller with an address assignment of the remote query processor or of a proxy machine in communication with the remote query processor, the address assignment identifying a specific address of the query server computer or of the proxy machine available to connect electronically over an electronic communications network; automatically connecting from the persistent query controller to the remote query processor via the electronic communications network; transmitting a persistent database query electronically from the persistent query controller to the remote query processor; publishing persistent database query configuration information including a state of the persistent database query and the address assignment of the remote query processor; connecting from a client to the remote query processor via the electronic communications network; executing the persistent database query; after the executing the persistent database query has started, receiving, from a second client different than the client, an instruction to the persistent query controller to modify code executed for the persistent database query; determining whether to allow the connection by the client to the remote query processor based on access control information specific to the persistent database query; and when the connection by the client is allowed; sending a request to perform an administrative operation with respect to the persistent database query from the client to the persistent query controller, the administrative operation being an instruction to modify one or more of the parameters for configuring the remote query processor and the operating environment for the remote query processor, and determining whether the client is authorized to perform the administrative operation based on the access control information. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A nontransitory computer readable medium having stored thereon software instructions that, when executed by one or more processors, cause the processors to perform operations including:
-
sending an electronic request for a remote query processor from a persistent query controller to a remote query dispatcher executing on a query server computer, wherein the request includes parameters for configuring the remote query processor and an operating environment for the remote query processor, the parameters including a parameter selected from the group consisting of; a shell variable to be set on the operating environment for the remote query processor, and a classpath specifying a location of code to be used by the remote query processor; automatically attempting, at the remote query dispatcher, to allocate an isolated operating environment for the remote query processor and to run-o€
the remote query processor on the query server computer;when the remote query processor is running, performing operations including; providing the persistent query controller with an address assignment of the remote query processor or of a proxy machine in communication with the remote query processor, the address assignment identifying a specific address of the query server computer or of the proxy machine available to connect electronically over an electronic communications network; automatically connecting from the persistent query controller to the remote query processor via the electronic communications network; transmitting a persistent database query electronically from the persistent query controller to the remote query processor; publishing persistent database query configuration information including a state of the persistent database query and the address assignment of the remote query processor; connecting from a client to the remote query processor via the electronic communications network; executing the persistent database query; after the executing the persistent database query has started, receiving, from a second client different than the client, an instruction to the persistent query controller to modify code executed for the persistent database query; determining whether to allow the connection by the client to the remote query processor based on access control information specific to the persistent database query; and when the connection by the client is allowed; sending a request to perform an administrative operation with respect to the persistent database query from the client to the persistent query controller, the administrative operation being an instruction to modify one or more of the parameters for configuring the remote query processor and the operating environment for the remote query processor, and determining whether the client is authorized to perform the administrative operation based on the access control information. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27)
-
Specification