Hacker News new | ask | show | jobs
by chengas123 4033 days ago
When would you use 0mq vs Google's grpc? What are the main differences between them? I rarely hear them mentioned as alternatives to each other, but I haven't been able to grasp the differences.
1 comments

grpc is Google's flavor of RPC, with transport and semantics specified for you.

0MQ is an abstraction over raw sockets that lets you worry less about how different parts of a distributed application find and talk to each other.

There's no real direct comparison; you can implement request/reply patterns, like RPC, using 0MQ for the networking parts, but that's not all it's limited to.