Why use Microservices, Docker & Kubernetes?

Поділитися
Вставка
  • Опубліковано 9 чер 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

КОМЕНТАРІ • 31

  • @jaydeep-p
    @jaydeep-p 6 місяців тому +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

  • @ZainAliSiddiqui
    @ZainAliSiddiqui 6 місяців тому +19

    My man started getting sponsors 🎉❤

  • @manabukun
    @manabukun 6 місяців тому +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 6 місяців тому +7

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

  • @juanwea223
    @juanwea223 2 місяці тому +1

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

  • @welcomeJava
    @welcomeJava 6 місяців тому +3

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

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

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

  • @sanyamjain7058
    @sanyamjain7058 6 місяців тому +3

    Love your content ❤

  • @jrmayol857
    @jrmayol857 6 місяців тому +1

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

  • @mukul.sh31
    @mukul.sh31 6 місяців тому +1

    Thanks for the video

  • @rafaelcisnerosgomez7295
    @rafaelcisnerosgomez7295 6 місяців тому +4

    This is great!!

  • @adlerspencer
    @adlerspencer 6 місяців тому +1

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

  • @jacobbdev
    @jacobbdev 6 місяців тому +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.

  • @williamcao5139
    @williamcao5139 6 місяців тому +2

    is this the next course after react/nextjs course ?

  • @williamcao5139
    @williamcao5139 6 місяців тому +1

    new course is still not up ?

  • @leularia
    @leularia 6 місяців тому +2

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

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

    where is the course :

  • @kevl7129
    @kevl7129 6 місяців тому +2

    Microservice tutorial please 😂🤞

  • @hakanaki
    @hakanaki 6 місяців тому +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 6 місяців тому +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 6 місяців тому

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

  • @pakimon82
    @pakimon82 6 місяців тому +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

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

    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 6 місяців тому +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.

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

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

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

    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 6 місяців тому

      yes we can

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

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

  • @cubedev4838
    @cubedev4838 5 місяців тому +1

    U should make real project for this

  • @shubhankartrivedi
    @shubhankartrivedi 6 місяців тому +1

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

    • @ByteGrad
      @ByteGrad  6 місяців тому +2

      Hahah medium strong