Marshaling
Caller of Enqueue and Dequeue needs to marshal and unmarshal data into variables
Instead, use the automatic marshaling of RPC
Here’s how RPC works:
App
Proxy
Runtime
Runtime
Stub
App
call P
return
to caller
pack
argu-
ments
unpack
results
send
receive
receive
send
unpack
argu-
ments
pack
results
P
work
return
wait
Client’s System
Server’s System
Call
packet
Return
packet
Previous slide
Next slide
Back to first slide
View graphic version