Тёмный

Moving from MONOLITHS to MICROSERVICES 🎂 → 🍰🍰🍰 

Gaurav Sen
Подписаться 575 тыс.
Просмотров 211 тыс.
50% 1

This is a detailed approach to moving from monoliths to microservices. We discuss what a monolith and microservice architecture look like, the advantages and disadvantages of each, and how we can move from a monolith architecture to a microservice architecture.
00:00 Intro
00:10 Definitions
00:51 Advantages of Microservices
03:48 Steps to migration
06:24 Requisite infrastructure changes
13:11 Things to keep in mind
18:18 Conclusion
18:53 Your favorite ad 😛
Looking to ace your next interview? Try this System Design video course! 🔥
interviewready.io
Summary Blog: get.interviewready.io/blog/mo...
System Design Playlist:
• System Design for Begi...
Software Engineering Fundamentals:
• Software Engineering F...
You can follow me on:
LinkedIn: / gaurav-sen-56b6a941
Github link: github.com/InterviewReady/sys...
Twitter: / gkcs_
#Monoliths #Microservices #SoftwareDevelopment

Опубликовано:

 

16 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 224   
@gkcs
@gkcs 2 года назад
Migrations require extensive testing, refactoring and care. If you want to know more about system design, check out get.interviewready.io
@saket37
@saket37 3 года назад
"You don't shift to microservices when your users scale. You shift to microservices when your team scales." Golden words.
@amanlonare4319
@amanlonare4319 3 года назад
That’s Conwoy’s Law!!! :)
@piyushgupta7582
@piyushgupta7582 3 года назад
That's not really 100% true or thumb rule, microservice adaption also depends on increasing user scale. Increasing load on specific service gives invention to move to microservice and design system around adding dedicated DB and other components to that service and horizontally autoscale service.
@deepakpandey9406
@deepakpandey9406 3 года назад
That's partially true 👍
@mychildschannel6076
@mychildschannel6076 3 года назад
@@piyushgupta7582 well said
@iamshivarth
@iamshivarth 2 года назад
This is not complete truth at all.. Team scales when there is a heavy load on the service. Team scaling happens when service become too complex to handle and that is why micro services concept came. Gaurav has given indirect statement.
@nativeKar
@nativeKar 3 года назад
Just completed migrating from Monolith to Micro Service, now even my dreams are fragmented!
@niketanmishra4410
@niketanmishra4410 3 года назад
Can u help me out a little too.. im in a similar process
@rrrrr16able
@rrrrr16able 3 года назад
Could you also please make a video on the approach and pain points. Mistakes and corrections etc.. Thanks
@overunityinventor
@overunityinventor 3 года назад
We have same name. 👍
@engohtimah3707
@engohtimah3707 2 года назад
Hello, I have a similar requirement, can you help me out?
@sidharathroy2929
@sidharathroy2929 3 года назад
Great work! I recently joined a new role where they keeping on talking about these micro services. This week only I was planning to study about microsevices and your video published at the same time. Thanks :)
@jatinbansal321
@jatinbansal321 3 года назад
3 years of engineering experience and had worked on couple of services but still it add some value every time I watch your content.
@Jam.S.
@Jam.S. 2 года назад
Such a pragmatic approach you show us. Other RU-vidrs are just going by the theoretical way of doing things. Thanks a lot Gaurav.
@sameerarote1129
@sameerarote1129 3 года назад
impressed by your editing skills :)
@padma2580
@padma2580 2 года назад
I am awed, just a great presentation, content and delivery
@rkumarjay
@rkumarjay 3 года назад
Explained well in simple terms, crisp and clear. Thanks
@subs_hk
@subs_hk 3 года назад
explanation is to the point, clear & very practical approach one can find.
@benneteapen
@benneteapen 2 года назад
Finally! An explanation that makes sense. Thanks and good job Gaurav...
@WittyGeek
@WittyGeek 3 года назад
Damn Gaurav! This is almost exactly how my company works internally for microservices and almost the same way we think about whether we should make a new service or not. Well done. Peach of a video!!!!
@MultiPIYUSH1992
@MultiPIYUSH1992 2 года назад
always I watch your videos when am free I always find interesting and refreshing my brain. keep uploading and keep going on.Thanks, Gaurav :)
@vaibhavmehta36
@vaibhavmehta36 3 года назад
Came to know about Lucene. Thanks for such amazing content.
@sheeraz1022
@sheeraz1022 2 года назад
Thanks Gaurav for giving us this amazing explanation. I would probably write a blog post and write the whole of the summary which you have mentioned.
@unnatagarwal1475
@unnatagarwal1475 3 года назад
Most important part was when not to have a separate service. Great content.
@asheeshkumar1424
@asheeshkumar1424 3 года назад
Thank you for microservice intro. I am having hard time to get things done in microservice than monolithic arch. Thanks a lot.
@prakhar8690
@prakhar8690 3 года назад
Amazing Gaurav, I really understood some of the things. Really valuable
@smithmarta
@smithmarta 2 года назад
Fantastic summary on moving from a Monolith to Microservices! You are briefly touching upon CD/CI. It would be great to see an intro video on CD/CI and migration to this deployment methodology.
@gkcs
@gkcs 2 года назад
Thanks, will do!
@elimpune
@elimpune 2 года назад
Great video. Give me lots of ideas for my project. Thanks!
@menofculturehead9370
@menofculturehead9370 3 года назад
I am new to system design. Learned a lot. Will make it sure to watch all your videos. Great content. 👌👍🏽
@gkcs
@gkcs 3 года назад
Welcome aboard, thank you!
@user-oy4kf5wr8l
@user-oy4kf5wr8l 3 года назад
amazing Gaurav, i will buy ur courses... without any doubt!
@sankalparora9374
@sankalparora9374 Год назад
Thanks for the detailed video !
@sonaligoel4270
@sonaligoel4270 11 месяцев назад
Brilliant !! and Thank you.. You made all the complex stuff easy to understand
@gkcs
@gkcs 11 месяцев назад
You're very welcome!
@KusanBiswas
@KusanBiswas 3 года назад
Damn Gaurav! Really impressed with the lucidity of your explanation!
@ankurpremmasih8207
@ankurpremmasih8207 3 года назад
What a useful video man. Amazing Gaurav.
@mayurlanjwar8799
@mayurlanjwar8799 2 года назад
Just wanted to tell you that I have been selected in Oracle, Canada. Your videos really helped me a lot. Thanks for helping me. Love your content and the way you explain. Keep up the good work.
@gkcs
@gkcs 2 года назад
Thank you and congratulations!
@BehindSeas
@BehindSeas 2 года назад
the best video I could find about the topic.
@ivailotenevv
@ivailotenevv 3 года назад
Awesome Gaurav, keep uploading :)
@indiansoftwareengineer4899
@indiansoftwareengineer4899 3 года назад
Loved your all videos.
@deepyad76
@deepyad76 3 года назад
A well explained concept.... thanks
@sankalparora9374
@sankalparora9374 Год назад
12:17 Those animations of the architecture were quite nice!! Thanks for the vid!
@gkcs
@gkcs Год назад
Thank you 😁
@chandrasekharanm6236
@chandrasekharanm6236 3 года назад
Loved this video! Especially the part of infrastructure changes, very well put
@mrrishiraj88
@mrrishiraj88 2 года назад
Awesome analogy in title!🙏👍
@opuchakraborty
@opuchakraborty 2 года назад
I loved this video, explanation is simple
@kiplimocollins
@kiplimocollins 3 года назад
Superb video, extremely informative. Also kindly can you do a video on becoming a Software Architect?
@ashwinhariharan310
@ashwinhariharan310 3 года назад
Very good explanation. Succinct yet clear.
@gkcs
@gkcs 3 года назад
Thank you 😁
@aat501
@aat501 2 года назад
you're an incredible teacher
@laukik14
@laukik14 3 года назад
Awesome video, helped a lot
@ankitaryan8083
@ankitaryan8083 3 года назад
Now one steps closer to crack system design interview s♥️
@AlokLaha-te2pd
@AlokLaha-te2pd Месяц назад
Awesome Gaurav. You are really adding value to our life. Keep up the good work.
@gkcs
@gkcs Месяц назад
Thank you!
@rijabratachakraborty8743
@rijabratachakraborty8743 3 года назад
Monolithic for life! They are big, they are stable but pain strikes when there is an update or bug fix or simple infrastructure patching! :-)
@svrohith9
@svrohith9 3 года назад
No one had ever told me this clear.
@wizardgaming163
@wizardgaming163 3 года назад
Very useful thank you for your hard work
@deverror4045
@deverror4045 3 года назад
You are awesome sir. Thankyou so much for the video
@saikun0293
@saikun0293 2 года назад
Awesome explanation!
@VamsiM
@VamsiM 3 года назад
One word, Excellent.
@sangeethasubramanyam2804
@sangeethasubramanyam2804 2 года назад
Hi Kiddo, you are probably half my age.But I watch your videos quite often for learning. Keep doing the good work!!
@iamshivarth
@iamshivarth 2 года назад
Gaurav you have good teaching skills.
@bossofyoutube
@bossofyoutube 3 года назад
That's a good demo... I'm just into microservices, having a separate db for each microservice makes sense when we speak about source of truth but the updating a single user info (profile, payment, sessions etc) into each db is bitbtiresome and sometimes may violate ACID when we consider all db transactions... any suggestions on fault tolerance please like maintaining consistency even on a failure
@RohanKumar-zm6cx
@RohanKumar-zm6cx 3 года назад
i literally thought he was a college student but salute to you sir.
@doaamm1493
@doaamm1493 Год назад
thanks for your useful videos
@iamsantoshmishra
@iamsantoshmishra 3 года назад
Good explanation 👍
@JbtheBoss1892
@JbtheBoss1892 2 года назад
Good content Gaurav!!
@2307vineyard
@2307vineyard 2 года назад
Even if neither of client or team scales, we may need to break the monolith into micro services because of poorly designed/developed application with too many simultaneous feature changes/bug fixes. Greatly appreciate any design/engineering examples of similar use case.
@gwho
@gwho 2 года назад
14:25 was baller and very helpful for deciding in a concrete manner.
@pankajjagtapp
@pankajjagtapp 10 месяцев назад
Very helpful.. Thanks!
@uhejshalom
@uhejshalom 3 года назад
Last few seconds are worth it.
@harisridhar1668
@harisridhar1668 3 года назад
11:30 Hi Gaurav - can you clarify Kafka and Lucene/ElasticSearch here? Why do we need both a Message Queue like system ( Kafka ) for storing logs, when logs are timestamped themselves generally? Can't we just dump the log output into ElasticSearch/Lucene databases as we go?
@stackdeveloper6614
@stackdeveloper6614 3 года назад
Awesome! How can we integrate different frontend micro services into a single app?
@bithalsahu484
@bithalsahu484 3 года назад
Just one word. Thanks :)
@manabsaha5336
@manabsaha5336 3 года назад
Loved the title 🎂 -> 🍰 🍰 🍰
@kau5hal10
@kau5hal10 3 года назад
Bruh moment at 8:16. "what happens if my library is not up to date?" 😂😂
@MuhammadFauzi999
@MuhammadFauzi999 3 года назад
Thanks Gaurav, do we need api gateway before call auth service or another services? And also, do we need build the api gateway of mobile app and web app separatly?
@adityajoshi2806
@adityajoshi2806 Год назад
Hi Gaurav, do you have kind of sample dataset regarding the decomposition of monolithic systems into microservices
@MomsDailyCorner
@MomsDailyCorner 3 года назад
Really good video.
@charan775
@charan775 3 года назад
the senpai is back!
@tmastana
@tmastana 2 года назад
Awesome explanantion
@ashishranjan4597
@ashishranjan4597 2 года назад
Can you give your input on designing common configuration server for Microservices. I don't have to use Spring Cloud Config server.
@SatyaUpendra
@SatyaUpendra 3 года назад
Can you please do a Video on Service Oriented Architecture vs Microservices?
@alanwangedcc
@alanwangedcc 3 года назад
good learning here
@priyankasmenon1146
@priyankasmenon1146 2 года назад
sahi hey, kuch sikha aaj ,Thanks
@jasusyb2734
@jasusyb2734 2 года назад
3:30 it is about monorepo vs polyrepo. monorepo can can b microservice as well. that is different
@vickyanand6483
@vickyanand6483 3 года назад
Hi , I have one question. How to deal if there is change in output from downstream services in microservice architecture. And upstream has to be notified of the change. Note: Downstream service is up and running .
@prabhue966
@prabhue966 6 месяцев назад
Insightful
@StillVeryLazy
@StillVeryLazy 3 месяца назад
When different Microservices create connections with single DB for data fetch/post etc., Is there any challenge since database has to maintain different connections with those requests because maintaining more connections may increase Network load?
@jairajsahgal5062
@jairajsahgal5062 2 года назад
Thank you
@gayunannu
@gayunannu 3 года назад
Hi @gaurav Sen, I recently attended interview for Technical Program Manager role is a big company. I am not from dev background but have always worked with and part of tech teams as TA/QA/SM/PM so understand the logics. I was asked a system design question to design a storage service in S3, no front end UI and just at API level. What would be the basic design and parameters please?
@ashishranjanpatel4756
@ashishranjanpatel4756 2 года назад
Deployment is easier as well as hard. totally depends on the impact of code change.
@riddhi123456
@riddhi123456 3 года назад
What should be the testing strategy for microservices architecture?
@techiegroups5151
@techiegroups5151 2 года назад
Where can I find the course details, and in website it shows three different modules. Is it all separate cost
@darshandev1754
@darshandev1754 2 года назад
What are your thoughts on the video about "microservices" from "Continuous Delivery" youtube channel
@RFsalman
@RFsalman 6 месяцев назад
hi, is this 7:50 what commonly referred to as anti-corruption layer ?
@anuragbapat2222
@anuragbapat2222 3 года назад
You are a great content creator Gaurav! Waiting to see you get your own Udemy or Unacademy course!
@gkcs
@gkcs 3 года назад
Thanks Anurag! It's here: get.interviewready.io
@Aditya-us5gj
@Aditya-us5gj 3 года назад
He's beast. When he saw your comment, he went straight to build his own website to help you out 😝 That's how much he loves us !!
@anuragbapat2222
@anuragbapat2222 3 года назад
I have watched every single video on this channel and improved at my current role significantly! Gaurav is a star ⭐
@parikksit
@parikksit 2 года назад
The clutter in my mind is getting sorted one by one as I continue to watch more of your videos. Thanks! I wonder why this isn't a part of the curriculum in unis.
@amithecode
@amithecode Год назад
3:55 smooth bhaiya ji smooth
@gkcs
@gkcs Год назад
That animation took me 10 minutes to make, so thank you!
@dhruvikdonga4569
@dhruvikdonga4569 2 года назад
slowly add new features using microservice to the monolith architecture so that old monolith code becomes a part of microservice
@samj9822
@samj9822 3 года назад
Thanks Gaurav for such a wonderful video. Can you please let me know, if a big data engineer , working on Spark , Hadoop ect. should also know about microservices ? I mean, whether microservice patterns are relevant for data engineers too ?
@gkcs
@gkcs 3 года назад
They are getting more and more relevant. As tools get stronger, the patterns in which you use them differentiate engineering talent.
@arwahsapi
@arwahsapi 3 года назад
In order for you to grow your survivability in job markets, yes you should.
@sonugupta147
@sonugupta147 Год назад
Hello sir, I want to design a webpage which would use an ml model to process the requests like a home pricing model, image classification model. So which architecture should I use to design my system ? would the microservice architecture be good or the monolith ?
@bhushanpoorkar8482
@bhushanpoorkar8482 3 года назад
What is the Importance of DDD in creating a new MicroService or migrating to it? Can You make a series of videos on how to use DDD?
@gkcs
@gkcs 3 года назад
Have a look at Uber's blog on this.
@salamatburzhuev434
@salamatburzhuev434 2 года назад
What is the size of the team which is considered to be "small' ?
@lihewang6532
@lihewang6532 Год назад
my org has 200 people working for a single service, four to six teams need to release together every time, even though release frequency is already twice a week. It is really a nightmare.
@saurabh_bora
@saurabh_bora 3 года назад
Loved the way you explain things so clearly. I would also recommend people to read the book Building microservices by Sam Newman.
@the-gray-haired-developer
@the-gray-haired-developer 3 года назад
Hi Gaurav, instead of physically separating the code base, is there any way we can keep all the code in single repo and still achieve microservices benefits ?? Or is it very must to have separate code repo for different micro service.
@gkcs
@gkcs 3 года назад
Have a look at monorep
@mohinicoder
@mohinicoder 3 года назад
Nice explanation. Can we say that monolithic may give faster response than Microservice? In case of Microservices we might need to get data from different services through network but in case of monolithic everything is present in the same project. Though we are started using Microservice architecture in our project I was unable to explain that in an interview because of lack of clarity. Thanks for this Video.
@gkcs
@gkcs 3 года назад
In some cases yes. But a monolith may be sharded by user ranges also. You can now have a look at the "Sharding" video 👍
@kennethcarvalho3684
@kennethcarvalho3684 3 года назад
Looking cool in that Blue shirt and Tie..
@kushagrabainsla1641
@kushagrabainsla1641 3 года назад
I'm currently in 3rd year of my CS degree, but I love system design more than any of my subjects, and that's because of you Thanks a lot Gaurav !!
@gkcs
@gkcs 3 года назад
Thank you 😁
@akshatrb
@akshatrb 3 года назад
Why do I, a 3rd yr Btech, like watching GKCS videos on system design or microservices when I should be working on my CS fundamentals instead? :(
@gkcs
@gkcs 3 года назад
I believe it helps. Some of my CS fundamentals got stronger after reading about the challenges of distributed systems.
@deepakpandey9406
@deepakpandey9406 3 года назад
You should work hard on improving your basic fundamentals. Learn Generic, Parallel Programming and Datastructure.
@mitejmadan8672
@mitejmadan8672 3 года назад
I am watching gcks from 1st sem (now in 3rd sem). These videos motivates and encourages me to study more. Sometimes you can easily connect dots between some concepts
@prasanjitmitra
@prasanjitmitra 3 года назад
Is Having a independent db for service is preferable or maintain common db for all service , or making a service stateless? Will the data ingestion from external source gets difficult if the db is scattered!!
@gkcs
@gkcs 3 года назад
The service databases being independent is a good idea (could be served on the same node, but are independent databases).
@yashwanthd1998
@yashwanthd1998 Год назад
How to handle failur of a single service and data consistency
Далее
System Design: TINDER as a microservice architecture
36:41
Legendary KNOCKOUT
00:44
Просмотров 1,9 млн
Splitting up a Monolith to (micro)Services
10:34
Просмотров 15 тыс.
Microservices explained - the What, Why and How?
18:30
Просмотров 809 тыс.
Monolith vs Microservices vs Serverless
23:05
Просмотров 74 тыс.
Modular Monoliths: How To Build One & Lessons Learned
43:37
Legendary KNOCKOUT
00:44
Просмотров 1,9 млн