>
> It enables a system to make calls to programs such as NFS across the
> network transparently, enabling each system to interpret the calls as if
> they were local. - Definition of RPC
> <https://www.google.co.uk/webhp?sourceid=chrome-instant&rlz=1C1CHFX_en-GBGB568GB568&ion=1&espv=2&ie=UTF-8#q=define%20rpc>


Not to continue the debate but I am using messaging to perform tasks much
like that definition ;).  For example, when a worker picks up a task it
will execute the code on the machine the worker is running on which may end
up invoking the procedure call remotely if the worker is running on a
remote machine.

I think the biggest difference between RPC and messaging is what Justin
outlined above:

But to me, the RPC aspect is that it presents a predefined interface. A
> function with a signature. This signature is validated as part of the RPC
> implementation before it goes onto the wire.


With messaging, no validation happens in regards to the message contents.
 The message is sent off to the broker and if there is a worker/consumer
present that can deal with that message it does so.  If there is not a
consumer present that knows how to deal with the message then nothing
happens unless either a timeout occurs or a consumer comes online that can
deal with it.  With RPC you have an explicit contract and at the time of
invoking the RPC call, the call signature will be validated either client
side or server side.  If a contract was never created for the call
signature an exception will be raised right then.

This is that what I consider the major differences between RPC and
messaging are...



On Mon, Jun 2, 2014 at 2:10 AM, Marcus Ottosson <[email protected]>
wrote:

> I feel it is an implementation detail and not the sole definition of RPC
>
> I think this is where we went off the rails.
>
> It enables a system to make calls to programs such as NFS across the
> network transparently, enabling each system to interpret the calls as if
> they were local. - Definition of RPC
> <https://www.google.co.uk/webhp?sourceid=chrome-instant&rlz=1C1CHFX_en-GBGB568GB568&ion=1&espv=2&ie=UTF-8#q=define%20rpc>
>
> From now on, let’s refer to RPC as being this, ok? :)
> ​
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCs7mvdqVbcwBgsbfBR-G_k72kny1hvCubD%2BOXtTwNkRw%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOCs7mvdqVbcwBgsbfBR-G_k72kny1hvCubD%2BOXtTwNkRw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
-tony

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAJhmvsQbE2gZvod9fiq0_ea2ggx4NobhtMVOiYkr2qcBiGXxoQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to