Nowadays, the task of breaking a monolith into microservices has become very popular in the business environment. As if all the corporations in Russia suddenly realized all the prospects of the โnewโ architecture, they received a kick from their bosses and rushed to take it under the hood.
The zeal of corporate officials is, as always, insane and merciless. And here again, a lot of money allocated for pilots is wasted on something that, at best, will never take off, and at worst will be implemented, despite all the mistakes. And, ladies and gentlemen, the most depressing thing is that this phenomenon is by no means an isolated one. It is typical for the entire IT industry in Russia.
In this article, I propose to discuss what errors arise when a monolith is broken down into a microservice architecture (MSA), why they arise, and what they lead to. Well, at the end, I will describe how an effective and correct process of transferring to ISA should be organized and what the architecture of a microservice system should be.
, , . ? , . , . , -? - , . , ? , , ? , : , .. ? ? - ?
, , . . , , . , , . , 20- 21- . . . . . 60% , .
.., โ , . : , . . .
.
- -
, -. , 20 - , . , -.? ? , . , . , . Java, โ Python. , . , - , , .
, , , .. , , 50-100 . . 3 , , . -
-, , , -. - , , . . / . , , . , . . , , , , . , . -
, . , , . . . - .
: , , . , , .
: , - ? .. , 20 10 . -
, . User::toString, 1000 . , โ .
2017 . 7 .
. . . : , , . , . , . . 3 .
. , . - , .
.
- , , , . , . โ . โ 10 , -, . -, , . ?
- -. agile , , . ...
- โฆ . -, . , , . .
- - โ , . , , . . โ .
- โ . -. - , . , . โ , . . CRUD - , , . , , - ( ) : , , , . โ .
- . , : , . , - . โ .
- . , . 10 , , 30 - , . , . โ . 20 , , , , , , โ , โ , .
- , ? . โ . . Jar-. . . .
- Spring, Hibernate OracleDB, . Spring . , Hello World jar- . . 24x7x365. Oracle, Postgres, MySQL โ , , . , , . (NoSQL, NewSQL), Big Data, High Availability, .. . โโ , โ . โ , , .
, . , , -. , โ . .
, . , .