ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Difference Between Publisher Subscriber Model and Client Service Model

asked 2016-06-21 10:27:23 -0500

Syngerical gravatar image

What exactly is the difference between the two? From what I gather, messages in a publisher/subscriber are only sent one way from publisher to subscriber but in the client/service model, messages can go both ways. Is this correct?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-06-21 11:28:13 -0500

gvdhoorn gravatar image

There is a bit more to publish/subscribe and client/server (or remote-procedure-call) than just the direction in which messages flow.

A good paper that discusses the main benefits of the publish/subscribe communication style and compares it to traditional remote procedure call is The Many Faces of Publish/Subscribe by Patrick Eugster et al.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-06-21 10:27:23 -0500

Seen: 4,012 times

Last updated: Jun 21 '16