Blocking or Non-Blocking API calls?

Опубликовано: 18 Январь 2025
на канале: CodeOpinion
10,742
420

When should you use blocking or non-blocking API calls? Blocking synchronous communication vs non-blocking asynchronous communication? Should commands fire and forget? What's the big deal of making blocking synchronous calls between services?

🔗 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:35 Commands
3:45 Queries
7:57 Request-Response
10:23 Events

Event Driven Architecture for Real-Time Web
   • Event Driven Architecture for Real-Ti...  

Sagas: Event Choreography & Orchestration (NServiceBus)
   • Sagas: Event Choreography & Orchestra...  

Was that message processed? Asynchronous Request-Response Pattern
   • Was that message processed? Asynchron...  

#softwarearchitecture #softwaredesign #codeopinion