[zeromq-dev] RPC implementation details
mrevilgnome
mrevilgnome at gmail.com
Thu Jul 21 23:32:21 CEST 2011
Howdy,
I'm in the middle of doing some exploring/prototyping and I was
curious how others implemented RPC on top of 0mq. Initially I was
going to use 0mq as a transport for Avro or Protobuf, but then I
realized that by doing so I would sacrifice a fair bit of 0mq
functionality. My current thinking is that I should use multipart
messages; a header which is the function name and a value which is the
protobuf serialized parameters for the call. Initially I thought that
I might want two headers one of which would be used for routing
between clusters by function, but I figure that I can have nodes
register capabilities with a router. Does this seem reasonable? What
have others done? Please poke holes if you see them. Thanks.
--Matt
More information about the zeromq-dev
mailing list