Why use Microservices, Docker & Kubernetes?

Sdílet
Vložit
  • čas přidán 19. 06. 2024
  • Enterprise companies structure & deploy their apps differently...
    Deploy your own Minecraft server in 1 minute on Acorn here: acorn.io/run/ghcr.io/cloudnau... (paid sponsorship)
    Learn more about Acorn here: acorn.io (paid sponsorship)
    Hi, I'm Wesley. I'm a brand ambassador for Kinde (paid sponsorship). Check out Kinde for authentication: bit.ly/3QOe1Bh
    👉 NEW React & Next.js course released at any moment to email subscribers: email.bytegrad.com
    👉 Professional JavaScript Course: bytegrad.com/courses/professi...
    👉 Professional CSS Course: bytegrad.com/courses/professi...
    👉 Discord: all my courses have a private Discord where I actively participate
    🔔 Email newsletter (React + Next.js course out soon!): email.bytegrad.com
    ⏱️ Timestamps:
    0:00 Slack flowchart
    0:52 Acorn
    1:08 Monolith app
    2:53 Microservices
    4:40 Benefit 1
    5:24 Benefit 2
    6:14 Benefit 3
    6:32 Benefit 4
    6:57 Benefit 5
    7:23 Benefit 6
    7:40 Why Docker?
    9:01 Why Kubernetes?
    11:35 Why Acorn?
    12:27 Example app
    15:37 Acornfile
    18:12 Deploy to Acorn
    21:21 Acorn playground
    22:22 Dev mode in Acorn
    22:45 Minecraft server
    #webdevelopment #programming #coding

Komentáře • 31

  • @ZainAliSiddiqui
    @ZainAliSiddiqui Před 7 měsíci +19

    My man started getting sponsors 🎉❤

  • @jaydeep-p
    @jaydeep-p Před 7 měsíci +53

    Step 1- create an amazing open source technology that is super complex and difficult to use
    Step 2- create a paid service that makes it easier to use

  • @manabukun
    @manabukun Před 7 měsíci +11

    Disagree with most of this video.
    1. Consolidating the tech stack has huge advantages from better resource utilization to reducing dependency issues and vulnerabilities. Stick to as little as required.
    2. For most purposes microservices and Kubernetes are overkill. I lost count of the number of times microservices apps end up being more complicated and more expensive to manage when moving from monolith. Not to mention performance hit. I hope you have heard of the Amazon Prime Video story. It agrees with my experience.
    3. Microservices are specifically useful only for cases of large number of small atomic tasks happening very frequently.

  • @zunairullah
    @zunairullah Před 7 měsíci +7

    If you cant explain it simply you dont understand it well enough. (Albert Einstein). This man really understand things very well

  • @sanyamjain7058
    @sanyamjain7058 Před 7 měsíci +3

    Love your content ❤

  • @rafaelcisnerosgomez7295
    @rafaelcisnerosgomez7295 Před 7 měsíci +4

    This is great!!

  • @jrmayol857
    @jrmayol857 Před 7 měsíci +1

    Great vid! Btw, looking good on that new look with glasses

  • @juanwea223
    @juanwea223 Před 3 měsíci +1

    Was always afraid of Docker and Kubernetes. I am still afraid but at least now I understand what they do lol. Great channel

  • @mukul.sh31
    @mukul.sh31 Před 7 měsíci +1

    Thanks for the video

  • @welcomeJava
    @welcomeJava Před 7 měsíci +3

    React and Next courses please, can`t wait any longer !!!

    • @rog0079
      @rog0079 Před 7 měsíci

      there are already tons of courses on youtube for free! Just do a simple search and you'll get them.

  • @adlerspencer
    @adlerspencer Před 7 měsíci +1

    Thank you! Thank you so much, Mr. Wesley! 🎙👏👏👏👏
    "To Infinity and Beyond!" 🚀👨‍🚀

  • @williamcao5139
    @williamcao5139 Před 7 měsíci +2

    is this the next course after react/nextjs course ?

  • @jacobbdev
    @jacobbdev Před 6 měsíci +2

    Any update on the latest course or is it no longer coming? My boss keeps pushing me to buy the latest Javascript Mastery NextJS course but I told him that I'm trying to wait on Bytegrad's course, but he is bugging me everyday.

  • @leularia
    @leularia Před 6 měsíci +2

    is Acorn opensource and free to host on self VPS or any other tool ??

  • @williamcao5139
    @williamcao5139 Před 6 měsíci +1

    new course is still not up ?

  • @favanzzo
    @favanzzo Před 7 měsíci

    where is the course :

  • @kevl7129
    @kevl7129 Před 7 měsíci +2

    Microservice tutorial please 😂🤞

  • @hakanaki
    @hakanaki Před 6 měsíci +1

    How do big companies do the same for their database at scale?
    Do they have one database which all the services use to store data or do they have multiple databases?

    • @eltonsampaio7652
      @eltonsampaio7652 Před 6 měsíci +2

      One of the characteristics of micro-services is “Decentralised Data Management”, meaning that each micro-service should have it’s own database. You might ask what if one service needs data that is stored in another service’s database. Well, you can communicate between services using a message broker like Kafka ( there are other ways as well)

    • @hakanaki
      @hakanaki Před 6 měsíci

      ​@@eltonsampaio7652 wow, interesting. Thank you for the reply ❤

  • @heysahilsingh
    @heysahilsingh Před 7 měsíci

    I have doubt in my mind. Can we have different middlewares for different path? Can we also have multiple middlewares for the path?

    • @otis2646
      @otis2646 Před 6 měsíci

      yes we can

    • @heysahilsingh
      @heysahilsingh Před 6 měsíci

      It would be helpful if you could make me understand @@otis2646

  • @pakimon82
    @pakimon82 Před 6 měsíci +1

    Lets say we have these N micro services in N different repos. Where does the acorn file live and how do we do the whole orchestration and dependency dance for deployments.
    At my current company, these is a ton of human effort that is required to coordinate between services owners so that services go out in a very controlled manner. Super clunky, slow, and expensive

  • @br3nto
    @br3nto Před 6 měsíci

    You know you can build monoliths in this same modular way?

  • @ymh_7885
    @ymh_7885 Před 7 měsíci

    What about if we have for example a Database as a service and inside of it we have for example 1 million data of products for example, and sometimes we have to calculate and get many products in same time how can we optimize that ? can we cut the database into multiple ? cause in this case even 1 people can be expensive on the request

    • @lian1238
      @lian1238 Před 7 měsíci +1

      On client side, you do pagination. Limit the number of items on page. You can also add a cache layer, if multiple requests are made almost at the same time, just return the cache. On the database side, you need to use indexes where appropriate, write performant queries, etc. What you said about breaking database into multiple is called sharding.

  • @cubedev4838
    @cubedev4838 Před 6 měsíci +1

    U should make real project for this

  • @shubhankartrivedi
    @shubhankartrivedi Před 7 měsíci +1

    you got glasses lol! how much power (glasses)?

    • @ByteGrad
      @ByteGrad  Před 7 měsíci +2

      Hahah medium strong