Method for optimizing remote procedure call (RPC) and program execution method by use of the optimized RPC
First Claim
1. A remote procedure call (RPC) optimizing method for optimizing RPCs between a server offering at least one remote procedure, and a client carrying out processing by use of a RPC calling said at least one remote procedure, on a computer for executing at least one of a program or a program part, when an interface definition language (IDL) description for said at least one remote procedure is provided, said remote procedure call optimizing method comprising the steps of:
- analyzing a source code of said client so as to detect a remote procedure execution sequence constituting a set of RPCs that are highly likely to be executed successively;
determining a new remote procedure for executing said remote procedure execution sequence in a single RPC; and
defining an interface of said new remote procedure having been determined into said IDL description so as to allow said client to call said new remote procedure.
0 Assignments
0 Petitions
Accused Products
Abstract
A method for rapidly executing a series of remote procedure calls between a client and a server, comprising an RPC optimizer (101) that inputs an IDL source code (103) and client source codes (102, 102′, . . . ) so as to define as a new remote procedure a group of remote procedures to be performed by the client in an additional server source code (107). In turn, the RPC optimizer outputs a new IDL source code (106) to which an interface of the remote procedure is added, and new client source codes (105, 105′, . . . ) modified so as to use the remote procedure. This reduces communications involving a plurality of remote procedures to a single communication pass, thereby implementing high-speed communication between the client and the server.
-
Citations
7 Claims
-
1. A remote procedure call (RPC) optimizing method for optimizing RPCs between a server offering at least one remote procedure, and a client carrying out processing by use of a RPC calling said at least one remote procedure, on a computer for executing at least one of a program or a program part, when an interface definition language (IDL) description for said at least one remote procedure is provided, said remote procedure call optimizing method comprising the steps of:
-
analyzing a source code of said client so as to detect a remote procedure execution sequence constituting a set of RPCs that are highly likely to be executed successively;
determining a new remote procedure for executing said remote procedure execution sequence in a single RPC; and
defining an interface of said new remote procedure having been determined into said IDL description so as to allow said client to call said new remote procedure.
-
-
2. A remote procedure call optimizing method for optimizing RPCs between a server offering at least one remote procedure, and a client carrying out processing by use of a RPC calling said at least one remote procedure, on a computer for executing at least one of a program or one program part, when an IDL description for said at least one remote procedure is provided, said remote procedure call optimizing method comprising the steps of:
-
inputting a source code of said client and said IDL description;
detecting from said client source code a processing part including at least two RPCs issued in close proximity to one another;
calculating a first procedure causing said server to carryout a process equivalent to said processing part;
replacing said processing part of said client source code with a call to said first procedure, thereby generating a new client source code;
adding an interface of said first procedure to said IDL description, thereby generating a new IDL source code; and
adding a definition of said first procedure to a source code of said server. - View Dependent Claims (5)
-
-
3. A remote procedure call optimizing method for optimizing RPCs between a server offering at least one remote procedure, and a client carryout out processing by use of a RPC calling said at least one remote procedure, on a computer for executing at least one of a program or a program part, when an IDL description for said at least one remote procedure is provided, said remote procedure call optimizing method comprising the steps of:
-
inputting a source code of said client and said IDL description;
detecting from said client source code a processing part including at least two RPCs issued in close proximity to one another;
calculating a first procedure causing said server to carryout a process equivalent to said processing part;
replacing said processing part of said client source code with a call to said first procedure, thereby generating a new client source code;
adding an interface of said first procedure to said IDL description, thereby generating a new IDL source code; and
generating an additional server source code for accommodating connection between said interface of said first procedure and an original source code of said server. - View Dependent Claims (4, 6, 7)
-
Specification