Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

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 real­time 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

This document was uploaded on 04/02/2014.

Ask a homework question - tutors are online