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

Difference Between Publisher Subscriber Model and Client Service Model

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

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
2

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

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

Stats

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

Seen: 4,117 times

Last updated: Jun 21 '16