Microservices explained - the What, Why and How?

2024 ж. 24 Сәу.
768 977 Рет қаралды

What are Microservices | Monolithic to Microservices Architecture | Monorepo vs Polyrepo | How Microservices connect with each other
💛 Follow me on IG for behind-the-scenes-content ► bit.ly/2F3LXYJ
💚 Become a DevOps Engineer - 6-month program: ► bit.ly/3ou15W0
🧡 GitLab Course with Microservices, K8s, Multi-Stage: ► bit.ly/3Ww1LXN
#microservices #devops #techworldwithnana
► This video is sponsored by HashiCorp 🙌🏼
► For more infos about their technologies: www.hashicorp.com/
In this video you will learn all you need to know about Microservices in 18 minutes.
First, I will start with what a Monolithic Architecture is, what are some of its challenges and why the industry moved slowly towards the microservices architecture?
Then we will see what microservices or a microservice architecture is exactly, the best practices, benefits and how the communication between microservices works.
And finally we will also look at the downsides or challenges of a microservices architecture.
We will also see different ways to manage code for microservices application and talk about the difference of monorepo and polyrepo and advantages and disadvantages of both!
▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
00:00 - Intro and Overview
00:43 - Monolith & its challenges
03:18 - What are Microservices exactly?
05:28 - How Microservices communicate with each other?
07:58 - Downsides of Microservices
10:40 - CI/CD Pipeline for Microservices
11:24 - Monorepo vs Polyrepo - How to manage the code for microservices application?
12:03 - Monorepo explained - Benefits and Disadvantages
14:46 - Polyrepo explained - Benefits and Disadvantages
17:17 - Which one to choose when?
▬▬▬▬▬▬ Want to learn more? 🚀 ▬▬▬▬▬▬
Full Python course ► • Python Tutorial for Be...
Full Docker course ► • Docker Tutorial for Be...
Full K8s course ► • Kubernetes Tutorial fo...
DevOps Tools explained ► bit.ly/2W9UEq6
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
INSTAGRAM ► bit.ly/2F3LXYJ
TWITTER ► bit.ly/3i54PUB
LINKEDIN ► bit.ly/3hWOLVT
FB group ► bit.ly/32UVSZP
DEV ► bit.ly/3h2fqiO
▬▬▬▬▬▬ Courses & Ebooks & Bootcamp 🚀 ▬▬▬▬▬▬
► Become a DevOps Engineer - full educational program 👉🏼 bit.ly/45mXaer
► High-Quality and Hands-On Courses 👉🏼 bit.ly/3BNS8Kv
► Kubernetes 101 - compact and easy-to-read ebook bundle 👉🏼 bit.ly/3Ozl28x

