#010: Out of order and ensuring delivery in the asynchronous communication
Manage episode 329444607 series 3310419
ABOUT THE EPISODE
This episode follows up on the subject of challenges in asynchronous communication which was started in episode #009 🧵. Join us for another journey into the depths of this domain!
TOPICS COVERED
In episode #010, in which we dug deeper into the ground of Asynchronous Communication, talking about:
🔢 How we can deal with "out of order" processing? Is it the responsibility of the transport layer only?
📬 How to ensure the message delivery? What strategies are used by message brokers to give us some guarantees? How does using those strategies affects a producer and a consumer code?
⏱ Using Asynchronous Communication in long-running business processes and how to make it blend into the synchronous APIs environment?
That's not all the concerns one needs to consider when implementing Asynchronous Communication. We intend to follow up on this in future!
TIMELINE
00:00:00 - Intro
00:01:37 - Our last 2 weeks
00:07:37 - The problem of ordering in async communication
00:10:06 - Issues with ordering comming from the producer
00:11:20 - Competing consumers as source of ordering problems
00:14:03 - Tackling the concurrency issues on the entity level
00:22:13 - Ordering in queues vs event streams
00:25:55 - Ensuring delivery
00:36:05 - Idempotency in the asynchronous communication
00:42:26 - Long running processes
00:51:08 - Importance of requestId/correlationId
00:53:15 - Wrap up
CONTACT US / COLLABORATION
If you:
- want to send us your valuable feedback
- you would like to appear on the show as a guest
- you would like to help out the show to grow
- you would like to sponsor the show
Then please contact us via: [email protected]
You can also check out our website: https://artistryofcode.com
FOLLOW US ON SOCIAL MEDIA
Podcast Social Accounts
Facebook: https://www.facebook.com/ArtistryOfCode
Twitter: https://twitter.com/ArtistryOfCode
LinkedIn: https://www.linkedin.com/company/artistry-of-code
Reddit: https://www.reddit.com/r/ArtistryOfCode/
Grzegorz Godlewski
LinkedIn: https://www.linkedin.com/in/ggodlewski/
Twitter: https://twitter.com/GGodlewski
Marek Urbanowicz
LinkedIn: https://www.linkedin.com/in/marek-urbanowicz-0ba65254/
Twitter: https://twitter.com/UrbanowiczDev
Artur Wolny
LinkedIn: https://www.linkedin.com/in/artur-wolny-35150664/
28 episodes