How to design and code a scaleable solution (from monolith to microservices)

Sdílet
Vložit
  • čas přidán 15. 06. 2024
  • Become a Patreon and get source code access: / nickchapsas
    Check out my courses: dometrain.com
    Hello everybody I'm Nick and in this video I will explain everything that you need to know about how you can scale your microservices. This video is useful for both Software Engineers and Solution Architects and touches upon everything that you need to be aware of when you are designing and coding your solution.
    Don't forget to comment, like and subscribe :)
    Social Media:
    Follow me on GitHub: bit.ly/ChapsasGitHub
    Follow me on Twitter: bit.ly/ChapsasTwitter
    Connect on LinkedIn: bit.ly/ChapsasLinkedIn
    #scale #microservices #cloud

Komentáře • 22

  • @mahmoudalaskalany
    @mahmoudalaskalany Před 4 lety +36

    This is one of the most useful channels i have shared it with my friends in my company and we really love your content nick keep posting and keep the good work up

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

    that is really helpful thanks nick , you are doing a great job.

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

    Useful content , thanks & hope u continue this series

  • @Jpolanco1903
    @Jpolanco1903 Před 4 lety

    A really useful video! Thanks for sharing. I’m trying to learn and build a project at the same time using MicroServices architecture

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

    High quality content and to the point. I Like!

  • @KonstantinKuda
    @KonstantinKuda Před 3 lety

    Best youtube .Net channel ever

  • @mostinho7
    @mostinho7 Před 2 měsíci

    Done thanks

  • @khalilovk
    @khalilovk Před 2 lety

    Thanks for the content.
    Maybe it worth to turn back and go deeper into this topic? Architecture knowledge is getting more and more demanding. Microservices nowadays are everywhere

  • @RichardONeil
    @RichardONeil Před 4 lety +2

    Thanks so much for this video. What are the chances that you will do a video to physically show how to code and build a system with a couple of different microservices and the wiring necessary to put it all together?

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

      I actually really wanted to do so but the problem with that is that it will be very hard to demonstrate over a series of videos and very long to do in a single video. I definitely want to but I don't have a clear plan in terms of how to do so.

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

    Hi Nick very useful, is it ok if you gradually go deeper into microservices, teach us everything you know

  • @douglas_dev1
    @douglas_dev1 Před 3 lety +2

    how would it work for the database those APIs are sending/getting data from?

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

      It would have to be databases that scale out too. Most of the NoSQL databases are designed with horizontal scaling in mind.

  • @clearlyunwell
    @clearlyunwell Před 3 lety

    👍🏽

  • @my3m
    @my3m Před 3 lety

    How do you ensure message is not consumed twice in Azure Service Bus Queue when scaling out number of consumers?

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

      You don't. You aim for 'idempotency'. In mathematics an idempotent function is one that you can apply twice and the result will be the same as applying it once. Absolute value, for example. The absolute value of the absolute value of a number is the same as the absolute value of the number, so absolute value is an idempotent function. In this context I think it means that you build your service in a way that the outcome of handling a message twice is the same as handling it once. Then you don't need to guarantee that a message is only consumed once (which the two generals problem makes impossible), so you don't.
      Yeah he explained that badly. I only understood what he meant because I already knew what idempotency meant in a related context, and am still not 100% sure.

  • @urae7382
    @urae7382 Před rokem +1

    Nice but a bit misleading. You don't need microservices to scale out. You can easily (think web apps were running on a single box before microservices were invented? :)) scale monoliths as long as you keep your application layer state free. Technically you can even scale out stateful application layer, state just needs to be pushed somewhere shared. In any application, including microservices, there is almost always a shared state somewhere such as some sort of database engine which is shared at least between few services or a service in front of that engine shared by multiple callers. Both monoliths and microservices have their place and trying to create artificial "monolith single box no scaley" vs "microservices endless scaly" distinction tends to distort the reality.

  • @FilipCordas
    @FilipCordas Před 4 lety

    You are wrong about stateless systems and scaling. In fact most distributed systems are actor based (Orleans, akka).

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

    I think I need to reduce the playback speed...

  • @christianista
    @christianista Před 4 lety

    Very good channel but could you speak slower ? :)