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

Поділитися
Вставка

КОМЕНТАРІ • 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

  • @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

  • @java3711
    @java3711 3 роки тому +1

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

  • @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

  • @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

  • @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

  • @shiwanichoudhary2072
    @shiwanichoudhary2072 Рік тому

    what are the other alternatives of CQRS for building microservices ?

  • @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?

  • @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

  • @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.

  • @shyamagrawal3047
    @shyamagrawal3047 3 роки тому +1

    Nice one .. Thanks

  • @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.

  • @sriharans4189
    @sriharans4189 3 роки тому

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

  • @abisheksoni3354
    @abisheksoni3354 2 роки тому

    Good content, easy to understan , thanks

  • @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

  • @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?

  • @Ravikirankada
    @Ravikirankada 3 роки тому +1

    Nice one Ajay :-)

  • @ramanjaneyappan7964
    @ramanjaneyappan7964 3 роки тому +1

    please explain with an example implementation

  • @shivamgupta5476
    @shivamgupta5476 3 роки тому

    Make a video on it

  • @FWTteam
    @FWTteam 3 роки тому

    Is it a ppt?

    • @TechPrimers
      @TechPrimers  3 роки тому

      Google slides

    • @FWTteam
      @FWTteam 3 роки тому

      Can you share the slide please?