Events vs Commands in Event-Driven Architectures, when to use which?

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ต.ค. 2024

ความคิดเห็น • 6

  • @RaulMercado
    @RaulMercado 5 หลายเดือนก่อน +1

    Thank you for the video, very instructive and clear.

    • @theburningmonk
      @theburningmonk  5 หลายเดือนก่อน

      Glad you enjoyed it!

  • @XStrikeSuper
    @XStrikeSuper 5 หลายเดือนก่อน

    How is Command is different from Lambda Invoke? You can wait for response from lambda invoke

    • @theburningmonk
      @theburningmonk  5 หลายเดือนก่อน

      Conceptually they're different things. Events and commands are used to model your system's behaviour and their interaction, and a Lambda function is used to carry out some business logic in response to an invocation request.
      In your example, the invocation event might be a "command", if the event carries a message that requests some action to be performed. But Lambda functions can be invoked in response to an event too.
      Commands often follow a request & response pattern, but not all request & response communications are related to processing commands.

  • @markraven6950
    @markraven6950 5 หลายเดือนก่อน +1

    awesome content

    • @theburningmonk
      @theburningmonk  5 หลายเดือนก่อน +2

      thank you, glad you liked it!