Stream, Event Bus or Queue? What's the Difference?

Поділитися
Вставка
  • Опубліковано 15 вер 2024

КОМЕНТАРІ • 27

  • @irisll4260
    @irisll4260 Місяць тому +1

    That is very clear introduction to this Data ingestion related process !!!! Love it

  • @antonmartyniuk
    @antonmartyniuk 2 місяці тому +1

    This is a very great explanation of difference betweeen queues, event buses and streams. Nice work!

  • @DO-rs6hq
    @DO-rs6hq 5 місяців тому +3

    Thanks a million James. I agree with the other commenter that this is the best explanation on this topic. You have an outstanding ability to explain complex subjects in a way that is easy to follow. I'm very lucky to have found your channel!

    • @serverlessjames
      @serverlessjames  5 місяців тому

      I appreciate you taking the time to comment, thank you ❤️

  • @adeyemialatishe82
    @adeyemialatishe82 5 місяців тому +1

    Excellent breakdown. Thanks James.

  • @runek75
    @runek75 3 місяці тому +1

    Excellent description of these technologies! It really gave insight into what to use when. Thanks for the tip and your talk at the ndc in oslo, really inspiring! 😊

  • @josef-stampede-ai
    @josef-stampede-ai 5 місяців тому

    Best explanation i ’ve seen on this topic. Clear, to the point and well understood. Great work. Looking forward to seeing more. 🎉

  • @carlcodes8422
    @carlcodes8422 6 місяців тому +1

    Another excellent vid - thanks James 🙂

  • @johncerpa3782
    @johncerpa3782 6 місяців тому +2

    Excellent video

  • @selmanekici8816
    @selmanekici8816 6 місяців тому +1

    Good stuff 🎉

  • @bradgermain
    @bradgermain 4 місяці тому

    Thanks James, this is great! Quick question, you mentioned for a stream it’s important that a DB is setup on both services, is that the case for queues and service buses too?

    • @serverlessjames
      @serverlessjames  4 місяці тому +1

      Yes, absolutely. Basically you don't want to be relying on your message channel as a persistent data store. Many streams will retain data for period of time, but they aren't databases.

  • @bulioh
    @bulioh 4 місяці тому

    Very clear breakdown! When using an event bus (not combined with a queue), does every instance of a consumer receive a message typically? Or is it load balanced to a single instance?

    • @serverlessjames
      @serverlessjames  4 місяці тому

      Great question. Typically an event bus is there to fan a single event out to lots of different subscribers. So yeah, if you had multiple instances of the same app subscribed directly to the bus with the same configuration I'd expect them all to receive the same events.

  • @sumarianprince
    @sumarianprince 6 місяців тому +1

    Great video as usual James, thanks for this.
    I have a side question for you, I made a wager with my colleague that c# AOT 8.0 is superior to NodeJS's Latest version on AWS in terms of performance.
    Who do you think wins?

    • @serverlessjames
      @serverlessjames  6 місяців тому +1

      I'd be confident .NET 8 Native AOT will be more performant, simply because it's a natively compiled binary as opposed to node which is an interpreted language. Max's Lambda perf benchmarks seem to back that up, if you're talking pure performance.
      maxday.github.io/lambda-perf/

    • @sumarianprince
      @sumarianprince 6 місяців тому +1

      @@serverlessjames Thanks for the reply, James. As usual, your answers are detailed and simple to understand.

  • @sergeykichuk2586
    @sergeykichuk2586 5 місяців тому

    Thanks for the explanation! What kind of application or pad are you using for drawings ?

    • @serverlessjames
      @serverlessjames  5 місяців тому +1

      It's a Huion drawing tablet on my desk, and then the EpicPen Pro app for the ability to draw on the screen

    • @sergeykichuk2586
      @sergeykichuk2586 5 місяців тому

      @@serverlessjamesnice didn’t know that you can stream it like that looks pretty good! 👍

    • @sergeykichuk2586
      @sergeykichuk2586 5 місяців тому +1

      @@serverlessjames is it like a pad or this display like iPad?

    • @serverlessjames
      @serverlessjames  5 місяців тому +1

      @@sergeykichuk2586 yeah it's basically an external display but specifically for drawing on. Google Huion Kamvas 13 :)

    • @sergeykichuk2586
      @sergeykichuk2586 5 місяців тому

      @@serverlessjames didn’t know something like that exists always I have issue to draw with mouse! Thank you!

  • @Namelessssssssssssssss
    @Namelessssssssssssssss 6 місяців тому

    So...where do you put a tool like kafka? Stream maybe?

    • @serverlessjames
      @serverlessjames  6 місяців тому

      Yep, that's where I would put it. It sits in that middle ground where it's durable, but also allows for multiple consumers