Microservice Architecture | Microservices Tutorial | Microservices | Edureka Rewind
Skills:
Microservices Patterns90%
Key Takeaways
Explains microservice architecture and its differences from monolithic architecture, using examples and case studies
Full Transcript
hey guys this is sahti from urea and today we will be learning about microservice architecture so before I start with the session let's take a look at today's agenda initially we will start talking about the previous system that was the monolithic architecture followed by its challenges then we'll jump on to the functionalities of microservices and the best practices to design them after going through all the concepts we will go through a real life use case of uber and understand them better so let's get started with the session what do you think monolithic architecture was well I could say that it was like a big container where all the software components of an application were tightly packed together have you got any idea how the applications on this framework worked how they looked like how they performed how they communicated with each other and so on let's look at the client server model shown here what do you see as a user as a user when you open a web UI you just see a website but behind the scenes the server side application has different features which have to be handled together features such as handling HTTP requests retrieving and updating the data from database and executing a domain specific logic were put on a single framework so if any one feature of this service side application had not worked then the complete system would go down also if only any one feature had to be updated then the complete system had to be built again now let's understand more about monolithic architecture by using a shopping cart application for reference as a user when you open a shopping cart application what all do you see you see different features for handling wish list new labels new brands in the markets customer services and so on but if the de velers of this framework had decided to build this application on a single framework then all the features were put together on a single database this not only created problem for scalability but also for fault tolerance and Agility let's understand these challenges one by one specifically the first challenge that we're going to talk about is agility let us consider an asset management industry here different clients come with different Investments who have to be offer different services so if any new Services had to be given to any new clients or any new changes had to be made do you think monolithic application could accommodate these changes well I would say it definitely could but yes there's a problem here the problem is here it could accommodate the changes but at the cost of reduced agility why do you think this happened this happened because even if a small component in an application had to be changed the entire application had to be repackaged together let's look at the Second Challenge consider yourself as a developer now so if you had built any application you would obviously want it to scale as per the future Trends but if you had built this application on a monolithic architecture how do you think you could keep up with the scalability well let's take an example our shopping cart application is built on a monolithic framework now consider three customers come on to the app application just to accommodate these three new customers three instances of the same application have to be created also apart from the three new instances of the application resources also get wasted for the services which need not have to be scaled let us now look into the third challenge which is fall tolerance consider your shopping cart application for reference suppose even if one feature of the application doesn't work then the entire system goes down this not not only creates a problem for the users but also creates a problem for the developers as they have to rebuild it again so to avoid these challenges developers of these applications decided to shift from monolithic architecture to microservices now many questions may come onto your mind such as what were the advantages of new architecture how could the developers benefit from the new architecture what were the new challenges that we faced with this architecture and so on let's discuss each of them one by one one let's start with what were microservices microservices are basically an architecture wherein a monolithic application is decomposed into small and micro applications which were packaged and deployed independently consider your shopping cart application for reference again imagine now that developers of this application have shifted its framework from a monolithic to a microservice architecture so this is how the architecture looks like now even now as a user when you open a shopping cart application you just see features put on together on a single website now there are separate teams handling different features that means there's a team of developer handling deal of the day a team of developers handling new labels a team of developer handling customer services and so on all teams now write codes for their features only making it easy to deploy individual features again and again whenever it is required how do you think these individual separation Deployable units communicate with each other well these separate individual Deployable units communicate with each other through a well-defined interface of rest or message bus by now you must have understood what were the functionalities of microservices and how they communicated with each other let's learn more about microservices by looking at different components of its architecture well the architecture starts with different clients from different devices trying to perform different management capability such as build search notification and so on then each and every functionality is segregated into separate microservices handling their own data for example microservice a could take care of search operation microservice B could take care of build operation micros service C could take care of notification feature and so on all these individual micros Services had their own load balancing and execution environments to perform different functionality and capture their own data these individual microservices then communicated within themselves through the rest or message bus to perform different operational capabilities such as Automation and monitoring also the requests of clients were passed on to the internal architecture through an API Gateway let's summarize the difference between both architectures before moving forward to the features of microservices and the use case so in short monolithic architecture had a single framework for all the features on a single database whereas microservice architecture had different microservices for each and every feature handling their own database now what features made the developers shift from a monolithic architecture to microservices let's have a look at them the applications built using microservice architecture were easily built altered and scaled they focused on a single capability all the components could be easily replaced the teams worked independently they allowed frequent releases of the software applications were treated as products there were no standardized patterns and most importantly all the features were quickly developed let's look into more of microservices and their implementation by using a real life use case of uber what do you know about Uber well Uber Technologies is a Global Taxi technology company headquartered in San Francisco United States operating in 633 cities worldwide like many other startups Uber also started its Journey with a monolithic architecture for a single City let's have a look at this architecture initially they had a rest API with which the passenger and the driver were connected this means that the mobile API was connected to the rest API which was then connected to the monolithic architecture as a backend server also for people accessing to web UI they were also connected to the same server coming forward there were three more adapters which were used to perform different functionalities such as notifications sending mails or messages billing payment Etc finally a mySQL database to capture all their data so if You observe here all the features such as passenger management billing notification features drip management driver management were composed in a single framework this means that having one code base seem clean at that time and solved Uber's Core Business problems which included connecting drivers with riders Billings and payments but as Uber started expanding worldwide into many more cities it continuously faced the problem of scalability and continuous integration so developers could not continuously build test deploy and release the software frequently as in when Uber started expanding city-wise throughout the world also adding new features and fixing bugs in a single repository became extremely difficult for the developers so to avoid such challenges Uber decided to follow the lead of hypergrowth companies like Amazon Netflix SoundCloud and Twitter and broke down its monolithic framework into multiple code bases to form a microservice architecture so this is how the new architecture looks like what do you think is the new change in the architecture well we could clearly see the introduction of API Gateway which connected all the drug drivers with the passengers also from the API Gateway all the internal points were connected such as passenger management drip management driver management and so on so basically anybody who connects to the API Gateway gets automatically connected to all the microservices another change that we observe in this architecture is the introduction of individual separate Deployable units here this means that we can deploy this unit or this unit or any other unit without disturbing the others let me explain you this point with an example consider yourself as one of the developers of uber so now if you want to change anything in the billing microservices then you just have to deploy only billing microservices and do not have to disturb the others also this kind of architecture helped Uber to scale its services individually let me explain you with an example as we all know the number of people searching for cabs are comparatively more than the number of people actually booking a cab and making payments so the number of processes working on the passenger management microservice are more than the number of processes working on the payments also it was observed that even if any one feature was D no other microservice would get affected therefore developers of uber need not build their applications again and again even if one microservice goes down now that you've seen a real life use case of uber can you think of any best practices to design microservices well let's have a look at them initially seate the data store for each micros service then keep the code at similar level of maturity now after this separately build each micros service according to its respective features and then deploy into containers lastly create the servers as stateless for communication now let me just give you a quick summary of what all we discussed list we started with the understanding of what was monolithic architecture and its challenges then we went through the microservice architecture and understood the differences between both the architectures after understanding the architectures we focused on the features of microservices and discuss the best practices to design them then we compared Uber's previous framework to the present one and understood what made them change their architecture thank you for watching this video and have a great day e e e e e e e e e e e e
Original Description
🔥𝐄𝐝𝐮𝐫𝐞𝐤𝐚 𝐌𝐢𝐜𝐫𝐨𝐬𝐞𝐫𝐯𝐢𝐜𝐞𝐬 𝐀𝐫𝐜𝐡𝐢𝐭𝐞𝐜𝐭𝐮𝐫𝐞 𝐓𝐫𝐚𝐢𝐧𝐢𝐧𝐠 : https://www.edureka.co/microservices-architecture-training (𝐔𝐬𝐞 𝐂𝐨𝐝𝐞: 𝐘𝐎𝐔𝐓𝐔𝐁𝐄𝟐𝟎)
This Edureka's Microservices video gives you detail of Microservices Architecture and how it is different from Monolithic Architecture.
📢📢 𝐓𝐨𝐩 𝟏𝟎 𝐓𝐫𝐞𝐧𝐝𝐢𝐧𝐠 𝐓𝐞𝐜𝐡𝐧𝐨𝐥𝐨𝐠𝐢𝐞𝐬 𝐭𝐨 𝐋𝐞𝐚𝐫𝐧 𝐢𝐧 𝟐𝟎𝟐𝟒 𝐒𝐞𝐫𝐢𝐞𝐬 📢📢
⏩ NEW Top 10 Technologies To Learn In 2024 - https://www.youtube.com/watch?v=vaLXPv0ewHU
🔴 Subscribe to our channel to get video updates. Hit the subscribe button above: https://goo.gl/6ohpTV
🔴 𝐄𝐝𝐮𝐫𝐞𝐤𝐚 𝐎𝐧𝐥𝐢𝐧𝐞 𝐓𝐫𝐚𝐢𝐧𝐢𝐧𝐠 𝐚𝐧𝐝 𝐂𝐞𝐫𝐭𝐢𝐟𝐢𝐜𝐚𝐭𝐢𝐨𝐧𝐬
🔵 DevOps Online Training: http://bit.ly/3VkBRUT
🌕 AWS Online Training: http://bit.ly/3ADYwDY
🔵 React Online Training: http://bit.ly/3Vc4yDw
🌕 Tableau Online Training: http://bit.ly/3guTe6J
🔵 Power BI Online Training: http://bit.ly/3VntjMY
🌕 Selenium Online Training: http://bit.ly/3EVDtis
🔵 PMP Online Training: http://bit.ly/3XugO44
🌕 Salesforce Online Training: http://bit.ly/3OsAXDH
🔵 Cybersecurity Online Training: http://bit.ly/3tXgw8t
🌕 Java Online Training: http://bit.ly/3tRxghg
🔵 Big Data Online Training: http://bit.ly/3EvUqP5
🌕 RPA Online Training: http://bit.ly/3GFHKYB
🔵 Python Online Training: http://bit.ly/3Oubt8M
🔵 GCP Online Training: http://bit.ly/3VkCzS3
🌕 Microservices Online Training: http://bit.ly/3gxYqqv
🔵 Data Science Online Training: http://bit.ly/3V3nLrc
🌕 CEHv12 Online Training: http://bit.ly/3Vhq8Hj
🔵 Angular Online Training: http://bit.ly/3EYcCTe
🔴 𝐄𝐝𝐮𝐫𝐞𝐤𝐚 𝐑𝐨𝐥𝐞-𝐁𝐚𝐬𝐞𝐝 𝐂𝐨𝐮𝐫𝐬𝐞𝐬
🔵 DevOps Engineer Masters Program: http://bit.ly/3Oud9PC
🌕 Cloud Architect Masters Program: http://bit.ly/3OvueZy
🔵 Data Scientist Masters Program: http://bit.ly/3tUAOiT
🌕 Big Data Architect Masters Program: http://bit.ly/3tTWT0V
🔵 Machine Learning Engineer Masters Program: http://bit.ly/3AEq4c4
🌕 Bus
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from edureka! · edureka! · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
ChatGPT Not Working - 4 Fixes | How To Fix ChatGPT Not Working | Why Is ChatGPT Not Working |Edureka
edureka!
Advanced Java script Tutorial | JavaScript Training | JavaScript Programming | Edureka Rewind
edureka!
Java script interview question and answers | Java script training | Edureka Rewind
edureka!
OpenAI API Tutorial using Python | How to use OpenAI GPT-3 API - Ada Babbage Curie Davinci | Edureka
edureka!
What is Unsupervised Learning ? | Unsupervised Learning Algorithms| Machine Learning | Edureka
edureka!
Top 10 Applications of Machine Learning in 2023 | Machine Learning Training | Edureka Rewind - 7
edureka!
Machine Learning Engineer Career Path in 2023 | Machine Learning Tutorial | Edureka Rewind - 6
edureka!
10 Must Have Machine Learning Engineer Skills That Will Get You Hired | Edureka Rewind - 7
edureka!
Data Structures in Python | Data Structures and Algorithms in Python | Edureka | Python Live - 5
edureka!
Python Lists | List in Python | Python Training | Edureka Rewind
edureka!
Predictive Analysis Using Python | Learn to Build Predictive Models | Python Training | Edureka
edureka!
Machine Learning Tutorial | Machine Learning Algorithm | Machine Learning Engineer Program | Edureka
edureka!
How to use Pandas in Python | Python Pandas Tutorial | Python Tutorial | Edureka Rewind
edureka!
Parameters in Tableau | Tableau Parameters Examples | Tableau Tutorial | Edureka Rewind
edureka!
Top 10 Reasons to Learn Tableau in 2023 | Tableau Certification | Tableau | Edureka Rewind
edureka!
Tableau Developer Roles & Responsibilities | Become A Tableau Developer | Tableau | Edureka Rewind
edureka!
Deep Learning With Python | Deep Learning Tutorial For Beginners | Edureka Rewind
edureka!
Realtime Object Detection | Object Detection with TensorFlow | Edureka | Deep Learning Rewind - 2
edureka!
Top 20 Tableau Tips and Tricks in 20 Minutes | Tableau Tutorial | Tableau Training | Edureka Rewind
edureka!
Climate Change Prediction using Time Series | Python Projects | Edureka | DS Rewind - 5
edureka!
ReactJS Installation Tutorial | ReactJS Installation On Windows | ReactJS Tutorial | Edureka Rewind
edureka!
Phases in Cybersecurity | Cybersecurity Training | Edureka | Cybersecurity Rewind - 2
edureka!
What Is React | ReactJS Tutorial for Beginners | ReactJS Training | Edureka Rewind
edureka!
Cybersecurity Frameworks Tutorial | Cybersecurity Training | Edureka | Cybersecurity Rewind- 2
edureka!
React vs Angular 4 | Angular 2 vs React | React & Angular | ReactJS Training | Edureka Rewind - 5
edureka!
ReactJS Components Life-Cycle Tutorial | React Tutorial for Beginners | Edureka Rewind
edureka!
Ethical Hacking using Kali Linux | Ethical Hacking Tutorial | Edureka | Cybersecurity Rewind - 3
edureka!
Types Of Artificial Intelligence | Artificial Intelligence Explained | What is AI? | Edureka
edureka!
Top 10 Applications Of Artificial Intelligence in 2023 | Artificial Intelligence| Edureka Rewind
edureka!
The Future of AI | How will Artificial Intelligence Change the World in 2023? | Edureka Rewind
edureka!
What is Artificial Intelligence | Artificial Intelligence Tutorial For Beginners | Edureka Rewind
edureka!
Google Cloud IAM | Identity & Access Management on GCP | Edureka | GCP Rewind - 5
edureka!
Google Cloud AI Platform Tutorial | Google Cloud AI Platform | GCP Training | Edureka Rewind
edureka!
Projects in Google Cloud Platform | GCP Project Structure | GCP Training | Edureka Rewind
edureka!
How to Become a Data Scientist | Data Scientist Skills | Data Science Training | Edureka Rewind - 3
edureka!
Agglomerative and Divisive Hierarchical Clustering Explained | Data Science Training | Edureka Live
edureka!
Climate Change Prediction using Time Series | Python Projects | Edureka | DS Rewind - 5
edureka!
Data Science Project - Covid-19 Data Analysis | Python Training | Edureka | DS Rewind - 6
edureka!
What is Honeycode? | Introduction to Honeycode | Edureka
edureka!
Difference between Amazon AWS and Google Cloud | GCP Training Google Cloud | Edureka Live
edureka!
DevOps Lifecycle | Introduction To DevOps | DevOps Tools | What is DevOps? | Edureka Rewind
edureka!
Introduction to DevOps | DevOps Tutorial for Beginners | DevOps Tools | DevOps | Edureka Rewind
edureka!
How to Create Login System using Python | Python Programming Tutorial | Edureka Rewind
edureka!
Python Developer | How to become Python Developer | Python Tutorial | Edureka Rewind
edureka!
How to become a Data Engineer | Complete Roadmap to become a Data Engineer| Data Engineer | Edureka
edureka!
Azure Data Engineer Certification [DP 203] | How to Become Azure Data Engineer [2023] | Edureka
edureka!
Data Analyst vs Data Engineer vs Data Scientist | Data Analytics Masters Program | Edureka Rewind
edureka!
DevOps Engineer day-to-day Activities | DevOps Engineer Responsibilities | Edureka Rewind
edureka!
How to Become a DevOps Engineer? | DevOps Engineer Roadmap | Edureka | DevOps Rewind
edureka!
How to Become a Data Engineer? | Data Engineering Training | Edureka
edureka!
How To Become A Big Data Engineer? | Big Data Engineer Roadmap | Edureka Rewind
edureka!
Python Integration for Power BI and Predictive Analytics | Power BI Training | Edureka
edureka!
Power BI KPI Indicators Tutorial | Custom Visuals In Power BI | Power BI Training | Edureka Rewind
edureka!
Apache HBase Tutorial For Beginners | What is Apache HBase? | Big Data Training | Edureka Rewind
edureka!
Big Data Hadoop Tutorial For Beginners | Hadoop Training | Big Data Tutorial | Edureka Rewind
edureka!
Big Data Analytics | Big Data Analytics Use-Cases | Big Data Tutorial | Edureka Rewind
edureka!
What Is Power BI? | Introduction To Microsoft Power BI | Power BI Training | Edureka Rewind
edureka!
Triggers in Salesforce | Salesforce Apex Triggers | Salesforce Tutorial | Edureka Rewind
edureka!
How To Become A Salesforce Developer | Salesforce For Beginners| Salesforce Training Edureka Rewind
edureka!
Java ArrayList Tutorial | Java ArrayList Examples | Java Tutorial | Edureka Rewind
edureka!
More on: Microservices Patterns
View skill →Related Reads
📰
📰
📰
📰
The system doesn't fail the day you break it.
It fails the day you finally touch it.
Dev.to AI
React Server Components vs Client Components in Next.js — A Practical Decision Framework
Dev.to · Aon infotech
Server Components vs Client Components: The Mental Model Shift Every Vite Developer Needs
Dev.to · Digital dev
Go context.Context Done Right: Cancellation, Timeouts, and Values
Medium · Programming
🎓
Tutor Explanation
DeepCamp AI