MessagingPatterns

Showing 1 result

Share

The Publish-Subscribe Pattern on Rails: An Implementation Tutorial

The publish-subscribe pattern (or pub/sub, for short) is a messaging pattern where senders of messages (publishers), do not program the messages to be sent directly to specific receivers (subscribers). Instead, the programmer “publishes” messages (events), without any knowledge of any subscribers there may be.

This article provides insight in how to use the pub/sub pattern, in Rails, to communicate messages between different system components without these components knowing anything about each other’s identity.

8 minute readContinue Reading
Ahmed AbdelHalim

Ahmed AbdelHalim

World-class articles, delivered weekly.

By entering your email, you are agreeing to our privacy policy.

Join the Toptal® community.