{"id":193530,"date":"2013-09-12T19:18:02","date_gmt":"2013-09-12T15:18:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=193530"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=193530","title":{"rendered":"<span class=\"post_title\">[\u043a\u043e\u043d\u043a\u0443\u0440\u0441] DevOps Brainwashing<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u0412 \u0431\u044b\u0441\u0442\u0440\u043e\u0440\u0430\u0441\u0442\u0443\u0449\u0435\u043c \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u043f\u0440\u043e\u0435\u043a\u0442\u0435, \u043a\u043e\u0433\u0434\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0434\u0435\u043d\u044c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u043e\u0432, \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0443\u043a\u0442\u0443\u0440\u043e\u0439 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043e\u0431\u044b\u0447\u043d\u043e \u0442\u0430\u043a:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/27f\/79c\/19a\/27f79c19ab945b3bee1dd46536262b4b.gif\"\/><\/p>\n<p>  \u0412\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0434\u0432\u0430. \u041b\u0438\u0431\u043e \u0430\u0434\u043c\u0438\u043d\u044b \u0441\u0445\u043e\u0434\u044f\u0442 \u0441 \u0443\u043c\u0430, \u043f\u043e\u0441\u043b\u0435 100500 \u0434\u0435\u043f\u043b\u043e\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u0441\u043e\u0442\u043d\u044e \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432, \u043b\u0438\u0431\u043e \u043e\u043d\u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u0443\u0447\u0448\u0438\u0435 \u0440\u0435\u0446\u0435\u043f\u0442\u044b DevOps. \u0423 \u0442\u0435\u0431\u044f \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0439\u0442\u0438 \u043a\u043b\u0430\u0441\u0441\u043d\u044b\u0439 \u043a\u0443\u0440\u0441 \u00ab<a href=\"http:\/\/brainwashing.pro\/devops\">DevOps \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432<\/a>\u00bb, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u043a\u0443\u0440\u0441\u043e\u0432 Brainwashing. \u041a\u0443\u0440\u0441 \u0432\u0435\u0434\u0443\u0442 \u043b\u044e\u0434\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043d\u043e\u0433\u0438\u0435 \u0433\u043e\u0434\u044b \u0437\u0430\u043d\u0438\u043c\u0430\u043b\u0438\u0441\u044c \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0435\u0439 \u0432 \u0442\u0430\u043a\u0438\u0445 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f\u0445, \u043a\u0430\u043a Skype, Groupon, \u041a\u0443\u043f\u0438\u041a\u0443\u043f\u043e\u043d, \u041e\u0432\u0435\u0440\u0441\u0430\u043d-\u0421\u043a\u0430\u043b\u0430\u043a\u0441\u0438. <a name=\"habracut\"><\/a>\u0418 \u0432\u043e\u0442, \u0447\u0442\u043e \u043e\u043d\u0438 \u043e\u0431\u0435\u0449\u0430\u044e\u0442:<\/p>\n<p>  <i>\u0417\u0430 2 \u0434\u043d\u044f \u0440\u0430\u0437\u0431\u0435\u0440\u0451\u043c \u0432\u043d\u0435\u0434\u0440\u0435\u043d\u0438\u0435 DevOps \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435. \u041d\u0430\u0443\u0447\u0438\u043c \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0437\u0430 5 \u043c\u0438\u043d\u0443\u0442, \u0434\u0435\u043b\u0430\u0442\u044c \u0432\u044b\u043a\u0430\u0442\u043a\u0443 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u0439, \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u043f\u043e\u043c\u043e\u0433\u0430\u043b, \u0430 \u043d\u0435 \u0441\u043f\u0430\u043c\u0438\u043b. \u041e\u0431\u044a\u044f\u0441\u043d\u0438\u043c, \u043a\u043e\u0433\u0434\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u043b\u0430\u043a\u0430 \u0438 CDN, \u0433\u0434\u0435 \u043b\u0443\u0447\u0448\u0435 \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442 \u0438 \u043a\u0430\u043a \u043d\u0435 \u043f\u043e\u0441\u0442\u0440\u0430\u0434\u0430\u0442\u044c \u043e\u0442 \u043f\u0430\u0434\u0435\u043d\u0438\u044f \u043c\u0430\u0440\u0441\u0438\u0430\u043d\u0441\u043a\u043e\u0433\u043e \u043a\u043e\u0440\u0430\u0431\u043b\u044f \u043d\u0430 \u0434\u0430\u0442\u0430\u0446\u0435\u043d\u0442\u0440.<\/p>\n<p>  \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u044d\u0442\u043e \u043d\u0435 \u0434\u0432\u0430 \u0434\u043d\u044f \u043b\u0435\u043a\u0446\u0438\u0439, \u0430 \u043c\u0430\u0441\u0442\u0435\u0440-\u043a\u043b\u0430\u0441\u0441 \u0441 \u0437\u0430\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u0435\u043c \u0442\u0435\u043e\u0440\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0437\u043d\u0430\u043d\u0438\u0439 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u043e\u0439 (\u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0430 \u043a\u0443\u0440\u0441 \u043d\u0430\u0434\u043e \u0432\u0437\u044f\u0442\u044c \u043d\u043e\u0443\u0442\u0431\u0443\u043a \u0441 Linux \u0438\u043b\u0438 OS X \u043d\u0430 \u0431\u043e\u0440\u0442\u0443).<\/i><\/p>\n<p>  \u041a\u0443\u0440\u0441 \u043f\u043b\u0430\u0442\u043d\u044b\u0439, \u043e\u0434\u043d\u0430\u043a\u043e, \u043c\u0435\u0441\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e, \u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0432\u044b\u043c \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0438 \u043f\u043e\u043b\u043d\u043e \u043e\u0442\u0432\u0435\u0442\u0438\u0442\u044c \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b.<\/p>\n<p>  <b>1.<\/b> \u0423 \u0432\u0430\u0441 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435 nginx \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:<\/p>\n<pre><code>upstream fallback {   server 127.0.0.1:80; }  server {     listen 80;     server_name example.com www.example.com mobile.example.com;     access_log \/var\/log\/nginx\/access.log;     error_log \/var\/log\/nginx\/error.log;      location \/nginx-status {       stub_status on;       access_log   off;     }      location \/ {       proxy_set_header X-Real-IP $remote_addr;       if ($host = 'mobile.example.com') {         rewrite ^ http:\/\/example.com\/mobile\/$uri last;         break;       }       proxy_pass http:\/\/fallback;     } } <\/code><\/pre>\n<p>  \u041f\u0435\u0440\u0435\u043f\u0438\u0448\u0438\u0442\u0435 \u044d\u0442\u043e\u0442 \u043a\u043e\u043d\u0444\u0438\u0433 \u0442\u0430\u043a, \u043a\u0430\u043a \u0432\u044b \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e.<\/p>\n<p>  <b>2.<\/b> \u0412 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0432\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043d\u0430 read-only \u0440\u0435\u043f\u043b\u0438\u043a\u0435, \u041d\u0430 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0434\u043e\u043b\u0433\u0438\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u0430\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u0438\u0448\u0435\u0442 \u0432 \u043b\u043e\u0433:<\/p>\n<p>  <code>ActiveRecord::StatementInvalid: PGError: ERROR: canceling statement due to conflict with recovery DETAIL: User query might have needed to see row versions that must be removed. : SELECT \u2026<\/code><\/p>\n<p>  \u041f\u043e\u0447\u0435\u043c\u0443 \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442\u044c \u0438 \u0447\u0442\u043e \u043d\u0430\u0434\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u044d\u0442\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c?<\/p>\n<p>  <b>3.<\/b> \u0420\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u043e \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0438\u0442\u0435 \u0432 \u0447\u0435\u043c \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0430\u0441\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u0432\u0432\u043e\u0434\u0430-\u0432\u044b\u0432\u043e\u0434\u0430 (epoll) \u0438 \u043c\u043d\u043e\u0433\u043e\u0442\u0440\u0435\u0434\u043e\u0432\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 (thread pool). \u0412 \u043a\u0430\u043a\u0438\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u0443\u0434\u043e\u0431\u043d\u0435\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0434\u043d\u0443 \u043c\u043e\u0434\u0435\u043b\u044c \u0430 \u0432 \u043a\u0430\u043a\u0438\u0445 \u0434\u0440\u0443\u0433\u0443\u044e? \u0421\u0435\u0440\u0432\u0438\u0441 \u0441 \u043a\u0430\u043a\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u044c\u044e \u0432\u044b \u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u0431\u044b \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0436\u0435\u0441\u0442\u043a\u0438\u043c \u0434\u0438\u0441\u043a\u043e\u043c?<\/p>\n<p>  <b>4.<\/b> \u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 tcp, \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u0438\u0435\u043c\u043d\u044b\u0439 \u0431\u0443\u0444\u0435\u0440 \u043f\u0435\u0440\u0435\u043f\u043e\u043b\u043d\u0435\u043d? \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435, \u0447\u0442\u043e \u0432\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u0435\u043b\u044c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 tcp \u0438 \u043a\u0430\u043a \u0432\u044b \u0431\u044b \u0440\u0435\u0448\u0438\u043b\u0438 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u043f\u0435\u0440\u0435\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0431\u0443\u0444\u0435\u0440\u0430?<\/p>\n<p>  <b>5.<\/b> \u0412\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 IO \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a deadline \u0438 \u0440\u0435\u0448\u0438\u043b\u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u043e\u0432 \u0441 \u043f\u043e\u043d\u0438\u0436\u0435\u043d\u043d\u044b\u043c \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u043e\u043c \u043a \u0434\u0438\u0441\u043a\u0443. \u041f\u043e\u0441\u043b\u0435 \u0441\u0442\u0430\u0440\u0442\u0430, \u0441\u043a\u0440\u0438\u043f\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b \u0432\u0435\u0441\u044c \u0434\u0438\u0441\u043a \u0438 \u0441\u0442\u0430\u043b \u043c\u0435\u0448\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u043c. \u0412 \u0447\u0435\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430?<\/p>\n<p>  <b>6.<\/b> \u0412 \u0447\u0435\u043c \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 load average \u0432 Linux \u0438 Freebsd (\u0438\u043b\u0438 Solaris), \u043a\u0430\u043a \u0432\u044b \u0441\u0430\u043c\u0438 \u0431\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0444\u043e\u0440\u043c\u0443\u043b\u0443 \u043f\u043e\u0434\u0441\u0447\u0435\u0442\u0430 \u044d\u0442\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430?<\/p>\n<p>  \u041e\u0442\u0432\u0435\u0442\u044b \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u044e\u0442\u0441\u044f \u0434\u043e 19 \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f \u0447\u0435\u0440\u0435\u0437 <a href=\"https:\/\/docs.google.com\/forms\/d\/1JOprxSzWtZZefPJtPk3ITSR8jxJiOHoh2ZCQFkrPqZQ\/viewform\">\u044d\u0442\u0443 \u0444\u043e\u0440\u043c\u0443<\/a>.<\/p>\n<p>  <b>P.S.<\/b> \u041f\u043e\u043b\u043d\u0430\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043a\u0443\u0440\u0441\u0430<\/p>\n<p>  <b>\u0414\u0435\u043d\u044c \u043f\u0435\u0440\u0432\u044b\u0439.<\/b> \u0420\u0430\u0441\u0441\u043a\u0430\u0437 \u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0430\u0445 \u0438 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430\u0445, \u0432\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 \u043c\u0435\u0442\u043e\u0434\u043e\u043b\u043e\u0433\u0438\u044e. \u0418\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430: \u0441\u0435\u0440\u0432\u0435\u0440\u044b \u0438 \u043e\u0431\u043b\u0430\u043a\u0430, \u043a\u0430\u043a \u0432\u044b\u0431\u0440\u0430\u0442\u044c? \u041a\u0430\u043d\u0430\u043b\u044b \u0441\u0432\u044f\u0437\u0438, CDN \u2014 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0438 \u043f\u043e\u0434\u0432\u043e\u0434\u043d\u044b\u0435 \u043a\u0430\u043c\u043d\u0438. \u041a\u0430\u043a \u043f\u0440\u043e\u0433\u043d\u043e\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0443, \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043c\u043e\u0449\u043d\u043e\u0441\u0442\u044f\u043c\u0438. \u041c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433. \u041f\u0435\u0440\u0432\u0430\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430 \u2014 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 vagrant \u0438 chef-solo, \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442. \u041a\u0430\u043a \u043d\u0435 \u043f\u043e\u0442\u0435\u0440\u044f\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043a \u0441\u0430\u0439\u0442\u0443 \u2014 \u0431\u044d\u043a\u0430\u043f\u044b \u0438 \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u044c. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0435\u0439. \u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432.<\/p>\n<p>  <b>\u0414\u0435\u043d\u044c \u0432\u0442\u043e\u0440\u043e\u0439.<\/b> \u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 Opscode Chef. \u0412\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430 \u2014 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 knife \u0438 chef-server. \u0410\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u0421hef \u0438 \u0430\u043d\u0430\u0442\u043e\u043c\u0438\u044f Chef-run. \u041c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0443\u0431\u0438 \u043a\u0443\u0440\u0441 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 Chef. \u0422\u0440\u0435\u0442\u044c\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430 \u2014 \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u043c \u0432 \u0441\u0432\u043e\u0435\u0439 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 apache \u043d\u0430 nginx, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f Chef. \u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0430\u0442\u0442\u0440\u0438\u0431\u0443\u0442\u0430\u043c\u0438, \u0440\u043e\u043b\u044f\u043c\u0438 \u0438 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f\u043c\u0438 \u0432 Chef. \u0414\u0430\u0442\u0430\u0431\u0430\u0433\u0438 \u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u043c\u0438. \u0427\u0435\u0442\u0432\u0435\u0440\u0442\u0430\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430 \u2014 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0432 Chef. \u041f\u044f\u0442\u0430\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430 \u2014 LWRP, code reuse. \u0428\u0435\u0441\u0442\u0430\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430 \u2014 \u043f\u0440\u0438\u043c\u0435\u0440\u044f\u0435\u043c workflow \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043a\u0443\u043a\u0431\u0443\u043a\u0430\u043c\u0438. \u0421\u0435\u0434\u044c\u043c\u0430\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430 \u2014 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0432\u044b\u043a\u0430\u0442\u043a\u0438 \u0441 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0435\u0439.    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/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=\"http:\/\/habrahabr.ru\/company\/xakep\/blog\/193530\/\"> http:\/\/habrahabr.ru\/company\/xakep\/blog\/193530\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u0412 \u0431\u044b\u0441\u0442\u0440\u043e\u0440\u0430\u0441\u0442\u0443\u0449\u0435\u043c \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u043f\u0440\u043e\u0435\u043a\u0442\u0435, \u043a\u043e\u0433\u0434\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0434\u0435\u043d\u044c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0438\u043d\u0441\u0442\u0430\u043d\u0441\u043e\u0432, \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0438\u043d\u0444\u0440\u0430\u0441\u0442\u0443\u043a\u0442\u0443\u0440\u043e\u0439 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043e\u0431\u044b\u0447\u043d\u043e \u0442\u0430\u043a:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage3\/27f\/79c\/19a\/27f79c19ab945b3bee1dd46536262b4b.gif\"\/><\/p>\n<p>  \u0412\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044f \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0434\u0432\u0430. \u041b\u0438\u0431\u043e \u0430\u0434\u043c\u0438\u043d\u044b \u0441\u0445\u043e\u0434\u044f\u0442 \u0441 \u0443\u043c\u0430, \u043f\u043e\u0441\u043b\u0435 100500 \u0434\u0435\u043f\u043b\u043e\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u0441\u043e\u0442\u043d\u044e \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432, \u043b\u0438\u0431\u043e \u043e\u043d\u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043b\u0443\u0447\u0448\u0438\u0435 \u0440\u0435\u0446\u0435\u043f\u0442\u044b DevOps. \u0423 \u0442\u0435\u0431\u044f \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0439\u0442\u0438 \u043a\u043b\u0430\u0441\u0441\u043d\u044b\u0439 \u043a\u0443\u0440\u0441 \u00ab<a href=\"http:\/\/brainwashing.pro\/devops\">DevOps \u0434\u043b\u044f \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432<\/a>\u00bb, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u043a\u0443\u0440\u0441\u043e\u0432 Brainwashing. \u041a\u0443\u0440\u0441 \u0432\u0435\u0434\u0443\u0442 \u043b\u044e\u0434\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043d\u043e\u0433\u0438\u0435 \u0433\u043e\u0434\u044b \u0437\u0430\u043d\u0438\u043c\u0430\u043b\u0438\u0441\u044c \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0435\u0439 \u0432 \u0442\u0430\u043a\u0438\u0445 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f\u0445, \u043a\u0430\u043a Skype, Groupon, \u041a\u0443\u043f\u0438\u041a\u0443\u043f\u043e\u043d, \u041e\u0432\u0435\u0440\u0441\u0430\u043d-\u0421\u043a\u0430\u043b\u0430\u043a\u0441\u0438. <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-193530","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/193530","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=193530"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/193530\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=193530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=193530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=193530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}