MICROSERVICES ARCHITECTURE | MONOLITHIC ARCHITECTURE | PART - 2

In this video learn what is monolithic architecture and learn the advantages and disadvantages about it and hence you will have better idea of why do we need microservices.
#microservice #learnmicroservices #totorialssystemdesign #microservicestutorials
#systemdesigntips #systemdesign #computerscience #learnsystemdesign #interviewpreperation #amazoninterview #googleinterview #uberinterview #micrsoftinterview

Пікірлер: 35

  • @VikrantVerma22
    @VikrantVerma224 жыл бұрын

    Adding to the disadvantages for monolith: - whole server crashes when one of the module fails/throws exceptions. eg non-runtime module fails because of some reason and brings down the whole website. - if we know a module is bottle neck, we still have to scale up the whole system, as we cannot scale up just that module alone.

  • @vigneshsoap123
    @vigneshsoap1234 жыл бұрын

    I think there are some points to support Monolith like 1. Microservices need to talk to each other through n/w packets. Monolith is mostly IPC and hence faster. 2. Monitoring all the Microservices (100s) and checking their health to ensure smooth running is a pain. 3. Monolith need not worry about consistency since they primarily operate on the same data store. 4. Monolith in general have better latency since the non-determinism of microservices is not present.

  • @321zipzapzoom

    @321zipzapzoom

    4 жыл бұрын

    Hi Vignesh,to compensate for above mentioned latency factor, edge computing comes into play.

  • @aashish01yash

    @aashish01yash

    4 жыл бұрын

    Good Points

  • @glennmglazer

    @glennmglazer

    Жыл бұрын

    Came here to say point 1.

  • @aashish01yash
    @aashish01yash4 жыл бұрын

    Advantages of Monolithic Applications 1) Network latency is not a factor in overall performance since its all one common codebase 2) Do not have to worry about ACID properties across different operations instead monolithic app will handle all as part of one service call 3) Each microservice could have different version available on endpoints and its orchestrator's responsibility to keep track of the version that they are using whereas in monolithic applications all modules are on one version

  • @ganesh3339
    @ganesh33394 жыл бұрын

    Your teaching is simple

  • @linhdinh136
    @linhdinh1362 жыл бұрын

    I work in semiconductor. This is the exact problem that we are facing with monolith software architecture. But because it is heavily dependent on legacy/old technologies, we have no choice but to continue using the same architecture. Thanks for an excellent video and quality contents.

  • @The_MONK_YT
    @The_MONK_YT5 ай бұрын

    Scaling data layer is also possible in monolith using partioning,sharding, multi Az, read replica

  • @chandanpatel6528
    @chandanpatel65283 жыл бұрын

    Great teaching skill with awesome accent..keep it up buddy 👍

  • @aashish01yash
    @aashish01yash4 жыл бұрын

    Hello I could think of few more disadvantages for monolithic applications: 1) Tightly Coupled Dependencies - All the different modules which are part of one codebase and could have dependencies or hard links between them preventing developers to cleanly maintain these modules 2) Upgrade Nightmare - For any upgrade in libraries for any of the module could have impact on other modules as well (I guess this can be considered as part of 1) 3) Release Heavy - What i mean by that is , if any module within the application goes a version upgrade then i have to release the whole application instead of that specific module 4) Difficult to Debug/ Cluttered Logs

  • @TechDummiesNarendraL

    @TechDummiesNarendraL

    4 жыл бұрын

    You got it right👌

  • @glennmglazer
    @glennmglazer Жыл бұрын

    One disadvantage of microservices is that if there is a large web of services calling each other on demand, there isn't a clear flow of control. This means that changing a service can have chaotic effects as the change ripples outwards to the callers.

  • @shapelymum2364
    @shapelymum2364 Жыл бұрын

    nice one

  • @DileepGowda
    @DileepGowda4 жыл бұрын

    Can you create a playlist for all microservices related videos ? Its difficult to identify each video one after the other.

  • @TechDummiesNarendraL

    @TechDummiesNarendraL

    4 жыл бұрын

    There is a playlist :)

  • @dimahodan232
    @dimahodan2322 жыл бұрын

    I'm actually surprised that Mustang was established only in 1972. I thought this company was way older.

  • @shaileshhegde9205
    @shaileshhegde92053 жыл бұрын

    Definitely understanding, I have been part of monolithic architecture and they are a pain to understand!

  • @priyeshshah3290
    @priyeshshah32904 жыл бұрын

    I can think of couple of more disadvantages with monolith: No reusability: can’t extract code for a module and run it in another project. No common fixes: if two projects have duplicate modules, bugs needs to be fixed in both separately in both modules.

  • @TechDummiesNarendraL

    @TechDummiesNarendraL

    4 жыл бұрын

    Point👍

  • @pgs4065
    @pgs4065 Жыл бұрын

    are there blog version of these videos?

  • @ghanshyam014
    @ghanshyam0144 жыл бұрын

    Where do you work brother 😊??

  • @skipmonday6467
    @skipmonday64673 жыл бұрын

    Why shade python (django) like that?

  • @thenainasinghal
    @thenainasinghal4 жыл бұрын

    Hi - One more important reason - if these is any problem in one portion of monolith then entire monolith will become down in production but in microservice, only that microservice will go down and rest all microservice will work properly in production.

  • @TechDummiesNarendraL

    @TechDummiesNarendraL

    4 жыл бұрын

    True and it depends on kind of problem too.

  • @thenainasinghal

    @thenainasinghal

    4 жыл бұрын

    @@TechDummiesNarendraL Yes, I agree. and because of deployment of microservices independently in different containers we have this added benefit. But definitely if other microservice depends on this microservice(defected one) then its work would be impacted.

  • @thenainasinghal

    @thenainasinghal

    4 жыл бұрын

    Hi.. Just noticed you have already covered this in next video. All your videos are really very good, informative and clear. It helped me a lot in many interviews. Thanks a lot for that. Really great open source work.

  • @glennmglazer

    @glennmglazer

    Жыл бұрын

    This depends a lot on how critical the microservice is. Consider an ecommerce website where the authentication service fails. Not letting people log in at all is almost certainly the right solution, otherwise people can impersonate each other.

  • @badamtus6092
    @badamtus60923 жыл бұрын

    Might sound like a dumb question, but why can we not use multiple different databases for a different modules within a monolith?

  • @TechDummiesNarendraL

    @TechDummiesNarendraL

    3 жыл бұрын

    You can, but monolith is not just about DB

  • @badamtus6092

    @badamtus6092

    3 жыл бұрын

    Well, I agree. But you mention in 06:15, that scaling is a problem since all modules use the same database, causing a bottleneck. I also saw your comment of horizontally scaling DB also being a problem because of challenges in writing. But, assuming logical independency of modules, could we hypothetically keep separate databases and reduce bottlenecks?

  • @badamtus6092

    @badamtus6092

    3 жыл бұрын

    Great content btw, thank you very much!

  • @pvnarasimhareddy
    @pvnarasimhareddy4 жыл бұрын

    Voice is really low

  • @amanbaranwal9535
    @amanbaranwal9535Ай бұрын

    no one would mind if you speak normal english rather pushing hard on to get british accent. Its so irritating to listen.