{"id":38606,"date":"2019-10-31T22:24:47","date_gmt":"2019-10-31T19:24:47","guid":{"rendered":"https:\/\/prohoster.info\/blog\/sozdanie-stateful-navyka-dlya-alisy-na-serverless-funktsiyah-yandeks-oblaka-i-pitone\/"},"modified":"2019-10-31T22:24:47","modified_gmt":"2019-10-31T19:24:47","slug":"sozdanie-stateful-navyka-dlya-alisy-na-serverless-funktsiyah-yandeks-oblaka-i-pitone","status":"publish","type":"post","link":"https:\/\/prohoster.info\/et\/blog\/administrirovanie\/sozdanie-stateful-navyka-dlya-alisy-na-serverless-funktsiyah-yandeks-oblaka-i-pitone","title":{"rendered":"Stateful oskuse loomine Alisale Yandexi pilve serverless funktsioonide ja Pythoni abil","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>\u041d\u0430\u0447\u043d\u0451\u043c \u0441 \u043d\u043e\u0432\u043e\u0441\u0442\u0435\u0439. \u0412\u0447\u0435\u0440\u0430 \u042f\u043d\u0434\u0435\u043a\u0441.\u041e\u0431\u043b\u0430\u043a\u043e \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043b\u043e \u0437\u0430\u043f\u0443\u0441\u043a \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0431\u0435\u0441\u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 <noindex><a rel=\"nofollow\" href=\"https:\/\/cloud.yandex.ru\/services\/functions\">Yandex Cloud Functions<\/a><\/noindex>. \u042d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442: \u0442\u044b \u043f\u0438\u0448\u0435\u0448\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u0434 \u0441\u0432\u043e\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438\u043b\u0438 \u0447\u0430\u0442\u0431\u043e\u0442\u0430), \u0430 \u041e\u0431\u043b\u0430\u043a\u043e \u0441\u0430\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0438 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0435\u0442 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0448\u0438\u043d\u044b, \u0433\u0434\u0435 \u043e\u043d \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f, \u0438 \u0434\u0430\u0436\u0435 \u0440\u0435\u043f\u043b\u0438\u0446\u0438\u0440\u0443\u0435\u0442 \u0438\u0445, \u0435\u0441\u043b\u0438 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u0435\u0442 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430. \u0414\u0443\u043c\u0430\u0442\u044c \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u043d\u0430\u0434\u043e, \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e. \u0418 \u043f\u043b\u0430\u0442\u0430 \u0438\u0434\u0451\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430 \u0432\u0440\u0435\u043c\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439. <\/p>\n<p><\/p>\n<p>\u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u043a\u043e\u0435-\u043a\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u043f\u043b\u0430\u0442\u0438\u0442\u044c. \u042d\u0442\u043e \u2014 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 <noindex><a rel=\"nofollow\" href=\"https:\/\/yandex.ru\/dev\/dialogs\/alice\/doc\/about-docpage\/\">\u0432\u043d\u0435\u0448\u043d\u0438\u0445 \u043d\u0430\u0432\u044b\u043a\u043e\u0432 \u0410\u043b\u0438\u0441\u044b<\/a><\/noindex>, \u0442\u043e \u0435\u0441\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0445 \u0432 \u043d\u0435\u0451 \u0447\u0430\u0442\u0431\u043e\u0442\u043e\u0432. \u041d\u0430\u043f\u0438\u0441\u0430\u0442\u044c, \u0437\u0430\u0445\u043e\u0441\u0442\u0438\u0442\u044c \u0438 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u043d\u0430\u0432\u044b\u043a \u043c\u043e\u0436\u0435\u0442 \u043b\u044e\u0431\u043e\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a, \u0430 \u0441 \u0441\u0435\u0433\u043e\u0434\u043d\u044f\u0448\u043d\u0435\u0433\u043e \u0434\u043d\u044f \u043d\u0430\u0432\u044b\u043a\u0438 \u0434\u0430\u0436\u0435 \u043d\u0435 \u043d\u0430\u0434\u043e \u0445\u043e\u0441\u0442\u0438\u0442\u044c \u2014 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0437\u0430\u043b\u0438\u0442\u044c \u0438\u0445 \u043a\u043e\u0434 \u0432 \u043e\u0431\u043b\u0430\u043a\u043e \u0432 \u0432\u0438\u0434\u0435 <noindex><a rel=\"nofollow\" href=\"https:\/\/yandex.ru\/blog\/dialogs\/navyki-alisy-teper-mozhno-razmeschat-v-yandeks-oblake-besplatno-i-prosto\">\u0442\u043e\u0439 \u0441\u0430\u043c\u043e\u0439 \u0431\u0435\u0441\u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p>\u041d\u043e \u0435\u0441\u0442\u044c \u043f\u0430\u0440\u0430 \u043d\u044e\u0430\u043d\u0441\u043e\u0432. \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u0432\u0430\u0448 \u043f\u0438\u0442\u043d\u044f\u0447\u0438\u0439 \u043a\u043e\u0434 \u043c\u043e\u0436\u0435\u0442 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a\u0438\u0445-\u0442\u043e \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439, \u0438 \u0437\u0430\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0442\u044c \u0438\u0445 \u0432 \u041e\u0431\u043b\u0430\u043a\u043e \u2014 \u043d\u0435\u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u043e. \u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, \u043b\u044e\u0431\u043e\u043c\u0443 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0447\u0430\u0442\u0431\u043e\u0442\u0443 \u043d\u0443\u0436\u043d\u043e \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0433\u0434\u0435-\u0442\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0434\u0438\u0430\u043b\u043e\u0433\u0430 (stateful \u043f\u043e\u044d\u0442\u043e\u043c\u0443); \u043a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u0432 \u0431\u0435\u0441\u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043f\u0440\u043e\u0449\u0435 \u0432\u0441\u0435\u0433\u043e? \u0412 \u0442\u0440\u0435\u0442\u044c\u0438\u0445, \u0430 \u043a\u0430\u043a \u0432\u043e\u043e\u0431\u0449\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e-\u0433\u0440\u044f\u0437\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0430\u0432\u044b\u043a \u0434\u043b\u044f \u0410\u043b\u0438\u0441\u044b \u0438\u043b\u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u043a\u0430\u043a\u043e\u0433\u043e-\u0442\u043e \u0431\u043e\u0442\u0430 \u0441 \u043d\u0435\u043d\u0443\u043b\u0435\u0432\u044b\u043c \u0441\u044e\u0436\u0435\u0442\u043e\u043c? \u041e\u0431 \u044d\u0442\u0438\u0445 \u043d\u044e\u0430\u043d\u0441\u0430\u0445, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0441\u0442\u0430\u0442\u044c\u044f.<\/p>\n<p>\n<img decoding=\"async\" alt=\"\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 stateful \u043d\u0430\u0432\u044b\u043a\u0430 \u0434\u043b\u044f \u0410\u043b\u0438\u0441\u044b \u043d\u0430 serverless \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u0445 \u042f\u043d\u0434\u0435\u043a\u0441.\u041e\u0431\u043b\u0430\u043a\u0430 \u0438 \u041f\u0438\u0442\u043e\u043d\u0435\" src=\"\/wp-content\/uploads\/2019\/10\/18d8b504938f0f752082e2db948ed79a.jpeg\" style=\"display:block;margin: 0 auto;\" \/><noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h3>\u041c\u043e\u0440\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430<\/h3>\n<p><\/p>\n<p>\u0414\u043b\u044f \u043d\u0435\u0442\u0435\u0440\u043f\u0435\u043b\u0438\u0432\u044b\u0445: \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u044f \u0441\u043e\u0431\u0438\u0440\u0430\u044e make-\u0444\u0430\u0439\u043b\u043e\u043c \u043f\u0435\u0440\u0435\u0434 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432 \u043e\u0431\u043b\u0430\u043a\u043e, \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0434\u0438\u0430\u043b\u043e\u0433\u0430 \u0445\u0440\u0430\u043d\u044e \u0432 \u044f\u043d\u0434\u0435\u043a\u0441\u043e\u0432\u0441\u043a\u043e\u043c Object Storage (\u043e\u043d\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 API S3), \u0430 \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/avidale\/tgalice\">tgalice<\/a><\/noindex>. \u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/avidale\/tgalice-yc-serverless-example\">\u0442\u0430\u043a\u043e\u0439 <\/a><\/noindex>\u0434\u0435\u043c\u043e-\u043d\u0430\u0432\u044b\u043a. \u0410 \u0442\u0435\u043f\u0435\u0440\u044c \u0440\u0430\u0437\u0431\u0435\u0440\u0451\u043c \u0432\u0441\u0451 \u044d\u0442\u043e \u0447\u0443\u0442\u044c \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u0435\u0435.<\/p>\n<p><\/p>\n<p>\u0414\u043b\u044f \u0447\u0443\u0442\u044c \u043c\u0435\u043d\u0435\u0435 \u043d\u0435\u0442\u0435\u0440\u043f\u0435\u043b\u0438\u0432\u044b\u0445: \u043f\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043c \u043f\u043e\u0433\u0440\u0443\u0436\u0430\u0442\u044c\u0441\u044f \u0432 \u043c\u043e\u044e \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u043f\u0440\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u044f \u043e\u0447\u0435\u043d\u044c \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u043d\u0430\u0447\u0430\u0442\u044c \u0441 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e. \u0410 \u0438\u043c\u0435\u043d\u043d\u043e, \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043e\u0434\u043d\u043e\u0444\u0430\u0439\u043b\u043e\u0432\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e-\u044d\u0445\u043e\u0431\u043e\u0442\u0430, \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u043f\u043e\u0442\u0435\u0441\u0442\u0438\u0442\u044c \u0435\u0451 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u0414\u0438\u0430\u043b\u043e\u0433\u043e\u0432; \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u2014 \u0432 <noindex><a rel=\"nofollow\" href=\"https:\/\/yandex.ru\/blog\/dialogs\/navyki-alisy-teper-mozhno-razmeschat-v-yandeks-oblake-besplatno-i-prosto\">\u0431\u043b\u043e\u0433\u0435 \u0414\u0438\u0430\u043b\u043e\u0433\u043e\u0432<\/a><\/noindex> \u0438 <noindex><a rel=\"nofollow\" href=\"https:\/\/cloud.yandex.ru\/docs\/functions\/solutions\/alice-skill\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u041e\u0431\u043b\u0430\u043a\u0430<\/a><\/noindex>. \u0418 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0442\u043e\u043c \u0443\u0436\u0435 \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0442\u044c.<\/p>\n<p><\/p>\n<p>\u0415\u0441\u043b\u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0441\u0440\u0430\u0437\u0443 \u043e\u0449\u0443\u0442\u0438\u0442\u044c, \u0437\u0430 \u0447\u0442\u043e \u043c\u044b \u0442\u0443\u0442 \u0431\u043e\u0440\u0435\u043c\u0441\u044f, \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u0442\u0435 \u0410\u043b\u0438\u0441\u0443 &#8216;<noindex><a rel=\"nofollow\" href=\"https:\/\/dialogs.yandex.ru\/store\/skills\/bfdd6cd4-ajtishnyj-gorosko\">\u0432\u043a\u043b\u044e\u0447\u0438 \u043d\u0430\u0432\u044b\u043a &#171;\u0430\u0439\u0442\u0438\u0448\u043d\u044b\u0439 \u0433\u043e\u0440\u043e\u0441\u043a\u043e\u043f&#187;<\/a><\/noindex>&#8216;. \u0414\u043e\u043b\u0436\u0435\u043d \u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0442\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0434\u0438\u0430\u043b\u043e\u0433:<\/p>\n<p><\/p>\n<p>\u0410\u043b\u0438\u0441\u0430: \u041f\u0440\u0438\u0432\u0435\u0442! \u0412\u044b \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0435\u0441\u044c \u0432 \u043d\u0430\u0432\u044b\u043a\u0435 &#171;\u0410\u0439\u0442\u0438\u0448\u043d\u044b\u0439 \u0433\u043e\u0440\u043e\u0441\u043a\u043e\u043f&#187;. \u0421\u043a\u0430\u0436\u0438\u0442\u0435 &#171;\u0421\u0442\u0430\u0440\u0442&#187;, \u0447\u0442\u043e\u0431\u044b \u0443\u0437\u043d\u0430\u0442\u044c, \u0447\u0442\u043e \u0441\u0443\u043b\u044f\u0442 \u0432\u0430\u043c \u0437\u0432\u0451\u0437\u0434\u044b.<br \/>\n\u042e\u0437\u0435\u0440: \u0421\u0442\u0430\u0440\u0442<br \/>\n\u0410: \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043d\u0430\u0437\u043e\u0432\u0438\u0442\u0435 \u0441\u0432\u043e\u0451 \u0438\u043c\u044f<br \/>\n\u042e: \u0412\u0430\u0441\u0438\u0441\u0443\u0430\u043b\u0438\u0439<br \/>\n\u0410: \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043a\u0430\u0436\u0438\u0442\u0435 \u043c\u043d\u0435 \u0433\u043e\u0434 \u0432\u0430\u0448\u0435\u0433\u043e \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f. \u0422\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u0442\u044b\u0440\u0435 \u0446\u0438\u0444\u0440\u044b, \u043d\u0438\u0447\u0435\u0433\u043e \u043b\u0438\u0448\u043d\u0435\u0433\u043e.<br \/>\n\u042e: \u0432\u0442\u043e\u0440\u043e\u0439<br \/>\n\u0410: \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437. \u041d\u0430\u0437\u043e\u0432\u0438\u0442\u0435 \u0433\u043e\u0434 \u0432\u0430\u0448\u0435\u0433\u043e \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u2014 \u0447\u0435\u0442\u044b\u0440\u0435 \u0446\u0438\u0444\u0440\u044b.<br \/>\n\u042e: 2002<br \/>\n\u0410: \u0417\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e! \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0437\u043e\u0432\u0438\u0442\u0435 \u043c\u0435\u0441\u044f\u0446 \u0432\u0430\u0448\u0435\u0433\u043e \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f.<br \/>\n\u042e: \u0424\u0435\u0432\u0440\u0430\u0440\u044c<br \/>\n\u0410: \u041e\u0442\u043b\u0438\u0447\u043d\u043e! \u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u043d\u0430\u0437\u043e\u0432\u0438\u0442\u0435 \u043c\u043d\u0435 \u0434\u0430\u0442\u0443 \u0432\u0430\u0448\u0435\u0433\u043e \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u2014 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0438\u0441\u043b\u043e, \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u043d\u0430 \u0438\u043b\u0438 \u0434\u0432\u0435 \u0446\u0438\u0444\u0440\u044b.<br \/>\n\u042e: 18<br \/>\n\u0410: \u0421\u043f\u0430\u0441\u0438\u0431\u043e, \u0412\u0430\u0441\u0438\u0441\u0443\u0430\u043b\u0438\u0439! \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u0437\u043d\u0430\u0435\u043c: \u0432\u0430\u043c 17 \u043b\u0435\u0442, \u0438 \u0432\u044b \u0412\u043e\u0434\u043e\u043b\u0435\u0439. \u0412\u043e\u0442 \u044d\u0442\u043e \u0432\u0430\u043c, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043f\u043e\u0432\u0435\u0437\u043b\u043e! \u0417\u0432\u0451\u0437\u0434\u044b \u0433\u043e\u0432\u043e\u0440\u044f\u0442 \u0432\u0430\u043c: <code>\u0430 \u0447\u0442\u043e \u0433\u043e\u0432\u043e\u0440\u044f\u0442 \u0437\u0432\u0451\u0437\u0434\u044b, \u0432\u044b \u0443\u0437\u043d\u0430\u0435\u0442\u0435, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0432 \u043d\u0430\u0432\u044b\u043a.<\/code><\/p>\n<p><\/p>\n<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0434\u043b\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u044f \u0434\u0430\u0436\u0435 \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0434\u0438\u0430\u043b\u043e\u0433\u0430 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043c\u043d\u0438\u0442\u044c \u0438\u043c\u044f \u0438 \u0434\u0430\u0442\u0443 \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0430 \u0432 \u0441\u0440\u0435\u0434\u0435 \u0431\u0435\u0441\u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u044d\u0442\u043e \u043d\u0435\u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u043e. \u0425\u0440\u0430\u043d\u0438\u0442\u044c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0432 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u0438\u043b\u0438 \u0444\u0430\u0439\u043b\u0438\u043a\u043e\u043c \u043d\u0430 \u0434\u0438\u0441\u043a\u0435 \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f, \u0442.\u043a. \u042f\u043d\u0434\u0435\u043a\u0441.\u041e\u0431\u043b\u0430\u043a\u043e \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u043d\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d\u0430\u0445 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c. \u041f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u0432\u043d\u0435\u0448\u043d\u0438\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435\u043c. \u0412\u044b\u0431\u0440\u0430\u043d\u043e \u0431\u044b\u043b\u043e Object Storage, \u043a\u0430\u043a \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043d\u0435\u0434\u043e\u0440\u043e\u0433\u043e\u0435 \u0438 \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u043e\u0435 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u043f\u0440\u044f\u043c\u043e \u0432 \u042f\u043d\u0434\u0435\u043a\u0441.\u041e\u0431\u043b\u0430\u043a\u0435 (\u0442.\u0435. \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435 \u0431\u044b\u0441\u0442\u0440\u043e\u0435). \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0439 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u044b \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0445\u0430\u043b\u044f\u0432\u043d\u044b\u0439 \u043a\u0443\u0441\u043e\u0447\u0435\u043a <noindex><a rel=\"nofollow\" href=\"https:\/\/cloud.mongodb.com\">\u043e\u0431\u043b\u0430\u0447\u043d\u043e\u0439 \u041c\u043e\u043d\u0433\u0438<\/a><\/noindex> \u0433\u0434\u0435-\u0442\u043e \u0434\u0430\u043b\u0435\u043a\u043e. \u0418 \u0434\u043b\u044f Object Storage (\u043e\u043d \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 S3), \u0438 \u0434\u043b\u044f Mongo \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0442 \u0443\u0434\u043e\u0431\u043d\u044b\u0435 \u043f\u0438\u0442\u043e\u043d\u043e\u0432\u0441\u043a\u0438\u0435 \u043e\u0431\u0451\u0440\u0442\u043a\u0438.<\/p>\n<p><\/p>\n<p>\u0414\u0440\u0443\u0433\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u2014 \u0447\u0442\u043e \u0434\u043b\u044f \u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0438 \u0432 Object Storage, \u0438 \u0432 MongoDB, \u0438 \u0432 \u043b\u044e\u0431\u0443\u044e \u0434\u0440\u0443\u0433\u0443\u044e \u0431\u0430\u0437\u0443 \u0438\u043b\u0438 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0443\u0436\u043d\u044b \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u0432\u043d\u0435\u0448\u043d\u0438\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043b\u0438\u0442\u044c \u043d\u0430 Yandex Functions \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u043a\u043e\u0434\u043e\u043c \u0441\u0432\u043e\u0435\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438. \u0418 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u0443\u0434\u043e\u0431\u043d\u043e. \u0421\u043e\u0432\u0441\u0435\u043c \u0443\u0434\u043e\u0431\u043d\u043e (\u0442\u0438\u043f\u0430 \u043a\u0430\u043a \u043d\u0430 heroku), \u0443\u0432\u044b, \u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f, \u043d\u043e \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043a\u043e\u043c\u0444\u043e\u0440\u0442 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c, \u043d\u0430\u043f\u0438\u0441\u0430\u0432 \u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f (make-\u0444\u0430\u0439\u043b). <\/p>\n<p><\/p>\n<h3>\u041a\u0430\u043a \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043d\u0430\u0432\u044b\u043a-\u0433\u043e\u0440\u043e\u0441\u043a\u043e\u043f<\/h3>\n<p><\/p>\n<ol>\n<li>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c\u0441\u044f: \u0437\u0430\u0439\u0442\u0438 \u043d\u0430 \u043a\u0430\u043a\u0443\u044e-\u043d\u0438\u0431\u0443\u0434\u044c \u043c\u0430\u0448\u0438\u043d\u043a\u0443 \u0441 \u043b\u0438\u043d\u0443\u043a\u0441\u043e\u043c. \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u0441 Windows \u0442\u043e\u0436\u0435, \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u043d\u043e \u0441 \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u043c make-\u0444\u0430\u0439\u043b\u0430 \u0442\u043e\u0433\u0434\u0430 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043f\u043e\u043a\u043e\u043b\u0434\u043e\u0432\u0430\u0442\u044c. \u0418 \u0432 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0432\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0439 Python \u043d\u0435 \u043d\u0438\u0436\u0435 3.6.<\/li>\n<li>\u0421\u043a\u043b\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u0431\u0435 \u0441 \u0433\u0438\u0442\u0445\u0430\u0431\u0430 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/avidale\/tgalice-yc-serverless-example\">\u043f\u0440\u0438\u043c\u0435\u0440 \u0433\u043e\u0440\u043e\u0441\u043a\u043e\u043f\u043d\u043e\u0433\u043e \u043d\u0430\u0432\u044b\u043a\u0430<\/a><\/noindex>. <\/li>\n<li>\u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432 \u042f.\u041e\u0431\u043b\u0430\u043a\u0435: <noindex><a rel=\"nofollow\" href=\"https:\/\/cloud.yandex.ru\">https:\/\/cloud.yandex.ru<\/a><\/noindex><\/li>\n<li>\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0435\u0431\u0435 \u0434\u0432\u0430 \u0431\u0430\u043a\u0435\u0442\u0430 \u0432 <noindex><a rel=\"nofollow\" href=\"https:\/\/cloud.yandex.ru\/docs\/storage\/\">Object Storage<\/a><\/noindex>, \u043d\u0430\u0437\u0432\u0430\u0442\u044c \u0438\u0445 \u043b\u044e\u0431\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c <code>{BUCKET NAME}<\/code> \u0438 <code>tgalice-test-cold-storage<\/code> (\u0432\u043e\u0442 \u044d\u0442\u043e \u0432\u0442\u043e\u0440\u043e\u0435 \u0438\u043c\u044f \u0441\u0435\u0439\u0447\u0430\u0441 \u0437\u0430\u0445\u0430\u0440\u0434\u043a\u043e\u0436\u0435\u043d\u043e \u0432 <code>main.py<\/code> \u043c\u043e\u0435\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u0430). \u041f\u0435\u0440\u0432\u044b\u0439 \u0431\u0430\u043a\u0435\u0442 \u043d\u0443\u0436\u0435\u043d \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0434\u0435\u043f\u043b\u043e\u044f, \u0432\u0442\u043e\u0440\u043e\u0439 \u2014 \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0439 \u0434\u0438\u0430\u043b\u043e\u0433\u0430.<\/li>\n<li>\u0421\u043e\u0437\u0434\u0430\u0442\u044c <noindex><a rel=\"nofollow\" href=\"https:\/\/cloud.yandex.ru\/docs\/iam\/concepts\/users\/service-accounts\">\u0441\u0435\u0440\u0432\u0438\u0441\u043d\u044b\u0439 \u0430\u043a\u043a\u0430\u0443\u043d\u0442<\/a><\/noindex>, \u0434\u0430\u0442\u044c \u0435\u043c\u0443 \u0440\u043e\u043b\u044c <code>editor<\/code>, \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a \u043d\u0435\u043c\u0443 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043a\u0440\u0435\u0434\u0435\u043d\u0448\u0430\u043b\u044b <code>{KEY ID}<\/code> \u0438 <code>{KEY VALUE}<\/code> \u2014 \u0438\u0445 \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0434\u0438\u0430\u043b\u043e\u0433\u0430. \u0412\u0441\u0451 \u044d\u0442\u043e \u043d\u0443\u0436\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0438\u0437 \u042f.\u041e\u0431\u043b\u0430\u043a\u0430 \u043c\u043e\u0433\u043b\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0443 \u0438\u0437 \u042f.\u041e\u0431\u043b\u0430\u043a\u0430. \u041a\u043e\u0433\u0434\u0430-\u043d\u0438\u0431\u0443\u0434\u044c, \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u0442\u0430\u043d\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439, \u043d\u043e \u043f\u043e\u043a\u0430 \u2014 \u0442\u0430\u043a.<\/li>\n<li>(\u041d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e) \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c <noindex><a rel=\"nofollow\" href=\"https:\/\/cloud.yandex.ru\/docs\/cli\/quickstart\">\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438<\/a><\/noindex> <code>yc<\/code>. \u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u043c\u043e\u0436\u043d\u043e \u0438 \u0447\u0435\u0440\u0435\u0437 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441, \u043d\u043e CLI \u0445\u043e\u0440\u043e\u0448 \u0442\u0435\u043c, \u0447\u0442\u043e \u0432\u0441\u044f\u043a\u0438\u0435 \u043d\u043e\u0432\u043e\u0432\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0432 \u043d\u0451\u043c \u0431\u044b\u0441\u0442\u0440\u0435\u0435.<\/li>\n<li>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c \u0441\u0431\u043e\u0440\u043a\u0443 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439: \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u0438\u0437 \u043f\u0430\u043f\u043a\u0438 \u0441 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c \u043d\u0430\u0432\u044b\u043a\u0430 <code>make all<\/code>. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043a\u0443\u0447\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a (\u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c, \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e, \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u0445) \u0432 \u043f\u0430\u043f\u043a\u0443 <code>dist<\/code>. <\/li>\n<li>\u0420\u0443\u0447\u043a\u0430\u043c\u0438 \u0437\u0430\u043b\u0438\u0442\u044c \u0432 Object Storage (\u0432 \u0431\u0430\u043a\u0435\u0442 <code>{BUCKET NAME}<\/code>) \u043f\u043e\u043b\u0443\u0447\u0438\u0432\u0448\u0438\u0439\u0441\u044f \u043d\u0430 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c \u0448\u0430\u0433\u0435 \u0430\u0440\u0445\u0438\u0432 <code>dist.zip<\/code>. \u041f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438, \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u0438 \u0438\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f <noindex><a rel=\"nofollow\" href=\"https:\/\/cloud.yandex.ru\/docs\/storage\/instruments\/aws-cli\">AWS CLI<\/a><\/noindex>.<\/li>\n<li>\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0431\u0435\u0441\u0441\u0435\u0440\u0432\u0435\u0440\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0447\u0435\u0440\u0435\u0437 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0438\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u0443 <code>yc<\/code>. \u0414\u043b\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u044b \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0432\u043e\u0442 \u0442\u0430\u043a:<\/li>\n<\/ol>\n<p><\/p>\n<pre><code class=\"plaintext\">yc serverless function version create\n    --function-name=horoscope\n    --environment=AWS_ACCESS_KEY_ID={KEY ID},AWS_SECRET_ACCESS_KEY={KEY VALUE}\n    --runtime=python37\n    --package-bucket-name={BUCKET NAME}\n    --package-object-name=dist.zip\n    --entrypoint=main.alice_handler\n    --memory=128M\n    --execution-timeout=3s<\/code><\/pre>\n<p><\/p>\n<p>\u041f\u0440\u0438 \u0440\u0443\u0447\u043d\u043e\u043c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432\u0441\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e. <\/p>\n<p><\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u0443\u044e \u0432\u0430\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u043c\u043e\u0436\u043d\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430, \u0430 \u043f\u043e\u0442\u043e\u043c \u0434\u043e\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0438 \u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0432\u044b\u043a. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 stateful \u043d\u0430\u0432\u044b\u043a\u0430 \u0434\u043b\u044f \u0410\u043b\u0438\u0441\u044b \u043d\u0430 serverless \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u0445 \u042f\u043d\u0434\u0435\u043a\u0441.\u041e\u0431\u043b\u0430\u043a\u0430 \u0438 \u041f\u0438\u0442\u043e\u043d\u0435\" src=\"\/wp-content\/uploads\/2019\/10\/e39c925d51275131bb57c545108aec1c.jpeg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<h3>\u0427\u0442\u043e \u0442\u0430\u043c \u043f\u043e\u0434 \u043a\u0430\u043f\u043e\u0442\u043e\u043c<\/h3>\n<p><\/p>\n<p>Make-\u0444\u0430\u0439\u043b \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432 \u0441\u0435\u0431\u0435 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0435\u0439 \u0438 \u0438\u0445 \u0443\u043a\u043b\u0430\u0434\u043a\u0438 \u0432 \u0430\u0440\u0445\u0438\u0432 <code>dist.zip<\/code>, \u043f\u0440\u0438\u0431\u043b\u0438\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0442\u0430\u043a\u043e\u0439:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">mkdir -p dist\/\npip3 install -r requirements.txt --target dist\/ \ncp main.py dist\/main.py\ncp form.yaml dist\/form.yaml\ncd dist &amp;&amp; zip --exclude '*.pyc' -r ..\/dist.zip .\/*<\/code><\/pre>\n<p><\/p>\n<p>\u041e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u2014 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u0437\u0430\u0432\u0451\u0440\u043d\u0443\u0442\u044b\u0445 \u0432 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 <code>tgalice<\/code>. \u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u043e \u044e\u0437\u0435\u0440\u0435 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u043e\u043c <code>form.yaml<\/code>:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">form_name: 'horoscope_form'\nstart:\n  regexp: '\u0441\u0442\u0430\u0440\u0442|\u043d\u0430\u0447(\u0430\u0442\u044c|\u043d\u0438)'\n  suggests:\n    - \u0421\u0442\u0430\u0440\u0442\nfields:\n  - name: 'name'\n    question: \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043d\u0430\u0437\u043e\u0432\u0438\u0442\u0435 \u0441\u0432\u043e\u0451 \u0438\u043c\u044f.\n  - name: 'year'\n    question: \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043a\u0430\u0436\u0438\u0442\u0435 \u043c\u043d\u0435 \u0433\u043e\u0434 \u0432\u0430\u0448\u0435\u0433\u043e \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f. \u0422\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u0442\u044b\u0440\u0435 \u0446\u0438\u0444\u0440\u044b, \u043d\u0438\u0447\u0435\u0433\u043e \u043b\u0438\u0448\u043d\u0435\u0433\u043e.\n    validate_regexp: '^[0-9]{4}$'\n    validate_message: \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437. \u041d\u0430\u0437\u043e\u0432\u0438\u0442\u0435 \u0433\u043e\u0434 \u0432\u0430\u0448\u0435\u0433\u043e \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f - \u0447\u0435\u0442\u044b\u0440\u0435 \u0446\u0438\u0444\u0440\u044b.\n  - name: 'month'\n    question: \u0417\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e! \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0437\u043e\u0432\u0438\u0442\u0435 \u043c\u0435\u0441\u044f\u0446 \u0432\u0430\u0448\u0435\u0433\u043e \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f.\n    options:\n      - \u044f\u043d\u0432\u0430\u0440\u044c\n     ...\n      - \u0434\u0435\u043a\u0430\u0431\u0440\u044c\n    validate_message: \u0422\u043e, \u0447\u0442\u043e \u0432\u044b \u043d\u0430\u0437\u0432\u0430\u043b\u0438, \u043d\u0435 \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 \u043c\u0435\u0441\u044f\u0446. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043d\u0430\u0437\u043e\u0432\u0438\u0442\u0435 \u043c\u0435\u0441\u044f\u0446 \u0432\u0430\u0448\u0435\u0433\u043e \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f, \u0431\u0435\u0437 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u043b\u043e\u0432.\n  - name: 'day'\n    question: \u041e\u0442\u043b\u0438\u0447\u043d\u043e! \u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u043d\u0430\u0437\u043e\u0432\u0438\u0442\u0435 \u043c\u043d\u0435 \u0434\u0430\u0442\u0443 \u0432\u0430\u0448\u0435\u0433\u043e \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f - \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0438\u0441\u043b\u043e, \u0432\u0441\u0435\u0433\u043e \u043e\u0434\u043d\u0430 \u0438\u043b\u0438 \u0434\u0432\u0435 \u0446\u0438\u0444\u0440\u044b.\n    validate_regexp: '[0123]?d$'\n    validate_message: \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437. \u0412\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0437\u0432\u0430\u0442\u044c \u0447\u0438\u0441\u043b\u043e \u0441\u0432\u043e\u0435\u0433\u043e \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u0432\u0430\u0434\u0446\u0430\u0442\u043e\u0435); \u044d\u0442\u043e \u043e\u0434\u043d\u0430 \u0438\u043b\u0438 \u0434\u0432\u0435 \u0446\u0438\u0444\u0440\u044b.<\/code><\/pre>\n<p><\/p>\n<p>\u0420\u0430\u0431\u043e\u0442\u0443 \u043f\u043e \u0440\u0430\u0437\u0431\u043e\u0440\u0443 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0430 \u0438 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044e \u0444\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0431\u0435\u0440\u0451\u0442 \u043d\u0430 \u0441\u0435\u0431\u044f \u043f\u0438\u0442\u043e\u043d\u044f\u0447\u0438\u0439 \u043a\u043b\u0430\u0441\u0441<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">class CheckableFormFiller(tgalice.dialog_manager.form_filling.FormFillingDialogManager):\n    SIGNS = {\n        '\u044f\u043d\u0432\u0430\u0440\u044c': '\u041a\u043e\u0437\u0435\u0440\u043e\u0433',\n        ...\n    }\n\n    def handle_completed_form(self, form, user_object, ctx):\n        response = tgalice.dialog_manager.base.Response(\n            text='\u0421\u043f\u0430\u0441\u0438\u0431\u043e, {}! \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u0437\u043d\u0430\u0435\u043c: \u0432\u0430\u043c {} \u043b\u0435\u0442, \u0438 \u0432\u044b {}. n'\n                 '\u0412\u043e\u0442 \u044d\u0442\u043e \u0432\u0430\u043c, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043f\u043e\u0432\u0435\u0437\u043b\u043e! \u0417\u0432\u0451\u0437\u0434\u044b \u0433\u043e\u0432\u043e\u0440\u044f\u0442 \u0432\u0430\u043c: {}'.format(\n                form['fields']['name'],\n                2019 - int(form['fields']['year']),\n                self.SIGNS[form['fields']['month']],\n                random.choice(FORECASTS),\n            ),\n            user_object=user_object,\n        )\n        return response<\/code><\/pre>\n<p><\/p>\n<p>\u0422\u043e\u0447\u043d\u0435\u0435, \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043a\u043b\u0430\u0441\u0441 <code>FormFillingDialogManager<\/code> \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435\u043c &#171;\u0444\u043e\u0440\u043c\u044b&#187;, \u0430 \u043c\u0435\u0442\u043e\u0434 \u0434\u043e\u0447\u0435\u0440\u043d\u0435\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430 <code>handle_completed_form<\/code> \u0433\u043e\u0432\u043e\u0440\u0438\u0442, \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c, \u043a\u043e\u0433\u0434\u0430 \u043e\u043d\u0430 \u0433\u043e\u0442\u043e\u0432\u0430.<\/p>\n<p><\/p>\n<p>\u041a\u0440\u043e\u043c\u0435 \u044d\u0442\u043e\u0433\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 \u0434\u0438\u0430\u043b\u043e\u0433\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0430\u0434\u043e \u0435\u0449\u0451 \u043f\u043e\u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432\u044b\u0434\u0430\u0442\u044c \u0441\u043f\u0440\u0430\u0432\u043a\u0443 \u043f\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0435 &#171;\u043f\u043e\u043c\u043e\u0449\u044c&#187; \u0438 \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0438\u0437 \u043d\u0430\u0432\u044b\u043a\u0430 \u043f\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0435 &#171;\u0432\u044b\u0445\u043e\u0434&#187;. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432 <code>tgalice<\/code> \u0442\u0430\u043a\u0436\u0435 \u0435\u0441\u0442\u044c \u0448\u0430\u0431\u043b\u043e\u043d, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0446\u0435\u043b\u0438\u043a\u043e\u0432\u044b\u0439 \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0438\u0437 \u043a\u0443\u0441\u043e\u0447\u043a\u043e\u0432:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">dm = tgalice.dialog_manager.CascadeDialogManager(\n    tgalice.dialog_manager.GreetAndHelpDialogManager(\n        greeting_message=DEFAULT_MESSAGE,\n        help_message=DEFAULT_MESSAGE,\n        exit_message='\u0414\u043e \u0441\u0432\u0438\u0434\u0430\u043d\u0438\u044f, \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0435 \u0432 \u043d\u0430\u0432\u044b\u043a \"\u0410\u0439\u0442\u0438\u0448\u043d\u044b\u0439 \u0433\u043e\u0440\u043e\u0441\u043a\u043e\u043f\" \u0435\u0449\u0451!'\n    ),\n    CheckableFormFiller(`form.yaml`, default_message=DEFAULT_MESSAGE)\n)<\/code><\/pre>\n<p><\/p>\n<p><code>CascadeDialogManager<\/code> \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u043e: \u043f\u0440\u043e\u0431\u0443\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u043a \u0442\u0435\u043a\u0443\u0449\u0435\u043c\u0443 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044e \u0434\u0438\u0430\u043b\u043e\u0433\u0430 \u0432\u0441\u0435 \u0441\u0432\u043e\u0438 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0435 \u043f\u043e \u043e\u0447\u0435\u0440\u0435\u0434\u0438, \u0438 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442 \u043f\u0435\u0440\u0432\u0443\u044e \u0443\u043c\u0435\u0441\u0442\u043d\u0443\u044e. <\/p>\n<p><\/p>\n<p>\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0442\u0432\u0435\u0442\u0430 \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432\u044b\u0439 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043f\u0438\u0442\u043e\u043d\u044f\u0447\u0438\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 <code>Response<\/code>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u0430\u043b\u044c\u0448\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 \u0433\u043e\u043b\u044b\u0439 \u0442\u0435\u043a\u0441\u0442, \u0438\u043b\u0438 \u0432 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432 \u0410\u043b\u0438\u0441\u0435 \u0438\u043b\u0438 \u0422\u0435\u043b\u0435\u0433\u0440\u0430\u043c\u0435 \u2014 \u0441\u043c\u043e\u0442\u0440\u044f \u0433\u0434\u0435 \u0431\u043e\u0442 \u0437\u0430\u043f\u0443\u0449\u0435\u043d; \u0432 \u043d\u0451\u043c \u0436\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0438 \u0438\u0437\u043c\u0435\u043d\u0451\u043d\u043d\u043e\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0434\u0438\u0430\u043b\u043e\u0433\u0430, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c. \u0412\u0441\u0435\u0439 \u044d\u0442\u043e\u0439 \u043a\u0443\u0445\u043d\u0435\u0439 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442\u0441\u044f \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u043a\u043b\u0430\u0441\u0441, <code>DialogConnector<\/code>, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043d\u0430\u0432\u044b\u043a\u0430 \u043d\u0430 Yandex Functions \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">...\nsession = boto3.session.Session()\ns3 = session.client(\n    service_name='s3',\n    endpoint_url='https:\/\/storage.yandexcloud.net',\n    aws_access_key_id=os.environ['AWS_ACCESS_KEY_ID'],\n    aws_secret_access_key=os.environ['AWS_SECRET_ACCESS_KEY'],\n    region_name='ru-central1',\n)\nstorage = tgalice.session_storage.S3BasedStorage(s3_client=s3, bucket_name='tgalice-test-cold-storage')\nconnector = tgalice.dialog_connector.DialogConnector(dialog_manager=dm, storage=storage)\nalice_handler = connector.serverless_alice_handler<\/code><\/pre>\n<p><\/p>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u0442\u0435, \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043a S3-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443 Object Storage. \u041a\u0430\u043a \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/avidale\/tgalice\/blob\/1e6e37fa86a9a4a904d3e209ab59b59899df3c05\/tgalice\/storage\/session_storage.py#L80\">\u0432 \u043a\u043e\u0434\u0435 tgalice<\/a><\/noindex>.<br \/>\n\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u044f\u044f \u0441\u0442\u0440\u043e\u0447\u043a\u0430 \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u044e <code>alice_handler<\/code> \u2014 \u0442\u0443 \u0441\u0430\u043c\u0443\u044e, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u0432\u0435\u043b\u0435\u043b\u0438 \u0434\u0451\u0440\u0433\u0430\u0442\u044c \u042f\u043d\u0434\u0435\u043a\u0441.\u041e\u0431\u043b\u0430\u043a\u0443, \u043a\u043e\u0433\u0434\u0430 \u0437\u0430\u0434\u0430\u0432\u0430\u043b\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <code>--entrypoint=main.alice_handler<\/code>. <\/p>\n<p><\/p>\n<p>\u0412\u043e\u0442, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0438 \u0432\u0441\u0451. Make-\u0444\u0430\u0439\u043b\u044b \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438, S3-\u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435 Object Storage \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0430, \u0438 \u043f\u0438\u0442\u043e\u043d\u044f\u0447\u044c\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <code>tgalice<\/code>. \u0412\u043a\u0443\u043f\u0435 \u0441 \u0431\u0435\u0441\u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 \u0438 \u0432\u044b\u0440\u0430\u0437\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0438\u0442\u043e\u043d\u0430 \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043d\u0430\u0432\u044b\u043a\u0430 \u0437\u0434\u043e\u0440\u043e\u0432\u043e\u0433\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430.<\/p>\n<p><\/p>\n<p>\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043f\u0440\u043e\u0441\u0438\u0442\u044c, \u0437\u0430\u0447\u0435\u043c \u043d\u0443\u0436\u043d\u0430 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u043e\u0441\u044c \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c <code>tgalice<\/code>? \u0412\u0435\u0441\u044c \u0441\u043a\u0443\u0447\u043d\u044b\u0439 \u043a\u043e\u0434, \u043f\u0435\u0440\u0435\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e\u0449\u0438\u0439 JSON&#8217;\u044b \u0438\u0437 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0432 \u043e\u0442\u0432\u0435\u0442 \u0438 \u0438\u0437 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0430 \u0432 \u043f\u0430\u043c\u044f\u0442\u044c \u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e, \u043b\u0435\u0436\u0438\u0442 \u0432 \u043d\u0435\u0439. \u0422\u0430\u043c \u0436\u0435 \u043b\u0435\u0436\u0438\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u043b\u043a\u0430 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043e\u043a, \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0434\u043b\u044f \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e &#171;\u0444\u0435\u0432\u0440\u0430\u0440\u044c&#187; \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 &#171;\u0444\u0435\u0432\u0440\u0430\u043b\u044c&#187;, \u0438 \u043f\u0440\u043e\u0447\u0435\u0435 NLU \u0434\u043b\u044f \u0431\u0435\u0434\u043d\u044b\u0445. \u041f\u043e \u043c\u043e\u0435\u0439 \u0437\u0430\u0434\u0443\u043c\u043a\u0435, \u044d\u0442\u043e\u0433\u043e \u0443\u0436\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u0430\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f\u044b \u043d\u0430\u0432\u044b\u043a\u043e\u0432 \u0432 yaml-\u0444\u0430\u0439\u043b\u0430\u0445, \u043d\u0435 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043e\u0442\u0432\u043b\u0435\u043a\u0430\u044f\u0441\u044c \u043d\u0430 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0434\u0435\u0442\u0430\u043b\u0438. <\/p>\n<p><\/p>\n<p>\u0415\u0441\u043b\u0438 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0431\u043e\u043b\u0435\u0435 \u0441\u0435\u0440\u044c\u0451\u0437\u043d\u043e\u0433\u043e NLU, \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u0442\u044c \u043a \u0441\u0432\u043e\u0435\u043c\u0443 \u043d\u0430\u0432\u044b\u043a\u0443 <noindex><a rel=\"nofollow\" href=\"https:\/\/rasa.com\/\">Rasa<\/a><\/noindex> \u0438\u043b\u0438 <noindex><a rel=\"nofollow\" href=\"http:\/\/docs.deeppavlov.ai\/en\/master\/\">DeepPavlov<\/a><\/noindex>, \u043d\u043e \u0434\u043b\u044f \u0438\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u043b\u044f\u0441\u043a\u0438 \u0441 \u0431\u0443\u0431\u043d\u043e\u043c, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043d\u0430 serverless. \u0415\u0441\u043b\u0438 \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043a\u043e\u0434\u0438\u0442\u044c, \u0441\u0442\u043e\u0438\u0442 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u043c \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u043e\u043c \u0442\u0438\u043f\u0430 <noindex><a rel=\"nofollow\" href=\"https:\/\/aimylogic.com\/\">Aimylogic<\/a><\/noindex>. \u0421\u043e\u0437\u0434\u0430\u0432\u0430\u044f tgalice, \u044f \u0434\u0443\u043c\u0430\u043b \u043e \u043a\u0430\u043a\u043e\u043c-\u0442\u043e \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u043c \u043f\u0443\u0442\u0438. \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u0447\u0442\u043e \u0438\u0437 \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0441\u044f.<\/p>\n<p><\/p>\n<p>\u041d\u0443 \u0430 \u043d\u044b\u043d\u0447\u0435 \u0432\u0441\u0442\u0443\u043f\u0430\u0439\u0442\u0435 \u0432 <noindex><a rel=\"nofollow\" href=\"https:\/\/t.me\/yadialogschat\">\u0447\u0430\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u0430\u043b\u0438\u0441\u044c\u0438\u0445 \u043d\u0430\u0432\u044b\u043a\u043e\u0432<\/a><\/noindex>, \u0447\u0438\u0442\u0430\u0439\u0442\u0435 <noindex><a rel=\"nofollow\" href=\"https:\/\/yandex.ru\/dev\/dialogs\/alice\/doc\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e<\/a><\/noindex>, \u0438 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 <noindex><a rel=\"nofollow\" href=\"https:\/\/dialogs.yandex.ru\/store\">\u043d\u0430\u0432\u044b\u043a\u0438<\/a><\/noindex>!<\/p>\n<p>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/469723\/\">habr.com<\/a><\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041d\u0430\u0447\u043d\u0451\u043c \u0441 \u043d\u043e\u0432\u043e\u0441\u0442\u0435\u0439. \u0412\u0447\u0435\u0440\u0430 \u042f\u043d\u0434\u0435\u043a\u0441.\u041e\u0431\u043b\u0430\u043a\u043e \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043b\u043e \u0437\u0430\u043f\u0443\u0441\u043a \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0431\u0435\u0441\u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 Yandex Cloud Functions. \u042d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442: \u0442\u044b \u043f\u0438\u0448\u0435\u0448\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u0434 \u0441\u0432\u043e\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438\u043b\u0438 \u0447\u0430\u0442\u0431\u043e\u0442\u0430), \u0430 \u041e\u0431\u043b\u0430\u043a\u043e \u0441\u0430\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0438 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0435\u0442 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0448\u0438\u043d\u044b, \u0433\u0434\u0435 \u043e\u043d \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f, \u0438 \u0434\u0430\u0436\u0435 \u0440\u0435\u043f\u043b\u0438\u0446\u0438\u0440\u0443\u0435\u0442 \u0438\u0445, \u0435\u0441\u043b\u0438 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u0435\u0442 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430. \u0414\u0443\u043c\u0430\u0442\u044c \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u043d\u0430\u0434\u043e, \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e. \u0418 \u043f\u043b\u0430\u0442\u0430 \u0438\u0434\u0451\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430 \u0432\u0440\u0435\u043c\u044f [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":28963,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-38606","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041d\u0430\u0447\u043d\u0451\u043c \u0441 \u043d\u043e\u0432\u043e\u0441\u0442\u0435\u0439. \u0412\u0447\u0435\u0440\u0430 \u042f\u043d\u0434\u0435\u043a\u0441.\u041e\u0431\u043b\u0430\u043a\u043e \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043b\u043e \u0437\u0430\u043f\u0443\u0441\u043a \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0431\u0435\u0441\u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 Yandex Cloud Functions. \u042d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442: \u0442\u044b \u043f\u0438\u0448\u0435\u0448\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u0434 \u0441\u0432\u043e\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438\u043b\u0438 \u0447\u0430\u0442\u0431\u043e\u0442\u0430), \u0430 \u041e\u0431\u043b\u0430\u043a\u043e \u0441\u0430\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0438 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0435\u0442 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0448\u0438\u043d\u044b, \u0433\u0434\u0435 \u043e\u043d \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f, \u0438 \u0434\u0430\u0436\u0435 \u0440\u0435\u043f\u043b\u0438\u0446\u0438\u0440\u0443\u0435\u0442 \u0438\u0445, \u0435\u0441\u043b\u0438 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u0435\u0442 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430. \u0414\u0443\u043c\u0430\u0442\u044c \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u043d\u0430\u0434\u043e, \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e. \u0418 \u043f\u043b\u0430\u0442\u0430 \u0438\u0434\u0451\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430 \u0432\u0440\u0435\u043c\u044f\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/et\/blog\/administrirovanie\/sozdanie-stateful-navyka-dlya-alisy-na-serverless-funktsiyah-yandeks-oblaka-i-pitone\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"et_EE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 stateful \u043d\u0430\u0432\u044b\u043a\u0430 \u0434\u043b\u044f \u0410\u043b\u0438\u0441\u044b \u043d\u0430 serverless \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u0445 \u042f\u043d\u0434\u0435\u043a\u0441.\u041e\u0431\u043b\u0430\u043a\u0430 \u0438 \u041f\u0438\u0442\u043e\u043d\u0435 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041d\u0430\u0447\u043d\u0451\u043c \u0441 \u043d\u043e\u0432\u043e\u0441\u0442\u0435\u0439. \u0412\u0447\u0435\u0440\u0430 \u042f\u043d\u0434\u0435\u043a\u0441.\u041e\u0431\u043b\u0430\u043a\u043e \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043b\u043e \u0437\u0430\u043f\u0443\u0441\u043a \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0431\u0435\u0441\u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 Yandex Cloud Functions. \u042d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442: \u0442\u044b \u043f\u0438\u0448\u0435\u0448\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u0434 \u0441\u0432\u043e\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438\u043b\u0438 \u0447\u0430\u0442\u0431\u043e\u0442\u0430), \u0430 \u041e\u0431\u043b\u0430\u043a\u043e \u0441\u0430\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0438 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0435\u0442 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0448\u0438\u043d\u044b, \u0433\u0434\u0435 \u043e\u043d \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f, \u0438 \u0434\u0430\u0436\u0435 \u0440\u0435\u043f\u043b\u0438\u0446\u0438\u0440\u0443\u0435\u0442 \u0438\u0445, \u0435\u0441\u043b\u0438 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u0435\u0442 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430. \u0414\u0443\u043c\u0430\u0442\u044c \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u043d\u0430\u0434\u043e, \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e. \u0418 \u043f\u043b\u0430\u0442\u0430 \u0438\u0434\u0451\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430 \u0432\u0440\u0435\u043c\u044f\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/et\/blog\/administrirovanie\/sozdanie-stateful-navyka-dlya-alisy-na-serverless-funktsiyah-yandeks-oblaka-i-pitone\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T19:24:47+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T19:24:47+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Stateful oskuse loomine Alisele Yandex.Cloud serverless-funktsioonide ja Pythoni abil | ProHoster","description":"Alustame uudistest. Eile kuulutas Yandex.Cloud v\u00e4lja serverless-arvutite teenuse Yandex Cloud Functions. See t\u00e4hendab, et sa kirjutad ainult oma teenuse (n\u00e4iteks veebirakenduse v\u00f5i chatboti) koodi, samas kui Pilv loob ja haldab virtuaalmasinad, kus see t\u00f6\u00f6tab, ning isegi kopeerib need, kui koormus suureneb. M\u00f5tlema ei pea, v\u00e4ga mugav. Ja makse tuleb ainult kasutatud aja eest.","canonical_url":"https:\/\/prohoster.info\/et\/blog\/administrirovanie\/sozdanie-stateful-navyka-dlya-alisy-na-serverless-funktsiyah-yandeks-oblaka-i-pitone","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"et_EE","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 stateful \u043d\u0430\u0432\u044b\u043a\u0430 \u0434\u043b\u044f \u0410\u043b\u0438\u0441\u044b \u043d\u0430 serverless \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u0445 \u042f\u043d\u0434\u0435\u043a\u0441.\u041e\u0431\u043b\u0430\u043a\u0430 \u0438 \u041f\u0438\u0442\u043e\u043d\u0435 | ProHoster","og:description":"\u041d\u0430\u0447\u043d\u0451\u043c \u0441 \u043d\u043e\u0432\u043e\u0441\u0442\u0435\u0439. \u0412\u0447\u0435\u0440\u0430 \u042f\u043d\u0434\u0435\u043a\u0441.\u041e\u0431\u043b\u0430\u043a\u043e \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043b\u043e \u0437\u0430\u043f\u0443\u0441\u043a \u0441\u0435\u0440\u0432\u0438\u0441\u0430 \u0431\u0435\u0441\u0441\u0435\u0440\u0432\u0435\u0440\u043d\u044b\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 Yandex Cloud Functions. \u042d\u0442\u043e \u0437\u043d\u0430\u0447\u0438\u0442: \u0442\u044b \u043f\u0438\u0448\u0435\u0448\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u0434 \u0441\u0432\u043e\u0435\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438\u043b\u0438 \u0447\u0430\u0442\u0431\u043e\u0442\u0430), \u0430 \u041e\u0431\u043b\u0430\u043a\u043e \u0441\u0430\u043c\u043e \u0441\u043e\u0437\u0434\u0430\u0451\u0442 \u0438 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u0435\u0442 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u043c\u0430\u0448\u0438\u043d\u044b, \u0433\u0434\u0435 \u043e\u043d \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f, \u0438 \u0434\u0430\u0436\u0435 \u0440\u0435\u043f\u043b\u0438\u0446\u0438\u0440\u0443\u0435\u0442 \u0438\u0445, \u0435\u0441\u043b\u0438 \u0432\u043e\u0437\u0440\u0430\u0441\u0442\u0430\u0435\u0442 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430. \u0414\u0443\u043c\u0430\u0442\u044c \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u043d\u0430\u0434\u043e, \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e. \u0418 \u043f\u043b\u0430\u0442\u0430 \u0438\u0434\u0451\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430 \u0432\u0440\u0435\u043c\u044f","og:url":"https:\/\/prohoster.info\/et\/blog\/administrirovanie\/sozdanie-stateful-navyka-dlya-alisy-na-serverless-funktsiyah-yandeks-oblaka-i-pitone","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T19:24:47+00:00","article:modified_time":"2019-10-31T19:24:47+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"38606","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-23 22:44:20","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 01:06:25","updated":"2026-01-23 22:44:20"},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts\/38606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/comments?post=38606"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts\/38606\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/media\/28963"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/media?parent=38606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/categories?post=38606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/tags?post=38606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}