Event Sourcing & CQRS | Stock Exchange Microservices Architecture | System Design Primer

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

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

  • @javisartdesign
    @javisartdesign 3 года назад +10

    Good explanation! It would be awesome to have an end to end example using common technologies to apply this pattern such as AXON, Kafka Streams, Cassandra, etc..

    • @TechPrimers
      @TechPrimers  3 года назад +2

      Sure Javier. I have added it to the backlog

  • @java3711
    @java3711 3 года назад +1

    awesome as always... good thing is you have covered the challenges also.. otherwise everything looks pretty straight forward

  • @DeepakPandey-ij3bz
    @DeepakPandey-ij3bz Год назад

    Thanks for the tutorial. The trade api and eod trade are using same db for read and write purpose. The idea of cars defeated itself if we have this scenario bcz read and write simultaneously can choke the performance. There should be 2 separate db one for read and one fir write connected with kafka so that when write took place same data must be synchronized in read db as well

  • @pitchibovilla3998
    @pitchibovilla3998 3 года назад +4

    Its awesome explanation. Can you please share implementation part also if possible

  • @DeepakSingh-hl3er
    @DeepakSingh-hl3er 2 года назад

    Thanks for such amazing explanation.

  • @hrtummala
    @hrtummala 3 года назад +3

    I see a flaw in the architecture. There is Dual write problem in matching service. The whole aim of cqrs is to eliminate distributed transactions and construct read model using events and commands.

    • @TechPrimers
      @TechPrimers  3 года назад

      Thanks Hemanth. Would be happy to see the modified version so that i can share that with the audience

  • @shiwanichoudhary2072
    @shiwanichoudhary2072 Год назад

    what are the other alternatives of CQRS for building microservices ?

  • @SmartEngineers
    @SmartEngineers 3 года назад +1

    Awesome ! highly appreciable. can u plz do a video how CQRS works with Apache Kafka in practical.

    • @TechPrimers
      @TechPrimers  3 года назад

      Sure bud. But will take sometime

  • @PavanKumar-yj8fu
    @PavanKumar-yj8fu 3 года назад +1

    Good information, thank you!!

  • @atech_guide
    @atech_guide 3 года назад +1

    Great video Ajay …. Could you please share the software you used to create the Architecture diagram please

  • @indranildas7953
    @indranildas7953 3 года назад +1

    Very well explained. Good job. Will you be able to make a hands-on video on this case study

    • @TechPrimers
      @TechPrimers  3 года назад

      Not immediately, but will do in the future

  • @soumil20
    @soumil20 2 года назад

    Hi. Really good video, great explanation of the different components. Do you think we should be using RDMS for the all the tables or No-SQL like Cassandra?

  • @javasystems5850
    @javasystems5850 3 года назад +1

    Nice explanation on CQRS and EventSource, Please can you explain what is SAGA and AXON.

    • @TechPrimers
      @TechPrimers  3 года назад

      Check the SAGA video. It's already there in the channel

  • @shyamagrawal3047
    @shyamagrawal3047 3 года назад +1

    Nice one .. Thanks

  • @prashant123singh
    @prashant123singh 3 года назад

    Super Awesome 👌

  • @mahfoozahmad7993
    @mahfoozahmad7993 3 года назад +2

    Very nice info, thanks a lot. Could you please create a video to implement this whole architecture. It will help us a lot.

  • @Ravikirankada
    @Ravikirankada 3 года назад +1

    Nice one Ajay :-)

  • @sriharans4189
    @sriharans4189 3 года назад

    I guess zerodha tech website will give more details about brokerage infra and architecture.. Heaps might be best for order book..

  • @ramanjaneyappan7964
    @ramanjaneyappan7964 3 года назад +1

    please explain with an example implementation

  • @bharathsai232
    @bharathsai232 3 года назад +1

    Nice video, please create a video on graph ql using aws graph ql service

    • @TechPrimers
      @TechPrimers  3 года назад

      Its there in the channel Bharath. It's called AWS AppSync

  • @jwbonnett
    @jwbonnett 3 года назад

    CQRS is eventually consistent, so wouldn't that be a problem in this case study? E.g. You modify a stock price based on how many people buy into said stock, though if that stock isn't up to date then you will have people buying more expensive or cheaper stock than the realtime price, which then affects the data integrity.

    • @TechPrimers
      @TechPrimers  3 года назад +1

      Like i mentioned i have not considered all scenarios. The price updates gets pushed via something similar to response-processor (may be a socket connectivity) Also this is how the stock market works. Price changes every second/ms. We cannot compare it will ecommerce or other platforms where price doesn't change that frequently.

  • @abisheksoni3354
    @abisheksoni3354 2 года назад

    Good content, easy to understan , thanks

  • @JeffersonBienAime
    @JeffersonBienAime 3 года назад

    🔥🔥That is nicely done! You just solved in 18 minutes, what I was trying to accomplish in 4 four months. Keep up the good work! Subscribing now! Can you share the ppt?

  • @FWTteam
    @FWTteam 3 года назад

    Is it a ppt?

    • @TechPrimers
      @TechPrimers  3 года назад

      Google slides

    • @FWTteam
      @FWTteam 3 года назад

      Can you share the slide please?

  • @shivamgupta5476
    @shivamgupta5476 3 года назад

    Make a video on it