Skip to content

Conversation

@HanWenfang
Copy link
Contributor

add a simple example about publish_subscribe pattern

@faif
Copy link
Owner

faif commented Dec 22, 2013

Hi,

Thanks for the pull request. What's the difference between the publish/subscribe pattern and observer?

@HanWenfang
Copy link
Contributor Author

I think the difference is that publish/subscribe is more loosely coupled and convenient, the subscriber can subscribe and unsubscribe anything they like. And normally we use publish/subscribe over the tcp/ip like redis. I simplified it to express it easily.

faif pushed a commit that referenced this pull request Dec 26, 2013
publish_subscribe pattern
@faif faif merged commit ee37556 into faif:master Dec 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants