{"id":55671,"date":"2021-03-19T09:26:49","date_gmt":"2021-03-19T09:26:49","guid":{"rendered":"https:\/\/www.globallogic.com\/ua\/?post_type=insightsection&p=55671"},"modified":"2025-01-31T05:10:04","modified_gmt":"2025-01-31T05:10:04","slug":"microservices-architecture-for-beginners-part-two","status":"publish","type":"insightsection","link":"https:\/\/www.globallogic.com\/ua\/insights\/blogs\/microservices-architecture-for-beginners-part-two\/","title":{"rendered":"\u041c\u0456\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0456\u0441\u043d\u0430 \u0430\u0440\u0445\u0456\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u0434\u043b\u044f \u043f\u043e\u0447\u0430\u0442\u043a\u0456\u0432\u0446\u0456\u0432. \u0427\u0430\u0441\u0442\u0438\u043d\u0430 \u0406\u0406"},"content":{"rendered":"
\n

We continue to understand the microservice architecture! In <\/span><\/span>the previous article,<\/span><\/span><\/a> we considered the terms without which it is impossible to take the first steps in this field.<\/span><\/span><\/p>\n

In general, <\/span><\/span>the architecture<\/span><\/span><\/a> of microservices is quite simple. It is just a pattern that guides us through the process of applying other architectural patterns according to best practices and principles. However, the implementation itself requires knowledge of some topics that should be kept in mind before starting development. We will not delve into the details because these topics require a deep dive and cannot be covered in one article. Instead, you can learn more about them on your own if you know what and where to look.<\/span><\/span><\/p>\n

Interservice communication<\/span><\/span><\/strong><\/h5>\n
Strategy<\/span><\/span><\/strong><\/h5>\n

Communication and networking aspects are the first thing we should think about when we get into the field of distributed systems development. In particular, we will talk about interdepartmental communication, which differs from interprocessor communication.<\/span><\/span><\/p>\n

\n

\"\"<\/p>\n<\/div>\n

Basic communication strategies<\/span><\/span><\/em><\/p>\n

There are various high-level and low-level network protocols that can be used together or separately. However, first of all, a general communication strategy should be defined. The main communication strategies are divided into four types, shown in the diagram above.<\/span><\/span><\/p>\n

It:<\/span><\/span><\/p>\n