The ONLY TWO good reasons for MICROSERVICES

  Рет қаралды 2,359

Marco Lenzo

Marco Lenzo

Күн бұрын

Пікірлер
@MarcoLenzo
@MarcoLenzo Жыл бұрын
Are you going to use microservices for your next architecture?
@LanceBryantGrigg
@LanceBryantGrigg Жыл бұрын
Yes and proudly.
@priyankkeshri1619
@priyankkeshri1619 Жыл бұрын
Very well said. The goal shouldn't be any specific type rather on should focus on one's actual requirement and the look where it fits.
@MarcoLenzo
@MarcoLenzo Жыл бұрын
100% agree!
@portellimatthias
@portellimatthias Жыл бұрын
100% agreed sir. A lot of developers see microservices as a solution to problems that are not inherent to monolith vs micro-services architectures. Such an approach often leads to the same monolith problems being repeated in a microservices (and more complex) environment. It is easy (if you know what your goals are) to achieve similar decoupling in a monolith and put in checks for that "rogue developer". And I'd rather deal with rogue developers in a monolith, than a more complex microservices architecture. Having said that, given the two reasons you mentioned (data separation/independent deployments) and some other more niche reasons (unreliable components etc), cover a lot of the larger enterprise solutions which end up benefiting from microservices; if done right, and towards proper goals.
@MarcoLenzo
@MarcoLenzo Жыл бұрын
Totally agree 👍!
@Tony-dp1rl
@Tony-dp1rl Жыл бұрын
This video is exactly right. If you don't need independent deployments and development teams, there is very little to gain from Microservices. I would add a third reason to your two though ... Chaos, i.e. unreliable modules that crash or run out of memory and need to be restarted often.
@MarcoLenzo
@MarcoLenzo Жыл бұрын
Good point. I didn't think about that!
@LanceBryantGrigg
@LanceBryantGrigg Жыл бұрын
Do microservices right and you will find they are faster and have none of these disadvantages. I dunno what this author is smoking but I can promise microservices are ruddy easy when you know what you are doing. Some caviats though: 1) You have to make sure you understand when and where to use the eventbus. 2) Your replication model must be really good. If its not easy to replicate data and control the eventual consistency you will struggle. 3) You must be sure to properly build out the core systems that support the micro services. If you do not have the proper support structures (pipelines and segregated databases and monitoring and framework choice).
@MarcoLenzo
@MarcoLenzo Жыл бұрын
Lance, I feel we are saying the same thing. If you do microservices right, you will be able to enjoy the "advertised" benefits. However, they come at a cost; they need some pre-requisites; and involve a lot of risk. The caveats you mention are non-trivial for most architects and development teams. Embarking on microservices to discover you do not know how to deal with events and eventual consistency, or you don't have a proper platform is a recipe for disaster.
OVERLOOKED Challenges of API-Based Microservices Integration
10:26
APIs vs Events in Microservices | Which one is better?
9:44
Marco Lenzo
Рет қаралды 4,9 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
The Thing No One Tells You About Microservices
13:40
Continuous Delivery
Рет қаралды 65 М.
Microservices gets it WRONG defining Service Boundaries
10:15
CodeOpinion
Рет қаралды 12 М.
Querying 100 Billion Rows using SQL, 7 TB in a single table
9:07
Arpit Agrawal (Elastiq.AI)
Рет қаралды 55 М.
Scaling 7M+ Postgres Tables! by  Kailash Nadh CTO @zerodha
19:51
Perfology
Рет қаралды 102 М.
Eventual Consistency: How It WORKS and Why It's IMPORTANT
7:25
Lesson 162 - Microservices Architecture
11:55
Software Architecture Monday
Рет қаралды 9 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН