{"id":505849,"date":"2026-12-03T00:13:03","date_gmt":"2026-12-02T21:13:03","guid":{"rendered":"https:\/\/savepearlharbor.com\/?p=505849"},"modified":"2026-12-03T00:13:03","modified_gmt":"2026-12-02T21:13:03","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=505849","title":{"rendered":"\u041c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0438\u043b\u0438 \u043c\u043e\u043d\u043e\u043b\u0438\u0442: \u043f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e\u0442 \u0432\u044b\u0431\u043e\u0440 \u043d\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u0436\u0438\u0442\u044c \u0432 \u043a\u043e\u0434\u0435"},"content":{"rendered":"<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<figure class=\"full-width \"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/extt\/0b\/71\/0f\/0b710fa48cd40c2b748e764dbbad067b.png\" alt=\"redb,Tsak\" title=\"redb,Tsak\" width=\"1200\" height=\"630\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/extt\/0b\/71\/0f\/0b710fa48cd40c2b748e764dbbad067b.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/extt\/0b\/71\/0f\/0b710fa48cd40c2b748e764dbbad067b.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>redb,Tsak<\/figcaption><\/div>\n<\/figure>\n<p>\u0421\u043f\u043e\u0440 \u00ab\u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0438\u043b\u0438 \u043c\u043e\u043d\u043e\u043b\u0438\u0442\u00bb \u0438\u0434\u0451\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u0435\u0441\u044f\u0442\u0438 \u043b\u0435\u0442, \u0438 \u043a\u0430\u0436\u0434\u0430\u044f \u0441\u0442\u043e\u0440\u043e\u043d\u0430 \u043f\u0440\u0438\u043d\u043e\u0441\u0438\u0442 \u0441\u0432\u043e\u0438 \u0438\u0441\u0442\u043e\u0440\u0438\u0438. \u041e\u0434\u043d\u0438 \u0440\u0430\u0441\u043f\u0438\u043b\u0438\u043b\u0438 \u043c\u043e\u043d\u043e\u043b\u0438\u0442 \u043d\u0430 \u0441\u043e\u0442\u043d\u044e \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0438 \u043f\u043e\u0442\u043e\u043c \u0441\u043e\u0431\u0438\u0440\u0430\u043b\u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e. \u0414\u0440\u0443\u0433\u0438\u0435 \u0433\u043e\u0434\u0430\u043c\u0438 \u0434\u0435\u0440\u0436\u0430\u0442 \u043e\u0434\u0438\u043d \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0438 \u043d\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u044e\u0442, \u0437\u0430\u0447\u0435\u043c \u0438\u043c Kubernetes. \u041c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u0430 \u044d\u0442\u043e\u0433\u043e \u0441\u043f\u043e\u0440\u0430 \u043f\u0440\u043e \u0434\u0440\u0443\u0433\u043e\u0435: \u043c\u044b \u0440\u0435\u0448\u0430\u0435\u043c \u0432\u043e\u043f\u0440\u043e\u0441 \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u043a\u043e\u0434\u0430, \u0430 \u043f\u043e\u0442\u043e\u043c \u043f\u043b\u0430\u0442\u0438\u043c \u0437\u0430 \u044d\u0442\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u0435\u043c.<\/p>\n<p>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0433\u043e\u0432\u043e\u0440\u044f\u0442 \u0442\u0435, \u043a\u0442\u043e \u0447\u0435\u0440\u0435\u0437 \u044d\u0442\u043e \u043f\u0440\u043e\u0448\u0451\u043b. \u0418\u0441\u0442\u043e\u0440\u0438\u0438 \u0435\u0441\u0442\u044c \u0443 \u043e\u0431\u0435\u0438\u0445 \u0441\u0442\u043e\u0440\u043e\u043d.<\/p>\n<h3>\u041a\u043e\u043c\u0443 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043f\u043e\u043c\u043e\u0433\u043b\u0438<\/h3>\n<p><strong>Amazon, \u043d\u0430\u0447\u0430\u043b\u043e 2000-\u0445.<\/strong>\u00a0\u0421\u0430\u043c\u0430\u044f \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u043b\u0435\u0433\u0435\u043d\u0434\u0430 \u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445 \u043f\u0435\u0440\u0435\u0441\u043a\u0430\u0437\u0430\u043d\u0430 \u0432 \u00ab\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u043c\u00bb \u043f\u043e\u0441\u0442\u0435 \u0421\u0442\u0438\u0432\u0430 \u0419\u0435\u0433\u0433\u0435 2011 \u0433\u043e\u0434\u0430 (<a href=\"https:\/\/courses.cs.washington.edu\/courses\/cse452\/22wi\/papers\/yegge-platform-rant.html\" rel=\"noopener nofollow\">\u0442\u0435\u043a\u0441\u0442<\/a>). \u041f\u043e \u0435\u0433\u043e \u0441\u043b\u043e\u0432\u0430\u043c, \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0432 2002 \u0433\u043e\u0434\u0443 \u0411\u0435\u0437\u043e\u0441 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b, \u0447\u0442\u043e\u0431\u044b \u043a\u0430\u0436\u0434\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043b\u0430 \u0441\u0432\u043e\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u0440\u0435\u0437 \u0441\u0435\u0440\u0432\u0438\u0441\u043d\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b, \u0431\u0435\u0437 \u043f\u0440\u044f\u043c\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0447\u0443\u0436\u043e\u0439 \u0431\u0430\u0437\u0435. \u0422\u0435\u043a\u0441\u0442 \u043f\u0440\u0438\u043a\u0430\u0437\u0430 \u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043f\u0435\u0440\u0435\u0441\u043a\u0430\u0437\u0435 \u0419\u0435\u0433\u0433\u0435, \u043d\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u0438\u0434\u0435\u043d: \u0438\u0437 \u044d\u0442\u043e\u0439 \u0434\u0438\u0441\u0446\u0438\u043f\u043b\u0438\u043d\u044b \u0432\u044b\u0440\u043e\u0441\u043b\u0438 \u0438 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 Amazon, \u0438 AWS.<\/p>\n<p><strong>Netflix, 2008\u20132016.<\/strong>\u00a0\u0412 \u0430\u0432\u0433\u0443\u0441\u0442\u0435 2008 \u0433\u043e\u0434\u0430 \u043f\u043e\u0432\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u0442\u0440\u0438 \u0434\u043d\u044f \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 DVD \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u0430\u043c. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e Netflix \u043d\u0430\u0447\u0430\u043b \u0443\u0445\u043e\u0434\u0438\u0442\u044c \u0438\u0437 \u0441\u0432\u043e\u0435\u0433\u043e \u0434\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u0430 \u0432 AWS \u0438 \u043e\u0442 \u043c\u043e\u043d\u043e\u043b\u0438\u0442\u0430 \u043a \u0441\u043e\u0442\u043d\u044f\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432. \u041f\u0435\u0440\u0435\u0435\u0437\u0434 \u0437\u0430\u043d\u044f\u043b \u0441\u0435\u043c\u044c \u043b\u0435\u0442 \u0438 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u0441\u044f \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 2016 \u0433\u043e\u0434\u0430:\u00a0<a href=\"https:\/\/about.netflix.com\/en\/news\/completing-the-netflix-cloud-migration\" rel=\"noopener nofollow\">Completing the Netflix Cloud Migration<\/a>. \u041c\u043d\u043e\u0433\u0438\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0441\u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043e\u043c \u0434\u043b\u044f \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u0432\u044b\u0448\u043b\u0438 \u0438\u0437 \u044d\u0442\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b.<\/p>\n<p><strong>Monzo, \u0431\u0430\u043d\u043a.<\/strong>\u00a0\u0411\u0440\u0438\u0442\u0430\u043d\u0441\u043a\u0438\u0439 \u0431\u0430\u043d\u043a \u0441 \u0441\u0430\u043c\u043e\u0433\u043e \u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u0442\u0440\u043e\u0438\u043b\u0441\u044f \u043d\u0430 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445 \u043d\u0430 Go \u0438 Kubernetes. \u041d\u0430 QCon London \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u044b \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0438 \u043e\u00a0<a href=\"https:\/\/www.infoq.com\/presentations\/monzo-microservices\" rel=\"noopener nofollow\">\u0431\u0430\u043d\u043a\u0438\u043d\u0433\u0435 \u043d\u0430 1500 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445<\/a>, \u0430 \u0432 2024 \u0433\u043e\u0434\u0443 InfoQ \u043f\u0438\u0441\u0430\u043b \u0443\u0436\u0435 \u043e\u00a0<a href=\"https:\/\/www.infoq.com\/news\/2024\/09\/monzo-microservices-migrations\" rel=\"noopener nofollow\">\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f\u0445 \u043a\u043e\u0434\u0430 \u0432 2800 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445<\/a>. \u042d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0443 \u043d\u0438\u0445 \u0435\u0441\u0442\u044c \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430: \u043e\u0431\u0449\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u0435\u0434\u0438\u043d\u044b\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u044b \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u043c\u0430\u0441\u0441\u043e\u0432\u044b\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439.<\/p>\n<p><strong>Uber, 2020.<\/strong>\u00a0Uber \u0434\u043e\u0448\u0451\u043b \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0434\u043e 2200 \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u044b\u0445 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0438 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441 \u0446\u0435\u043d\u043e\u0439 \u044d\u0442\u043e\u0433\u043e. \u041e\u0442 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u043d\u0435 \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c, \u0430 \u0441\u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0438\u0445 \u0432 \u0434\u043e\u043c\u0435\u043d\u044b, \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0434\u043e\u043c\u0435\u043d\u0430 \u043e\u0434\u0438\u043d \u0432\u0445\u043e\u0434 (\u0448\u043b\u044e\u0437), \u0430 \u0434\u043e\u043c\u0435\u043d\u044b \u0440\u0430\u0437\u043b\u043e\u0436\u0438\u043b\u0438 \u043f\u043e \u0441\u043b\u043e\u044f\u043c \u0441 \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c\u0438, \u043a\u0442\u043e \u043e\u0442 \u043a\u043e\u0433\u043e \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0432\u0438\u0441\u0435\u0442\u044c. \u041f\u043e\u0434\u0445\u043e\u0434 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f DOMA \u0438 \u043f\u0440\u044f\u043c\u043e \u043e\u043f\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043d\u0430 DDD:\u00a0<a href=\"https:\/\/www.uber.com\/blog\/microservice-architecture\/\" rel=\"noopener nofollow\">Introducing Domain-Oriented Microservice Architecture<\/a>. \u041a \u044d\u0442\u043e\u0439 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u044f \u0435\u0449\u0451 \u0432\u0435\u0440\u043d\u0443\u0441\u044c.<\/p>\n<p>\u041e\u0431\u0449\u0435\u0435 \u0443 \u044d\u0442\u0438\u0445 \u0438\u0441\u0442\u043e\u0440\u0438\u0439: \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043f\u043e\u043c\u043e\u0433\u043b\u0438 \u0442\u0430\u043c, \u0433\u0434\u0435 \u0431\u044b\u043b\u043e \u043c\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u0430\u043d\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441\u0432\u043e\u0451 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e, \u0438 \u0433\u0434\u0435 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f \u043c\u043e\u0433\u043b\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u044c \u0441\u0435\u0431\u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443 \u0434\u043b\u044f \u0438\u0445 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438.<\/p>\n<h3>\u041a\u0442\u043e \u043e\u0442 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0443\u0448\u0451\u043b<\/h3>\n<p><strong>Amazon Prime Video, 2023.<\/strong>\u00a0\u041a\u043e\u043c\u0430\u043d\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043b\u0435\u0434\u0438\u0442 \u0437\u0430 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u043e\u0432, \u0441\u043e\u0431\u0440\u0430\u043b\u0430 \u0441\u0435\u0440\u0432\u0438\u0441 \u0438\u0437 AWS Step Functions \u0438 Lambda: \u043a\u0430\u0436\u0434\u044b\u0439 \u0448\u0430\u0433 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e, \u043a\u0430\u0434\u0440\u044b \u043c\u0435\u0436\u0434\u0443 \u0448\u0430\u0433\u0430\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 S3. \u0421\u0435\u0440\u0432\u0438\u0441 \u0443\u043f\u0451\u0440\u0441\u044f \u0432 \u043f\u0440\u0435\u0434\u0435\u043b \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043d\u0430 5% \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u043e\u0439 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0438 \u0441\u0442\u043e\u0438\u043b \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0434\u043e\u0440\u043e\u0433\u043e. \u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u0441\u0432\u0435\u043b\u0430 \u0432\u0441\u0451 \u0432 \u043e\u0434\u0438\u043d \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435 ECS, \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0448\u043b\u0438 \u0447\u0435\u0440\u0435\u0437 \u043f\u0430\u043c\u044f\u0442\u044c, \u0430 \u043d\u0435 \u0447\u0435\u0440\u0435\u0437 \u0441\u0435\u0442\u044c, \u0438 \u0440\u0430\u0441\u0445\u043e\u0434\u044b \u043d\u0430 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0443\u043f\u0430\u043b\u0438 \u043d\u0430 90%. \u041f\u043e\u0441\u0442 \u0432 \u0431\u043b\u043e\u0433\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0440\u0430\u0437\u043e\u0448\u0451\u043b\u0441\u044f \u043a\u0430\u043a \u00abAmazon \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043e\u0442 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432\u00bb, \u0445\u043e\u0442\u044f \u0440\u0435\u0447\u044c \u043e\u0431 \u043e\u0434\u043d\u043e\u043c \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u043c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0435 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430, \u0430 \u043d\u0435 \u043e \u0432\u0441\u0435\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435. \u0425\u043e\u0440\u043e\u0448\u0438\u0439 \u0440\u0430\u0437\u0431\u043e\u0440 \u0441 \u044d\u0442\u043e\u0439 \u043e\u0433\u043e\u0432\u043e\u0440\u043a\u043e\u0439:\u00a0<a href=\"https:\/\/thestack.technology\/amazon-prime-video-microservices-monolith\" rel=\"noopener nofollow\">The Stack<\/a>.<\/p>\n<p><strong>Segment, 2018.<\/strong>\u00a0\u041a\u0430\u0436\u0434\u044b\u0439 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u0435\u043b\u044c \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0436\u0438\u043b \u0432 \u0441\u0432\u043e\u0451\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0435 \u0441\u043e \u0441\u0432\u043e\u0435\u0439 \u043e\u0447\u0435\u0440\u0435\u0434\u044c\u044e, \u0447\u0442\u043e\u0431\u044b \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u044b\u0439 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u0435\u043b\u044c \u043d\u0435 \u0442\u043e\u0440\u043c\u043e\u0437\u0438\u043b \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445. \u0421\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0441\u0442\u0430\u043b\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0441\u043e\u0442\u043d\u0438, \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u0432\u043e\u0439 \u043f\u0440\u043e\u0444\u0438\u043b\u044c \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438, \u043c\u0430\u0441\u0441\u043e\u0432\u043e\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u0431\u0449\u0435\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u043b\u043e\u0441\u044c \u0432 \u043e\u0431\u0445\u043e\u0434 \u0432\u0441\u0435\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432, \u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043f\u0430\u0434\u0430\u043b\u0430. \u0421\u0435\u0440\u0432\u0438\u0441\u044b \u0441\u043e\u0431\u0440\u0430\u043b\u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0432 \u043e\u0434\u0438\u043d. \u0421\u0442\u0430\u0442\u044c\u044f \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440\u044b \u041d\u0443\u043d\u0430\u043d \u0442\u0430\u043a \u0438 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f:\u00a0<a href=\"https:\/\/www.twilio.com\/en-us\/blog\/developers\/best-practices\/goodbye-microservices\" rel=\"noopener nofollow\">Goodbye Microservices: From 100s of problem children to 1 superstar<\/a>.<\/p>\n<p><strong>Shopify, 2019.<\/strong>\u00a0\u041e\u0433\u0440\u043e\u043c\u043d\u044b\u0439 \u043c\u043e\u043d\u043e\u043b\u0438\u0442 \u043d\u0430 Rails. \u041c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u043b\u0438 \u0438 \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0438\u0437-\u0437\u0430 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b. \u0412\u044b\u0431\u0440\u0430\u043b\u0438 \u043c\u043e\u0434\u0443\u043b\u044c\u043d\u044b\u0439 \u043c\u043e\u043d\u043e\u043b\u0438\u0442: \u0433\u0440\u0430\u043d\u0438\u0446\u044b \u043c\u0435\u0436\u0434\u0443 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u043c\u0438 \u0435\u0441\u0442\u044c, \u0430 \u0436\u0438\u0432\u0451\u0442 \u0438 \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432\u0441\u0451 \u0432 \u043e\u0434\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435. \u041a\u0438\u0440\u0441\u0442\u0435\u043d \u0412\u0435\u0441\u0442\u0435\u0439\u043d\u0434\u0435,\u00a0<a href=\"https:\/\/shopify.engineering\/deconstructing-monolith-designing-software-maximizes-developer-productivity\" rel=\"noopener nofollow\">Deconstructing the Monolith<\/a>.<\/p>\n<h3>\u0427\u0442\u043e \u0433\u043e\u0432\u043e\u0440\u044f\u0442 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435 \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u044b<\/h3>\n<p><strong>\u041c\u0430\u0440\u0442\u0438\u043d \u0424\u0430\u0443\u043b\u0435\u0440, 2015.<\/strong>\u00a0\u0412 \u0437\u0430\u043c\u0435\u0442\u043a\u0435\u00a0<a href=\"https:\/\/martinfowler.com\/bliki\/MonolithFirst.html\" rel=\"noopener nofollow\">MonolithFirst<\/a>\u00a0\u043e\u043d \u043f\u0438\u0448\u0435\u0442, \u0447\u0442\u043e \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u0443\u0434\u0430\u0447\u043d\u044b\u0435 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u0438\u0441\u044c \u0441 \u043c\u043e\u043d\u043e\u043b\u0438\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0440\u043e\u0441 \u0438 \u0431\u044b\u043b \u0440\u0430\u0437\u0434\u0435\u043b\u0451\u043d, \u0430 \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0441\u0440\u0430\u0437\u0443 \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u043f\u043e\u043f\u0430\u0434\u0430\u043b\u0438 \u0432 \u0431\u0435\u0434\u0443. \u0426\u0435\u043d\u0443 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043e\u043d \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u00a0<a href=\"https:\/\/martinfowler.com\/bliki\/MicroservicePremium.html\" rel=\"noopener nofollow\">Microservice Premium<\/a>: \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433, \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u043d\u043e\u0441\u0442\u044c \u0432 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0441\u0447\u0451\u0442\u0435, \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f. \u041d\u0430 \u0442\u043e\u043c \u0436\u0435 \u0441\u0430\u0439\u0442\u0435 \u0440\u044f\u0434\u043e\u043c \u043b\u0435\u0436\u0438\u0442 \u0432\u043e\u0437\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0435\u0433\u043e \u043a\u043e\u043b\u043b\u0435\u0433\u0438 \u0428\u0442\u0435\u0444\u0430\u043d\u0430 \u0422\u0438\u043b\u043a\u043e\u0432\u0430\u00a0<a href=\"https:\/\/martinfowler.com\/articles\/dont-start-monolith.html\" rel=\"noopener nofollow\">Don&#8217;t start with a monolith<\/a>: \u0433\u0440\u0430\u043d\u0438\u0446\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u043b\u0438 \u0432 \u043d\u0430\u0447\u0430\u043b\u0435, \u043f\u043e\u0442\u043e\u043c \u043f\u043e\u0447\u0442\u0438 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438.<\/p>\n<p><strong>\u041a\u0435\u043b\u0441\u0438 \u0425\u0430\u0439\u0442\u0430\u0443\u044d\u0440, 2020.<\/strong>\u00a0\u0427\u0435\u043b\u043e\u0432\u0435\u043a, \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0442\u0440\u0443\u0434\u043d\u043e \u0437\u0430\u043f\u043e\u0434\u043e\u0437\u0440\u0438\u0442\u044c \u0432 \u043d\u0435\u043b\u044e\u0431\u0432\u0438 \u043a Kubernetes, \u0432 \u043f\u043e\u0434\u043a\u0430\u0441\u0442\u0435\u00a0<a href=\"https:\/\/changelog.com\/gotime\/114\" rel=\"noopener nofollow\">Go Time #114<\/a>\u00a0\u043d\u0430\u0437\u0432\u0430\u043b \u0441\u0432\u043e\u0438\u043c \u00ab\u043d\u0435\u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u043c \u043c\u043d\u0435\u043d\u0438\u0435\u043c\u00bb \u0444\u0440\u0430\u0437\u0443 \u00ab\u043c\u043e\u043d\u043e\u043b\u0438\u0442\u044b \u044d\u0442\u043e \u0431\u0443\u0434\u0443\u0449\u0435\u0435\u00bb: \u0437\u0430\u0434\u0430\u0447\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043f\u044b\u0442\u0430\u044e\u0442\u0441\u044f \u0440\u0435\u0448\u0438\u0442\u044c \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438, \u0447\u0430\u0441\u0442\u043e \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442 \u0441 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0439.<\/p>\n<p>\u0418 \u0435\u0441\u0442\u044c \u043e\u0431\u0449\u0438\u0439 \u0434\u0438\u0430\u0433\u043d\u043e\u0437, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u043d\u0430\u0435\u0442 \u043a\u0430\u0436\u0434\u044b\u0439, \u043a\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0441 \u043f\u043b\u043e\u0445\u043e \u043d\u0430\u0440\u0435\u0437\u0430\u043d\u043d\u044b\u043c\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438:\u00a0<strong>\u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043c\u043e\u043d\u043e\u043b\u0438\u0442<\/strong>. \u0421\u0435\u0440\u0432\u0438\u0441\u044b \u0440\u0430\u0437\u0432\u0451\u0440\u043d\u0443\u0442\u044b \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e, \u043d\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043e\u0434\u0438\u043d \u0431\u0435\u0437 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u043d\u0435\u043b\u044c\u0437\u044f. \u0421\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u0435\u0442\u0438 \u0438 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438, \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438.<\/p>\n<h3>\u0413\u0434\u0435 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u0433\u0440\u0430\u043d\u0438\u0446\u0430<\/h3>\n<p>\u0421\u0430\u043c\u043e\u0435 \u0442\u043e\u0447\u043d\u043e\u0435, \u0447\u0442\u043e \u044f \u0447\u0438\u0442\u0430\u043b \u043d\u0430 \u044d\u0442\u0443 \u0442\u0435\u043c\u0443, \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u0432 Google. \u0412 \u0441\u0442\u0430\u0442\u044c\u0435\u00a0<a href=\"https:\/\/pages.cs.wisc.edu\/~rgrandl\/papers\/ms.pdf\" rel=\"noopener nofollow\">Towards Modern Development of Cloud Applications<\/a>\u00a0(HotOS 2023) \u0421\u0430\u043d\u0434\u0436\u0430\u0439 \u0413\u0435\u043c\u0430\u0432\u0430\u0442 \u0438 \u0441\u043e\u0430\u0432\u0442\u043e\u0440\u044b \u0433\u043e\u0432\u043e\u0440\u044f\u0442: \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0441\u043c\u0435\u0448\u0438\u0432\u0430\u044e\u0442 \u0434\u0432\u0435 \u0440\u0430\u0437\u043d\u044b\u0435 \u0433\u0440\u0430\u043d\u0438\u0446\u044b. \u041b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0443\u044e, \u0442\u043e \u0435\u0441\u0442\u044c \u043a\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d \u043a\u043e\u0434. \u0418 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0443\u044e, \u0442\u043e \u0435\u0441\u0442\u044c \u043a\u0430\u043a \u043e\u043d \u0440\u0430\u0437\u0432\u0451\u0440\u043d\u0443\u0442. \u041f\u043e\u043a\u0430 \u044d\u0442\u0438 \u0433\u0440\u0430\u043d\u0438\u0446\u044b \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442, \u043b\u044e\u0431\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u00ab\u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c\u00bb \u0438\u043b\u0438 \u00ab\u0441\u043e\u0431\u0440\u0430\u0442\u044c\u00bb \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u043a\u043e\u0439 \u043a\u043e\u0434\u0430.<\/p>\n<p>\u0418\u0445 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435: \u043f\u0438\u0441\u0430\u0442\u044c \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u043e\u043d\u043e\u043b\u0438\u0442 \u0438\u0437 \u043c\u043e\u0434\u0443\u043b\u0435\u0439, \u0430 \u043a\u0430\u043a \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u0438 \u043f\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u043c \u0438 \u043c\u0430\u0448\u0438\u043d\u0430\u043c, \u0440\u0435\u0448\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0438 \u0432 \u043b\u044e\u0431\u043e\u0439 \u043c\u043e\u043c\u0435\u043d\u0442. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e Google \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a Service Weaver \u043d\u0430 Go. \u0412 \u0434\u0435\u043a\u0430\u0431\u0440\u0435 2024 \u0433\u043e\u0434\u0430 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0435\u0440\u0435\u0432\u0435\u043b\u0438 \u0432 \u0440\u0435\u0436\u0438\u043c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438, \u0438 \u043f\u0440\u0438\u0447\u0438\u043d\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0430\u0437\u0432\u0430\u043b\u0430 \u0441\u0430\u043c\u0430: \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u0447\u0430\u0441\u0442\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.<\/p>\n<p>\u0412\u044b\u0432\u043e\u0434 \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u0442\u0430\u043a\u043e\u0439. \u0418\u0434\u0435\u044f \u0432\u0435\u0440\u043d\u0430\u044f: \u0444\u043e\u0440\u043c\u0430 \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0437\u0430\u0448\u0438\u0442\u0430 \u0432 \u043a\u043e\u0434. \u041d\u043e \u0435\u0441\u043b\u0438 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u0434 \u043d\u043e\u0432\u0443\u044e \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0435\u044e \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f.<\/p>\n<h3>\u041a\u0430\u043a \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u0443 \u043d\u0430\u0441<\/h3>\n<p>\u041c\u044b \u043f\u0440\u0438\u0448\u043b\u0438 \u043a \u0442\u043e\u0439 \u0436\u0435 \u0438\u0434\u0435\u0435 \u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u0438\u0437 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438. \u0412 redb.Route \u0435\u0434\u0438\u043d\u0438\u0446\u0430 \u043a\u043e\u0434\u0430 \u044d\u0442\u043e \u043c\u043e\u0434\u0443\u043b\u044c: \u043e\u0431\u044b\u0447\u043d\u0430\u044f \u0441\u0431\u043e\u0440\u043a\u0430 .NET \u0441 \u0442\u043e\u0447\u043a\u043e\u0439 \u0432\u0445\u043e\u0434\u0430\u00a0<code>InitRoute.main<\/code>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432 \u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442 \u0432 \u043d\u0451\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b. \u041c\u043e\u0434\u0443\u043b\u044c \u043d\u0435 \u0437\u043d\u0430\u0435\u0442, \u0433\u0434\u0435 \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. redb.Tsak, \u0441\u0440\u0435\u0434\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043c\u043e\u0434\u0443\u043b\u0435\u0439, \u0440\u0435\u0448\u0430\u0435\u0442 \u044d\u0442\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0435\u0439.<\/p>\n<p>\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043d\u044f\u0442\u0438\u0439, \u0431\u0435\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0434\u0430\u043b\u044c\u0448\u0435 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e:<\/p>\n<ul>\n<li>\n<p><strong>\u043c\u043e\u0434\u0443\u043b\u044c<\/strong>: \u0441\u0431\u043e\u0440\u043a\u0430 \u0441\u043e \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u043a\u043b\u0430\u0441\u0441\u043e\u043c\u00a0<code>InitRoute<\/code>\u00a0\u0438 \u043c\u0435\u0442\u043e\u0434\u043e\u043c\u00a0<code>main(IRouteContext)<\/code>;<\/p>\n<\/li>\n<li>\n<p><strong>\u043f\u0430\u043a\u0435\u0442<\/strong>\u00a0<code>.tpkg<\/code>: zip \u0441 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u043e\u043c \u0438 \u0441\u0431\u043e\u0440\u043a\u0430\u043c\u0438; \u0432 \u043e\u0434\u043d\u043e\u043c \u043f\u0430\u043a\u0435\u0442\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u0434\u0443\u043b\u0435\u0439, \u0443 \u043f\u0430\u043a\u0435\u0442\u0430 \u0441\u0432\u043e\u044f \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f\u00a0<code>AssemblyLoadContext<\/code>, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0432\u0430 \u043f\u0430\u043a\u0435\u0442\u0430 \u043c\u043e\u0433\u0443\u0442 \u043d\u0435\u0441\u0442\u0438 \u0440\u0430\u0437\u043d\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u043e\u0434\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438;<\/p>\n<\/li>\n<li>\n<p><strong>\u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442<\/strong>: \u0441\u0440\u0435\u0434\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0436\u0438\u0432\u0443\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b; \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043a\u0430\u0436\u0434\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0441\u0432\u043e\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442, \u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0432 \u043e\u0434\u0438\u043d \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0447\u0435\u0440\u0435\u0437\u00a0<code>Tsak:Contexts<\/code>;<\/p>\n<\/li>\n<li>\n<p><strong>\u0432\u043e\u0440\u043a\u0435\u0440<\/strong>: \u043f\u0440\u043e\u0446\u0435\u0441\u0441 Tsak, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u043f\u0430\u043a\u0435\u0442\u044b \u0438\u0437 \u043f\u0430\u043f\u043a\u0438\u00a0<code>modules\/<\/code>.<\/p>\n<\/li>\n<\/ul>\n<p>\u0421\u0430\u043c \u0432\u043e\u0440\u043a\u0435\u0440 \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043b\u044e\u0431\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c, \u0438 \u044d\u0442\u043e \u0442\u043e, \u0447\u0442\u043e \u0441\u043d\u0438\u043c\u0430\u0435\u0442 \u0441\u043f\u043e\u0440. \u041e\u0434\u0438\u043d \u0432\u043e\u0440\u043a\u0435\u0440 \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u043f\u0430\u043a\u0435\u0442\u0430\u043c\u0438 \u044d\u0442\u043e \u043c\u043e\u043d\u043e\u043b\u0438\u0442, \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u0434\u0443\u043b\u044c\u043d\u044b\u0439. \u0414\u0435\u0441\u044f\u0442\u044c \u0432\u043e\u0440\u043a\u0435\u0440\u043e\u0432 \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u043f\u0430\u043a\u0435\u0442\u0443 \u044d\u0442\u043e \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u044b. \u041a\u043b\u0430\u0441\u0442\u0435\u0440 \u0432\u043e\u0440\u043a\u0435\u0440\u043e\u0432 \u0441 \u043e\u0431\u0449\u0435\u0439 \u0431\u0430\u0437\u043e\u0439 \u044d\u0442\u043e \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0441 \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u044c\u044e. \u041f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u043d \u0432 \u0434\u0432\u0443\u0445 \u0432\u0438\u0434\u0430\u0445:<\/p>\n<ul>\n<li>\n<p><strong>\u043e\u0431\u0440\u0430\u0437\u044b \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432<\/strong>\u00a0\u0432\u00a0<a href=\"https:\/\/github.com\/orgs\/redbase-app\/packages?repo_name=redb-tsak\" rel=\"noopener nofollow\">GitHub Container Registry<\/a>:\u00a0<code>redb-tsak-worker<\/code>\u00a0(\u0432\u043e\u0440\u043a\u0435\u0440 \u0441 REST API \u0438 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u043e\u043c),\u00a0<code>redb-tsak-web<\/code>\u00a0(\u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0431-\u043f\u0430\u043d\u0435\u043b\u044c) \u0438\u00a0<code>redb-tsak-stack<\/code>\u00a0(\u0432\u043e\u0440\u043a\u0435\u0440 \u0438 \u043f\u0430\u043d\u0435\u043b\u044c \u0432 \u043e\u0434\u043d\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435);<\/p>\n<\/li>\n<li>\n<p><strong>\u0430\u0440\u0445\u0438\u0432\u044b \u0431\u0435\u0437 Docker<\/strong>\u00a0\u0434\u043b\u044f Linux x64 \u0438 Windows x64 \u043d\u0430\u00a0<a href=\"https:\/\/github.com\/redbase-app\/redb-tsak\/releases\" rel=\"noopener nofollow\">\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0440\u0435\u043b\u0438\u0437\u043e\u0432<\/a>: \u0432\u043d\u0443\u0442\u0440\u0438 \u0432\u043e\u0440\u043a\u0435\u0440, \u043f\u0430\u043d\u0435\u043b\u044c, CLI \u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430, .NET \u043d\u0430 \u043c\u0430\u0448\u0438\u043d\u0435 \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e.<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<\/p>\n<pre><code class=\"bash\">docker run -d --name tsak \\  -p 9090:9090 -p 8085:8085 \\  -e Tsak__Modules__AssemblyPaths__0=\/app\/worker\/modules \\  -v $PWD\/modules:\/app\/worker\/modules \\  ghcr.io\/redbase-app\/redb-tsak-stack:latest# \u043f\u0430\u043d\u0435\u043b\u044c: http:\/\/localhost:8085, REST: http:\/\/localhost:9090<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper\"><\/span><\/a><\/div><\/pre>\n<p>\u041e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 \u043c\u043e\u0434\u0443\u043b\u044c \u0431\u0435\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u043f\u0440\u0430\u0432\u043a\u0438 \u0432 \u043a\u043e\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0442\u0430\u043a:<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\u0424\u043e\u0440\u043c\u0430<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u041a\u0430\u043a \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u041a\u043e\u0433\u0434\u0430 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u044b\u0439 \u0445\u043e\u0441\u0442<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u00a0<code>InitRoute.main<\/code>\u00a0\u0441\u0430\u043c\u043e, \u0431\u0435\u0437 Tsak<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041e\u0442\u043b\u0430\u0434\u043a\u0430 \u043f\u043e\u0434 F5 \u0441 \u0442\u043e\u0447\u043a\u0430\u043c\u0438 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0430<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041e\u0434\u0438\u043d \u0432\u043e\u0440\u043a\u0435\u0440, \u043e\u0434\u0438\u043d \u043f\u0430\u043a\u0435\u0442<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441 \u0432 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0437\u043e\u043d\u0430, \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041e\u0434\u0438\u043d \u0432\u043e\u0440\u043a\u0435\u0440, \u043c\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u043e\u0432<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041c\u043e\u0434\u0443\u043b\u044c\u043d\u044b\u0439 \u043c\u043e\u043d\u043e\u043b\u0438\u0442: \u043f\u0430\u043a\u0435\u0442\u044b \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043f\u043e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c, \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0434\u0438\u043d<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430, \u043e\u0431\u0449\u0438\u0439 \u0446\u0438\u043a\u043b \u0432\u044b\u043f\u0443\u0441\u043a\u0430<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041e\u0434\u0438\u043d \u043f\u0430\u043a\u0435\u0442, \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u0434\u0443\u043b\u0435\u0439<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041a\u0430\u0436\u0434\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0432 \u0441\u0432\u043e\u0451\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u0438\u043b\u0438 \u0432\u043c\u0435\u0441\u0442\u0435 \u0432 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u043e\u043c<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0421\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041a\u043b\u0430\u0441\u0442\u0435\u0440 \u0432\u043e\u0440\u043a\u0435\u0440\u043e\u0432<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0412\u0435\u0434\u0443\u0449\u0438\u0439 \u0443\u0437\u0435\u043b \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043c\u043e\u0434\u0443\u043b\u0438 \u043f\u043e \u0436\u0438\u0432\u044b\u043c \u0443\u0437\u043b\u0430\u043c<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u044c, \u0440\u043e\u0441\u0442 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0411\u0435\u0437 \u0431\u0430\u0437\u044b, \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041d\u0438 PostgreSQL, \u043d\u0438 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430, \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430, \u0434\u0435\u043c\u043e, \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u041e\u0431\u0440\u0430\u0437 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0432\u043e \u0432\u0441\u0435\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435, \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043f\u0430\u043f\u043a\u0430\u00a0<code>modules\/<\/code>. \u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u043c\u0435\u0436\u0434\u0443 \u0444\u043e\u0440\u043c\u0430\u043c\u0438 \u044d\u0442\u043e \u043f\u0435\u0440\u0435\u043d\u043e\u0441 \u0444\u0430\u0439\u043b\u0430\u00a0<code>.tpkg<\/code>\u00a0\u0432 \u043f\u0430\u043f\u043a\u0443 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0432\u043e\u0440\u043a\u0435\u0440\u0430 \u0438 \u043f\u0440\u0430\u0432\u043a\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043e\u0432. \u041c\u0430\u0440\u0448\u0440\u0443\u0442\u044b \u043e\u0441\u0442\u0430\u044e\u0442\u0441\u044f \u0442\u0435\u043c\u0438 \u0436\u0435.<\/p>\n<p>\u041e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u044b\u0439 \u0445\u043e\u0441\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a (\u0441\u043e\u043a\u0440\u0430\u0449\u0451\u043d\u043d\u043e, \u0446\u0435\u043b\u0438\u043a\u043e\u043c \u0432\u00a0<a href=\"https:\/\/github.com\/redbase-app\/redb-route\/tree\/main\/demo\/EchoWorkerDemo\" rel=\"noopener nofollow\">EchoWorkerDemo<\/a>; \u0433\u043e\u0442\u043e\u0432\u0430\u044f \u0437\u0430\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u0442\u0430\u043a\u043e\u0433\u043e \u0445\u043e\u0441\u0442\u0430 \u0441 \u043c\u043e\u0434\u0443\u043b\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u043c\u00a0<code>dotnet new redb-worker<\/code>):<\/p>\n<pre><code>var services = new ServiceCollection();services.AddLogging(b =&gt; b.AddSimpleConsole());services.AddRedb(o =&gt; o.UseSqlite(\"Data Source=echo_demo.db\"));var sp = services.BuildServiceProvider();await sp.GetRequiredService&lt;IRedbService&gt;().InitializeAsync(ensureCreated: true);var ctx = new RouteContext(sp, contextId: \"echo-worker\");EchoModule.InitRoute.main(ctx);   \/\/ \u0442\u043e\u0442 \u0436\u0435 \u043c\u0435\u0442\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u0432\u043e\u0440\u043a\u0435\u0440 Tsakawait ctx.Start();<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0422\u043e\u0442 \u0436\u0435 \u043c\u043e\u0434\u0443\u043b\u044c \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0432\u00a0<code>EchoModule.tpkg<\/code>, \u043a\u043b\u0430\u0434\u0451\u0442\u0441\u044f \u0432 \u043f\u0430\u043f\u043a\u0443 \u0432\u043e\u0440\u043a\u0435\u0440\u0430 \u0438 \u043f\u043e\u0434\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0433\u043e\u0440\u044f\u0447\u0435\u0439 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439. \u041f\u043e\u0448\u0430\u0433\u043e\u0432\u043e \u044d\u0442\u043e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043d\u043e \u0432 \u0441\u0442\u0430\u0442\u044c\u0435\u00a0<a href=\"https:\/\/redb.ru\/articles\/worker-to-tsak\" rel=\"noopener nofollow\">\u0414\u0432\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430 \u0437\u0430 \u0432\u0435\u0447\u0435\u0440: \u043e\u0442 \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u043e\u0433\u043e \u0432\u043e\u0440\u043a\u0435\u0440\u0430 \u0434\u043e Tsak<\/a>.<\/p>\n<h3>\u041a\u0430\u043a \u043c\u043e\u0434\u0443\u043b\u0438 \u0440\u0430\u0437\u0433\u043e\u0432\u0430\u0440\u0438\u0432\u0430\u044e\u0442 \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439<\/h3>\n<p>\u0412\u043d\u0443\u0442\u0440\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043c\u043e\u0434\u0443\u043b\u0438 \u0438\u0437 \u0440\u0430\u0437\u043d\u044b\u0445 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043e\u0432 \u0432\u044b\u0437\u044b\u0432\u0430\u044e\u0442 \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0430 \u0447\u0435\u0440\u0435\u0437\u00a0<code>direct-vm:\/\/<\/code>\u00a0(\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e) \u0438\u043b\u0438\u00a0<code>vm:\/\/<\/code>\u00a0(\u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e, \u0447\u0435\u0440\u0435\u0437 \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0432 \u043f\u0430\u043c\u044f\u0442\u0438), \u0431\u0435\u0437 \u0441\u0435\u0442\u0438 \u0438 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438. \u041a\u043e\u0433\u0434\u0430 \u043c\u043e\u0434\u0443\u043b\u0438 \u0440\u0430\u0437\u044a\u0435\u0437\u0436\u0430\u044e\u0442\u0441\u044f \u043f\u043e \u0440\u0430\u0437\u043d\u044b\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u043c, \u0432 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0435 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0430\u0434\u0440\u0435\u0441: \u0432\u043c\u0435\u0441\u0442\u043e\u00a0<code>vm:\/\/orders<\/code>\u00a0\u0438\u0434\u0451\u0442\u00a0<code>rabbitmq:\/\/orders<\/code>,\u00a0<code>kafka:\/\/orders<\/code>,\u00a0<code>http:\/\/...<\/code>\u00a0\u0438\u043b\u0438 gRPC. \u0410\u0434\u0440\u0435\u0441 \u044d\u0442\u043e \u0441\u0442\u0440\u043e\u043a\u0430, \u0438 \u0435\u0451 \u043c\u043e\u0436\u043d\u043e \u0431\u0440\u0430\u0442\u044c \u0438\u0437 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430 \u0447\u0435\u0440\u0435\u0437 \u043f\u043e\u0434\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443\u00a0<code>{{\u043a\u043b\u044e\u0447}}<\/code>. \u0422\u043e\u0433\u0434\u0430 \u043f\u0435\u0440\u0435\u0435\u0437\u0434 \u043c\u043e\u0434\u0443\u043b\u044f \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0435 \u0442\u0440\u043e\u0433\u0430\u0435\u0442 \u0434\u0430\u0436\u0435 \u043a\u043e\u0434 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430:<\/p>\n<pre><code>From(\"{{orders.in}}\")            \/\/ vm:\/\/orders \u0432 \u043e\u0434\u043d\u043e\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435, rabbitmq:\/\/orders \u043f\u043e \u0441\u0435\u0442\u0438    .Process(HandleOrder)    .To(\"{{orders.out}}\");<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u041d\u043e \u0441\u043c\u0435\u043d\u0430 \u0430\u0434\u0440\u0435\u0441\u0430 \u043d\u0435 \u043e\u0442\u043c\u0435\u043d\u044f\u0435\u0442 \u0437\u0430\u043a\u043e\u043d\u043e\u0432 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c. \u0412\u043d\u0443\u0442\u0440\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u00a0<code>direct-vm<\/code>\u00a0\u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u043c\u0438 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438, \u0430 \u0431\u0440\u043e\u043a\u0435\u0440\u0443 \u043d\u0443\u0436\u043d\u043e \u0442\u0435\u043b\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0443\u0435\u0442\u0441\u044f. \u041f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441\u0435\u0442\u0435\u0432\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438, \u043f\u043e\u0432\u0442\u043e\u0440\u044b, \u0442\u0430\u0439\u043c\u0430\u0443\u0442\u044b, \u0432\u043e\u043f\u0440\u043e\u0441 \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439, \u0430 \u0437\u0430\u043f\u0440\u043e\u0441 \u0441 \u043e\u0442\u0432\u0435\u0442\u043e\u043c \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u0440\u0442\u0430. \u0412\u044b\u0437\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432 \u043e\u0434\u043d\u043e\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0431\u044b\u043b \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u044b\u043c, \u043f\u043e \u0441\u0435\u0442\u0438 \u0442\u0430\u043a\u0438\u043c \u043d\u0435 \u0431\u0443\u0434\u0435\u0442.<\/p>\n<p>\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u043e\u0434\u0443\u043b\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0440\u0430\u0437\u044a\u0435\u0445\u0430\u0442\u044c\u0441\u044f, \u043b\u0443\u0447\u0448\u0435 \u0441 \u0441\u0430\u043c\u043e\u0433\u043e \u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u0432\u044f\u0437\u044b\u0432\u0430\u0442\u044c \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e, \u0447\u0435\u0440\u0435\u0437\u00a0<code>vm:\/\/<\/code>, \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0443\u0435\u043c\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0438\u0437 \u043e\u0431\u0449\u0435\u0439 \u0441\u0431\u043e\u0440\u043a\u0438 \u043a\u043e\u043d\u0442\u0440\u0430\u043a\u0442\u043e\u0432. \u0422\u043e\u0433\u0434\u0430 \u043f\u0435\u0440\u0435\u0435\u0437\u0434 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043a \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438.<\/p>\n<h3>\u0413\u0434\u0435 \u0437\u0434\u0435\u0441\u044c DDD<\/h3>\n<p>\u0415\u0441\u043b\u0438 \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u0432\u044b\u043d\u0435\u0441\u0435\u043d\u043e \u0438\u0437 \u043a\u043e\u0434\u0430, \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u0432\u043e\u043f\u0440\u043e\u0441: \u043a\u0430\u043a \u0440\u0435\u0437\u0430\u0442\u044c \u0441\u0430\u043c \u043a\u043e\u0434. \u041e\u0442\u0432\u0435\u0442 \u0434\u0430\u0432\u043d\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043d \u0438\u0437 DDD (Domain-Driven Design, \u042d\u0440\u0438\u043a \u042d\u0432\u0430\u043d\u0441): \u043f\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u044b\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430\u043c (bounded context). \u0412\u043d\u0443\u0442\u0440\u0438 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430 \u0443 \u0441\u043b\u043e\u0432 \u043e\u0434\u0438\u043d \u0441\u043c\u044b\u0441\u043b \u0438 \u043e\u0434\u043d\u0430 \u043c\u043e\u0434\u0435\u043b\u044c: \u00ab\u0437\u0430\u043a\u0430\u0437\u00bb \u0432 \u043f\u0440\u043e\u0434\u0430\u0436\u0430\u0445 \u0438 \u00ab\u0437\u0430\u043a\u0430\u0437\u00bb \u043d\u0430 \u0441\u043a\u043b\u0430\u0434\u0435 \u044d\u0442\u043e \u0440\u0430\u0437\u043d\u044b\u0435 \u043c\u043e\u0434\u0435\u043b\u0438, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0438\u0445 \u043d\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e. \u0413\u0440\u0430\u043d\u0438\u0446\u0430 \u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u043f\u0440\u043e\u0432\u0435\u0434\u0451\u043d\u043d\u0430\u044f \u043f\u043e\u043f\u0435\u0440\u0451\u043a \u0442\u0430\u043a\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430, \u0438 \u0434\u0430\u0451\u0442 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043c\u043e\u043d\u043e\u043b\u0438\u0442.<\/p>\n<p>Uber \u0432 DOMA \u043f\u0440\u0438\u0448\u0451\u043b \u043a \u0442\u043e\u043c\u0443 \u0436\u0435: \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0435 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b, \u0430 \u0434\u043e\u043c\u0435\u043d\u044b, \u0438 \u0434\u0430\u0432\u0430\u0442\u044c \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0434\u043e\u043c\u0435\u043d\u0443 \u043e\u0434\u0438\u043d \u0432\u0445\u043e\u0434.<\/p>\n<p>\u0412 redb.Route \u044d\u0442\u0438 \u043f\u043e\u043d\u044f\u0442\u0438\u044f \u043b\u043e\u0436\u0430\u0442\u0441\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0443\u0436\u0435 \u0435\u0441\u0442\u044c, \u0431\u0435\u0437 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430:<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">DDD \u0438 DOMA<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u0412 redb.Route \u0438 Tsak<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041c\u043e\u0434\u0443\u043b\u044c: \u0441\u0432\u043e\u0438 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b, \u0441\u0432\u043e\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442, \u0441\u0432\u043e\u0438 \u0441\u0445\u0435\u043c\u044b redb<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0414\u043e\u043c\u0435\u043d \u0438\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 (Uber)<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u0432 \u043e\u0434\u043d\u043e\u043c \u043f\u0430\u043a\u0435\u0442\u0435 \u0438\u043b\u0438 \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0412\u0445\u043e\u0434 \u0432 \u0434\u043e\u043c\u0435\u043d, \u0448\u043b\u044e\u0437<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041c\u0430\u0440\u0448\u0440\u0443\u0442\u00a0<code>direct-vm:\/\/<\/code>\u00a0\u0438\u043b\u0438\u00a0<code>vm:\/\/<\/code>, \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0437\u0430\u043f\u0440\u043e\u0441\u044b; \u0432\u043d\u0443\u0442\u0440\u044c \u043c\u043e\u0434\u0443\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0435 \u043d\u0435 \u0445\u043e\u0434\u044f\u0442<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0421\u043b\u043e\u0439 \u0437\u0430\u0449\u0438\u0442\u044b \u043e\u0442 \u0447\u0443\u0436\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 (anti-corruption layer)<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041c\u043e\u0434\u0443\u043b\u044c \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438: \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0444\u043e\u0440\u043c\u0430\u0442\u044b SAP \u0438\u043b\u0438 1\u0421 \u0438 \u043e\u0442\u0434\u0430\u0451\u0442 \u0434\u0430\u043b\u044c\u0448\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0441\u0432\u043e\u0435\u0439 \u043c\u043e\u0434\u0435\u043b\u0438<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u041e\u0431\u0449\u0438\u0439 \u044f\u0437\u044b\u043a \u043c\u0435\u0436\u0434\u0443 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430\u043c\u0438 (published language)<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0421\u0431\u043e\u0440\u043a\u0430 \u043a\u043e\u043d\u0442\u0440\u0430\u043a\u0442\u043e\u0432: \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442 \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0443<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\">\u0421\u043b\u043e\u0438<\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 API, \u044f\u0434\u0440\u0430 \u0438 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0439, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u0440\u0435\u0437 \u0448\u0438\u043d\u0443<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0423 \u043d\u0430\u0441 \u0432 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0442\u0440\u0438 \u0444\u043e\u0440\u043c\u044b.<\/p>\n<p>\u041e\u0434\u0438\u043d \u043f\u0440\u043e\u0435\u043a\u0442 \u0441\u043e\u0431\u0440\u0430\u043d \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438: \u0448\u0435\u0441\u0442\u044c \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043d\u0430 \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u0432\u043e\u0440\u043a\u0435\u0440\u0430\u0445. \u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 API, \u044f\u0434\u0440\u043e \u0441 \u0431\u0438\u0437\u043d\u0435\u0441-\u043b\u043e\u0433\u0438\u043a\u043e\u0439, \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441 \u0432\u043d\u0435\u0448\u043d\u0438\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438 \u0438 \u0430\u0443\u0434\u0438\u0442; \u0432 \u0432\u043e\u0440\u043a\u0435\u0440\u0435 API \u043b\u0435\u0436\u0430\u0442 \u0442\u0440\u0438 \u043f\u0430\u043a\u0435\u0442\u0430, \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0432\u043e\u0440\u043a\u0435\u0440\u044b \u043d\u0435\u0441\u0443\u0442 \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443. \u041c\u043e\u0434\u0443\u043b\u0438 \u043d\u0435 \u0441\u0441\u044b\u043b\u0430\u044e\u0442\u0441\u044f \u0434\u0440\u0443\u0433 \u043d\u0430 \u0434\u0440\u0443\u0433\u0430 \u0438 \u043e\u0431\u0449\u0430\u044e\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u0440\u0435\u0437 RabbitMQ, \u043e\u0431\u0449\u0438\u0435 \u0442\u0438\u043f\u044b \u043b\u0435\u0436\u0430\u0442 \u0432 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 \u0431\u0435\u0437 \u0442\u043e\u0447\u043a\u0438 \u0432\u0445\u043e\u0434\u0430, \u0430 \u043f\u0440\u0430\u0432\u0438\u043b\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0430\u0432\u0442\u043e\u0442\u0435\u0441\u0442: \u0435\u0441\u043b\u0438 \u043a\u0442\u043e-\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442 \u0441\u0441\u044b\u043b\u043a\u0443 \u0438\u0437 \u043c\u043e\u0434\u0443\u043b\u044f \u043d\u0430 \u043c\u043e\u0434\u0443\u043b\u044c, \u0442\u0435\u0441\u0442 \u0443\u043f\u0430\u0434\u0451\u0442. <strong>\u041d\u0438\u0447\u0442\u043e \u043d\u0435 \u043c\u0435\u0448\u0430\u0435\u0442 <\/strong>\u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0432\u0441\u0435 \u0448\u0435\u0441\u0442\u044c \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0432 \u043e\u0434\u0438\u043d \u0432\u043e\u0440\u043a\u0435\u0440: \u043a\u043e\u0434 \u043d\u0435 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0441\u044f.<\/p>\n<p>\u0414\u0440\u0443\u0433\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u043c\u043e\u043d\u043e\u043b\u0438\u0442\u043e\u043c: \u043e\u0434\u0438\u043d \u043f\u0430\u043a\u0435\u0442, \u0432 \u043d\u0451\u043c \u0434\u0432\u0430 \u043c\u043e\u0434\u0443\u043b\u044f, \u044f\u0434\u0440\u043e \u0438 API, \u0438 \u043e\u0434\u0438\u043d \u0432\u043e\u0440\u043a\u0435\u0440. \u0420\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c \u0435\u0433\u043e \u0442\u043e\u0436\u0435 \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u043e: \u043c\u043e\u0434\u0443\u043b\u0438 \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u043e \u0434\u0432\u0443\u043c \u043f\u0430\u043a\u0435\u0442\u0430\u043c, \u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0430\u043a\u0435\u0442 \u0443\u0435\u0437\u0436\u0430\u0435\u0442 <strong>\u0432 \u0441\u0432\u043e\u0439 \u0432\u043e\u0440\u043a\u0435\u0440<\/strong>.<\/p>\n<p>\u0422\u0440\u0435\u0442\u0438\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u043e\u043c <strong>Tsak \u0438\u0437 \u0442\u0440\u0451\u0445 \u043d\u043e\u0434<\/strong>. \u0417\u0430 \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u043e\u043c \u0441\u0442\u043e\u0438\u0442 HTTP-\u0444\u0430\u0441\u0430\u0434, \u0430 \u0443\u0437\u043b\u044b \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430 \u043e\u0431\u043c\u0435\u043d\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u043c\u0438 \u0441 \u0444\u0430\u0441\u0430\u0434\u043e\u043c, \u0434\u0440\u0443\u0433 \u0441 \u0434\u0440\u0443\u0433\u043e\u043c \u0438 \u0441 \u0447\u0430\u0441\u0442\u044c\u044e \u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u0447\u0435\u0440\u0435\u0437 RabbitMQ \u0438 Kafka.<\/p>\n<p>\u041f\u0440\u0430\u0432\u0438\u043b\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u0441\u043b\u0435\u0434\u0443\u0435\u0442: \u043e\u0434\u0438\u043d \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u044d\u0442\u043e \u043e\u0434\u0438\u043d \u043c\u043e\u0434\u0443\u043b\u044c, \u0438 \u0435\u0433\u043e \u043d\u0435 \u0440\u0435\u0436\u0443\u0442 \u043c\u0435\u0436\u0434\u0443 \u043f\u0430\u043a\u0435\u0442\u0430\u043c\u0438. \u0410 \u0432\u043e\u0442 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043e\u0432 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0432 \u043e\u0434\u0438\u043d \u043f\u0430\u043a\u0435\u0442 \u0438 \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0432 \u043e\u0434\u0438\u043d \u0432\u043e\u0440\u043a\u0435\u0440, \u0440\u0435\u0448\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0438 \u0438 \u043c\u043e\u0436\u0435\u0442 \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f.<\/p>\n<p>\u0421 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435. redb \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0441\u0445\u0435\u043c\u044b \u0432\u0441\u0435\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0431\u0430\u0437\u0435, \u0438 \u0434\u043b\u044f \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u044d\u0442\u043e \u0443\u0434\u043e\u0431\u043d\u043e. \u041d\u043e \u0441\u0445\u0435\u043c\u0443 \u043c\u0435\u043d\u044f\u0435\u0442 \u0438 \u043f\u0438\u0448\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u0434\u0443\u043b\u044c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0435\u0439 \u0432\u043b\u0430\u0434\u0435\u0435\u0442, \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0447\u0435\u0440\u0435\u0437 \u0435\u0433\u043e \u0432\u0445\u043e\u0434. \u0415\u0441\u043b\u0438 \u043c\u043e\u0434\u0443\u043b\u044c \u0441 \u0441\u0430\u043c\u043e\u0433\u043e \u043d\u0430\u0447\u0430\u043b\u0430 \u0431\u0435\u0440\u0451\u0442 \u0431\u0430\u0437\u0443 \u043f\u043e \u0438\u043c\u0435\u043d\u0438 (<code>context.GetRedbService(\"orders\", exchange)<\/code>), \u0435\u0433\u043e \u043f\u043e\u0442\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u043d\u0430 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u0431\u0430\u0437\u0443 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u043e\u0439 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430 (<code>Redb:orders<\/code>), \u0430 \u0434\u043b\u044f \u0441\u043e\u0441\u0435\u0434\u0435\u0439 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f.<\/p>\n<h3>\u042d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u044f \u043e\u0434\u043d\u0430 \u0438 \u0442\u0430 \u0436\u0435 \u0432 \u043b\u044e\u0431\u043e\u0439 \u0444\u043e\u0440\u043c\u0435<\/h3>\n<p>\u0412\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u0430 \u0446\u0435\u043d\u044b \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043f\u0438\u0441\u0430\u043b \u0424\u0430\u0443\u043b\u0435\u0440, \u044d\u0442\u043e \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u044f: \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u043d\u0430\u0434\u043e \u0443\u043c\u0435\u0442\u044c \u0432\u044b\u043a\u0430\u0442\u0438\u0442\u044c, \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c, \u0443\u0432\u0438\u0434\u0435\u0442\u044c, \u043e\u0442\u043a\u0430\u0442\u0438\u0442\u044c. \u0412 Tsak \u044d\u0442\u043e \u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0442\u043e\u0433\u043e, \u043e\u0434\u0438\u043d \u0443 \u0432\u0430\u0441 \u0432\u043e\u0440\u043a\u0435\u0440 \u0438\u043b\u0438 \u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044c. \u041f\u043e\u0434\u0440\u043e\u0431\u043d\u043e, \u0441 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0435\u0439 \u0436\u0438\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u044d\u0442\u043e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043d\u043e \u0432 \u0441\u0442\u0430\u0442\u044c\u0435\u00a0<a href=\"https:\/\/redb.ru\/articles\/tsak-microservices\" rel=\"noopener nofollow\">\u041c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043d\u0430 .NET \u0431\u0435\u0437 \u0441\u0432\u043e\u0435\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b<\/a>. \u0417\u0434\u0435\u0441\u044c \u043a\u043e\u0440\u043e\u0442\u043a\u043e:<\/p>\n<ul>\n<li>\n<p><strong>\u0433\u043e\u0440\u044f\u0447\u0430\u044f \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430<\/strong>\u00a0(hot reload): \u043f\u043e\u043b\u043e\u0436\u0438\u043b\u0438 \u043d\u043e\u0432\u044b\u0439\u00a0<code>.tpkg<\/code>\u00a0\u0432 \u043f\u0430\u043f\u043a\u0443, \u0432\u043e\u0440\u043a\u0435\u0440 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u0435\u043a\u0443\u043d\u0434 \u043f\u043e\u0434\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u043e\u0432\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e, \u0434\u043e\u0436\u0438\u0434\u0430\u0435\u0442\u0441\u044f, \u043f\u043e\u043a\u0430 \u0441\u0442\u0430\u0440\u0430\u044f \u0434\u043e\u0434\u0435\u043b\u0430\u0435\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432 \u0440\u0430\u0431\u043e\u0442\u0435, \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0442\u043e\u043c \u0435\u0451 \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442; \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044e\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c; \u0443\u0434\u0430\u043b\u0438\u043b\u0438 \u0444\u0430\u0439\u043b, \u0438 \u043c\u043e\u0434\u0443\u043b\u044c \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u0432\u044b\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f;<\/p>\n<\/li>\n<li>\n<p><strong>\u043e\u0442\u043a\u0430\u0442<\/strong>:\u00a0<code>tsak module rollback<\/code>\u00a0\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e, \u0432\u043e\u0440\u043a\u0435\u0440 \u0445\u0440\u0430\u043d\u0438\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0448\u043b\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432;<\/p>\n<\/li>\n<li>\n<p><strong>\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435<\/strong>\u00a0(graceful shutdown): \u043f\u043e SIGTERM \u0443\u0437\u0435\u043b \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0443\u0445\u043e\u0434\u0438\u0442 \u0438\u0437 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430, \u043f\u043e\u0442\u043e\u043c \u043a\u0430\u0436\u0434\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0434\u043e\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0432 \u0440\u0430\u0431\u043e\u0442\u0435 \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u0441\u0432\u043e\u0435\u0433\u043e \u0442\u0430\u0439\u043c\u0430\u0443\u0442\u0430;<\/p>\n<\/li>\n<li>\n<p><strong>\u043f\u0440\u043e\u0431\u044b Kubernetes<\/strong>: \u0442\u0440\u0438 \u0440\u0430\u0437\u043d\u044b\u0445 \u0430\u0434\u0440\u0435\u0441\u0430 \u0434\u043b\u044f startup, liveness \u0438 readiness; liveness \u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u043c\u043e\u0434\u0443\u043b\u0438, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u044b\u043b\u043e \u0446\u0438\u043a\u043b\u043e\u0432 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u0440\u0438 \u0432\u044b\u043a\u0430\u0442\u043a\u0435, \u0430 readiness \u0432\u044b\u0432\u043e\u0434\u0438\u0442 \u043f\u043e\u0434 \u0438\u0437 \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u043a\u0438, \u0435\u0441\u043b\u0438 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438\u043b\u0438 \u043c\u0430\u0440\u0448\u0440\u0443\u0442 \u0443\u043f\u0430\u043b;<\/p>\n<\/li>\n<li>\n<p><strong>\u043c\u0435\u0442\u0440\u0438\u043a\u0438 \u0438 \u0442\u0440\u0430\u0441\u0441\u044b<\/strong>: \u044d\u043d\u0434\u043f\u043e\u0438\u043d\u0442\u00a0<code>\/metrics<\/code>\u00a0\u0434\u043b\u044f Prometheus \u043d\u0430 \u043f\u043e\u0440\u0442\u0443 API, \u0442\u0440\u0430\u0441\u0441\u044b OpenTelemetry \u043f\u043e OTLP \u0432 Jaeger, Tempo \u0438\u043b\u0438 \u043b\u044e\u0431\u043e\u0439 \u043a\u043e\u043b\u043b\u0435\u043a\u0442\u043e\u0440; \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u043b\u0435\u0436\u0430\u0442 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u044b Kubernetes, \u0434\u0430\u0448\u0431\u043e\u0440\u0434 Grafana \u0438\u00a0<code>docker compose<\/code>\u00a0\u0441 Prometheus, Grafana \u0438 Jaeger;<\/p>\n<\/li>\n<li>\n<p><strong>\u043b\u043e\u0433\u0438<\/strong>: \u0444\u0430\u0439\u043b\u044b \u0447\u0435\u0440\u0435\u0437 Serilog \u0438 \u043a\u043e\u043b\u044c\u0446\u0435\u0432\u043e\u0439 \u0431\u0443\u0444\u0435\u0440 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 REST \u0438 \u0432 \u043f\u0430\u043d\u0435\u043b\u0438;<\/p>\n<\/li>\n<li>\n<p><strong>\u0441\u0442\u043e\u0440\u043e\u0436<\/strong>\u00a0(watchdog): \u043d\u0430\u0445\u043e\u0434\u0438\u0442 \u043f\u043e\u0434\u0432\u0438\u0441\u0448\u0438\u0435 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b, \u0438\u0437 \u043f\u0430\u043d\u0435\u043b\u0438 \u0438\u0445 \u043c\u043e\u0436\u043d\u043e \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c;<\/p>\n<\/li>\n<li>\n<p><strong>\u043a\u043b\u0430\u0441\u0442\u0435\u0440<\/strong>: \u0443\u0437\u043b\u044b \u043d\u0430\u0445\u043e\u0434\u044f\u0442 \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0430 \u0447\u0435\u0440\u0435\u0437 \u043e\u0431\u0449\u0443\u044e \u0431\u0430\u0437\u0443 \u043d\u0430 PostgreSQL \u0438\u043b\u0438 SQL Server, \u0432\u044b\u0431\u0438\u0440\u0430\u044e\u0442 \u0432\u0435\u0434\u0443\u0449\u0435\u0433\u043e \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 \u00ab\u0441\u0442\u0430\u0440\u043e\u0433\u043e \u043b\u0438\u0434\u0435\u0440\u0430\u00bb, \u0432\u0435\u0434\u0443\u0449\u0438\u0439 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043c\u043e\u0434\u0443\u043b\u0438 \u043f\u043e \u0436\u0438\u0432\u044b\u043c \u0443\u0437\u043b\u0430\u043c (\u043f\u043e \u043a\u0440\u0443\u0433\u0443 \u0438\u043b\u0438 \u043d\u0430 \u043d\u0430\u0438\u043c\u0435\u043d\u0435\u0435 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0439) \u0438 \u043f\u0435\u0440\u0435\u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442, \u043a\u043e\u0433\u0434\u0430 \u0443\u0437\u0435\u043b \u043f\u0440\u043e\u043f\u0430\u043b; \u0443\u0437\u0435\u043b \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0438\u0437 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f (cordon) \u0438 \u0432\u0435\u0440\u043d\u0443\u0442\u044c;<\/p>\n<\/li>\n<li>\n<p><strong>\u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435<\/strong>: REST API, CLI\u00a0<code>tsak<\/code>\u00a0\u0438 \u0432\u0435\u0431-\u043f\u0430\u043d\u0435\u043b\u044c \u043d\u0430 Blazor: \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u044b, \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b, \u043c\u043e\u0434\u0443\u043b\u0438, \u043b\u043e\u0433\u0438, \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433, \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a, \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430, \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439;<\/p>\n<\/li>\n<li>\n<p><strong>\u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b<\/strong>: \u0432\u043e\u0440\u043a\u0435\u0440 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0442\u0430\u043a, \u0447\u0442\u043e \u043e\u043d \u043d\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442 \u043f\u0430\u043a\u0435\u0442 \u0431\u0435\u0437 \u043f\u043e\u0434\u043f\u0438\u0441\u0438 (ECDSA \u0438\u043b\u0438 RSA); \u043e\u0431\u0440\u0430\u0437\u044b \u0438 \u0430\u0440\u0445\u0438\u0432\u044b \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b cosign.<\/p>\n<\/li>\n<\/ul>\n<h3>\u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438, NuGet \u0438 \u0441\u0432\u043e\u0439 \u0432\u043e\u0440\u043a\u0435\u0440<\/h3>\n<p>\u0412\u0441\u0451 \u044d\u0442\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u043e \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 Apache 2.0. \u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 Tsak \u043b\u0435\u0436\u0430\u0442 \u0432 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438\u00a0<a href=\"https:\/\/github.com\/redbase-app\/redb-tsak\" rel=\"noopener nofollow\">redb-tsak<\/a>, \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432 \u0432\u00a0<a href=\"https:\/\/github.com\/redbase-app\/redb-route\" rel=\"noopener nofollow\">redb-route<\/a>. \u0413\u043e\u0442\u043e\u0432\u044b\u0435 \u043e\u0431\u0440\u0430\u0437\u044b \u0438 \u0430\u0440\u0445\u0438\u0432\u044b \u043d\u0443\u0436\u043d\u044b, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u0441\u0442\u0440\u043e \u043d\u0430\u0447\u0430\u0442\u044c, \u043d\u043e \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0438\u0437 \u043d\u0438\u0445 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e: \u0432\u0441\u0451 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043e \u0432 NuGet.<\/p>\n<ul>\n<li>\n<p><code>redb.Tsak.Core<\/code>: \u0441\u0440\u0435\u0434\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043c\u043e\u0434\u0443\u043b\u0435\u0439;<\/p>\n<\/li>\n<li>\n<p><a href=\"http:\/\/redb.Tsak.Core.Pro\" rel=\"noopener nofollow\"><code>redb.Tsak.Core.Pro<\/code><\/a>\u00a0\u0438\u00a0<a href=\"http:\/\/redb.Tsak.Web.Pro\" rel=\"noopener nofollow\"><code>redb.Tsak.Web.Pro<\/code><\/a>: \u043a\u043b\u0430\u0441\u0442\u0435\u0440 \u0438 \u0432\u0435\u0431-\u043f\u0430\u043d\u0435\u043b\u044c;<\/p>\n<\/li>\n<li>\n<p><code>redb.Tsak.Contracts<\/code>\u00a0\u0438\u00a0<code>redb.Tsak.Client<\/code>: \u043a\u043e\u043d\u0442\u0440\u0430\u043a\u0442\u044b \u0438 \u0442\u0438\u043f\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043a\u043b\u0438\u0435\u043d\u0442 REST API;<\/p>\n<\/li>\n<li>\n<p><code>redb.Tsak.CLI<\/code>: \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430\u00a0<code>tsak<\/code>\u00a0\u043a\u0430\u043a dotnet tool;<\/p>\n<\/li>\n<li>\n<p><code>redb.Tsak.Templates<\/code>: \u0448\u0430\u0431\u043b\u043e\u043d\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432.<\/p>\n<\/li>\n<\/ul>\n<p>\u0421\u0432\u043e\u0439 \u0432\u043e\u0440\u043a\u0435\u0440 \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u0438\u0437 \u0448\u0430\u0431\u043b\u043e\u043d\u0430:<\/p>\n<pre><code class=\"bash\">dotnet new install redb.Tsak.Templatesdotnet new tsak-worker -n MyTsakHost<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0415\u0433\u043e\u00a0<code>Program.cs<\/code>\u00a0\u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a (\u0441\u043e\u043a\u0440\u0430\u0449\u0451\u043d\u043d\u043e):<\/p>\n<pre><code>var builder = Host.CreateDefaultBuilder(args)    .UseSerilog(\/* ... *\/)    .ConfigureServices((ctx, services) =&gt;    {        services.AddTsak(ctx.Configuration);        services.AddTsakCluster(ctx.Configuration);   \/\/ \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u0435\u043d \u043a\u043b\u0430\u0441\u0442\u0435\u0440    });await builder.Build().RunAsync();<\/code><div class=\"code-explainer\"><a href=\"https:\/\/sourcecraft.dev\/\" class=\"tm-button code-explainer__link\" style=\"visibility: hidden;\"><span class=\"sc-logo-wrapper icon-only\"><\/span><\/a><\/div><\/pre>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u0432 DI \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0432\u043e\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0438 \u0441\u0432\u043e\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0437\u0434\u043e\u0440\u043e\u0432\u044c\u044f \u0447\u0435\u0440\u0435\u0437\u00a0<code>IModuleHealthContributor<\/code>. \u0410 \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u043c\u043e\u0434\u0443\u043b\u044f Tsak \u043d\u0435 \u043d\u0443\u0436\u0435\u043d \u0432\u043e\u043e\u0431\u0449\u0435, \u043a\u0430\u043a \u0432 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0432\u044b\u0448\u0435.<\/p>\n<h3>\u0413\u0434\u0435 \u0433\u0440\u0430\u043d\u0438\u0446\u044b<\/h3>\n<ul>\n<li>\n<p>\u041c\u043e\u0434\u0443\u043b\u0438 \u0432 \u043e\u0434\u043d\u043e\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043f\u043e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c, \u043d\u043e \u043d\u0435 \u043f\u043e \u0441\u0431\u043e\u044f\u043c. \u042d\u0442\u043e \u043d\u0435 \u043f\u0435\u0441\u043e\u0447\u043d\u0438\u0446\u0430: \u0443\u0442\u0435\u0447\u043a\u0430 \u043f\u0430\u043c\u044f\u0442\u0438 \u0438\u043b\u0438 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0439 \u0446\u0438\u043a\u043b \u0432 \u043e\u0434\u043d\u043e\u043c \u043f\u0430\u043a\u0435\u0442\u0435 \u0437\u0430\u0434\u0435\u0432\u0430\u0435\u0442 \u0441\u043e\u0441\u0435\u0434\u0435\u0439 \u043f\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0443. \u0415\u0441\u043b\u0438 \u043c\u043e\u0434\u0443\u043b\u044e \u043d\u0443\u0436\u043d\u0430 \u0438\u0437\u043e\u043b\u044f\u0446\u0438\u044f \u0441\u0431\u043e\u0435\u0432, \u0435\u043c\u0443 \u043d\u0443\u0436\u0435\u043d \u0441\u0432\u043e\u0439 \u0432\u043e\u0440\u043a\u0435\u0440.<\/p>\n<\/li>\n<li>\n<p>\u041a\u043b\u0430\u0441\u0442\u0435\u0440 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0431\u0430\u0437\u0443 redb. \u0412\u044b\u0431\u043e\u0440 \u043b\u0438\u0434\u0435\u0440\u0430, \u0431\u043b\u043e\u043a\u0438\u0440\u043e\u0432\u043a\u0438 \u0438 \u0440\u0435\u0435\u0441\u0442\u0440 \u0443\u0437\u043b\u043e\u0432 \u0441\u043f\u0440\u044f\u0442\u0430\u043d\u044b \u0437\u0430 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430\u043c\u0438, \u0438 \u0441\u0432\u043e\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430 Lease API Kubernetes) \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 DI, \u043d\u043e \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432 \u0432 \u043f\u043e\u0441\u0442\u0430\u0432\u043a\u0435 \u043d\u0435\u0442.<\/p>\n<\/li>\n<li>\n<p>\u041f\u0430\u043a\u0435\u0442\u044b \u043c\u0435\u0436\u0434\u0443 \u0443\u0437\u043b\u0430\u043c\u0438 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430 \u043d\u0435 \u043a\u043e\u043f\u0438\u0440\u0443\u044e\u0442\u0441\u044f: \u043a\u0430\u0436\u0434\u043e\u043c\u0443 \u0443\u0437\u043b\u0443 \u043f\u0430\u043a\u0435\u0442 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u044c \u0432 \u0435\u0433\u043e \u043f\u0430\u043f\u043a\u0443\u00a0<code>modules\/<\/code>.<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u044d\u0442\u0430\u043f\u043d\u043e\u0439 \u0432\u044b\u043a\u0430\u0442\u043a\u0438 \u043f\u043e \u0443\u0437\u043b\u0430\u043c \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 \u043d\u0435\u0442: \u0443\u0437\u043b\u044b \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u044e\u0442 \u043f\u0430\u043a\u0435\u0442 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e. \u0427\u0442\u043e\u0431\u044b \u0432\u044b\u043a\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043f\u043e \u043e\u0447\u0435\u0440\u0435\u0434\u0438, \u0443\u0437\u0435\u043b \u0432\u044b\u0432\u043e\u0434\u044f\u0442 \u0438\u0437 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f, \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u044e\u0442 \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442.<\/p>\n<\/li>\n<li>\n<p>\u041e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 Kubernetes, \u0441\u0432\u043e\u0438\u0445 CRD \u0438 Helm-\u0447\u0430\u0440\u0442\u0430 \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0435\u0442: \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u044b \u0438\u0437 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f. \u041e\u043d\u0438 \u0437\u0430\u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043c\u0430\u0436\u043e\u0440\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e.<\/p>\n<\/li>\n<\/ul>\n<h3>\u041a\u0430\u043a \u044f \u0441\u0430\u043c \u0440\u0435\u0448\u0430\u044e<\/h3>\n<p>\u0414\u043b\u044f \u0441\u0435\u0431\u044f \u044f \u0441\u0432\u0451\u043b \u0432\u043e\u043f\u0440\u043e\u0441 \u043a \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u043c \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0430\u043c. \u041c\u043e\u0434\u0443\u043b\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0441\u0432\u043e\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441, \u0435\u0441\u043b\u0438 \u0443 \u043d\u0435\u0433\u043e:<\/p>\n<ul>\n<li>\n<p>\u0441\u0432\u043e\u044f \u0437\u043e\u043d\u0430 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u043d\u0430\u0448\u0438\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u043a\u043e\u043d\u0442\u0443\u0440 \u0434\u043b\u044f \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0432\u044b\u043d\u0435\u0441\u0435\u043d \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0435 \u043e\u0431\u043b\u0430\u043a\u043e \u0441\u043e \u0441\u0432\u043e\u0438\u043c\u0438 \u0431\u0440\u043e\u043a\u0435\u0440\u0430\u043c\u0438 \u0438 \u0431\u0430\u0437\u043e\u0439, \u0430 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0438\u0437 \u043d\u0435\u0433\u043e \u0432\u043d\u0443\u0442\u0440\u044c \u0437\u0430\u043a\u0440\u044b\u0442\u044b;<\/p>\n<\/li>\n<li>\n<p>\u0441\u0432\u043e\u0439 \u043f\u0440\u043e\u0444\u0438\u043b\u044c \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u0435\u0448\u0430\u0435\u0442 \u0441\u043e\u0441\u0435\u0434\u044f\u043c;<\/p>\n<\/li>\n<li>\n<p>\u0441\u0432\u043e\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0438 \u0441\u0432\u043e\u0439 \u0446\u0438\u043a\u043b \u0432\u044b\u043f\u0443\u0441\u043a\u0430;<\/p>\n<\/li>\n<li>\n<p>\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u043a \u0438\u0437\u043e\u043b\u044f\u0446\u0438\u0438 \u0441\u0431\u043e\u0435\u0432.<\/p>\n<\/li>\n<\/ul>\n<p>\u0412\u0441\u0451 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0432 \u043e\u0434\u043d\u043e\u043c \u0432\u043e\u0440\u043a\u0435\u0440\u0435. \u041a\u043e\u0433\u0434\u0430 \u043f\u0440\u0438\u0437\u043d\u0430\u043a \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f, \u043c\u043e\u0434\u0443\u043b\u044c \u043f\u0435\u0440\u0435\u0435\u0434\u0435\u0442 \u0437\u0430 \u043f\u043e\u043b\u0447\u0430\u0441\u0430, \u0437\u0430 \u043a\u0440\u0443\u0436\u043a\u043e\u0439 \u0447\u0430\u044f: \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f, \u043a\u043e\u0434 \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u043f\u0440\u0435\u0436\u043d\u0438\u043c.<\/p>\n<h3>\u0410 \u043a\u0430\u043a \u0440\u0435\u0448\u0430\u0435\u0442\u0435 \u0432\u044b?<\/h3>\n<p>\u041c\u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u0443\u0441\u043b\u044b\u0448\u0430\u0442\u044c, \u043a\u0430\u043a \u044d\u0442\u043e \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u043e \u0443 \u0432\u0430\u0441:<\/p>\n<ul>\n<li>\n<p>\u041f\u043e \u043a\u0430\u043a\u043e\u043c\u0443 \u043f\u0440\u0438\u0437\u043d\u0430\u043a\u0443 \u0432\u044b \u0432\u044b\u0434\u0435\u043b\u044f\u0435\u0442\u0435 \u0441\u0435\u0440\u0432\u0438\u0441: \u043a\u043e\u043c\u0430\u043d\u0434\u0430, \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430, \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u044c, \u0434\u043e\u043c\u0435\u043d?<\/p>\n<\/li>\n<li>\n<p>\u0420\u0435\u0436\u0435\u0442\u0435 \u043b\u0438 \u0432\u044b \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043f\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u044b\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430\u043c DDD, \u0438\u043b\u0438 \u0433\u0440\u0430\u043d\u0438\u0446\u044b \u0441\u043b\u043e\u0436\u0438\u043b\u0438\u0441\u044c \u0441\u0430\u043c\u0438?<\/p>\n<\/li>\n<li>\n<p>\u041d\u0430\u0447\u0438\u043d\u0430\u043b\u0438 \u0441 \u043c\u043e\u043d\u043e\u043b\u0438\u0442\u0430 \u0438 \u0434\u0435\u043b\u0438\u043b\u0438, \u0438\u043b\u0438 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442 \u0441\u043e\u0431\u0438\u0440\u0430\u043b\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043e\u0431\u0440\u0430\u0442\u043d\u043e?<\/p>\n<\/li>\n<li>\n<p>\u041e\u0431\u0449\u0430\u044f \u0431\u0430\u0437\u0430 \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0443 \u0432\u0430\u0441 \u044d\u0442\u043e \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e \u0438\u043b\u0438 \u0437\u0430\u043f\u0440\u0435\u0442?<\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u043a \u0432\u044b \u043e\u0442\u043b\u0430\u0436\u0438\u0432\u0430\u0435\u0442\u0435 \u0446\u0435\u043f\u043e\u0447\u043a\u0443 \u0438\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u043d\u0430 \u0441\u0432\u043e\u0435\u0439 \u043c\u0430\u0448\u0438\u043d\u0435?<\/p>\n<\/li>\n<li>\n<p>\u0411\u044b\u043b \u043b\u0438 \u0443 \u0432\u0430\u0441 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043c\u043e\u043d\u043e\u043b\u0438\u0442, \u0438 \u043a\u0430\u043a \u0432\u044b \u0438\u0437 \u043d\u0435\u0433\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u043b\u0438\u0441\u044c?<\/p>\n<\/li>\n<li>\n<p>\u0418\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438:\u00a0<a href=\"https:\/\/github.com\/redbase-app\/redb-tsak\" rel=\"noopener nofollow\">redb.Tsak<\/a>,\u00a0<a href=\"https:\/\/github.com\/redbase-app\/redb-route\" rel=\"noopener nofollow\">redb.Route<\/a><\/p>\n<\/li>\n<li>\n<p>\u0420\u0435\u043b\u0438\u0437\u044b \u0438 \u0430\u0440\u0445\u0438\u0432\u044b:\u00a0<a href=\"https:\/\/github.com\/redbase-app\/redb-tsak\/releases\" rel=\"noopener nofollow\">redb-tsak\/releases<\/a><\/p>\n<\/li>\n<li>\n<p>\u041e\u0431\u0440\u0430\u0437\u044b:\u00a0<a href=\"https:\/\/github.com\/orgs\/redbase-app\/packages?repo_name=redb-tsak\" rel=\"noopener nofollow\">\u0432\u0441\u0435 \u043e\u0431\u0440\u0430\u0437\u044b Tsak \u0432 GHCR<\/a><\/p>\n<\/li>\n<li>\n<p>\u041f\u0430\u043a\u0435\u0442\u044b NuGet:\u00a0<a href=\"http:\/\/nuget.org\/profiles\/relikt\" rel=\"noopener nofollow\">nuget.org\/profiles\/relikt<\/a><\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u043e \u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0446\u0435\u043b\u0438\u043a\u043e\u043c:\u00a0<a href=\"http:\/\/redb.ru\" rel=\"noopener nofollow\">redb.ru<\/a><\/p>\n<\/li>\n<\/ul>\n<p><strong><em>\u0415\u0441\u043b\u0438 \u0431\u044b\u043b\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e, \u2b50 \u043d\u0430\u00a0<\/em><\/strong><a href=\"https:\/\/github.com\/redbase-app\" rel=\"noopener nofollow\"><strong><em>GitHub<\/em><\/strong><\/a><strong><em>\u00a0\u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0434\u0440\u0443\u0433\u0438\u043c \u044d\u0442\u043e \u043d\u0430\u0439\u0442\u0438.<\/em><\/strong><\/p>\n<p>\u0414\u0440\u0443\u0433\u0438\u0435 \u043c\u043e\u0438 \u0441\u0442\u0430\u0442\u044c\u0438:\u00a0<a href=\"http:\/\/redb.ru\/articles\" rel=\"noopener nofollow\">redb.ru\/articles<\/a>, \u0435\u0449\u0451 \u043d\u0430\u00a0<a href=\"https:\/\/habr.com\/ru\/users\/grelikt\/articles\/\" rel=\"noopener nofollow\">\u0425\u0430\u0431\u0440\u0435<\/a>.<\/p>\n<\/div>\n<p>\u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/1115272\/\">https:\/\/habr.com\/ru\/articles\/1115272\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>redb,Tsak\u0421\u043f\u043e\u0440 \u00ab\u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0438\u043b\u0438 \u043c\u043e\u043d\u043e\u043b\u0438\u0442\u00bb \u0438\u0434\u0451\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 \u0434\u0435\u0441\u044f\u0442\u0438 \u043b\u0435\u0442, \u0438 \u043a\u0430\u0436\u0434\u0430\u044f \u0441\u0442\u043e\u0440\u043e\u043d\u0430 \u043f\u0440\u0438\u043d\u043e\u0441\u0438\u0442 \u0441\u0432\u043e\u0438 \u0438\u0441\u0442\u043e\u0440\u0438\u0438. \u041e\u0434\u043d\u0438 \u0440\u0430\u0441\u043f\u0438\u043b\u0438\u043b\u0438 \u043c\u043e\u043d\u043e\u043b\u0438\u0442 \u043d\u0430 \u0441\u043e\u0442\u043d\u044e \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0438 \u043f\u043e\u0442\u043e\u043c \u0441\u043e\u0431\u0438\u0440\u0430\u043b\u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e. \u0414\u0440\u0443\u0433\u0438\u0435 \u0433\u043e\u0434\u0430\u043c\u0438 \u0434\u0435\u0440\u0436\u0430\u0442 \u043e\u0434\u0438\u043d \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0438 \u043d\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u044e\u0442, \u0437\u0430\u0447\u0435\u043c \u0438\u043c Kubernetes. \u041c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u0430 \u044d\u0442\u043e\u0433\u043e \u0441\u043f\u043e\u0440\u0430 \u043f\u0440\u043e \u0434\u0440\u0443\u0433\u043e\u0435: \u043c\u044b \u0440\u0435\u0448\u0430\u0435\u043c \u0432\u043e\u043f\u0440\u043e\u0441 \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u043a\u043e\u0434\u0430, \u0430 \u043f\u043e\u0442\u043e\u043c \u043f\u043b\u0430\u0442\u0438\u043c \u0437\u0430 \u044d\u0442\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u043d\u0438\u0435\u043c.\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0433\u043e\u0432\u043e\u0440\u044f\u0442 \u0442\u0435, \u043a\u0442\u043e \u0447\u0435\u0440\u0435\u0437 \u044d\u0442\u043e \u043f\u0440\u043e\u0448\u0451\u043b. \u0418\u0441\u0442\u043e\u0440\u0438\u0438 \u0435\u0441\u0442\u044c \u0443 \u043e\u0431\u0435\u0438\u0445 \u0441\u0442\u043e\u0440\u043e\u043d.\u041a\u043e\u043c\u0443 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043f\u043e\u043c\u043e\u0433\u043b\u0438Amazon, \u043d\u0430\u0447\u0430\u043b\u043e 2000-\u0445.\u00a0\u0421\u0430\u043c\u0430\u044f \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0430\u044f \u043b\u0435\u0433\u0435\u043d\u0434\u0430 \u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445 \u043f\u0435\u0440\u0435\u0441\u043a\u0430\u0437\u0430\u043d\u0430 \u0432 \u00ab\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u043c\u00bb \u043f\u043e\u0441\u0442\u0435 \u0421\u0442\u0438\u0432\u0430 \u0419\u0435\u0433\u0433\u0435 2011 \u0433\u043e\u0434\u0430 (\u0442\u0435\u043a\u0441\u0442). \u041f\u043e \u0435\u0433\u043e \u0441\u043b\u043e\u0432\u0430\u043c, \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0432 2002 \u0433\u043e\u0434\u0443 \u0411\u0435\u0437\u043e\u0441 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b, \u0447\u0442\u043e\u0431\u044b \u043a\u0430\u0436\u0434\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043b\u0430 \u0441\u0432\u043e\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u0440\u0435\u0437 \u0441\u0435\u0440\u0432\u0438\u0441\u043d\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b, \u0431\u0435\u0437 \u043f\u0440\u044f\u043c\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u0447\u0443\u0436\u043e\u0439 \u0431\u0430\u0437\u0435. \u0422\u0435\u043a\u0441\u0442 \u043f\u0440\u0438\u043a\u0430\u0437\u0430 \u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043d \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043f\u0435\u0440\u0435\u0441\u043a\u0430\u0437\u0435 \u0419\u0435\u0433\u0433\u0435, \u043d\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u0438\u0434\u0435\u043d: \u0438\u0437 \u044d\u0442\u043e\u0439 \u0434\u0438\u0441\u0446\u0438\u043f\u043b\u0438\u043d\u044b \u0432\u044b\u0440\u043e\u0441\u043b\u0438 \u0438 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 Amazon, \u0438 AWS.Netflix, 2008\u20132016.\u00a0\u0412 \u0430\u0432\u0433\u0443\u0441\u0442\u0435 2008 \u0433\u043e\u0434\u0430 \u043f\u043e\u0432\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u0442\u0440\u0438 \u0434\u043d\u044f \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0443 DVD \u043f\u043e\u0434\u043f\u0438\u0441\u0447\u0438\u043a\u0430\u043c. \u041f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e Netflix \u043d\u0430\u0447\u0430\u043b \u0443\u0445\u043e\u0434\u0438\u0442\u044c \u0438\u0437 \u0441\u0432\u043e\u0435\u0433\u043e \u0434\u0430\u0442\u0430-\u0446\u0435\u043d\u0442\u0440\u0430 \u0432 AWS \u0438 \u043e\u0442 \u043c\u043e\u043d\u043e\u043b\u0438\u0442\u0430 \u043a \u0441\u043e\u0442\u043d\u044f\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432. \u041f\u0435\u0440\u0435\u0435\u0437\u0434 \u0437\u0430\u043d\u044f\u043b \u0441\u0435\u043c\u044c \u043b\u0435\u0442 \u0438 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043b\u0441\u044f \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 2016 \u0433\u043e\u0434\u0430:\u00a0Completing the Netflix Cloud Migration. \u041c\u043d\u043e\u0433\u0438\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0441\u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043e\u043c \u0434\u043b\u044f \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u0432\u044b\u0448\u043b\u0438 \u0438\u0437 \u044d\u0442\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b.Monzo, \u0431\u0430\u043d\u043a.\u00a0\u0411\u0440\u0438\u0442\u0430\u043d\u0441\u043a\u0438\u0439 \u0431\u0430\u043d\u043a \u0441 \u0441\u0430\u043c\u043e\u0433\u043e \u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u0442\u0440\u043e\u0438\u043b\u0441\u044f \u043d\u0430 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445 \u043d\u0430 Go \u0438 Kubernetes. \u041d\u0430 QCon London \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u044b \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0438 \u043e\u00a0\u0431\u0430\u043d\u043a\u0438\u043d\u0433\u0435 \u043d\u0430 1500 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445, \u0430 \u0432 2024 \u0433\u043e\u0434\u0443 InfoQ \u043f\u0438\u0441\u0430\u043b \u0443\u0436\u0435 \u043e\u00a0\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f\u0445 \u043a\u043e\u0434\u0430 \u0432 2800 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u0445. \u042d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0443 \u043d\u0438\u0445 \u0435\u0441\u0442\u044c \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430: \u043e\u0431\u0449\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u0435\u0434\u0438\u043d\u044b\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u044b \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u043c\u0430\u0441\u0441\u043e\u0432\u044b\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439.Uber, 2020.\u00a0Uber \u0434\u043e\u0448\u0451\u043b \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0434\u043e 2200 \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u044b\u0445 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0438 \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441 \u0446\u0435\u043d\u043e\u0439 \u044d\u0442\u043e\u0433\u043e. \u041e\u0442 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u043d\u0435 \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c, \u0430 \u0441\u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0438\u0445 \u0432 \u0434\u043e\u043c\u0435\u043d\u044b, \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0434\u043e\u043c\u0435\u043d\u0430 \u043e\u0434\u0438\u043d \u0432\u0445\u043e\u0434 (\u0448\u043b\u044e\u0437), \u0430 \u0434\u043e\u043c\u0435\u043d\u044b \u0440\u0430\u0437\u043b\u043e\u0436\u0438\u043b\u0438 \u043f\u043e \u0441\u043b\u043e\u044f\u043c \u0441 \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c\u0438, \u043a\u0442\u043e \u043e\u0442 \u043a\u043e\u0433\u043e \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u0432\u0438\u0441\u0435\u0442\u044c. \u041f\u043e\u0434\u0445\u043e\u0434 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f DOMA \u0438 \u043f\u0440\u044f\u043c\u043e \u043e\u043f\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u043d\u0430 DDD:\u00a0Introducing Domain-Oriented Microservice Architecture. \u041a \u044d\u0442\u043e\u0439 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u044f \u0435\u0449\u0451 \u0432\u0435\u0440\u043d\u0443\u0441\u044c.\u041e\u0431\u0449\u0435\u0435 \u0443 \u044d\u0442\u0438\u0445 \u0438\u0441\u0442\u043e\u0440\u0438\u0439: \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043f\u043e\u043c\u043e\u0433\u043b\u0438 \u0442\u0430\u043c, \u0433\u0434\u0435 \u0431\u044b\u043b\u043e \u043c\u043d\u043e\u0433\u043e \u043a\u043e\u043c\u0430\u043d\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441\u0432\u043e\u0451 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e, \u0438 \u0433\u0434\u0435 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f \u043c\u043e\u0433\u043b\u0430 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u044c \u0441\u0435\u0431\u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443 \u0434\u043b\u044f \u0438\u0445 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438.\u041a\u0442\u043e \u043e\u0442 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0443\u0448\u0451\u043bAmazon Prime Video, 2023.\u00a0\u041a\u043e\u043c\u0430\u043d\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043b\u0435\u0434\u0438\u0442 \u0437\u0430 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0432\u0438\u0434\u0435\u043e\u043f\u043e\u0442\u043e\u043a\u043e\u0432, \u0441\u043e\u0431\u0440\u0430\u043b\u0430 \u0441\u0435\u0440\u0432\u0438\u0441 \u0438\u0437 AWS Step Functions \u0438 Lambda: \u043a\u0430\u0436\u0434\u044b\u0439 \u0448\u0430\u0433 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e, \u043a\u0430\u0434\u0440\u044b \u043c\u0435\u0436\u0434\u0443 \u0448\u0430\u0433\u0430\u043c\u0438 \u0447\u0435\u0440\u0435\u0437 S3. \u0421\u0435\u0440\u0432\u0438\u0441 \u0443\u043f\u0451\u0440\u0441\u044f \u0432 \u043f\u0440\u0435\u0434\u0435\u043b \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043d\u0430 5% \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u043e\u0439 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0438 \u0441\u0442\u043e\u0438\u043b \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0434\u043e\u0440\u043e\u0433\u043e. \u041a\u043e\u043c\u0430\u043d\u0434\u0430 \u0441\u0432\u0435\u043b\u0430 \u0432\u0441\u0451 \u0432 \u043e\u0434\u0438\u043d \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0432 \u043e\u0434\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435 ECS, \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u0448\u043b\u0438 \u0447\u0435\u0440\u0435\u0437 \u043f\u0430\u043c\u044f\u0442\u044c, \u0430 \u043d\u0435 \u0447\u0435\u0440\u0435\u0437 \u0441\u0435\u0442\u044c, \u0438 \u0440\u0430\u0441\u0445\u043e\u0434\u044b \u043d\u0430 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0443\u043f\u0430\u043b\u0438 \u043d\u0430 90%. \u041f\u043e\u0441\u0442 \u0432 \u0431\u043b\u043e\u0433\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0440\u0430\u0437\u043e\u0448\u0451\u043b\u0441\u044f \u043a\u0430\u043a \u00abAmazon \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043e\u0442 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432\u00bb, \u0445\u043e\u0442\u044f \u0440\u0435\u0447\u044c \u043e\u0431 \u043e\u0434\u043d\u043e\u043c \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u043c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0435 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430, \u0430 \u043d\u0435 \u043e \u0432\u0441\u0435\u0439 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435. \u0425\u043e\u0440\u043e\u0448\u0438\u0439 \u0440\u0430\u0437\u0431\u043e\u0440 \u0441 \u044d\u0442\u043e\u0439 \u043e\u0433\u043e\u0432\u043e\u0440\u043a\u043e\u0439:\u00a0The Stack.Segment, 2018.\u00a0\u041a\u0430\u0436\u0434\u044b\u0439 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u0435\u043b\u044c \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0436\u0438\u043b \u0432 \u0441\u0432\u043e\u0451\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0435 \u0441\u043e \u0441\u0432\u043e\u0435\u0439 \u043e\u0447\u0435\u0440\u0435\u0434\u044c\u044e, \u0447\u0442\u043e\u0431\u044b \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u044b\u0439 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u0435\u043b\u044c \u043d\u0435 \u0442\u043e\u0440\u043c\u043e\u0437\u0438\u043b \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445. \u0421\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0441\u0442\u0430\u043b\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u0441\u043e\u0442\u043d\u0438, \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u0432\u043e\u0439 \u043f\u0440\u043e\u0444\u0438\u043b\u044c \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438, \u043c\u0430\u0441\u0441\u043e\u0432\u043e\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u0431\u0449\u0435\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u043b\u043e\u0441\u044c \u0432 \u043e\u0431\u0445\u043e\u0434 \u0432\u0441\u0435\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432, \u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043f\u0430\u0434\u0430\u043b\u0430. \u0421\u0435\u0440\u0432\u0438\u0441\u044b \u0441\u043e\u0431\u0440\u0430\u043b\u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0432 \u043e\u0434\u0438\u043d. \u0421\u0442\u0430\u0442\u044c\u044f \u0410\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440\u044b \u041d\u0443\u043d\u0430\u043d \u0442\u0430\u043a \u0438 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f:\u00a0Goodbye Microservices: From 100s of problem children to 1 superstar.Shopify, 2019.\u00a0\u041e\u0433\u0440\u043e\u043c\u043d\u044b\u0439 \u043c\u043e\u043d\u043e\u043b\u0438\u0442 \u043d\u0430 Rails. \u041c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u043b\u0438 \u0438 \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0438\u0437-\u0437\u0430 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b. \u0412\u044b\u0431\u0440\u0430\u043b\u0438 \u043c\u043e\u0434\u0443\u043b\u044c\u043d\u044b\u0439 \u043c\u043e\u043d\u043e\u043b\u0438\u0442: \u0433\u0440\u0430\u043d\u0438\u0446\u044b \u043c\u0435\u0436\u0434\u0443 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u043c\u0438 \u0435\u0441\u0442\u044c, \u0430 \u0436\u0438\u0432\u0451\u0442 \u0438 \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432\u0441\u0451 \u0432 \u043e\u0434\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435. \u041a\u0438\u0440\u0441\u0442\u0435\u043d \u0412\u0435\u0441\u0442\u0435\u0439\u043d\u0434\u0435,\u00a0Deconstructing the Monolith.\u0427\u0442\u043e \u0433\u043e\u0432\u043e\u0440\u044f\u0442 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435 \u0438\u043d\u0436\u0435\u043d\u0435\u0440\u044b\u041c\u0430\u0440\u0442\u0438\u043d \u0424\u0430\u0443\u043b\u0435\u0440, 2015.\u00a0\u0412 \u0437\u0430\u043c\u0435\u0442\u043a\u0435\u00a0MonolithFirst\u00a0\u043e\u043d \u043f\u0438\u0448\u0435\u0442, \u0447\u0442\u043e \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u0443\u0434\u0430\u0447\u043d\u044b\u0435 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u0438\u0441\u044c \u0441 \u043c\u043e\u043d\u043e\u043b\u0438\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0440\u043e\u0441 \u0438 \u0431\u044b\u043b \u0440\u0430\u0437\u0434\u0435\u043b\u0451\u043d, \u0430 \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0441\u0440\u0430\u0437\u0443 \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u0438\u0437 \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u043f\u043e\u043f\u0430\u0434\u0430\u043b\u0438 \u0432 \u0431\u0435\u0434\u0443. \u0426\u0435\u043d\u0443 \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043e\u043d \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u00a0Microservice Premium: \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433, \u0441\u043e\u0433\u043b\u0430\u0441\u043e\u0432\u0430\u043d\u043d\u043e\u0441\u0442\u044c \u0432 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0441\u0447\u0451\u0442\u0435, \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f. \u041d\u0430 \u0442\u043e\u043c \u0436\u0435 \u0441\u0430\u0439\u0442\u0435 \u0440\u044f\u0434\u043e\u043c \u043b\u0435\u0436\u0438\u0442 \u0432\u043e\u0437\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0435\u0433\u043e \u043a\u043e\u043b\u043b\u0435\u0433\u0438 \u0428\u0442\u0435\u0444\u0430\u043d\u0430 \u0422\u0438\u043b\u043a\u043e\u0432\u0430\u00a0Don&#8217;t start with a monolith: \u0433\u0440\u0430\u043d\u0438\u0446\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u043b\u0438 \u0432 \u043d\u0430\u0447\u0430\u043b\u0435, \u043f\u043e\u0442\u043e\u043c \u043f\u043e\u0447\u0442\u0438 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438.\u041a\u0435\u043b\u0441\u0438 \u0425\u0430\u0439\u0442\u0430\u0443\u044d\u0440, 2020.\u00a0\u0427\u0435\u043b\u043e\u0432\u0435\u043a, \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0442\u0440\u0443\u0434\u043d\u043e \u0437\u0430\u043f\u043e\u0434\u043e\u0437\u0440\u0438\u0442\u044c \u0432 \u043d\u0435\u043b\u044e\u0431\u0432\u0438 \u043a Kubernetes, \u0432 \u043f\u043e\u0434\u043a\u0430\u0441\u0442\u0435\u00a0Go Time #114\u00a0\u043d\u0430\u0437\u0432\u0430\u043b \u0441\u0432\u043e\u0438\u043c \u00ab\u043d\u0435\u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u043c \u043c\u043d\u0435\u043d\u0438\u0435\u043c\u00bb \u0444\u0440\u0430\u0437\u0443 \u00ab\u043c\u043e\u043d\u043e\u043b\u0438\u0442\u044b \u044d\u0442\u043e \u0431\u0443\u0434\u0443\u0449\u0435\u0435\u00bb: \u0437\u0430\u0434\u0430\u0447\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043f\u044b\u0442\u0430\u044e\u0442\u0441\u044f \u0440\u0435\u0448\u0438\u0442\u044c \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438, \u0447\u0430\u0441\u0442\u043e \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0435\u0442 \u0441 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0439.\u0418 \u0435\u0441\u0442\u044c \u043e\u0431\u0449\u0438\u0439 \u0434\u0438\u0430\u0433\u043d\u043e\u0437, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u043d\u0430\u0435\u0442 \u043a\u0430\u0436\u0434\u044b\u0439, \u043a\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0441 \u043f\u043b\u043e\u0445\u043e \u043d\u0430\u0440\u0435\u0437\u0430\u043d\u043d\u044b\u043c\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438:\u00a0\u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0439 \u043c\u043e\u043d\u043e\u043b\u0438\u0442. \u0421\u0435\u0440\u0432\u0438\u0441\u044b \u0440\u0430\u0437\u0432\u0451\u0440\u043d\u0443\u0442\u044b \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e, \u043d\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043e\u0434\u0438\u043d \u0431\u0435\u0437 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u043d\u0435\u043b\u044c\u0437\u044f. \u0421\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u0435\u0442\u0438 \u0438 \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438, \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438.\u0413\u0434\u0435 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u0433\u0440\u0430\u043d\u0438\u0446\u0430\u0421\u0430\u043c\u043e\u0435 \u0442\u043e\u0447\u043d\u043e\u0435, \u0447\u0442\u043e \u044f \u0447\u0438\u0442\u0430\u043b \u043d\u0430 \u044d\u0442\u0443 \u0442\u0435\u043c\u0443, \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u0432 Google. \u0412 \u0441\u0442\u0430\u0442\u044c\u0435\u00a0Towards Modern Development of Cloud Applications\u00a0(HotOS 2023) \u0421\u0430\u043d\u0434\u0436\u0430\u0439 \u0413\u0435\u043c\u0430\u0432\u0430\u0442 \u0438 \u0441\u043e\u0430\u0432\u0442\u043e\u0440\u044b \u0433\u043e\u0432\u043e\u0440\u044f\u0442: \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0441\u043c\u0435\u0448\u0438\u0432\u0430\u044e\u0442 \u0434\u0432\u0435 \u0440\u0430\u0437\u043d\u044b\u0435 \u0433\u0440\u0430\u043d\u0438\u0446\u044b. \u041b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0443\u044e, \u0442\u043e \u0435\u0441\u0442\u044c \u043a\u0430\u043a \u0443\u0441\u0442\u0440\u043e\u0435\u043d \u043a\u043e\u0434. \u0418 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0443\u044e, \u0442\u043e \u0435\u0441\u0442\u044c \u043a\u0430\u043a \u043e\u043d \u0440\u0430\u0437\u0432\u0451\u0440\u043d\u0443\u0442. \u041f\u043e\u043a\u0430 \u044d\u0442\u0438 \u0433\u0440\u0430\u043d\u0438\u0446\u044b \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442, \u043b\u044e\u0431\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u00ab\u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c\u00bb \u0438\u043b\u0438 \u00ab\u0441\u043e\u0431\u0440\u0430\u0442\u044c\u00bb \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u043a\u043e\u0439 \u043a\u043e\u0434\u0430.\u0418\u0445 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435: \u043f\u0438\u0441\u0430\u0442\u044c \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043c\u043e\u043d\u043e\u043b\u0438\u0442 \u0438\u0437 \u043c\u043e\u0434\u0443\u043b\u0435\u0439, \u0430 \u043a\u0430\u043a \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u0438 \u043f\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u043c \u0438 \u043c\u0430\u0448\u0438\u043d\u0430\u043c, \u0440\u0435\u0448\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0438 \u0432 \u043b\u044e\u0431\u043e\u0439 \u043c\u043e\u043c\u0435\u043d\u0442. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e Google \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a Service Weaver \u043d\u0430 Go. \u0412 \u0434\u0435\u043a\u0430\u0431\u0440\u0435 2024 \u0433\u043e\u0434\u0430 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0435\u0440\u0435\u0432\u0435\u043b\u0438 \u0432 \u0440\u0435\u0436\u0438\u043c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438, \u0438 \u043f\u0440\u0438\u0447\u0438\u043d\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043d\u0430\u0437\u0432\u0430\u043b\u0430 \u0441\u0430\u043c\u0430: \u0434\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u0447\u0430\u0441\u0442\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.\u0412\u044b\u0432\u043e\u0434 \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u0442\u0430\u043a\u043e\u0439. \u0418\u0434\u0435\u044f \u0432\u0435\u0440\u043d\u0430\u044f: \u0444\u043e\u0440\u043c\u0430 \u0440\u0430\u0437\u0432\u0451\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u044f \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0437\u0430\u0448\u0438\u0442\u0430 \u0432 \u043a\u043e\u0434. \u041d\u043e \u0435\u0441\u043b\u0438 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u0434 \u043d\u043e\u0432\u0443\u044e \u043c\u043e\u0434\u0435\u043b\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0435\u044e \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f.\u041a\u0430\u043a \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u0443 \u043d\u0430\u0441\u041c\u044b \u043f\u0440\u0438\u0448\u043b\u0438 \u043a \u0442\u043e\u0439 \u0436\u0435 \u0438\u0434\u0435\u0435 \u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u0438\u0437 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438. \u0412 redb.Route \u0435\u0434\u0438\u043d\u0438\u0446\u0430 \u043a\u043e\u0434\u0430 \u044d\u0442\u043e \u043c\u043e\u0434\u0443\u043b\u044c: \u043e\u0431\u044b\u0447\u043d\u0430\u044f \u0441\u0431\u043e\u0440\u043a\u0430 .NET \u0441 \u0442\u043e\u0447\u043a\u043e\u0439 \u0432\u0445\u043e\u0434\u0430\u00a0InitRoute.main, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u043e\u0432 \u0438 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u0443\u0435\u0442 \u0432 \u043d\u0451\u043c \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b. \u041c\u043e\u0434\u0443\u043b\u044c \u043d\u0435 \u0437\u043d\u0430\u0435\u0442, \u0433\u0434\u0435 \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c. redb.Tsak, \u0441\u0440\u0435\u0434\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043c\u043e\u0434\u0443\u043b\u0435\u0439, \u0440\u0435\u0448\u0430\u0435\u0442 \u044d\u0442\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0435\u0439.\u041d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043d\u044f\u0442\u0438\u0439, \u0431\u0435\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0434\u0430\u043b\u044c\u0448\u0435 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e:\u043c\u043e\u0434\u0443\u043b\u044c: \u0441\u0431\u043e\u0440\u043a\u0430 \u0441\u043e \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u043a\u043b\u0430\u0441\u0441\u043e\u043c\u00a0InitRoute\u00a0\u0438 \u043c\u0435\u0442\u043e\u0434\u043e\u043c\u00a0main(IRouteContext);\u043f\u0430\u043a\u0435\u0442\u00a0.tpkg: zip \u0441 \u043c\u0430\u043d\u0438\u0444\u0435\u0441\u0442\u043e\u043c \u0438 \u0441\u0431\u043e\u0440\u043a\u0430\u043c\u0438; \u0432 \u043e\u0434\u043d\u043e\u043c \u043f\u0430\u043a\u0435\u0442\u0435 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u0434\u0443\u043b\u0435\u0439, \u0443 \u043f\u0430\u043a\u0435\u0442\u0430 \u0441\u0432\u043e\u044f \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f\u00a0AssemblyLoadContext, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0432\u0430 \u043f\u0430\u043a\u0435\u0442\u0430 \u043c\u043e\u0433\u0443\u0442 \u043d\u0435\u0441\u0442\u0438 \u0440\u0430\u0437\u043d\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u043e\u0434\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438;\u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442: \u0441\u0440\u0435\u0434\u0430, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0436\u0438\u0432\u0443\u0442 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u044b; \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043a\u0430\u0436\u0434\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0441\u0432\u043e\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442, \u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0432 \u043e\u0434\u0438\u043d \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0447\u0435\u0440\u0435\u0437\u00a0Tsak:Contexts;\u0432\u043e\u0440\u043a\u0435\u0440: \u043f\u0440\u043e\u0446\u0435\u0441\u0441 Tsak, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u043f\u0430\u043a\u0435\u0442\u044b \u0438\u0437 \u043f\u0430\u043f\u043a\u0438\u00a0modules\/.\u0421\u0430\u043c \u0432\u043e\u0440\u043a\u0435\u0440 \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043b\u044e\u0431\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c, \u0438 \u044d\u0442\u043e \u0442\u043e, \u0447\u0442\u043e \u0441\u043d\u0438\u043c\u0430\u0435\u0442 \u0441\u043f\u043e\u0440. \u041e\u0434\u0438\u043d \u0432\u043e\u0440\u043a\u0435\u0440 \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u043f\u0430\u043a\u0435\u0442\u0430\u043c\u0438 \u044d\u0442\u043e \u043c\u043e\u043d\u043e\u043b\u0438\u0442, \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u0434\u0443\u043b\u044c\u043d\u044b\u0439. \u0414\u0435\u0441\u044f\u0442\u044c \u0432\u043e\u0440\u043a\u0435\u0440\u043e\u0432 \u043f\u043e \u043e\u0434\u043d\u043e\u043c\u0443 \u043f\u0430\u043a\u0435\u0442\u0443 \u044d\u0442\u043e \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u044b. \u041a\u043b\u0430\u0441\u0442\u0435\u0440 \u0432\u043e\u0440\u043a\u0435\u0440\u043e\u0432 \u0441 \u043e\u0431\u0449\u0435\u0439 \u0431\u0430\u0437\u043e\u0439 \u044d\u0442\u043e \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u044b \u0441 \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u044c\u044e. \u041f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u043d \u0432 \u0434\u0432\u0443\u0445 \u0432\u0438\u0434\u0430\u0445:\u043e\u0431\u0440\u0430\u0437\u044b \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432\u00a0\u0432\u00a0GitHub Container Registry:\u00a0redb-tsak-worker\u00a0(\u0432\u043e\u0440\u043a\u0435\u0440 \u0441 REST API \u0438 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u043e\u043c),\u00a0redb-tsak-web\u00a0(\u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0432\u0435\u0431-\u043f\u0430\u043d\u0435\u043b\u044c) \u0438\u00a0redb-tsak-stack\u00a0(\u0432\u043e\u0440\u043a\u0435\u0440 \u0438 \u043f\u0430\u043d\u0435\u043b\u044c \u0432 \u043e\u0434\u043d\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435);\u0430\u0440\u0445\u0438\u0432\u044b \u0431\u0435\u0437 Docker\u00a0\u0434\u043b\u044f Linux x64 \u0438 Windows x64 \u043d\u0430\u00a0\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u0440\u0435\u043b\u0438\u0437\u043e\u0432: \u0432\u043d\u0443\u0442\u0440\u0438 \u0432\u043e\u0440\u043a\u0435\u0440, \u043f\u0430\u043d\u0435\u043b\u044c, CLI \u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430, .NET \u043d\u0430 \u043c\u0430\u0448\u0438\u043d\u0435 \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e.\u041f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:docker run -d &#8212;name tsak \\  -p 9090:9090 -p 8085:8085 \\  -e Tsak__Modules__AssemblyPaths__0=\/app\/worker\/modules \\  -v $PWD\/modules:\/app\/worker\/modules \\  ghcr.io\/redbase-app\/redb-tsak-stack:latest# \u043f\u0430\u043d\u0435\u043b\u044c: http:\/\/localhost:8085, REST: http:\/\/localhost:9090\u041e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 \u043c\u043e\u0434\u0443\u043b\u044c \u0431\u0435\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u043f\u0440\u0430\u0432\u043a\u0438 \u0432 \u043a\u043e\u0434\u0435 \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0442\u0430\u043a:\u0424\u043e\u0440\u043c\u0430\u041a\u0430\u043a \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442\u041a\u043e\u0433\u0434\u0430 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442\u041e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u041a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u00a0InitRoute.main\u00a0\u0441\u0430\u043c\u043e, \u0431\u0435\u0437 Tsak\u041e\u0442\u043b\u0430\u0434\u043a\u0430 \u043f\u043e\u0434 F5 \u0441 \u0442\u043e\u0447\u043a\u0430\u043c\u0438 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0430\u041e\u0434\u0438\u043d \u0432\u043e\u0440\u043a\u0435\u0440, \u043e\u0434\u0438\u043d \u043f\u0430\u043a\u0435\u0442\u041c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441 \u0432 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0437\u043e\u043d\u0430, \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430\u041e\u0434\u0438\u043d \u0432\u043e\u0440\u043a\u0435\u0440, \u043c\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0435\u0442\u043e\u0432\u041c\u043e\u0434\u0443\u043b\u044c\u043d\u044b\u0439 \u043c\u043e\u043d\u043e\u043b\u0438\u0442: \u043f\u0430\u043a\u0435\u0442\u044b \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043f\u043e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u044f\u043c, \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043e\u0434\u0438\u043d\u041d\u0435\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430, \u043e\u0431\u0449\u0438\u0439 \u0446\u0438\u043a\u043b \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u041e\u0434\u0438\u043d \u043f\u0430\u043a\u0435\u0442, \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u0434\u0443\u043b\u0435\u0439\u041a\u0430\u0436\u0434\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0432 \u0441\u0432\u043e\u0451\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 \u0438\u043b\u0438 \u0432\u043c\u0435\u0441\u0442\u0435 \u0432 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u043e\u043c\u0421\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430\u041a\u043b\u0430\u0441\u0442\u0435\u0440 \u0432\u043e\u0440\u043a\u0435\u0440\u043e\u0432\u0412\u0435\u0434\u0443\u0449\u0438\u0439 \u0443\u0437\u0435\u043b \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u043c\u043e\u0434\u0443\u043b\u0438 \u043f\u043e \u0436\u0438\u0432\u044b\u043c \u0443\u0437\u043b\u0430\u043c\u041e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u044c, \u0440\u043e\u0441\u0442 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438\u0411\u0435\u0437 \u0431\u0430\u0437\u044b, \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438\u041d\u0438 PostgreSQL, \u043d\u0438 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0430, \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430, \u0434\u0435\u043c\u043e, \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u041e\u0431\u0440\u0430\u0437 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430 \u0432\u043e \u0432\u0441\u0435\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435, \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0441\u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043f\u0430\u043f\u043a\u0430\u00a0modules\/. \u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u043c\u0435\u0436\u0434\u0443 \u0444\u043e\u0440\u043c\u0430\u043c\u0438 \u044d\u0442\u043e \u043f\u0435\u0440\u0435\u043d\u043e\u0441 \u0444\u0430\u0439\u043b\u0430\u00a0.tpkg\u00a0\u0432 \u043f\u0430\u043f\u043a\u0443 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0432\u043e\u0440\u043a\u0435\u0440\u0430 \u0438 \u043f\u0440\u0430\u0432\u043a\u0430 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043e\u0432. \u041c\u0430\u0440\u0448\u0440\u0443\u0442\u044b \u043e\u0441\u0442\u0430\u044e\u0442\u0441\u044f \u0442\u0435\u043c\u0438 \u0436\u0435.\u041e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u044b\u0439 \u0445\u043e\u0441\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a (\u0441\u043e\u043a\u0440\u0430\u0449\u0451\u043d\u043d\u043e, \u0446\u0435\u043b\u0438\u043a\u043e\u043c \u0432\u00a0EchoWorkerDemo; \u0433\u043e\u0442\u043e\u0432\u0430\u044f \u0437\u0430\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u0442\u0430\u043a\u043e\u0433\u043e \u0445\u043e\u0441\u0442\u0430 \u0441 \u043c\u043e\u0434\u0443\u043b\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u043c\u00a0dotnet new redb-worker):var services = new ServiceCollection();services.AddLogging(b =&gt; b.AddSimpleConsole());services.AddRedb(o =&gt; o.UseSqlite(&#171;Data Source=echo_demo.db&#187;));var sp = services.BuildServiceProvider();await sp.GetRequiredService&lt;IRedbService&gt;().InitializeAsync(ensureCreated: true);var ctx = new RouteContext(sp, contextId: &#171;echo-worker&#187;);EchoModule.InitRoute.main(ctx);   \/\/ \u0442\u043e\u0442 \u0436\u0435 \u043c\u0435\u0442\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u0432\u043e\u0440\u043a\u0435\u0440 Tsakawait ctx.Start();\u0422\u043e\u0442 \u0436\u0435 \u043c\u043e\u0434\u0443\u043b\u044c \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0432\u00a0EchoModule.tpkg, \u043a\u043b\u0430\u0434\u0451\u0442\u0441\u044f \u0432 \u043f\u0430\u043f\u043a\u0443 \u0432\u043e\u0440\u043a\u0435\u0440\u0430 \u0438 \u043f\u043e\u0434\u0445\u0432\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0433\u043e\u0440\u044f\u0447\u0435\u0439 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439. \u041f\u043e\u0448\u0430\u0433\u043e\u0432\u043e \u044d\u0442\u043e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u043d\u043e \u0432 \u0441\u0442\u0430\u0442\u044c\u0435\u00a0\u0414\u0432\u0430 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430 \u0437\u0430 \u0432\u0435\u0447\u0435\u0440: \u043e\u0442 \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u043e\u0433\u043e \u0432\u043e\u0440\u043a\u0435\u0440\u0430 \u0434\u043e Tsak.\u041a\u0430\u043a \u043c\u043e\u0434\u0443\u043b\u0438 \u0440\u0430\u0437\u0433\u043e\u0432\u0430\u0440\u0438\u0432\u0430\u044e\u0442 \u043c\u0435\u0436\u0434\u0443 \u0441\u043e\u0431\u043e\u0439\u0412\u043d\u0443\u0442\u0440\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043c\u043e\u0434\u0443\u043b\u0438 \u0438\u0437 \u0440\u0430\u0437\u043d\u044b\u0445 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043e\u0432 \u0432\u044b\u0437\u044b\u0432\u0430\u044e\u0442 \u0434\u0440\u0443\u0433 \u0434\u0440\u0443\u0433\u0430 \u0447\u0435\u0440\u0435\u0437\u00a0direct-vm:\/\/\u00a0(\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e) \u0438\u043b\u0438\u00a0vm:\/\/\u00a0(\u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e, \u0447\u0435\u0440\u0435\u0437 \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0432 \u043f\u0430\u043c\u044f\u0442\u0438), \u0431\u0435\u0437 \u0441\u0435\u0442\u0438 \u0438 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438. \u041a\u043e\u0433\u0434\u0430 \u043c\u043e\u0434\u0443\u043b\u0438 \u0440\u0430\u0437\u044a\u0435\u0437\u0436\u0430\u044e\u0442\u0441\u044f \u043f\u043e \u0440\u0430\u0437\u043d\u044b\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u043c, \u0432 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0435 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0430\u0434\u0440\u0435\u0441: \u0432\u043c\u0435\u0441\u0442\u043e\u00a0vm:\/\/orders\u00a0\u0438\u0434\u0451\u0442\u00a0rabbitmq:\/\/orders,\u00a0kafka:\/\/orders,\u00a0http:\/\/&#8230;\u00a0\u0438\u043b\u0438 gRPC. \u0410\u0434\u0440\u0435\u0441 \u044d\u0442\u043e \u0441\u0442\u0440\u043e\u043a\u0430, \u0438 \u0435\u0451 \u043c\u043e\u0436\u043d\u043e \u0431\u0440\u0430\u0442\u044c \u0438\u0437 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430 \u0447\u0435\u0440\u0435\u0437 \u043f\u043e\u0434\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443\u00a0{{\u043a\u043b\u044e\u0447}}. \u0422\u043e\u0433\u0434\u0430 \u043f\u0435\u0440\u0435\u0435\u0437\u0434 \u043c\u043e\u0434\u0443\u043b\u044f \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0435 \u0442\u0440\u043e\u0433\u0430\u0435\u0442 \u0434\u0430\u0436\u0435 \u043a\u043e\u0434 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0430:From(&#171;{{orders.in}}&#187;)            \/\/ vm:\/\/orders \u0432 \u043e\u0434\u043d\u043e\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435, rabbitmq:\/\/orders \u043f\u043e \u0441\u0435\u0442\u0438    .Process(HandleOrder)    .To(&#171;{{orders.out}}&#187;);\u041d\u043e \u0441\u043c\u0435\u043d\u0430 \u0430\u0434\u0440\u0435\u0441\u0430 \u043d\u0435 \u043e\u0442\u043c\u0435\u043d\u044f\u0435\u0442 \u0437\u0430\u043a\u043e\u043d\u043e\u0432 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c. \u0412\u043d\u0443\u0442\u0440\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u00a0direct-vm\u00a0\u043f\u0435\u0440\u0435\u0434\u0430\u0451\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u043c\u0438 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438, \u0430 \u0431\u0440\u043e\u043a\u0435\u0440\u0443 \u043d\u0443\u0436\u043d\u043e \u0442\u0435\u043b\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0441\u0435\u0440\u0438\u0430\u043b\u0438\u0437\u0443\u0435\u0442\u0441\u044f&#8230;.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-505849","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/505849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=505849"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/505849\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=505849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=505849"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=505849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}