Microservices Vs Monolithic 13th Jan
Microservices Vs Monolithic 13th Jan
1 What is a monolith
2 Monolith
Advantages Disadvantages of
3 What is a Microservice
4 a Microservice
Advantages Disadvantages of
5 Communication b w Microservices
6 When to use Monolith vs Microservice
Econ
Rom mence
Productservice Payment
Authentication Logistics
i
User Service
fondest
PHP
Maged
ROR Spree
10 20 orders
Day
Dumais
Fement ET
ip
El
2
1 2000
orderday
Keane
It
Et Fatty
zoo orders
211 Engined
EH Ffg
20
200,000 3
Day serves
pretty a
ax
ng
t
Et
500 000 orders
Day
100 200
Engines
AS
Vertical scaling
if
Ine increased the same
capacity of II
Can't be done
infinitely
Horizontal scaling
to
Add more servers our
Platter
Can be done
infinitely
Order
Seauchservice
dow Scale
service
Payment Moderate CE
64 cores
High scale
Queenie High 128 GB RAI
scale
Authentication High 2 cores
dess
I.at ttI
selective scaling
Advantages
1
Single Deployment
2 121 is
testing easy
3 to
Easy debug
4
Single teams
Disadvantages
A small issue can make
the entire
system day
Tight confling
No tech stack
feasibility
High Deployment time
ideo
service 9PM
streaming
Assignment service HMI
Auth
seei
EI1
t.it
A
MICRO
SERVICES
Instead one app split our
of having only
application into individual components
III
tÉ
sluice
dormant
Payment service
logistic
yes
Microsfices
I Nw Internet
I FY
FEEL
Order service
onorderplaced1 L
II
t.IE t
I
Advantages Disadvantages of Miseries
Advantages
1 Tech stack
flexibility
2 faster Deployments
3 Selective
scaling
4 new
Easy onboarding of Engines
Disadvantages
lot
of tears
1
2 because
High latency of
Ww Calle
3 B2B
testing
Communication blemicefices
1 HTTP
2
gRPC Protobugs
3 Event Driven Systems
7
NIE
Ter ÉÉ
JSON
f
Java
If id keynote object
name
desc
Easily readable
5850 ect
n
I i
Serialization Deserialization
Marshalling UnMarshalling
Time consuming
2 n
gRPC s
No un is
marshalling marshalling required
logistic
Noting
Inventory
All these services can be called
asynchroney
Queue
Message
Kafka
Rabit Ms
Kafka
honeybees
y.IE
Pusuf odd