Message Ordering in Pub/Sub or Queue

Опубликовано: 16 Октябрь 2024
на канале: CodeOpinion
11,587
511

Do you need message ordering? Processing messages in order as they were sent/published to a queue or topic sounds simple but has some implications. What happens when processing a message fails? What happens to all subsequent messages? How is throughput handled when using the competing consumers pattern, which loses the guarantee processing in order. Lastly, is ordering even important?

🔗 Solace
https://solace.com/codeopinion

🔔 Subscribe:    / @codeopinion  

💥 Join this channel to get access to source code & demos!
   / @codeopinion  

🔥 Don't have the JOIN button? Support me on Patreon!
  / codeopinion  

📝 Blog: https://codeopinion.com
👋 Twitter:   / codeopinion  
✨ LinkedIn:   / dcomartin  
📧 Weekly Updates: https://mailchi.mp/63c7a0b3ff38/codeo...

0:00 Intro
0:41 Ordering Requirements
2:22 Competing Consumers
6:21 Failures
7:45 Processing Out-of-order

#softwarearchitecture #eventdrivenarchitecture #pubsub