Static Vs. Dynamic RPCs

Posted By on March 24, 2016

Download PDF
Difference between RPC and RMI
Mutual Exclusion

Fixed/Static binding

The client knows the network address of the server. the client binds directly with server and carries out RPC execution.

Dynamic binding,

which can be carried out in any of the following three ways: compile time, link time or call time

Binding at compile time:

• Servers’ network address can be compiled into client code.

Binding at link time:

• Client makes an import request to the binding agent for the service before making a call.
• Servers handle cached by the client to avoid contacting binding agent for subsequent calls.
• This method is suitable for those situations in which a client calls a server several times once it is bound to it.

Binding at call time:

• A client is bound to a server at the time when it calls the server for the first time during its execution.
• The commonly used approach for binding at call time is the indirect call method.
• The client or server of a connection may wish to change the binding at some instance of time due to some change in the system state.
• When a binding is altered by the concerned server, it is important to ensure that any state data held by the server is no longer needed or can be duplicated in the replacement server.

Difference between RPC and RMI
Mutual Exclusion

Download PDF

Posted by Akash Kurup

Founder and C.E.O, World4Engineers Educationist and Entrepreneur by passion. Orator and blogger by hobby