Scaling Monolithic Applications

preview_player
Показать описание
How do you scale a monolith? Scale up? Scale out? Scaling Monolithic Applications with well defined boundaries that are loosely coupled, you have a lot of options. You can scale out each boundary independently, including the database. Boundaries within a system are so important, regardless of Monolith or (Micro)Services.

💥 Join this channel to get access to source code & demos!

🔥 Don't have the JOIN button? Support me on Patreon!

0:00 Intro
0:20 Loosely Coupled Monolith
2:26 Web Application Scale Out
5:13 Database Scaling
6:17 Message Processing Scale Out
7:38 Independent Deployment

#softwarearchitecture #scaling #monolitharchitecture
Рекомендации по теме
Комментарии
Автор

How are you scaling our monolith? What part of your application is the bottleneck?

CodeOpinion
Автор

It's really refreshing to see developers out there cutting through the buzzwords of monolith = bad, microservices = good.
There is so much misinformation out there, and it's scary the amount of people who still believe that monoliths cannot be scaled out.
The focus should have always been on loosely coupled components. Whether things live in 1 process or multiple processes is a useful side-effect of the loose coupling. But the focus should always be on the autonomous, loosely coupled components.

stoveo
Автор

It was useful in understanding the concept.
I am into the DDD world, this presentation added to a much clearer understanding. Thanks Dereck!!

vimalneha
Автор

Thanks for the video.
I have a question regarding scaling out a service which subscribes to a message broker and a specific "Queue".
Let's say there is a service "A" and After scaling out the service "A", I would have 3 instances. (A1, A2, A3)
All 3 instances are subscribing to a specific queue (Queue-A) . What would happen if we publish
a message to that specific queue (Queue-A) which has 3 subscribers (A1-A2-A3)? Do they all receive and process the same message?

peymannaji
Автор

I like that you show how your visuals look in code. Project separation in this case.

aivarasatkocaitis
Автор

There are few resources that talk about scaling the monoliths. Thanks for the excellent video. We are currently planning to run multiple instances of our main service and this will help a lot.

aliroshan
Автор

excited when your next video will be published!

santilmo
Автор

Another banger of a video! Do you have any videos on how to carve out these contexts from an existing monolithic app?

qizhang
Автор

Derek just out of curiosity, my question might be dump.
But I got bit confused how you are calling the bounded context from loader balancer.
As you mentioned 1st server is is using C1, second server c1 and 3rd c2, c3, c4 .
How we can achieve it.
Can you the please create one video with live demo of it and can you also share the code repository link.
Thanks

sailleshpawar
Автор

Awesome topic to cover. It really highlights the power of getting your boundaries correct (or as close to "correct" as possible lol) The 4+1 model def comes to mind here

jameshickey
Автор

I wonder how to deal requests in terminating instances.

JeffChentingwei
welcome to shbcf.ru