Why shouldn't I use pub/sub with only one subscriber instead of queue? In this case i'll be able to add another subscriber if this is needed. It looks like queue is limited and pub/sub can have same behaviour like queue and can be easy extendable.
It depends on your use case. Message queues can have order guarantee, simpler to setup, easier error handling and can deliver exact one consumer. It sounds like your use case is closer to a subscriber model in which case pub/sub may work better.
So amazing ❤😮
Thanks for this video! Just got recommended. Leaving a like and subscribing, commenting for the algorithm
Legend!
Why shouldn't I use pub/sub with only one subscriber instead of queue? In this case i'll be able to add another subscriber if this is needed. It looks like queue is limited and pub/sub can have same behaviour like queue and can be easy extendable.
It depends on your use case. Message queues can have order guarantee, simpler to setup, easier error handling and can deliver exact one consumer.
It sounds like your use case is closer to a subscriber model in which case pub/sub may work better.