Architecture: The Hard Parts - synchronous vs asynchronous communication

July 21st, 2022

What is async?

async implies

  • events

  • or

  • messages

Distinction: events vs messages

 


 

Why async?

improves responsiveness

(not performance - Distinction: responsiveness vs performance)

no description for image available

async usually works well in happy path, but get's more complicated in the unhappy path...

happy path -> works well

unhappy path: eg."comment uses a word that is not allowed"

  • new user flow:

    • send email?

    • notification to user?

  • automate correction

    • censor that word *****