Taming reactive Node.js: Stream-oriented architecture with NestJS | Kamil Myśliwiec

Sdílet
Vložit
  • čas přidán 7. 09. 2024

Komentáře • 33

  • @user-zb1ft9py6n
    @user-zb1ft9py6n Před 4 lety +20

    My english is not good and he speaks so fast, but it is amazing - I clearly understand absolutely everything. Thank you! Nestjs rocks!

  • @g2ang12
    @g2ang12 Před 2 lety +2

    Powerful! The boss of NestJS

  • @shivrajnag12
    @shivrajnag12 Před 3 lety +7

    How guys build such fucking awesome framework by their own while doing day to day job.

  • @KiffinGish
    @KiffinGish Před 4 lety +3

    Impressive, time to concentrate more on the benefits of using nestjs.

  • @ankitrathore3946
    @ankitrathore3946 Před 4 lety +1

    Love u man .. you cleared my doubts on cqrs .. thanks 👏👏👏👍👍👍🎁🎸🎸🇮🇳

  • @tech-andgar
    @tech-andgar Před 2 lety

    Thank you for accessible of translation Sign Language

  • @rsibanez89
    @rsibanez89 Před 4 lety +11

    A very clean solution, but I got some questions.
    How do you solve eventual consistency? What happens if the second command of the saga fails, how do you roll back?

    • @boot-strapper
      @boot-strapper Před 4 lety +13

      This is a conference talk. we dont talk about fail cases. LOL

    • @henrmota
      @henrmota Před 3 lety

      You can use an interceptor to start a a db transaction catch an error rollback. dev.to/teamhive/creating-a-transaction-interceptor-using-nest-js-2inb

    • @henguemelkis1464
      @henguemelkis1464 Před rokem

      CQRS systems are by design eventually consistent, since where you write is not where you read, it will take some time until the update propagates to the read side. There is nothing you can do about that. For the rollback, you can have rollback commands like `UserCreationFailedCommand` that you execute from the saga, to undo a previous modification

  • @finally_code
    @finally_code Před 4 lety

    Man, it really would have been great if he explained in the beginning that this will be a talk about event-driven microservice architectures (CQRS). As someone who hasn't worked with microservices before, I was quite lost during the talk constantly asking myself - why this was outside the paradigms I am familiar with.

    • @anarchoyeasty3908
      @anarchoyeasty3908 Před 3 lety +3

      CQRS has absolutely nothing to do with microservices.

    • @DodaGarcia
      @DodaGarcia Před 3 lety +1

      CQRS offers a type of decoupling (commands vs. queries) often paired with event-sourced systems which themselves work well with the async nature of microservices, but those three things are not one and the same. You can definitely have a CQRS system that uses a monolithic architecture.

  • @vincentsanjaya2402
    @vincentsanjaya2402 Před 4 lety +1

    nestjs rocks

  • @alex_chugaev
    @alex_chugaev Před 3 lety +3

    Wanna see 4 hours version with all details

  • @wanghao8080
    @wanghao8080 Před 5 lety +1

    better everytime : )

  • @eugenea7637
    @eugenea7637 Před 5 lety +5

    Where in this approach a Queries?

    • @JSKongress
      @JSKongress  Před 4 lety +1

      Here you can find more on queries with this event-driven microservice architecture approach docs.nestjs.com/recipes/cqrs#queries

  • @8eck
    @8eck Před 3 lety

    14:29 look at the translation guy at the bottom :D

  • @mhadi-dev
    @mhadi-dev Před rokem

    Redux is the best tool to describe bad Developer Experience

  • @ja909
    @ja909 Před 5 lety +3

    Where do I find this stuff in the documentation? I must be blind ...

    • @kamilmysliwiec7394
      @kamilmysliwiec7394 Před 5 lety +7

      See here docs.nestjs.com/recipes/cqrs

    • @eugenea7637
      @eugenea7637 Před 5 lety +2

      github.com/kamilmysliwiec/nest-cqrs-example

    • @anthonymouallem8177
      @anthonymouallem8177 Před 5 lety

      @@kamilmysliwiec7394 in the documentation it says that "Commands can be dispatched from the services or directly from the controllers" but here you said that no needs for services so which approach is better?

    • @g-luu
      @g-luu Před 4 lety

      @@eugenea7637 hi, do you know where i can find query example.

  • @damiangilz
    @damiangilz Před 4 lety +1

    Didn't really understood the decorators :C

    • @JSKongress
      @JSKongress  Před 4 lety

      You can find more on decorators here: docs.nestjs.com/custom-decorators

  • @TiagoAugustoMartins
    @TiagoAugustoMartins Před 4 lety +1

    Thanks! This is great stuff, but someone needs to tell Kamil it's pronounced "evEnt" :)

  • @bswill5077
    @bswill5077 Před 3 lety

    i feel like if node.js is going to be as complex as .net core then i will just stick with .net core lol