No video

What is a MICROSERVICE ARCHITECTURE and what are its advantages?

  Рет қаралды 698,941

Gaurav Sen

Gaurav Sen

Күн бұрын

Microservices are a hot topic in system design interviews. It is important to know why we use them instead of monolithic systems. The short answer is Scalability. The detailed one would be:
Advantages:
1) The microservice architecture is easier to reason about/design for a complicated system.
2) They allow new members to train for shorter periods and have less context before touching a system.
3) Deployments are fluid and continuous for each service.
4) They allow decoupling service logic on the basis of business responsibility
5) They are more available as a single service having a bug does not bring down the entire system. This is called a single point of failure.
6) Individual services can be written in different languages.
7) The developer teams can talk to each other through API sheets instead of working on the same repository, which requires conflict resolution.
8) New services can be tested easily and individually. The testing structure is close to unit testing compared to a monolith.
Microservices are at a disadvantage to Monoliths in some cases. Monoliths are favorable when:
1) The technical/developer team is very small
2) The service is simple to think of as a whole.
3) The service requires very high efficiency, where network calls are avoided as much as possible.
4) All developers must have a context of all services.
Recommended system design video course:
interviewready.io
00:00 How do they differ?
02:02 Advantages of Monoliths
03:33 Disadvantages of Monoliths
04:55 Advantages of Microservices
06:16 Disadvantages of Microservices
07:03 Summary
07:57 Thank you!
Along with video lectures, this course has architecture diagrams, capacity planning, API contracts, and evaluation tests. It's a complete package.
References:
buttercms.com/...
articles.micro...
highscalability...
• What I Wish I Had Know...
System Design Video Course:
interviewready.io
The above is a complete course on how systems are designed. Along with video lectures, the course has continuous updates and live classes.
System Design Playlist: • System Design Playlist

