We break the monolith into microservices

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% , .



.., โ€” , . : , . . .



.



  1. -

    , -. , 20 - , . , -.? ? , . , . , . Java, โ€” Python. , . , - , , .

    , , , .. , , 50-100 . . 3 , , .


  2. -, , , -. - , , . . / . , , . , . . , , , , . , .


  3. , . , , . . .
  4. .

    : , , . , , .

    : , - ? .. , 20 10 .


  5. , . User::toString, 1000 . , โ€” .


2017 . 7 .

. . . : , , . , . , . . 3 .



. , . - , .



.



  1. , , , . , . โ€” . โ€” 10 , -, . -, , . ?
  2. -. agile , , . ...
  3. โ€ฆ . -, . , , . .
  4. - โ€” , . , , . . โ€” .
  5. โ€” . -. - , . , . โ€” , . . CRUD - , , . , , - ( ) : , , , . โ€” .
  6. . , : , . , - . โ€” .
  7. . , . 10 , , 30 - , . , . โ€” . 20 , , , , , , โ€” , โ€” , .
  8. , ? . โ€” . . Jar-. . . .
  9. Spring, Hibernate OracleDB, . Spring . , Hello World jar- . . 24x7x365. Oracle, Postgres, MySQL โ€” , , . , , . (NoSQL, NewSQL), Big Data, High Availability, .. . โ€œโ€ , โ€” . โ€” , , .




, . , , -. , โ€” . .



, . , .




All Articles