☄️ Master the Modular Monolith Architecture: [ Ссылка ]
📌 Accelerate your Clean Architecture skills: [ Ссылка ]
🚀 Support me on Patreon to access the source code: [ Ссылка ]
What is the Publish Subscribe pattern?
The Publish-Subscribe pattern is a messaging pattern, where a Publisher sends messages to a common channel, and Subscribers can listen to messages coming from that channel. It's common to have one Publisher and more than one Subscriber. If you are building a distributed system, you will most likely work with the Publish Subscribe pattern.
Join my weekly .NET newsletter:
[ Ссылка ]
Read my Blog here:
[ Ссылка ]
Subscribe for more:
[ Ссылка ]
Chapters
0:00 Worker services overview
0:51 How we can use Redis for Pub/Sub messaging
1:28 Installing the StackExchange.Redis library
2:00 Publishing messages to the Redis channel
5:19 Subscribing to messages from the Redis channel
6:43 Running Redis locally with Docker
7:30 Pub/Sub messaging with Redis channels in action
8:35 Sending JSON messages with Redis channels
11:47 Are Redis channels reliable?
Publish Subscribe Messaging In .NET With Redis Channels
Теги
publish subscribepublish subscribe patternpublish subscribe architecturepublish subscribe design patternpublish subscribe modelpublish subscribe system in distributed systempublish subscribe model in cloud computingpublish subscribe cpublish subscribe .netpublish subscribe rabbitmqpublish subscribe redispublish subscribe kafkarabbitmqkafkaredispublish subscribe azure service busazure service buspub/sub patternpub/sub messagingpub/subpub-sub