Top 7 Most-Used Distributed System Patterns

Поділитися
Вставка
  • Опубліковано 25 січ 2025

КОМЕНТАРІ • 95

  • @vonmakeheat
    @vonmakeheat Рік тому +6

    I watch all his videos on 1.75 and I swear this is the very best system design tutor on UA-cam !!!!!

  • @agarbanzo360
    @agarbanzo360 Рік тому +215

    Great video, but I think it would be good if you mentioned some of the pitfalls or common issues with each of these approaches, in addition to the things they can benefit

    • @maciekp.1930
      @maciekp.1930 Рік тому +6

      In 6 minutes? 😅

    • @dennisestenson7820
      @dennisestenson7820 Рік тому +26

      Who said it had to be done in 6 minutes?

    • @danielgrannn
      @danielgrannn 3 місяці тому

      I think the purpose of this video is just to introduce into the pattern logic.

  • @АлексГладун-э5с
    @АлексГладун-э5с Рік тому +61

    The Ambassador pattern is not typically associated with reducing latency since it introduces an extra component into the communication process between services. In fact, service mesh providers like Istio are often recognized for the latency overhead they contribute.

    • @Winnetou17
      @Winnetou17 Рік тому +7

      I think it reduces latency in the event where the busy CEO is doing something else and the other part has to wait for the CEO to handle its request. The ambassador can start handling the request immediately.

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

      Every arch has its own pros an cons. API Gateway provides us flexibility over 3-10ms depends on what kind of controls we add to the flow.

  • @ChetanSankhala
    @ChetanSankhala Рік тому +6

    Awesome video.
    One suggestion to improve it more.
    1) Keep Header for each section on top.
    Example: When explaining Sharding, It will looks good if Sharding is there in full 10 second section

  • @amitnilajkar6272
    @amitnilajkar6272 Рік тому +6

    beautiful video, just loved every bit of it.

  • @ЄгорПавленко-м4ь

    Fantastic! Best event-sourcing explanation ever! I tried to know what event sourcing is many times and understand only from this video, that I actually worked with event sourcing many years when worked with accounting software. Thanks a lot!

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

    I view this as a jumpstart into a topic. Enough to get me going. For that I appreciate the work.

  • @sujoydutta920
    @sujoydutta920 Рік тому +1

    Incredible you just made it so simple to understand Thank you

  • @bananesalee7086
    @bananesalee7086 Рік тому +1

    thank you, you're great as usual

  • @dmitrydmitriev2554
    @dmitrydmitriev2554 Рік тому +2

    Amazing. Thank you! Please keep on create such kind of videos. The selling point of them is a shortness, them fit perfectly in time gaps and allows to become better without rearranging a schedule of a day.

  • @furo.v
    @furo.v 3 місяці тому

    In my opinion one of the most important and most used patterns wasn't mentioned here: Job queues (work queues + worker pool). Basically you have a queue of jobs to be completed, and several nodes are working, and when one becomes available (i.e. finishes its previous job), a pending job enters that node. Like a single queue in a shop waiting (=all the pending jobs) and a few cashiers handling them one by one (=the workers).
    The difference from pub sub is that only one node gets the job, since there's no need for multiple nodes to handle the same job.

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

    Appreciate your work. Thank you for clear content!

  • @sergiik2168
    @sergiik2168 Рік тому +2

    2:49 "When each commit represent a change" - well, in Git each commit represent a snapshot of a filesystem. Diff between commits represent a change. I'm boring, I know.

  • @leuhenry8031
    @leuhenry8031 Рік тому +5

    awesome! what tools do you use for drawing the beautiful diagrams? I like them so much. It makes knowledge easier

    • @tyronefrielinghaus3467
      @tyronefrielinghaus3467 Рік тому +1

      I'd also like to know. The animated reveals make it so much easier to follow.

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

      They are mentioned in the description

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

    Thanks again and always.

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

    Very well demonstrated.

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

    Thank you, very useful information

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

    thanks for the great video!

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

    Best video nicely explain🎉🎉🎉

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

    Superb explanation

  • @zd2600
    @zd2600 Рік тому +1

    Good resources. Didn't know that all the pattern names but I have use some of them already.

  • @АртурЗарипов-б2й

    Thank you very much!

  • @ТемурТурсунбаев-л8ю

    Like this nice and smooth animation chasing explanation run

  • @thereisnootherday
    @thereisnootherday Рік тому +11

    I think that Replication should be in the list as one of the most important patterns in distributed systems. Optional: quorum, fencing, eventual consistency, you name it

  • @more-reese
    @more-reese Рік тому +2

    These videos are great, thank you for making them. What software do you use for your animated graphics?

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

    Great video! Please, let me know, how do you make this presentations?

  • @jakebiggs7282
    @jakebiggs7282 11 місяців тому

    is sharding the same as chunking?

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

    Is using a queue with large retry time would be considered as a circuit breaker?

  • @simusokwe
    @simusokwe Рік тому +2

    Great videos and clear communicator! What video animation software do you use to create them?

  • @ogrenisme
    @ogrenisme Рік тому +1

    This video is a bit of a mixed bag in sense of patterns. While Ambassador and Circuit breaker are surely patters of distributed and distinct systems, CQRS and Event Sourcing are typical examples of how to architect a single application (system).

  • @JosemarAndre-h7m
    @JosemarAndre-h7m Рік тому

    Great Video

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

    Thank you.

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

    I am big fond of your content! However i am still not able to digest that EventSourcing is distributed architecture pattern😮 please guide us

  • @johnday2631
    @johnday2631 Рік тому +1

    how to you create your info graphics?

  • @南方中阳
    @南方中阳 Рік тому

    How do you make animation in the video , it is very nice, I want to learn ,please share me the way

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

    Would like to know more the diff between Event-driven system vs Message-driven system.

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

    Excellent

  • @zzzzzzzzzzsh
    @zzzzzzzzzzsh Рік тому +1

    Thanks for creating such good content Alex!
    I have two comments though..
    1. It's not good to have advertisement video names like this one, especially when the target audience are educated people. I mean based on what statistic you stated that these are the top 7 most used patterns?
    2. In CQRS part, I think the below example you gave is irrelevant. "separate list items (reads) and new orders (writes)". Orders and Items are different domains and they might be in different microservices and also both of them might implement CQRS separately (orders service might have one DB for write and other one for read and same applies to Items).
    Good example would be: a banking application let customers create banking accounts(writes - less frequent) and to retrieve accounts (reads - more frequent).

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

    Could you please share the insights of QR CODE and How it works?

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

    What pattern or strategy can I use for a website that sells tickets for movie theaters?, for example if a user selects seat 1-A he's given 5 minutes to complete the process and buy the ticket, I assume that in those 5 minutes the seat cannot be selected and buyed by another user, I'm not really sure if that's the way the website should behave or if another user can buy a ticket for the same seat. Taking it a little bit further imagine that user can buy tickets using a website, an app, and directly in the movie theater.

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

    Nice video!
    I love your content.
    I would like to know which tools do you use to make those videos?

  • @SD-df3kn
    @SD-df3kn Рік тому

    Hi. What do you use to create these presentations/animations. I'd like to use it for my interviews. Thank you.

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

    I cant wait for my database to shart itself.

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

    Impressive

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

    which tool you are using for creating slides ?

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

    Kubernetes does not use Envoy natively. Istio does.

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

    what's the diagramming tool that you used for the video?

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

    Isn't rate limiter also a very common distributed systems pattern?

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

    Chatgpt uses something similar to CQRS right? The AI doesn't learn with our input. Its learning process is verified by an employed before being accepted to the AI

  • @amirsaeed3395
    @amirsaeed3395 Рік тому +1

    More examples and breakdown would have been even better.

  • @MahmoudSaed98
    @MahmoudSaed98 2 місяці тому

    CQRS

  • @nkbuaa
    @nkbuaa Рік тому +1

    This is too high level and too abstract.
    Would be great to expand each one.
    I found most of the top x videos are hard to digest. In 5-7mins, it will be great to dive deep into one topic and explain it well

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

    most best complex systems deterrent is k.i.s.s. or go home and stay there

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

      tired of your distributing of your loads onto people

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

      well, have skill or be evolutionized/darwinized, survival of the fittest, like you animals like to call it, and make it so

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

      yeah you do it, not others for you, tired of that distributed smuggling system

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

      none of you actually do anything (useful)

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

      and no, you defining yourself useful does not make you useful, this is not useful, stop talking, do something

  • @shaleensaxena1664
    @shaleensaxena1664 Рік тому +1

    Is there a way to actually build and try such patterns? I understand better by doing.

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

      Yes! You could totally build a toy system for it. It could be only code or only diagrams. Which suites you best!

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

      @@shentot6 I would prefer to build a toy system. Any suggestions or guidance on how to get started?

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

      @@shaleensaxena1664 create a diagram with the system configuration for your toy system and list the tools you would use(eg elastisearch, kafka). Browser their sdks or learn those technologies depending on your current level of knowledge. Then all but left to build it depending on your choice of programming language. You could actually learn the technologies like kafka while coding the application. Happy coding

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

    hello :D

  • @AndrewBreunig
    @AndrewBreunig 3 місяці тому

    I see an opportunity to convey a different message to early career engineers by portraying the busy CEO as a woman, rather than the executive assistant as a woman.

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

    Alex, felt too quick

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

    it feels like you don't know what you're reading sometimes.

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

    Whoops, you accidentally set the CEO as male and secretary as female. Would be great to fix your bias in future videos. It would suck to take away from your great content.

  • @Chris-b-2
    @Chris-b-2 Рік тому

    First? :D

  • @ordinarygg
    @ordinarygg Рік тому +3

    How to make ads and people don't understand this is ads. Brilliant work) almost 0% real and applicable knowledge, not include PostgreSQL in sharding?) I even don't understand who is this guy and what he did and why all of you listening to him)) it's literally copy paste from books) most of this info is 90% not used widely only used for interviewing jobs. Real things are much ugly everywhere, I thought your glasses will be pink LOL)

    • @ac5719
      @ac5719 Рік тому +4

      I don't understand your gripes with the video. It introduced 7 distributed systems patterns. If any of them seem applicable for your project, then now you know what pattern to go in-depth into. They even named commonly used services that utilize/offer these patterns. I agree that real projects are often not as well-executed as the theory, but I feel like you learn the ideal/theoretical design to then make the necessary compromises based on your project's limitations.

    • @casiowatch125
      @casiowatch125 Рік тому +6

      I have used all seven of these patterns (+ strangler fig) in production systems. Although I would not refer to them as "patterns". of course this is an advertisement for the books and newsletter. i own both of the books and found them to be quite valuable. The intended audience is not for complete begineers. I like short videos like this too. They are nice little refreshers

    • @NeetCode
      @NeetCode Рік тому +11

      I think you're missing the point of the video, if I'm understanding you correctly (which is hard with such an incoherent comment)

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

      @@casiowatch125 "I have used all seven of these patterns (+ strangler fig) in production systems" size of prod, not in DB size but in actual services or users size?

    • @casiowatch125
      @casiowatch125 Рік тому +2

      @@ordinarygg my team handle ~80 services
      Business 12m+ users monthly

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

    Great video