Distributed Cache explained - Software Architecture Introduction (part 3)

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

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

  • @ADevStory
    @ADevStory  2 месяца назад

    Hey folks!👋 Want to have hands-on practice on these concepts? 🤓
    Try out CodeCrafters.io we have partnered and you can get 40% off 💸with this link: app.codecrafters.io/join?via=DevStory
    They have great hands-on tutorials and easy to get up to speed with complex systems. Check them out!

  • @NomeshDeSilva
    @NomeshDeSilva 3 года назад +37

    This is a really awesome series of Architecture. Really simple and clear and easy to understand the concepts. please continue this series. Thank you very much for your contribution to the community !!!! hats-off brother

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

      Oh thank you very much! Glad to hear you enjoyed it!
      Any specific topic you would like me to cover in the architecture series?

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

      @@ADevStory yes please add a message queue like kafka and how to deploy with AWS would be really helpful.

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

      @@NomeshDeSilva awesome! Will add to my list to try to cover. Thanks!

    • @NomeshDeSilva
      @NomeshDeSilva 2 года назад +1

      @@ADevStory Thanks alot! Waiting to hear a good news :)

  • @daymannovaes
    @daymannovaes 3 года назад +9

    Love it! Keep doing this sequence. This is a topic that I've become very interested in, and it's hard to find really quality content out there for beginners.

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

    Thanks for all your videos in this series, they're really concise and explanatory. Can't wait for the 4th video to come!!

  • @abdulhamidalsalman
    @abdulhamidalsalman 2 года назад +2

    one of the best software architecture videos on the web. ❤

  • @zparragi
    @zparragi 11 месяцев назад +1

    I've just seen all the 3 videos of this series. Thanks a lot.

    • @ADevStory
      @ADevStory  11 месяцев назад

      Glad you liked them!

  • @shortcuter4
    @shortcuter4 Год назад +1

    Thank you Christian for these awesome series! Your explanations are simple and on point. You brought information good enough to have an idea about the concept)))

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

      Thank you! Glad it was useful to you!

  • @nk-thn
    @nk-thn 3 года назад +2

    Love this series already, this gives me a much broader view of how a big system looks like, very helpful for a junior backend engineer like me :) Hope to see more on this topic. Keep it up!

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

      Glad it was useful to you!

  • @chibuezeonejeme5301
    @chibuezeonejeme5301 Год назад +1

    Excellent software design series real gem!🙏

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

      Thank you! Glad you found it useful!

  • @tirumalraon9982
    @tirumalraon9982 Год назад +1

    I loved it, awesome, simple and very clear. Great Quality content. Thanks very much for your contribution. Great work!

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

      Thank you! Glad you liked it!

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

    a missed treasure!! Your explanations are very simple and crystal clear.. Subscribed.. Good Work.. Would love to hear on integration architecture..

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

      Glad You enjoyed it so much! 😁 What do you mean by integration architecture? Which specific parts?

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

    My homework requires me to create a network and presentation, thank you for this video because I can provide more detail.

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

    These series are gold!

  • @life_with_yolanda
    @life_with_yolanda 2 года назад +2

    im a Business Analyst and this is perfect for me. Your explanations are simple, clear, and concise. May I ask for a video where you further explain the load balancer. Thank you.

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

      Glad it was useful for you! Actually I don't have another video explaining more in detail the load balancing part. But maybe in the future. Glad it was useful!

  • @lucasyuri5385
    @lucasyuri5385 3 года назад +8

    Waiting for the 4!!!

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

    I really enjoyed this series. Looking forward to 4 as i check other resources

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

      Oh thank you Ndeto! I'm going to start new series soon in other areas but at one point will come back and continue with the architecture one :). Any specific topics your'd like me to cover?

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

      ​@@ADevStory Yes! In considering software architecture, should I consider the programming language too? Or any modern language will have roughly the same maintainability/scalability/performance?

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

      @@daymannovaes This is an interesting topic! I believe some languages are better suit for some use cases than others. For example Erlang was born already with scalability in mind. Others have better performance (specially when compiled like C/C++), or if they rely on the JVM. But in my experience, overall in terms of scalability and capacity to serve millions of users and requests, these concepts I present are more important than the specific language.
      If a modern language allows you to apply the concepts above then it will probably be fine for most use cases.

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

    Looking forward to #4!

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

      Awesome! Any topic that you'd like to hear about?

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

      @@ADevStory It would be interesting to know how GATEWAYS are handled. How a front-end app (a mobile app por example) authenticates to the rest of the system in order to send a request

  • @AnjumanChawla
    @AnjumanChawla 2 года назад +2

    Hey Hi Christian , You have done agreat job. I am waiting for other parts for Software Architecture Intriduction series(part 4...., so on) , Please upload them

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

      Hi! Glad you enjoyed the series! I kind of continued it with other videos, specially with Event Driven Architecture, but didn't want to call it part of the same series (but they relate closely). I will also keep publishing some others on software architecture.
      Any specific topic that you would like to watch?

    • @AnjumanChawla
      @AnjumanChawla 2 года назад +1

      @@ADevStory ​ yeah I Understand that .Thanks. Would be great if you can cover few more topics from System design like Deciding factor for Database, , Proxies , etc

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

      Sure thing! Thanks for the suggestions!

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

    I acquired the knowledge I have been seeking for years in few minutes of three videos. Wow. I have always wanted to architect enterprise application. But I do not have a basic knowledge of DEVOPs

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

      Glad you enjoyed it! Devops it's mostly for improving but no needed for developing architecting enterprise architectures.
      I can try to prepare some topics on devops too :)

  • @payamkhobdeh1471
    @payamkhobdeh1471 2 года назад +2

    Great Videos

  • @bigneon2
    @bigneon2 Год назад +1

    Awesome content!

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

      Thanks! Glad you enjoyed it!

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

    Great video! Really helpful

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

      Glad you liked it! Thanks!

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

    Really nice videos! thanks. I hate distributed cache so much!!!!, but it is a needed pain sometimes.

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

      Totally agree! And thanks!

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

    Never seen a video on YT that doesn't have a single downvote.. then I saw this

  • @BeSharpInCSharp
    @BeSharpInCSharp 3 года назад +6

    Can you make a video for each pattern like even based or SOA and explain it with practical example of a system that suits for each of the pattern?

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

      Adding to my list of planned topics :)

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

      +1

  • @navjotsingh2457
    @navjotsingh2457 Год назад +1

    ty

  • @wwl777
    @wwl777 2 года назад +1

    Good stuff!

  • @liatris69
    @liatris69 2 года назад +1

    Being a computer scientist is like being a parent with many children. You’re always having to come up with new names for your newborns and you’re always having to remember the names of your older children.

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

    can you please add more in depth videos or a bigger series .. btw loved your videos

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

      Thank you Ankit! I try to make short videos so not sure about how much in depth I can get 😅 but I will for sure expand it :). Any specific topic you might want/are curious about?

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

      @@ADevStory A more in depth software architecture pattern if possible. Happy to learn from you. keep doing great work you rock!!!

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

      @@ankitsharan15 sure thing! And thanks for the kind words!

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

    Why is the video creation been stopped on this subject? Seems like 5 months is a big gap.... Really need the next videos.... These are really awesome videos to the point....
    Also I am interested in understanding how to choose the design patterns after we have decided the architecture.... Do we choose creational, structural & behavioral all at once in the beginning or does the behavioral set of design patterns work at controller layer inside logic layer....
    I did see all your videos of architecture and if you could provide any link or any of your video to understand the same?

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

      Thanks for watching! The gap has been mostly because its time consuming and I've been very busy at work :( I have published several videos after this one but on other areas.
      I'm currently working in one to expand the series so (hopefully 🤞) in the coming weeks you will get more content to watch and share :)
      In terms of design patterns you usually look at them (purist could say you "find them") when you are implementing feature, so the level is much more fine grained than the architecture. Architecture is like how you are going to build the house, where more or less will be the water pipes and the electric cables. Design patterns is more interior design let's say :)

  • @amirtv106
    @amirtv106 Год назад +1

    Wouldn't it make sense to put a load balancer in front of the distributed cache? And, then also in front of the DB? Trying to figure out why most architectures will put a load balancer in some layers, but not others. Like it seems that as long as we have a distributed/replicated component, then we would need to have an LB in front of it. Maybe some diagrams don't include it because some components have load balancing as a part of it; for example, an API gateway could be doing its own load balancing to know which service node to go to.

    • @ADevStory
      @ADevStory  Год назад +1

      Hello! That's a great question. Every layer could indeed have a load balancer. The main reason it often doesn't have it I'd say it's because of the nature of the state.
      For example, a relational database will totally be handled only with one "live"/"main" instance for writing and maybe some copy instances for read. Since there's always one instance to write to, a load balancer doesn't add much value. Another thing I can think of is sharding or the case of distributed cache where given the value you know exactly in which instance this info should be.
      Having said this, many services that have state (think on Amazon S3 or Google storage) typically have a load balancer for retrieve the data too.
      Hope it's clearer

  • @ikemkrueger
    @ikemkrueger 2 года назад +1

    How do I decide, what Design Pattern I have to use?

    • @ADevStory
      @ADevStory  2 года назад +1

      Will direct you to this meme 😅twitter.com/SBinLondon/status/1413113782214266885?t=j4vRmgOJPqIiUng_NmWHVg&s=19
      It depends a lot on the use case. And some times you might use a pattern that thought was good with the context you had and later discover that it wasn't actually the best. That's the good and bad of this career: is a bit science and a bit art.
      I give some additional tips in my video about design patterns if you want to get some general guidelines

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

    Wow

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

    End to End encryption like WhatsApp do they store anything in their server. If they encrypt that message then they obviously know how to decrypt. Does they do same like password hashing and salting.
    if they do so then the String object is going to take more size and it will affect the servers and response time will be slow.

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

      According to WhatsApp, they don't decrypt the message faq.whatsapp.com/general/security-and-privacy/end-to-end-encryption/?lang=en.
      And there's actually no need to. You can still have a user identifier and the encrypted message string and just passing it around in the servers.

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

    What is BE in this case?

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

      It stands for Back-End

  • @sunilkumarpattypati3567
    @sunilkumarpattypati3567 Год назад +1

    You are too fast, try to explain it slowly

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

      Will do! Thanks for the feedback!

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

      he aint fast, the peace at which he speaks is correct