Пікірлер: 437
@md.mottakinchowdhury7898
@md.mottakinchowdhury7898 6 жыл бұрын
I have watched all of your system design videos (till now) on a single seating. Not that I am particularly preparing for interviews, I just find them interesting. You should continue making these contents. These are rich and practical. Keep it up.
@gkcs
@gkcs 6 жыл бұрын
Thanks!
@vishnuvardhannayakam2991
@vishnuvardhannayakam2991 6 жыл бұрын
better to take time , dont take single seating lectures. if you take 2 or 3 per day you have chance of thinking on topic and you can relate to real time applications
@pramodroy8137
@pramodroy8137 6 жыл бұрын
This is probably one of my few youtube comments, but this is exactly what I did. Very informative and concise playlist.
@freezefrancis
@freezefrancis 5 жыл бұрын
I second that
@akashsaha7994
@akashsaha7994 5 жыл бұрын
Yes, I agree. I already know everything that is covered in this playlist from my regular work. But, still the topic is interesting and the content is engaging.
@joshuapasaba1961
@joshuapasaba1961 Жыл бұрын
2023 and this video is still helping out! I'm just new in the software engineering world and yet you've managed to discuss monolithic and microservice systems in a way that even a newbie can understand. I also appreciate the references you've left in the description for further reading. Thank you for this.
@mukundsridhar4250
@mukundsridhar4250 5 жыл бұрын
This is a very nice channel. Nice work Gaurav. :). My 2 cents :) Monolith Advantage / Microservices disadvantage. 1. Transaction management. 2. One does not have to deal with multiple technology stacks. 3.There is no need to maintain code at the same level for all the services. You don't need to pass on a jar to other services in order to enable resue of code. 4. Latency (as mentioned in the video) Microservices advantages 1. No single point of failure. 2. You can use the correct technology stack for the required microservice. 3. Decentralized architecture. 4. Decentralized data management. 5. No need to redeploy the whole application. Deployment is faster and easier. 6.Your microservices should be designed across products. SOA is designed around features. This way of thinking is more customer centric.
@dephc0n1
@dephc0n1 4 жыл бұрын
As a SWE1, this is the perfect channel on KZfaq. Thank you!
@gkcs
@gkcs 4 жыл бұрын
Thanks 😁
@victordenisov1412
@victordenisov1412 5 жыл бұрын
Thanks Gaurav. Excellent videos. Though I would like to argue with a statement you are making about microservices vs. monolith. Not just you. Everyone makes this statement about microservices. Microservice architecture is easier for onboarding new members because they need less context - is just a false statement. Within monolith we can equally identify classes or packages that new developers need to work on without knowing about the rest of the system. Classes within monolith can be tested using unit tests. Microservices need to be tested with integration tests - they are harder to write. If system is monolithic it doesn't mean that we shouldn't reduce coupling between classes and increase cohesion with in classes. Linux is a monolithic architecture, but Linus speaks a lot about how important it was for them to come up with independent parts inside the kernel. So that these independent parts can be modified without knowing about the rest of the kernel. So ease of onboarding of new members is not really a feature of microservice architecture.
@gkcs
@gkcs 5 жыл бұрын
Agree. I read an article a couple of days back on this. Was planning to share it on Twitter tomorrow. What a coincidence 😁
@dohyun0047
@dohyun0047 4 жыл бұрын
thank you for your concern!
@NoWarForever
@NoWarForever 4 жыл бұрын
@@gkcs which is the twitter post?
@NoWarForever
@NoWarForever 4 жыл бұрын
@@gkcs which twitter post?
@Tellalca
@Tellalca 4 жыл бұрын
Monoliths are also need to be tested with integration+system testing. That is not specific to microservices. "Within monolith we can equally identify classes or packages that new developers need to work on without knowing about the rest of the system". This comes out of the box with microservices, so no one has to identify those classes which makes it easier to onboard new developers. Also a in order to develop a monolithic application, a new developer needs to install and configure all the required applications like IDE's, plug-ins, DBMS', message queues, web servers etc. Assume a microservice that does not use MS SQL Server, then the developer won't be needed to install/configure that which again makes it easy for the new developer. Another thing is when developing monolithic applications, there is always a greater procedure for developing, testing, code reviewing and deployment. With microservices, only a subset of those procedures are needed. Again this is better for the developer.
@kshitizsingh9623
@kshitizsingh9623 4 жыл бұрын
Good video but missed some key points in favour of micro services example A. You can design a system with different technologies. B. You do not have to scale the entire system when load is high on just one function. C. Micro services support DevOps which enable CICD..... Also a microservices design are created using Domain driven design which also maps to the actual business function. To maintain separation of accountability I can have 2 microservices even in the case you mention.
@gkcs
@gkcs 4 жыл бұрын
Good points!
@arthuraguiar5382
@arthuraguiar5382 Жыл бұрын
If you don't mind me (politely) asking: Why wouldn't a monolith be compatible with CI/CD, on your point of view? Genuinely curious here, so I'd like to know your point of view on it.
@adarshxd6274
@adarshxd6274 5 ай бұрын
B is mentioned
@Live-hh6li
@Live-hh6li Жыл бұрын
Monolith - Single/Multiple machine running the computation Microservice - It's a division of whole works into business units which are turned into specific microservice. Adv Monolith: - Less moving parts - Good for small teams - Less duplication for tests etc - Faster because everything is in same box(procedure calls) Disadv Monlith: - Require more context - Deployment is complex (everything is touching every other thing) - Too much responsibility on one server (one can break everything) - Tight coupling Adv Micro: - Easy to scale - Less context required - Parallel development is easy - Less hidden parts(more resources can be provided where it is required) Disadv Micro: - Tougher to design Most of the times interviews are high scale and hence micro service is preferred Thanks for video 😄
@n3bul0n
@n3bul0n Жыл бұрын
nice 👍
@pavanch3228
@pavanch3228 5 жыл бұрын
Very good explanation in short video .Just adding few more points of my understanding Monolith is a single application build for many systems. In Monolith if any modifications done in the code the whole application should be build and deploy. In case of my microservices only the modified microservices will be deployed. Monolith uses local calls for interaction where as microservices will use network calls. So here Monolith will give better performance as compared to microservices. Testing will be easier in microservices because we test only modified microservice . In case of Monolith if any changes done need to perform the functionality testing of whole application to make sure application is working as expected.
@gkcs
@gkcs 5 жыл бұрын
Thanks Pavan!
@kannantrichur
@kannantrichur 5 жыл бұрын
correct 👍
@cseshivaprasad1985
@cseshivaprasad1985 6 жыл бұрын
Hey Gaurav, I am going thru your videos around System Design, they are really crisp and clear. Thanks for your efforts. Regarding micro-services, I would like to add a few pointers. 1. Even with Larger Systems, sometimes micro-services may not be always a good fit. For example, in stream processing systems where processing is centered around per record based processing and micro service calls would worsen the performance. 2. Deployment of micro-services is far more complicated than monoliths. Because usually with Monoliths, it's a single unit of deployment(Eg: war file if WebApps) but with microservices depending on the scale and grain of the micro-services, there will be N number of deployments needed. It becomes difficult to keep track of the status of each service and in turn, knowing the readiness of the overall system will be a challenge. 3. Microservices are a great fit for mobile and web applications but when it comes to Big-Data world, it would complicate the overall process. For example, In the Web applications, we mostly deal with Web Server, Database and its easier to containerize them but when it comes to distributed systems containerizing them will be a challenge. I am not against of micro-services but wanted to list down few scenarios where micro-services may not be a great fit.
@gkcs
@gkcs 6 жыл бұрын
Good points Shivaprasad! I think some of these were addressed in the video too :)
@cseshivaprasad1985
@cseshivaprasad1985 5 жыл бұрын
Kubernetes helps with orchestration of containerization while ISIO is a service mesh. I don't think they will help with deployments.
@IuriJacob
@IuriJacob 5 жыл бұрын
Great complement. Very well explained. I think we have to be very careful when choosing the architecture. Different kind of problems may demand different ways to solve them.
@praveen_somireddy
@praveen_somireddy 5 жыл бұрын
Load balancing is very difficult in Monolith. Example, take Flight reservation system application as example. Every body uses search page to search flights. But only few goes to the booking of a searched flight. So search operation is taking too much load on that. So In Micro services, We can create as many instances as we can of Search micro service alone. I agree deployment and monitoring is very difficult in Micro services , but using Eureka or Spring admin console, we can have all the instances and monitor them easily. For small scale application development which scaling is not required, then Monolith is best.
@user-eq4oy6bk5p
@user-eq4oy6bk5p 2 жыл бұрын
+1 for second bullet point. Deployment of micro-service can be faster since it's a smaller unit of deployment, but coordination of multiple micro-services deployment can be pain in the ass.
@GhanshyamDobariya90
@GhanshyamDobariya90 5 жыл бұрын
You are gem on this programming world bro.... keep this up... Although I am a frontend guy, I get interest in backend bcz u teach very easy way...
@gkcs
@gkcs 5 жыл бұрын
Thank you!
@quranconversations9836
@quranconversations9836 4 жыл бұрын
I teach CS and I like your way of explaining things, you are clever and that positive attitude and smil!. Your chuckle in 7:50 :D is so cute. Keep it up
@kunalsaini1805
@kunalsaini1805 4 жыл бұрын
Thanks Gaurav. Yes, Monolith is complex to understand completely in one go and basically tightly coupled. But the point that is a strong advantage there is apart form the fact that procedural calls are faster, in micro service architecture sometimes a service is dependent on too much on other services and when it comes to logging you also need to track the flow of all your calls plus they add an extra network cost, you need to handle all the failures, have retry logic and fall back in place.
@samofohachinweuba1641
@samofohachinweuba1641 Жыл бұрын
Thanks @Kunal
@Karthik-kt24
@Karthik-kt24 5 жыл бұрын
I want to be able to communicate and speak like you do...You smile so much and have so much charisma...I refrain from smiling most of the time cause I look weird...Idk why! Thanks for inspiring me to improve 🙏🙏
@zainmotiwala1342
@zainmotiwala1342 2 жыл бұрын
Now that's what I call method teaching. This is brilliant. Thanks for helping all of us.
@etienneekpo348
@etienneekpo348 5 жыл бұрын
Managing several micro-services databases could be on a long run challenging. Great explanations! Hope MIT calls you as a special guest to lecture. :)
@gkcs
@gkcs 5 жыл бұрын
Some day perhaps 😁
@shrihara
@shrihara 4 жыл бұрын
Just want to add one more advantage of micro service. As time progress, our software product also gets new features/modules etc. Our software customers also expand their business and buy new modules/features. Example in Banking, we now have online support, online banking, mobile banking etc. There may be some customers who do not want new modules. Example a bank do not have plans to roll out mobile banking application yet. So they do not want new modules. When we try to sell our software product, customer will not be interested in buying all the modules as they may not be working on all of them. Example - In banking, small banks may not be providing credit cards. So they do not want credit card module. Some customers want to just replace a particular module in their ecosystem as they find out that our product works better. in that case they want to deploy only that particular module. Example - Loans module in our banking software product works best in the competition and customers want to buy only that. They do not want to replace their online banking product. So microservice architecture makes sense as it gives lot of flexibility and also cost wise. It can also be easily used to plug it with other systems that customer might already be working with. We can provide new features as and when they require it.
@italosantana9192
@italosantana9192 4 жыл бұрын
In my opinion, "MonolithFirst", by Martin Fowler is the best approach to start a new project for current scenarios. Because the high competitiveness (short deadlines) and low project budgets (small teams and limited resources).
@gkcs
@gkcs 4 жыл бұрын
Makes sense 🙂
@josephfernando4867
@josephfernando4867 5 жыл бұрын
Really well done, concise is the word to describe this video. Since the topic is so well handled viewers can genuinely use this information to make decisions and analyze the need for a mono or micro for a system. So stackoverflow is a monolith that handles a massive load of questions on microservices.
@anubhavbhargava5772
@anubhavbhargava5772 6 жыл бұрын
Really a clear-cut explanation of some of the advanced topics!! Keep it up!
@gkcs
@gkcs 6 жыл бұрын
Thanks Anubav!
@naufalm3482
@naufalm3482 5 жыл бұрын
man.. I'm in the e-commerce business, and so grateful to watch and learn from this content.. thanks a lot for sharing, hope you can share more about IT world! Big Up!
@codetolive27
@codetolive27 5 жыл бұрын
Hi Gaurav, Thanks for your efforts it was a good video. Following are few pointers which i would like to add 1) Monolith application can co-exist with microservices. What i mean here is that suppose if you have a large application which uses a MVC framework then the same application can also use a common services provided by a microservice. 2) Microservice architecture also has its own set of challenges in terms of maintenance and deployment. The Netflix architecture video about Mastering chaos discusses some problems. 3) Now a days the industry does not want a team to only focus on one thing and would like to have a small development team managing multiple application. Too cut costs can be one of the reasons. 4) With the advent of MVVM frameworks on client side like angularJS which performs a lot of processing on the client side would be better complemented with microservice architecture. Once again Keep up the good work
@gkcs
@gkcs 5 жыл бұрын
Great points Venkatesh!
@charley7085
@charley7085 4 жыл бұрын
These videos along with the comment section is giving me greater insights about system design. Keep up bro. 🔥
@shobhitagarwal5862
@shobhitagarwal5862 3 жыл бұрын
main advantage of microservice is: scalability. you have freedom to scale x microservice while y remains at same capacity. While in monolith, whole system scales. But one disadvantage of microservice is handling transactions. If you are having architecture like your transaction is spread across various microservices. its not good. Please share your thought.
@johnday3645
@johnday3645 3 жыл бұрын
Transaction .nice point.I was thinking does it fit in e-commerce? What do you say ?
@dnavas7719
@dnavas7719 6 жыл бұрын
"There's nothing micro about microservices" lol Great video :)
@cpsarathe
@cpsarathe 5 жыл бұрын
I really like your explanation. For more clarity and better perspective I still have concern around MS architecture vs Monolith - 1 How is cost benefit ? Ms needs at least 2 developer (what if one quits ) working on each service ? You need as many host servers as you have services 2 You need to tack the flow of calls across call stack services . How about transaction ? 3 Code duplication is sure shot, data redundancy too . 4 you need backup plans , alerts monitoring for all these instances 5 For long run more maintenance cost At the end the benefit I found is instead of all services going down in Monolith only few will go down in Microservices Less customer impact.
@balavikashkandukuri6139
@balavikashkandukuri6139 Ай бұрын
Yes definitely agreed with you. Continuous communication of developers is required. Microservices are costly and the complexity levels are comparatively high .
@paritoshpandey7998
@paritoshpandey7998 2 жыл бұрын
Successfully performed 32 post request to the db in my head in one go, you are awsome broo
@aditigupta6870
@aditigupta6870 7 ай бұрын
Can we have a sample problem like designing an ecommerce system or food delivery system and design all the microservices needed in it from scratch?
@BruceMount
@BruceMount 6 жыл бұрын
Your videos are amazingly clear and concise. Thank you so much!
@thejet4244
@thejet4244 11 ай бұрын
Your channel is the best place to learn backend engineering 🙏
@lefteriseleftheriades7381
@lefteriseleftheriades7381 2 жыл бұрын
I believe decoupling is not something only found in microservices. Infact even if it's a single process a good programmer has to deside on what the components of the system are and decouple them with interfaces. One could even do independent deployability in a monolith by having the system components built in dll files instead of having them built statically. A new developer doesn't have to understand the entire code, just the component they are working on and the interface contract on how it interracts with the other components.
@mohammednagdy6661
@mohammednagdy6661 4 жыл бұрын
Dude you're the best! I watched several system design tutorials. But yours is amazing♥️👌🏼
@showbikshowmma3520
@showbikshowmma3520 3 жыл бұрын
Microservices has all the associated complexities of the distributed system. There is a higher chance of failure during communication between different services. Difficult to manage a large number of services. The developer needs to solve the problem, such as network latency and load balancing. Complex testing over a distributed environment.
@gkcs
@gkcs 3 жыл бұрын
Yes, but the advantages of a microservice architecture outweighs the negatives, for a large team.
@muhammadahmed6662
@muhammadahmed6662 4 жыл бұрын
Thanks Gaurav for these excellent videos, really helped me a lot understanding some concepts. It would be really great if you could make a video where you code this stuff because theoretically everything makes sense but actually making a good system design out of a business requirement becomes a bit hard. So, it would be great to see how you design an actual system in terms of classes, DB etc. and how you decouple stuff. I know there are ton of videos out there but your style is really understandable for me. Thanks again.
@mihailfomin5194
@mihailfomin5194 4 жыл бұрын
+1
@anjalishaw8556
@anjalishaw8556 3 жыл бұрын
Made it this far starting from your first system design video in a single seating, I had never been this interested in studying before( hyperbole) and maybe I'll watch a few more : P. Thanks a lot!
@gkcs
@gkcs 3 жыл бұрын
Thanks Anjali!
@pinkimansukhani5602
@pinkimansukhani5602 5 жыл бұрын
A very big advantage of microservices is that they are very easy to maintain, test and deploy. CI and CD are much more possible with a microservice architecture. You probably discussed that, and maybe I missed it. Good summary.
@gkcs
@gkcs 5 жыл бұрын
That's correct 😁
@StackRadius
@StackRadius 5 жыл бұрын
What CI and CD? I am a finance guy, trying to understand microservices for our office.
@pinkimansukhani5602
@pinkimansukhani5602 3 жыл бұрын
@@StackRadius Continuous Integration and Continuous Delivery.
@ishansaxena6142
@ishansaxena6142 3 жыл бұрын
You had us the first minute, I'm not gonna lie.
@cristianouzumaki2455
@cristianouzumaki2455 5 жыл бұрын
Gaurav , your enthusiasm and such detailed explanation with all cons and pros makes your videos amazing. I often go through them in my free time because not only it makes me think a lot but its fun too.
@gkcs
@gkcs 5 жыл бұрын
Thanks Vibhor!
@AbhishekKumar-wy7bp
@AbhishekKumar-wy7bp 3 жыл бұрын
one of the best Microservice videos.
@stoneshou
@stoneshou 4 жыл бұрын
Lots of good information. In practice I also see efforts around starting off with micro services and move some into bigger services when it makes sense
@KunalSharma-ew7jd
@KunalSharma-ew7jd 6 жыл бұрын
Thanks for making system design videos. You're doing a wonderful job.
@gkcs
@gkcs 6 жыл бұрын
Thanks Kunal!
@ParadiseisYoursNow
@ParadiseisYoursNow 4 жыл бұрын
Per usual, Excellent, concise, accessible as heck!
@SushilKumar-wt7js
@SushilKumar-wt7js 3 жыл бұрын
I can give one example that why scaling factor is more important in micro services, lets say we have cart service and simple login service of ecommerce, now we know login service will have less traffic while cart service has lot of traffic during sales than logins, definitely if keep both of them in monolith, we can't scale them properly, clearly we can see that traffic on cart APIs will be much higher than normal APIs, so lets create different service for cart ;) and scale them differently by providing bigger and more servers to this micro service, that shows how important a micro services is :)
@rajathes5435
@rajathes5435 Жыл бұрын
I am also thinking like you. Let us consider we have 1000 cores CPU(100 servers with 10 cores load balanced) overall in monolith. At any given time at high load scenario, 80% resource is utilized by cart service and remaining 20% will be utilized by other services. If can track all the calls and the time taken, we can get to know the resource utilization by each feature. All I am saying is, The requirement for scaling a monolith will come from higher load (We will not be sure about which feature is used more.) When we scale up, whatever the feature which was called a lot will be served easily without affecting others.
@KDOERAK
@KDOERAK 5 жыл бұрын
A great intro talk about microservices: concise and clear. Thx.
@gkcs
@gkcs 5 жыл бұрын
Thank you!
@Nithin_Coorg
@Nithin_Coorg 2 жыл бұрын
All my life i worked on client side! these are gem concepts videos! thanks!
@ijazfx
@ijazfx 4 жыл бұрын
The role of a Solution Architect is to actually design system in such a way that separate concerns should be designed as separate Microservices. The criteria of having a single consumer of a service or a small team to manage the application probably not a justification to ditch the Microservices design. Consider a small startup designs a Microservices app and invites contributors to enhance, integrate with other services, or simply the product is acquired by a big company to use with its other products. Furthermore, network calls among Microservices is not a major issue when deployed on same host, inter-process communication can be achieved through different strategy of developing Microservices clients. In my humble opinion, Microservices should always be used, even a monolithic application should be developed with some provisions of Microservices.
@akhileshguptaakhi
@akhileshguptaakhi 5 жыл бұрын
Hello Gaurav, I have few questions regarding Microservice, how consistency of a Database is maintained if each microservice is using its own database ? How to deal with duplicate data sets for example two microservice such as Order Processing, and Customer tickets have to work on same Customer details ? Or you recommend databases could be shared between microservices
@rishabhrastogi6076
@rishabhrastogi6076 2 жыл бұрын
It's better said than never I guess. So when you have multiple microservices, with their own database, you will need to sync the data periodically - depending on what type of data you're having, you may need to send multiple updates to downstream services whenever the data is changed and a morning/nightly batch job to publish all the data which can wait. Now, in a case where data can't wait for a sync to run, you will need to publish the data to downstream services as soon as it changes - you may use some streaming/queuing mechanism like Apache Kafka for it.
@AnikaNeela
@AnikaNeela 3 жыл бұрын
You've become one of my heroes in the programming world. Thank you so much!!
@renates-mante6385
@renates-mante6385 Жыл бұрын
"Where is nothing micro about microservices" - loved it :))
@sharifulhaque6809
@sharifulhaque6809 3 жыл бұрын
A very clear and easy explanation of Microservices. Thanks a lot Gaurav
@ajaynegi1638
@ajaynegi1638 4 жыл бұрын
Nice, well explained and engaging videos. The energy and positivity you show is great to watch. Great work. Keep it up!!
@mayankdargan5195
@mayankdargan5195 4 жыл бұрын
Thank you for such contents to give good exposure of how things actually work. I have watching the whole playlist as I have an interview tomorrow. Hoping this works out for me. Thank you!
@jjsridharan
@jjsridharan 4 жыл бұрын
Awesome video. Stack Overflow. Never heard of it. :D
@gkcs
@gkcs 4 жыл бұрын
Hahaha!
@bimalkumar712
@bimalkumar712 5 жыл бұрын
Nice explanation bro..can you please provide a video of transaction management in microservices..
@LifeLessonswithBhagavadGita
@LifeLessonswithBhagavadGita 2 жыл бұрын
You are a very smart and intelligent kid Gaurav.. Keep shining..!!
@manankumawat8364
@manankumawat8364 5 жыл бұрын
You can write points on the board, it can help.
@gkcs
@gkcs 5 жыл бұрын
Good idea. I forget that it at times :)
@PACHUNURI
@PACHUNURI 4 жыл бұрын
Like the point you highlighted about how if a microservice is only talking to one microservice, its a bad design in the first place.
@RICHUNCLEPENNYBAGS77
@RICHUNCLEPENNYBAGS77 4 жыл бұрын
Monoliths kind of get a bad rap so I appreciate the more balanced answers here. If you're a small team the overhead of spinning up services can be a bigger deal and it can make less sense.
@HusGNR
@HusGNR 2 жыл бұрын
Really informative. Your explanation was clear, simple, and well-organised. Thanks.
@ajithegde8063
@ajithegde8063 4 жыл бұрын
Your way of explaining things is so natural and easy to follow although I don't do lot of coding. I guess you have a great future as fantastic teacher Gaurav, something really needed for our Indian education system where focus is mainly on clearing exam without knowing the concept + application of the technology. Keep coding and keep teaching :-)
@gkcs
@gkcs 4 жыл бұрын
Thank you!
@guneshshanbhag6208
@guneshshanbhag6208 5 жыл бұрын
I watch your videos at 1.5x speed... And still understand each and every bit 😉
@aikiklaudio
@aikiklaudio 3 жыл бұрын
Microservices allows to be programing language poliglot, and data store poliglot, this is a great advantage to take the best of the programing language for each use case, and poliglot data store to get the best benefit of the different data store (rdbms. nosql, files, key value, etc) dependeing of the use case for the microservice.
@basdfgwe
@basdfgwe 5 жыл бұрын
Many of the benefits and cons of microservices can be applied to a monolith system. E.g concurrent development.
@Omniman2
@Omniman2 3 жыл бұрын
Great content as always. I think handling transactions also is a challenge in microservices, requiring eventual consistency, which I feel is hard.
@justguitar2012
@justguitar2012 5 жыл бұрын
Concise and succinct. Great job
@gkcs
@gkcs 5 жыл бұрын
Thank you!
@e-guerrero
@e-guerrero 3 жыл бұрын
Best vid on microservices hands down
@adarshtiwari6742
@adarshtiwari6742 Жыл бұрын
Worst thing to ask after this video would be what is stack overflow? 🤣🤣🤣🤣nice video hatss off ♥️♥️♥️
@cloudverse260
@cloudverse260 4 жыл бұрын
You are doing great work. They can be useful for placements
@sureshboddu4390
@sureshboddu4390 4 жыл бұрын
Just to add, it won't be a local call in miciroservices interaction if your micro services are deployed in Cloud or service to service call is happening with service discovery and registry
@AbhishekSharma-kx6xj
@AbhishekSharma-kx6xj 5 жыл бұрын
Hey Gaurav! In the end, you mentioned that Stack Overflow uses Monolith design. Can you explain how does it do that?
@gkcs
@gkcs 5 жыл бұрын
Read the highscalability blog, which mentions stackoverflow's architecture :)
@ruchijain3443
@ruchijain3443 3 жыл бұрын
Can you please share the link
@rajivpanta7145
@rajivpanta7145 3 жыл бұрын
Very good video .watched many others same topic but you have presented really well and simple.. keep up good work..thx
@thesoftwareengineer17
@thesoftwareengineer17 4 жыл бұрын
Thanks Gaurav. Your videos are always helpful and easy to understand.Cheers!
@PeacepeaceUU
@PeacepeaceUU 2 жыл бұрын
You are awesome and very nice tutuor. One suggestion ,may be you can share more reference link , channel ,book etc with session for further study .
@lander251
@lander251 3 ай бұрын
Super clear explanation. Thank you :)
@gkcs
@gkcs 3 ай бұрын
You're welcome!
@tkbhateja2071
@tkbhateja2071 3 жыл бұрын
Hi Gaurav, Thank you so much for this Excellent knowledge. I would like to request you, Please make the videos on the Microservices design patterns. Thank you
@rahimeinollahi1
@rahimeinollahi1 2 жыл бұрын
The awesome video was ...., thanks for explaining easy...
@vaishalijain3266
@vaishalijain3266 2 жыл бұрын
wow, very crisp and clear . Thanks !
@nmrkmsis2000
@nmrkmsis2000 5 жыл бұрын
Thanks for this video. I have a question for you. In microservices how we can maintain relationships. Let's say I have employeedb, deptdb, now I want implement sort and paginate on Dept name. Can you please explain how we can deal with this kind of scenario
@gkcs
@gkcs 5 жыл бұрын
It's common to "join" the service responses and show a single view. However, it isn't as fast as a DB join and sort.
@pseudofacts4356
@pseudofacts4356 4 жыл бұрын
Hi Gaurav, I want to thank you so much for your videos n way of explanation. You. Have inspired me to learn further. Plz help me to know from where should I study nicroservice I am from dot net background
@christopher5731
@christopher5731 3 жыл бұрын
Excellent explanation and examples. Good work!
@impalash_ag
@impalash_ag Жыл бұрын
Gaurav nice video, few questions: 1- How would different services be communicating in a Monorepo microservices architecture? Through APIs or different services functions call? 2- Can services in monrepo be still in different languages or it's just for polyrepo?
@amanlonare4319
@amanlonare4319 3 жыл бұрын
Thanks for the great video Gaurav. Recently I have been hearing about “Modular Monoliths” or “Miniservices” a lot. Maybe a video on this topic from you could help us understand it better :)
@technicalkrishna7971
@technicalkrishna7971 4 жыл бұрын
Thanks Gaurav. Excellent videos.
@anastasianaumko923
@anastasianaumko923 Жыл бұрын
This is great, thank you for your work 😌
@shelbycollins6116
@shelbycollins6116 Жыл бұрын
great videos and effort. subscribed to channel and been watching your videos to learn more about system designs in general. thanks for the content!
@grijeshmnit
@grijeshmnit 4 жыл бұрын
You keep making vedio I will keep learning.... 💯 thanks
@mrinalinimusic
@mrinalinimusic 5 жыл бұрын
Wonderful Videos ! So inspiring. I need some pointers on generating dynamic PDF documents from the front end with database in AWS. Will greatly appreciate if you already have a video for something like that.
@ashalodhi9312
@ashalodhi9312 2 жыл бұрын
Thanks Gaurav, this is perfect!!! Keep making such content! 🤟
@vijaysanthosh502
@vijaysanthosh502 4 жыл бұрын
Thanks broo saved my life for my exam...
@mathmatrix43
@mathmatrix43 6 жыл бұрын
Can u post more videos on Microservices as I am doing a project on Microservices in my internship? This will help me a lot. Thanks for the detailed explanation.
@gkcs
@gkcs 6 жыл бұрын
I'll try Pankaj :)
@igallebedev468
@igallebedev468 2 жыл бұрын
you have awsome charisma man! thanks a lot for the great explamation!!!
@princeroyalking
@princeroyalking 5 жыл бұрын
Can you please discuss on segregation of database in microservices, in detail which includes transaction
@prashanthb6521
@prashanthb6521 4 жыл бұрын
Easily explained, thanks.
@computersciencetutorials2322
@computersciencetutorials2322 5 жыл бұрын
Hi.. If we need to design software for an Insurance company both desktop and web application.. which will be better? Monolith or Microservice?
@guneshshanbhag6208
@guneshshanbhag6208 5 жыл бұрын
www.majesco.com/innovating-insurance-microservices-part2/
@user-mw5bm2xh9x
@user-mw5bm2xh9x Жыл бұрын
thanks for the presentation and explanation.
@gkcs
@gkcs Жыл бұрын
You are welcome!
@gustavgmcsd
@gustavgmcsd 5 жыл бұрын
very well explained! you own a new sub from this moment!
@gkcs
@gkcs 5 жыл бұрын
Thanks!
@jaivaswani1817
@jaivaswani1817 9 ай бұрын
Unpopular opinion : Microservices Architecture is like running an ICE engine car, while monolith is like an Electric. Before coming with pitchforks😂, just give it a deep thought.. More moving parts, expensive transfer of energy(data)... Many more comparison points
@ypaut
@ypaut 3 жыл бұрын
Very informative and just what I needed, thank you
@srikanthpisharody8838
@srikanthpisharody8838 2 жыл бұрын
One other advantage of using a microservice architecture is that trying out newer technologies means lesser pain as you can just rewrite one service without affecting the others.
@lucascyrneferreira3306
@lucascyrneferreira3306 4 жыл бұрын
Thanks Gaurav! You rock, dude! (: cheers from brazil!
@gkcs
@gkcs 4 жыл бұрын
Cheers!
What is DATABASE SHARDING?
8:56
Gaurav Sen
Рет қаралды 917 М.
Microservices explained - the What, Why and How?
18:30
TechWorld with Nana
Рет қаралды 840 М.
Идеально повторил? Хотите вторую часть?
00:13
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 16 МЛН
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 14 МЛН
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 32 МЛН
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 36 МЛН
System Design: TINDER as a microservice architecture
36:41
Gaurav Sen
Рет қаралды 1,2 МЛН
Monolithic vs Microservice Architecture: Which To Use and When?
10:43
Google system design interview: Design Spotify (with ex-Google EM)
42:13
IGotAnOffer: Engineering
Рет қаралды 1 МЛН
What is an API and how do you design it? 🗒️✅
15:26
Gaurav Sen
Рет қаралды 723 М.
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,5 МЛН
Monolith vs Microservices vs Serverless
23:05
Code With Ryan
Рет қаралды 76 М.
What is a MESSAGE QUEUE and Where is it used?
9:59
Gaurav Sen
Рет қаралды 962 М.
Moving from MONOLITHS to MICROSERVICES 🎂 → 🍰🍰🍰
19:25
Microservices Explained in 5 Minutes
5:17
5 Minutes or Less
Рет қаралды 727 М.
Идеально повторил? Хотите вторую часть?
00:13
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 16 МЛН