This preview shows page 1. Sign up to view the full content.
Unformatted text preview: ses on the same machine or different machines CSC 8320 RPC Slide 7 Limitations Parameters passed by values only and pointer values are not allowed.
Speed: remote procedure calling (and return) time (i.e., overheads) can be significantly (1 3 orders of magnitude) slower than that for local procedure. – This may affect realtime design and the programmer should be aware of its impact. CSC 8320 RPC Slide 8 Limitations Failure: RPC is more vulnerable to failure (since it involves communication system, another machine and another process). – The programmer should be aware of the call semantics, i.e. programs that make use of RPC must have the capability of handling errors that cannot occur in local procedure calls. CSC 8320 RPC Slide 9 Design Issues Exception handling
– Necessary because of possibility of network and nodes failures;
– RPC uses return value to indicate errors; Transparency
– Syntactic → achievable, exactly the same syntax as a local procedure call;
– Semantic → impossible because of RPC limitation: failure (similar but not exactly the same); CSC 8320 RPC Slide 10 Design Issues Delivery guarantees
– Retry request mes...
View Full Document
- Spring '14