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

Поделиться
HTML-код
  • Опубликовано: 27 янв 2025

Комментарии • 32

  • @DO-rs6hq
    @DO-rs6hq 10 месяцев назад +4

    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  10 месяцев назад

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

  • @francisantony12
    @francisantony12 Месяц назад +1

    Thanks a lot. This helped me a lot

  • @josef-stampede-ai
    @josef-stampede-ai 10 месяцев назад

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

  • @carlcodes8422
    @carlcodes8422 10 месяцев назад +1

    Another excellent vid - thanks James 🙂

  • @irisll4260
    @irisll4260 5 месяцев назад +1

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

  • @antonmartyniuk
    @antonmartyniuk 7 месяцев назад +1

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

  • @adeyemialatishe82
    @adeyemialatishe82 9 месяцев назад +1

    Excellent breakdown. Thanks James.

  • @runek75
    @runek75 7 месяцев назад +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! 😊

  • @johncerpa3782
    @johncerpa3782 10 месяцев назад +2

    Excellent video

  • @tangomoocow
    @tangomoocow 3 месяца назад +1

    Great explanation, thanks.

  • @selmanekici8816
    @selmanekici8816 10 месяцев назад +1

    Good stuff 🎉

  • @RichardBaileyrichoncode
    @RichardBaileyrichoncode 3 месяца назад

    Was hoping to see more about latency comparisons.

  • @bradgermain
    @bradgermain 9 месяцев назад

    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  9 месяцев назад +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 8 месяцев назад

    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  8 месяцев назад

      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 10 месяцев назад +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  10 месяцев назад +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 10 месяцев назад +1

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

  • @sergeykichuk2586
    @sergeykichuk2586 9 месяцев назад

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

    • @serverlessjames
      @serverlessjames  9 месяцев назад +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 9 месяцев назад

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

    • @sergeykichuk2586
      @sergeykichuk2586 9 месяцев назад +1

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

    • @serverlessjames
      @serverlessjames  9 месяцев назад +1

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

    • @sergeykichuk2586
      @sergeykichuk2586 9 месяцев назад

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

  • @Namelessssssssssssssss
    @Namelessssssssssssssss 10 месяцев назад

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

    • @serverlessjames
      @serverlessjames  10 месяцев назад

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

  • @kushpathak4097
    @kushpathak4097 13 дней назад

    Took me a long time to realise he was saying 'Buses' and not....

    • @serverlessjames
      @serverlessjames  13 дней назад

      Ok, now I'm interested. What did you think I was saying? :)