Пікірлер
  • KZhead is amazing. You can find very interesting videos, for free and gain tons of knowledge, for free. But, ofcourse you need a great content creater, such as you are. You deserve credits. First, you gain the knowledge, wrote a script, recorded it, made an visual video and uploaded it, thank you!

    @johannesreijnen3479@johannesreijnen3479 Жыл бұрын
    • Thanks for your appreciation Johannes!

      @TechWorldwithNana@TechWorldwithNana Жыл бұрын
    • Ya

      @vigneeshvicky1634@vigneeshvicky163411 ай бұрын
    • FACTS

      @micosstar@micosstar7 ай бұрын
    • I don't know how she can have all that knowledge from all those videos. I'd straight marry her❤

      @ForChiddlers@ForChiddlersАй бұрын
    • It's not free. You are the product

      @b3arwithm3@b3arwithm329 күн бұрын
  • So Nana, I am completely binge watching all your videos and I have to say, yours are simply the best out there right now. Keep up the excellent work and from the bottom of my heart, thanks for making these for the entire community and free to watch. No paywalls, just excellent, up to date, on point knowledge. You ROCK!

    @ReSpawNnL@ReSpawNnL Жыл бұрын
  • I'm a Senior Software Engineer with 7+ years of experience, always worked in backend but recently I was asked to look into devOps and miraculously, I stumbled upon your channel, I'm watching every single one of your videos and I must say that you're one of my favs, best teacher on KZhead.. I'm a Subscriber who's in love with you.

    @MuhammadSaaddev@MuhammadSaaddev10 ай бұрын
  • It was a pleasure from the first to the last minute. We're also aware of the effort behind each video. Thank you 😊!

    @lets_learn8843@lets_learn8843 Жыл бұрын
    • Thanks for your appreciation Mohamed! 💙

      @TechWorldwithNana@TechWorldwithNana Жыл бұрын
  • The best video I have seen so far on the Microservices. Great to see how you summarised so many concepts in such short period. Thanks Nana!

    @ashxos@ashxos Жыл бұрын
    • Thank you! so happy to hear because that was the goal 😊

      @TechWorldwithNana@TechWorldwithNana Жыл бұрын
    • Thanks Nana it's sooo helpful !

      @myriambouclier1076@myriambouclier1076 Жыл бұрын
    • true, since I found this channel I started feeling like I am a champ after seeing her videos

      @kumailn7662@kumailn7662 Жыл бұрын
    • I always wanted someone like you as a mentor who when explain things, explain it actually not throwing high level terms and jargon, your videos are like a good experience university professor. You should approach some university where you can teach these topic as well.

      @kumailn7662@kumailn7662 Жыл бұрын
    • This is genuinely the single most comprehensive piece of content I've ever seen on microservices. High level enough that I can get the full picture without getting too lost in the weeds but in depth enough that I can actually get a pretty good picture of how to implement things. Thank you, this answered a ton of questions I had! Side note: any thoughts on a polyrepo approach that also has another repo for infra and config stuff that uses git submodules to integrate everything else? I had to talk some people at work out of it because I thought it was OVERKILL for that specific project, but it seems to me like a solid approach to the problem of having repos share stuff that isn't application code.

      @beck4715@beck47159 ай бұрын
  • An other complex topic very simple explained by Nana, this industry needs people like you, keep up the good work !

    @sonergezgen8704@sonergezgen8704 Жыл бұрын
  • What a way of explaining the things, you just simplify the things. Thanks Nana!!

    @narendradubey7942@narendradubey7942 Жыл бұрын
  • Your grasp in the concept is amazing, you have explained everything very well. Thanks a lot Nana!

    @anchalsoni911@anchalsoni911 Жыл бұрын
  • ABSOLUTELY beautifully orchestrated video. Thank you so much for creating such videos💯

    @dasabhishek@dasabhishek Жыл бұрын
  • What a great video covering almost all the important aspects 👌🏻❤ Thank you so much ❤

    @moazelsawaf2000@moazelsawaf2000 Жыл бұрын
  • In Monorepo, we can have "several" branches for every services and manage releases through final merge to main branch.

    @shahabmeteor8975@shahabmeteor8975 Жыл бұрын
  • Thanks a lot Nana. I now have a good grasp of what microservices means. You truly do have a way of breaking down concepts for better understanding. Thanks so much once again!

    @olorundareagnes934@olorundareagnes934 Жыл бұрын
  • Excellent stuff on basic Microservices Nana, please keep up the good work as it helps a lot of people like me who are not really into coding but still need to know the "big picture" on such technologies.

    @zahirsiddique747@zahirsiddique7475 ай бұрын
  • Excellent tutorial, concepts broken down and simplified. Easier to grasp, thank you !

    @agyatthule717@agyatthule717 Жыл бұрын
  • The video is truly insane. The topic and description are straightforward. So anyone can understand easily. Thank you so much for this amazing video.

    @MohiuddinAbdulKader@MohiuddinAbdulKader Жыл бұрын
  • Wow! I had to share this video to over 100 members of my team. This is the most explanatory video I have seen on microservices on the internet. Congrats, you have just won a subscriber and many more incoming.

    @demiladeotunaiya5252@demiladeotunaiya5252 Жыл бұрын
    • Thanks Demilade, appreciate it 😊

      @TechWorldwithNana@TechWorldwithNana Жыл бұрын
    • she is awesome. I always recommend to someone asking me on this topics

      @kumailn7662@kumailn7662 Жыл бұрын
  • The best breakdown I have seen thus far regarding monolithic and microservices architecture. Thanks.

    @felixobianozie3745@felixobianozie3745 Жыл бұрын
    • Happy to hear, thanks Felix! :)

      @TechWorldwithNana@TechWorldwithNana Жыл бұрын
  • This KZhead channel has the best technical videos, thank you Nana, your content lives up to your beauty

    @fadior3270@fadior3270 Жыл бұрын
  • I just saw this and then another video, this is very well presented, clear and the time and effort put in those videos is very evident, thank you and please keep more content coming 👍

    @nadershalabi6241@nadershalabi6241 Жыл бұрын
  • I must admit - TechWorld with Nana - is the best spot around KZhead to get to know or to recap such things! Respect!

    @MVOralov@MVOralov Жыл бұрын
  • Great video. Your explanation was easy to comprehend. Thank you, Nana!

    @zacisrael4380@zacisrael43806 ай бұрын
  • Well-explained, easy to watch and motivating. Great job!

    @aashkann@aashkann7 ай бұрын
  • REALLY very well done... probably one of the best I've seen. Thank you. ABSOLUTE GOLD 🏆

    @flightscapeaviationphoto@flightscapeaviationphoto Жыл бұрын
  • This video is f-ing amazing! Great job Nana! Everything is so much clearer to me now.

    @bokas5@bokas5 Жыл бұрын
  • Such a great video, I love how clear and well structured ❤

    @MLLErourouwita@MLLErourouwita10 ай бұрын
  • Such an informative video. Thanks Nana, for teaching this topic in much simpler way!

    @rahulsyt_@rahulsyt_11 ай бұрын
  • Really useful video, thanks! On the Mono vs Poly Repo question, I have been investigating a 3rd option. Using individual repositories for each service, and another repo for the project itself that contains git sub-modules of each service. This keeps everything in one place for each project while allowing for code re-use of common services. But with the downside of having to make multiple updates when new versions of services are released. One to the service itself, then another to update the git sub-module.

    @sparklekraken5038@sparklekraken5038 Жыл бұрын
  • So far I find this woman the most clear and concise person to learn from on KZhead. Step by step, thank you so much for your efforts. Coming from a beginner

    @siriusqueen3476@siriusqueen3476 Жыл бұрын
    • Thank you Sirius, so happy to hear such positive feedback. That definitely motivates to keep on creating high quality content :)

      @TechWorldwithNana@TechWorldwithNana Жыл бұрын
    • im not sure if its woman

      @Nelekochara@Nelekochara Жыл бұрын
    • @@Nelekochara Can't you see the profile avatar and her image appear every section of the video...? Also many videos where she record herself.

      @barry8871@barry88718 ай бұрын
  • You are always my favorite techie Nana. simple and clear information on your channel. Cheers !!

    @ankushdeshmukh7731@ankushdeshmukh7731 Жыл бұрын
  • Thank you so much for sharing this video, I've been working with a lot of the mentioned technologies like (Docker and CICD) in this video and I've designed my current applications with a tiered systems architecture but this video gives me a really nice approach to update my system!

    @vividwolfy@vividwolfy Жыл бұрын
  • I totally love the presentation... and ur way of explaining... for absolute beginners... we can understand ur hardwork for creating such wonderful videos... thank you so much for making Digital learning easy.

    @ghanshyamsharma2153@ghanshyamsharma2153 Жыл бұрын
  • The fact that you're my first go tutor and always come through ☺️ I don't know if this count but I love you and thank you for always coming through

    @KingDaemonX@KingDaemonX Жыл бұрын
  • Extremely helpful video to understand the Pros and Cons of Microservices with examples. Thanks Again for this great video!!

    @richardroman9983@richardroman9983 Жыл бұрын
  • Awesome! Thank you so much for making this so simple yet so informative.

    @rajitpaul4676@rajitpaul4676 Жыл бұрын
  • Excellent video I've ever seen especially on Microservices. You cleared all my questions like why should we use Microservice and what are they with examples. Also you've explained very well about challenges at each and every stage. Presentation is very informative. I can see that you put lots of efforts to make this video. Thanks for your explanation. Thanks Nana!

    @MrUmamahesh25@MrUmamahesh2511 ай бұрын
  • Nana, well articulated, just simple explanation makes everyone understand deeper in concepts. Keep rocking!!!

    @senthilkumarsampath5519@senthilkumarsampath5519 Жыл бұрын
  • As usual, you nailed it! Keep up the good work Nana!

    @aleksandarveselinovic5985@aleksandarveselinovic5985 Жыл бұрын
  • This is great! :) You did a wonderful job explaining this

    @adriannaguevarra2714@adriannaguevarra271410 ай бұрын
  • This is one of the best videos ever watched summarizing the microservices architecture from the service creation to deployment

    @HappyManRwaka@HappyManRwaka3 ай бұрын
  • it's really a great video for introducing microservice. I think microservice is very useful for us to simply our application, but it also causes a lot of other problems, such as distribute transaction problem, circle dependency, and so on. so it's really hard to decide how should we split the application

    @user-zh6jm1hv5p@user-zh6jm1hv5p Жыл бұрын
  • it is the most structured and clear overview of microservices i have ever seen. thank you so much.

    @ekatherinaborunova9461@ekatherinaborunova9461 Жыл бұрын
  • Awesome video, thanks for keeping it so simple and crisp.

    @kashyapdesai191@kashyapdesai191 Жыл бұрын
  • Hi ! This is a great video on Microservices.. I am a veteran programmer coming from the old client-server era.... Your video on Microservices was an eye-opener for me... You have explained many things in a simple manner, something which old programmers like me can understand and appreciate... presently learning GOLANG ... I will be very thankful if you can guide me ON WHICH AMONGST YOUR VIDEOS and WHAT IS THE SEQUENCE OF THE VIDEOS that I should watch - which would be helpful to me in order for me to move slowly from 'building a single monolith web application' to 'building a MICROSERVICES application' ... Thanks once again for making this excellent video...

    @graman4378@graman43789 ай бұрын
  • Brilliant explanation of difficult technologies. To the point, great use of visuals, proper flow of explanation. Simply you're best. I am watching your DevOps Bootcamp in 2023. Love from Pakistan 👍

    @mrwaheed07@mrwaheed077 ай бұрын
  • From the start to the end this videos is clear, well explained and so useful ¡Keep doing a great job Nana!

    @jalbertdom@jalbertdom Жыл бұрын
  • Great video, thank you so much your effort to create it! Everything is so clear and well detailed.

    @di.rodriguez@di.rodriguez Жыл бұрын
  • The best video, I have seen so far on the Microservices. The way you explained easier, and full information. Thanks

    @linhquach8662@linhquach8662 Жыл бұрын
  • As always, you discribe things greatly ! Thank you Nana !

    @alexandrevalente9994@alexandrevalente9994 Жыл бұрын
  • Great video, Nana! 😍 Definitely worth watching it! I should probably create a video, which will be a version of mine about microservices. I enjoy so much working with microservices!

    @thirstyexplorer@thirstyexplorer Жыл бұрын
  • Again a very good video from you! Perfectly understandable und high quality, as always! Thanks!

    @Apenschi@Apenschi Жыл бұрын
  • Thanks a lot. This is a concise and clear introduction on the topic of microservices.

    @zahid1909@zahid1909 Жыл бұрын
  • Thank you Nana for explaining this so well.

    @JhonPereda@JhonPereda8 ай бұрын
  • Just Wow! The best video I have seen so far on the Microservices. Thank you so much! Please keep going such kind of awesome contents 😍

    @AlAmin-fd4bi@AlAmin-fd4bi Жыл бұрын
  • I have been thinking about understanding Microservices. This video gave a very good crisp overview of microservices.

    @NUKALAJAYADEEP@NUKALAJAYADEEP7 күн бұрын
  • This is the best video on microservices i've seen so far. Explains well and covers a lot of important topics.

    @sabihass5361@sabihass5361 Жыл бұрын
  • Thank you so much for this great explaination! A question I have is: Is it easy to switch between Mono and Poly repo in the sense that maybe as I begin development I decide to start with Monorepo and then as the business expands and acquire teams would it be easy to switch to Poly repo or would it be too late at that point?

    @jamesrobert5332@jamesrobert5332 Жыл бұрын
  • Great video so far, but I would like to request you to create a full playlist of microservice & its communications, any framework implementation using microservice , that would be of great help.

    @rohanmukherjee7107@rohanmukherjee7107 Жыл бұрын
  • WOW, Such a nice video. Covered everything. I usually search for articles on any topic as videos in general lack the depth. But this one proved me wrong. Thank you

    @GauravKumar-ue7nz@GauravKumar-ue7nz Жыл бұрын
  • Finally a video that explains the topic of microservices properly. Thanks!

    @thomash.8297@thomash.8297 Жыл бұрын
    • 😀

      @TechWorldwithNana@TechWorldwithNana Жыл бұрын
  • The best video I have found about microservices . Thanks a lot 😍🙏

    @sahaneakanayaka3394@sahaneakanayaka33946 ай бұрын
  • Best video, and simplest explanation of Microservices - ever. Great job!

    @joekannoo@joekannoo Жыл бұрын
  • Your videos are really helpful. I can easily understand every single thing you explain Really grateful for your videos 💕

    @heenakayani2585@heenakayani2585 Жыл бұрын
  • Phenomenal video! You explained microservices so well.

    @user-xf1bz2qf2x@user-xf1bz2qf2x10 ай бұрын
  • Like always, fantastic work! Please dont stop doing it!

    @hryfrks@hryfrks Жыл бұрын
  • A great video. There are several other reasons why you might want Microservices (resiliency and reduction of blast-radius), security, etc, and it probably would've been worthwhile to also touch on these even in passing reference, if not in more detail (only so much to cover in < 20 minutes!)

    @spencerkormos1500@spencerkormos1500 Жыл бұрын
    • There are also reasons not to want micro services. I hear companies now moving back to monolith from micro services as well, as the former can grow overly complex when the product evolves rapidly or into unexpected directions, and suddenly it is difficult to keep together without having to write more and more tailored glue code between more and more heterogeneous services. The whole architecture turns against itself. A monolith may be much easier to grow in some cases.

      @mechantl0up@mechantl0up4 ай бұрын
  • You made the learning very simple to understand the topic.

    @meenashi@meenashi Жыл бұрын
  • Nana you are excellent. With you I understand concepts I struggled with for years. Thank you 🎉

    @angelikimessari9993@angelikimessari99935 ай бұрын
  • Your lectures are so helpful to understand things from the most basic beginnings to complex ends. You explain complicated processes in easily understandable ways. Thanks a lot and May Allah (God) bless you for this.

    @user-ii3fy3rj8y@user-ii3fy3rj8y7 ай бұрын
  • Really concise explanation! I came in knowing nothing, and not expecting to learn much. Quite the pleasant surprise!

    @tech3425@tech3425 Жыл бұрын
  • You explain complicated topics in such an easy way...that gives relief and excitement to learn more. Thanks and keep teaching & producing such content

    @abs40655@abs40655 Жыл бұрын
    • it is not complicated 🥲

      @Zen52.36@Zen52.36 Жыл бұрын
    • @@Zen52.36 agreed..once you get fimilier

      @abs40655@abs40655 Жыл бұрын
  • even my college faculty doesn't told me anything about it. The way you explain it's amazing and so simple

    @divyesingh7650@divyesingh7650 Жыл бұрын
  • This is indeed a great introduction to Microservices even for a beginner, thanks a lot

    @niluparupasinghe8581@niluparupasinghe8581 Жыл бұрын
  • I have watched your video many times to better understand Microservices , the content is very detailed and the video is excellent . Thank you so much ❤

    @nguyenlehuuduy6272@nguyenlehuuduy6272 Жыл бұрын
  • I know other people also apriciated this video but I still would like to appriciate. It is one of the best vidoe I have ever seen explaning microservices, espacially the part you explained how microservices can communicatre with each other.

    @UmerFarooq-fr4yy@UmerFarooq-fr4yy8 ай бұрын
  • Great video. DevOps Explained well in under 20 minutes. Thanks a lot Nana.

    @anandmani7115@anandmani71158 ай бұрын
  • Liked and shared with my colleagues, very interesting and well done video as usual 😉👍🏻

    @GianniCostanzi@GianniCostanzi Жыл бұрын
  • There's always something to learn from your videos as a techie and as a content creator. I always take inspiration from your videos and try to improve my content. Thanks for showing us that PowerPoint can be engaging and interesting! Would you be able to share the source of the graphics/assets that you use in your slides?

    @TechTutorialswithPiyush@TechTutorialswithPiyush Жыл бұрын
  • Very helpful Nana,you always make great videos keep it up girl

    @kiannec2890@kiannec2890 Жыл бұрын
  • Thank you Nana, you are an IT genius.

    @bjbj7695@bjbj7695 Жыл бұрын
  • Gran explicacion gracias por tu aporte. Como siempre se aprende un monton. Saludos !!!

    @marcelomg1985@marcelomg1985 Жыл бұрын
  • Thank you for great video with lots details on executing microservices also. Question - What are the complications with using Kubernetes/Docker with Polyrep structure for microservices ?

    @VedanthNaresh@VedanthNaresh Жыл бұрын
  • Wow, this video explains it so well! Thank you so much!

    @hermine360@hermine360 Жыл бұрын
  • Great video ! Small correction - a service mesh does take over the logic of communication, it's an underlying infrastructure to communicate synchronously

    @eligoldberg5499@eligoldberg5499 Жыл бұрын
  • Thank you for this video Nana, I can imagine how much time you spent on these animations. I sent it to my colleagues, maybe they will understand what global meaning microservices have, we have a monolith :(

    @Aliaksei14@Aliaksei14 Жыл бұрын
  • I started using microservices in 2000. The technology is still running strong. Thank you for the support.

    @kamertonaudiophileplayer847@kamertonaudiophileplayer847 Жыл бұрын
  • For monorepo vs polyrepo, I recently had to take a decision on it and the way I thought of it was more around whether i have enough data to say how many microservices would I be creating. Since I didn't had that info, I explored if i select monorepo now, how much effort will go into moving it to polyrepo later and vise versa.

    @excalibur8396@excalibur8396 Жыл бұрын
    • Thanks for sharing!

      @TechWorldwithNana@TechWorldwithNana Жыл бұрын
    • @powerChriZ think about how would you use common code , to make it work, you would have to publish the common code as sdks and then use in a polyrepo structure vs direct dependency in monorepo

      @excalibur8396@excalibur8396 Жыл бұрын
  • Quite clear voice, pauses and coherent topic explanation puts you on top of list, really great

    @awaisahmad8935@awaisahmad89352 ай бұрын
  • This is just awesome video,for someone like me,who is starting to learn Microservices..

    @kesavareddy5126@kesavareddy5126 Жыл бұрын
  • Hi Nana, I recently got into your content. Becoming a DevOps is something I aspire to do and I've been working towards my IT fundamentals at the moment. Is it necessary for me to get AWS certification before I do your boot camp or does it not really matter? Love the content and thank you!

    @Swiiss63@Swiiss63 Жыл бұрын
  • Very concise video, explained with so much clarity. Thank you.

    @when_life_gives_you_limes@when_life_gives_you_limes Жыл бұрын
  • Thanks Nana, Read a blog post on the monolithic architecture, then came across this video... Which just made it stick to me brain.

    @sommmtoooo@sommmtoooo6 ай бұрын
  • Thank you so much Nana! Now this very sophisticated topic became way more clear for me.

    @torrvic1156@torrvic11564 ай бұрын
  • Your all videos are awesome. Your way of teaching and presenting is great.

    @sujeetkumar.@sujeetkumar. Жыл бұрын
    • Thanks Sujeet! :)

      @TechWorldwithNana@TechWorldwithNana Жыл бұрын
  • every time i search for topic or info in youtube , i find your videos .... great job.... keep on

    @mohamedsobhy2161@mohamedsobhy2161 Жыл бұрын
  • Excellent video and a lot of hard work was spent to prepare for it.

    @wilsontam1867@wilsontam1867 Жыл бұрын
  • Perfect... Concentrated, clear, and well-organized

    @kapohg@kapohg Жыл бұрын
  • Best Explanation Ever about Microservices

    @NirjhorDas-co9nj@NirjhorDas-co9njАй бұрын
  • My current project is to de-couple the monolithic application and dockerise those services ... So, this video was much needed for me .. thanks a lot for share ur knowledge .

    @bhagyalakshmi9643@bhagyalakshmi9643 Жыл бұрын
  • Thanks a lot, so far the best explanation on microservices

    @syedsaif7597@syedsaif7597 Жыл бұрын
  • You are the best explainer, thank you so much! You have saved so much time for me during my studying!)

    @eloy_fiction@eloy_fiction Жыл бұрын
KZhead