{"id":261792,"date":"2015-07-19T00:07:02","date_gmt":"2015-07-18T20:07:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=261792"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=261792","title":{"rendered":"\u0411\u0440\u043e\u043a\u0435\u0440 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u043d\u043e\u0439 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u044b \u043d\u0430 \u0431\u0430\u0437\u0435 ZMQ \u2014 \u0438\u043b\u0438 \u043e\u0442\u0434\u044b\u0445 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430"},"content":{"rendered":"<p>     \t<img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/e7f\/ddb\/3a9\/e7fddb3a90d44fc6a9b619abcad706df.jpg\"\/><\/p>\n<p>  \u0421\u0438\u043b\u044c\u043d\u044b\u0439 \u0432\u0435\u0442\u0435\u0440 \u0434\u0443\u043b \u0432 \u0431\u043e\u0440\u0442 \u0441\u0443\u0434\u043d\u0430. \u041c\u0435\u043b\u043a\u0438\u0435 \u0431\u0440\u044b\u0437\u0433\u0438 \u0438 \u043a\u0430\u043f\u043b\u0438 \u0434\u043e\u0436\u0434\u044f \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u043b\u0438 \u0449\u0443\u0440\u0438\u0442\u0441\u044f \u0441\u043b\u0435\u0433\u043a\u0430 \u043d\u0435\u0431\u0440\u0438\u0442\u043e\u0435 \u043b\u0438\u0446\u043e \u043f\u043e\u0434 \u043e\u0447\u043a\u0430\u043c\u0438. \u0411\u044b\u043b\u043e \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0445\u043e\u043b\u043e\u0434\u043d\u043e: \u0445\u043e\u043b\u043e\u0434 \u043f\u0440\u043e\u043d\u0438\u043a\u0430\u043b \u0432\u0441\u044e\u0434\u0443. \u041f\u043e\u0434 \u043a\u0443\u0440\u0442\u043a\u0443, \u0448\u0442\u0430\u043d\u044b. \u041e\u0442 \u043d\u0435\u0433\u043e \u043d\u0435\u043c\u0435\u043b\u0438 \u0440\u0443\u043a\u0438 \u0438 \u0437\u0430\u0441\u0442\u044b\u0432\u0430\u043b\u0430 \u043a\u0440\u043e\u0432\u044c. \u041d\u043e \u043c\u043e\u0440\u044f\u043a \u0437\u043d\u0430\u043b, \u0447\u0442\u043e \u0433\u0434\u0435-\u0442\u043e \u0442\u0430\u043c \u0437\u0430 \u043c\u044b\u0441\u043e\u043c \u0435\u0441\u0442\u044c \u0442\u0438\u0445\u0438\u0439 \u043e\u0441\u0442\u0440\u043e\u0432, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0436\u0434\u0430\u0442\u044c \u043d\u0435\u043f\u043e\u0433\u043e\u0434\u0443.<br \/>  \u0411\u0435\u0440\u0435\u0433 \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u043b \u0438\u0437\u043c\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u044d\u043a\u0438\u043f\u0430\u0436 \u0448\u0443\u043c\u043e\u043c \u0434\u0435\u0440\u0435\u0432\u044c\u0435\u0432 \u0438 \u0448\u0435\u043f\u043e\u0442\u043e\u043c \u043a\u0430\u043c\u044b\u0448\u0435\u0439. \u041b\u044e\u0434\u0438 \u0437\u043d\u0430\u043b\u0438, \u0447\u0442\u043e \u0443 \u043d\u0438\u0445 \u0435\u0441\u0442\u044c \u043b\u0438\u0448\u044c \u0441\u0443\u0442\u043a\u0438, \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u0434\u043e\u0445\u043d\u0443\u0442\u044c, \u043f\u043e\u043c\u044b\u0442\u044c\u0441\u044f \u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0431\u043e\u0440\u044c\u0431\u0443 \u0441\u043e \u0441\u0442\u0438\u0445\u0438\u0435\u0439.<\/p>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u041d\u043e \u0432 \u044d\u0442\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0442\u0438\u0448\u0438\u043d\u044b \u0438 \u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u043f\u0440\u0438\u0440\u043e\u0434\u043e\u0439, \u043b\u0438\u0448\u0435\u043d\u043d\u044b\u0439 \u0437\u0430\u0434\u0430\u0447 \u043f\u043e \u0432\u044b\u0436\u0438\u0432\u0430\u043d\u0438\u044e, \u043c\u043e\u0437\u0433 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430 \u043f\u043e \u0436\u0438\u0437\u043d\u0438, \u0441\u0442\u0430\u043b \u0441 \u0443\u0434\u0432\u043e\u0435\u043d\u043d\u043e\u0439 \u0441\u0438\u043b\u043e\u0439 \u0438\u0441\u043a\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b. \u042d\u0442\u043e \u0431\u044b\u043b \u043c\u043e\u0437\u0433 \u0430\u0432\u0442\u043e\u0440\u0430 \u0438 \u043e\u043d \u0440\u043e\u0434\u0438\u043b \u0438\u0434\u0435\u044e\u2026<\/p>\n<h1>\u041f\u0440\u0435\u0434\u0438\u0441\u043b\u043e\u0432\u0438\u0435<\/h1>\n<p>  \u0421\u0434\u0435\u043b\u0430\u043d\u043e just-for-fun \u0437\u0430 5 \u0434\u043d\u0435\u0439 \u043d\u0430 \u0431\u043e\u0440\u0442\u0443 \u0441\u0443\u0434\u043d\u0430 \u0441\u043e \u0441\u0440\u0435\u0434\u043d\u0435\u0439 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c\u044e 7 \u0443\u0437\u043b\u043e\u0432.<\/p>\n<h1>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435<\/h1>\n<p>  \u041f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0435 \u0441\u0447\u0430\u0441\u0442\u044c\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u2014 \u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0435\u043c \u043b\u044e\u0431\u0438\u043c\u043e\u043c \u044f\u0437\u044b\u043a\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0437\u0430 \u044d\u0442\u043e \u0434\u0435\u043d\u044c\u0433\u0438 (\u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435 \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435, \u0445\u043e\u0442\u044f \u0434\u0435\u043d\u0435\u0433 \u0432\u0441\u0435\u0433\u0434\u0430 \u043c\u0430\u043b\u043e). \u041f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u0436\u0435\u043b\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u0432\u0435\u043b\u0438 \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u0440\u043e\u0434\u0438\u043b\u0441\u044f \u0446\u0435\u043b\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u0432 \u0432\u0438\u0434\u0435 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u043e\u044f\u0449\u0438\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043e\u0431\u043c\u0435\u043d\u0430 \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438: <a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%A1%D0%B5%D1%80%D0%B2%D0%B8%D1%81-%D0%BE%D1%80%D0%B8%D0%B5%D0%BD%D1%82%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%BD%D0%B0%D1%8F_%D0%B0%D1%80%D1%85%D0%B8%D1%82%D0%B5%D0%BA%D1%82%D1%83%D1%80%D0%B0\">SOA<\/a> (\u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438 SOAP\/WSDL\/XML-RPC\/JSON-RPC \u0442.\u043f.), REST, \u043c\u0438\u043a\u0440\u043e\u0441\u0435\u0440\u0432\u0438\u0441\u043d\u0430\u044f \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430. \u0421\u0443\u0442\u044c \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0441\u043b\u0435\u0434\u0443\u044f \u0437\u0430\u0432\u0435\u0442\u0430\u043c Unix, \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0432\u044b\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0430 \u043e\u0431\u043c\u0435\u043d \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e.<br \/>  \u041e\u0434\u043d\u043e \u0438\u0437 \u043c\u043e\u0438\u0445 \u0445\u043e\u0431\u0431\u0438 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u043e \u0441 \u0440\u0430\u0431\u043e\u0442\u043e\u0439 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 \u043c\u0435\u043b\u043a\u0438\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439: \u0443\u043c\u043d\u044b\u0439 \u0434\u043e\u043c, \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u0445\u043e\u0436\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438. \u0414\u043b\u044f \u043a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u0438 \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438 \u0443\u0434\u043e\u0431\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u044c\u043d\u044b\u0439 \u0431\u0440\u043e\u043a\u0435\u0440 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439. \u0422\u0438\u043f\u043e\u0432\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435: <a href=\"https:\/\/ru.wikipedia.org\/wiki\/RabbitMQ\">RabbitMQ<\/a>, Redis, <a href=\"https:\/\/ru.wikipedia.org\/wiki\/Apache_ActiveMQ\">ActiveMQ<\/a> \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u0441\u0445\u043e\u0436\u0438\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f. \u0418\u0437 \u043c\u043e\u043d\u0441\u0442\u0440\u043e\u0432 \u0438\u043d\u0434\u0443\u0441\u0442\u0440\u0438\u0438 \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c <a href=\"https:\/\/ru.wikipedia.org\/wiki\/IBM_WebSphere_MQ\">IBM Broker, IBM MQ<\/a>, <a href=\"https:\/\/en.wikipedia.org\/wiki\/TIBCO_Rendezvous\">Tibco<\/a>.<br \/>  \u041d\u043e \u0447\u0442\u043e-\u0442\u043e \u043c\u043d\u0435 \u0432 \u043d\u0438\u0445 \u043d\u0435 \u043d\u0440\u0430\u0432\u0438\u043b\u043e\u0441\u044c<\/p>\n<h1>\u00ab\u0424\u0430\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438\u00bb \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u0440\u0435\u0448\u0435\u043d\u0438\u0439<\/h1>\n<ul>\n<li><b>Apache Active MQ \u0438 \u043f\u0440\u043e\u0447\u0438\u0435 Java-based \u0431\u0440\u043e\u043a\u0435\u0440\u044b.<\/b> \u041c\u0438\u043d\u0438\u043c\u0443\u043c 100\u041c\u0411 \u043d\u0430 \u0441\u0442\u0430\u0440\u0442\u0435 \u2014 \u0437\u043b\u043e\u0441\u0442\u044c \u0431\u0435\u0440\u0435\u0442 \u0434\u0430\u0436\u0435 \u043f\u0440\u0438 \u043d\u0430\u043b\u0438\u0447\u0438\u0438 16\u0413\u0431 \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u044b. \u041d\u0438\u0447\u0435\u0433\u043e \u043f\u0440\u043e\u0442\u0438\u0432 Java \u043d\u0435 \u0438\u043c\u0435\u044e, \u043d\u043e \u0432\u0441\u0435 \u0436\u0435\u2026 <\/li>\n<li><b>IBM, Tibco \u0438 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435.<\/b> \u0411\u044b\u043b\u043e \u0431\u044b \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0434\u0435\u043d\u0435\u0433 \u2014 \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u043b \u0431\u044b \u043d\u0430 \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0435\u0449\u0435. <\/li>\n<li><b>Rabbit MQ, Redis<\/b>. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0441\u0430\u043c\u044b\u0439 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u043d\u043e \u044f \u0436\u0435 \u043d\u0430 \u043e\u0442\u0434\u044b\u0445\u0435, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u044d\u0442\u043e \u043d\u0435 \u043d\u0430\u0448 \u043f\u0443\u0442\u044c. <\/li>\n<\/ul>\n<p>  \u0412\u044b\u0431\u043e\u0440 \u043f\u0430\u043b \u043d\u0430 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043d\u0435\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0433\u043e, \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e, \u0441 \u043c\u0430\u043b\u044b\u043c \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435\u043c \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432, \u0441 \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u043c \u0440\u043e\u0443\u0442\u0435\u0440\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439. <\/p>\n<h1>\u041a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/h1>\n<p>  \u041a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u0441\u043b\u043e\u0439 \u0432 \u0432\u0438\u0434\u0435 <a href=\"https:\/\/en.wikipedia.org\/wiki\/%C3%98MQ\">ZeroMQ<\/a> \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u044b \u043e\u0431\u043c\u0435\u043d\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f\u043c\u0438.<br \/>  \u0421 \u044f\u0437\u044b\u043a\u043e\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0438 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438. JVM-based, Python, Ruby \u043e\u0442\u043c\u0435\u0442\u0430\u0435\u043c \u043f\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043c\u0430\u0448\u0438\u043d, \u0430 \u0437\u043d\u0430\u0447\u0438\u0442 \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u044f \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432. \u0425\u043e\u0442\u0435\u043b Rust, \u043d\u043e \u043f\u043e\u0441\u043b\u0435 \u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u043e\u043d\u044f\u043b, \u0447\u0442\u043e \u043d\u0430\u0434\u043e \u0436\u0434\u0430\u0442\u044c \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u0441\u0442\u0430\u0431\u0438\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438. Go \u2014 \u0431\u044b\u043b\u043e \u0431\u044b \u043e\u0442\u043b\u0438\u0447\u043d\u043e, \u0435\u0441\u043b\u0438 \u0431\u044b \u0431\u044b\u043b\u0430 \u0440\u043e\u0434\u043d\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f zmq. \u0412 \u0438\u0442\u043e\u0433\u0435 C++\/C.<\/p>\n<h2>\u041f\u0435\u0440\u0432\u0438\u0447\u043d\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f<\/h2>\n<p>  \u0411\u0440\u043e\u043a\u0435\u0440 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437:  <\/p>\n<ul>\n<li>\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u2014 \u0438\u043c\u0435\u043d\u043d\u044b\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 (ZMQ_DEALER), \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0445 \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 \u043e\u0442\u0432\u0435\u0442-\u043d\u0430-\u0437\u0430\u043f\u0440\u043e\u0441 <\/li>\n<li>\u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u2014 \u0430\u043d\u043e\u043d\u0438\u043c\u043d\u044b\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 (ZMQ_REQ), \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0449\u0438\u0445 \u0437\u0430\u043f\u0440\u043e\u0441 \u043a \u0441\u0435\u0440\u0432\u0438\u0441\u0443 \u0447\u0435\u0440\u0435\u0437 \u0431\u0440\u043e\u043a\u0435\u0440 \u0438 \u043e\u0436\u0438\u0434\u0430\u044e\u0449\u0438\u0445 \u043e\u0442\u0432\u0435\u0442\u0430.<\/li>\n<\/ul>\n<p>  \u0422\u043e\u0447\u043a\u043e\u0439 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a \u0431\u0440\u043e\u043a\u0435\u0440\u0443 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u043e\u043a\u0435\u0442 \u0432\u0438\u0434\u0430 ROUTER. \u041f\u0440\u0438 \u043f\u0440\u0438\u0435\u043c\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0442 REQ \u0441\u043e\u043a\u0435\u0442\u0430 (\u043e\u0442 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432), \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0435\u0435 \u0432 \u0441\u0435\u0431\u0435 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0434 \u043a\u043b\u0438\u0435\u043d\u0442\u0430. \u0414\u0430\u043b\u0435\u0435 \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u0430\u043a\u0435\u0442 \u0434\u043b\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0432 \u0441\u0435\u0440\u0432\u0438\u0441, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u0438\u0437 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u043d\u043e\u043c\u0435\u0440\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0438 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445. \u0421\u0445\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u0430\u043a:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/996\/86f\/aef\/99686faefe694a84938b0ed9aff5b2e7.png\"\/><\/p>\n<p>  \u041a\u043e\u0434 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 <a href=\"https:\/\/github.com\/reddec\/waha\/tree\/master\/broker\">GitHub<\/a>.<\/p>\n<h2>\u0412\u0442\u043e\u0440\u0438\u0447\u043d\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f<\/h2>\n<p>  \u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c <i>\u043e\u0447\u0435\u043d\u044c<\/i> \u043f\u0440\u043e\u0441\u0442\u043e\u0439. \u041d\u0430\u0434\u043e \u0431\u044b\u043b\u043e \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u0438 \u0440\u0435\u0448\u0438\u0442\u044c \u0435\u0449\u0435 \u0447\u0430\u0441\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c.<\/p>\n<h3>\u041a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u043e\u0432 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0441 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c?<\/h3>\n<p>  \u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c \u0434\u043b\u044f \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u043a\u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0438 \u043e\u0442\u043a\u0430\u0437\u043e\u0443\u0441\u0442\u043e\u0439\u0447\u0438\u0432\u043e\u0441\u0442\u0438.<br \/>  \u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u0435 \u0438\u043c\u044f \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 DEALER-to-ROUTER, \u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435.<br \/>  \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u2014 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u0449\u0438\u043a \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u0430, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0435\u0433\u043e\u0441\u044f \u043a \u0431\u0440\u043e\u043a\u0435\u0440\u0443 \u0438 \u0441\u043e\u0437\u0434\u0430\u044e\u0449\u0438\u0439 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u0442\u043e\u0447\u043a\u0443 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0432 \u0440\u0435\u0436\u0438\u043c\u0435 DEALER-to-DEALER. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0434\u043b\u044f \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043b\u0438\u0448\u044c \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u0449\u0438\u043a \u0432\u043c\u0435\u0441\u0442\u043e \u0431\u0440\u043e\u043a\u0435\u0440\u0430.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre> USAGE:      waha-proxy-balance  [-b &lt;zmq bind&gt;] [-v] -n &lt;name&gt; [-u &lt;zmq bind&gt;] [--]                        [--version] [-h]   Where:      -b &lt;zmq bind&gt;,  --backend &lt;zmq bind&gt;      Backend binding for proxy     -v,  --verbose      Show much more output     -n &lt;name&gt;,  --name &lt;name&gt;      (required)  Balancing service name     -u &lt;zmq bind&gt;,  --url &lt;zmq bind&gt;      Broker url     --,  --ignore_rest      Ignores the rest of the labeled arguments following this flag.     --version      Displays version information and exits.     -h,  --help      Displays usage information and exits.      Broker balance module <\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041a\u043e\u0434 \u0437\u0434\u0435\u0441\u044c \u043d\u0430 <a href=\"https:\/\/github.com\/reddec\/waha\/tree\/master\/proxy-balance\">GitHub<\/a><\/p>\n<h3>\u041a\u0430\u043a \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c \u0447\u0435\u0440\u0435\u0437 HTTP?<\/h3>\n<p>  \u0423\u0447\u0438\u0442\u044b\u0432\u0430\u044f \u043c\u0430\u0441\u0441\u043e\u0432\u0443\u044e \u043b\u044e\u0431\u043e\u0432\u044c \u043d\u0430\u0440\u043e\u0434\u0430 \u043a HTTP \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443, \u0447\u0442\u043e, \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u0445\u043e\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0443\u043c\u043d\u044b\u0439 \u0442\u043e\u0441\u0442\u0435\u0440, \u043d\u0435 \u043b\u0438\u0448\u0435\u043d\u043e \u0441\u043c\u044b\u0441\u043b\u0430, \u043d\u0430\u0434\u043e \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e: json\/plain \u0432\u044b\u0432\u043e\u0434, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043a\u0430\u043a GET \u0442\u0430\u043a \u0438 POST \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432, \u043d\u0443 \u0438 JSONP \u043d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u043f\u043e\u0436\u0430\u0440\u043d\u044b\u0439.<br \/>  \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a <a href=\"https:\/\/ru.wikipedia.org\/wiki\/POCO\">Poco<\/a> \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u0432\u0438\u0434\u0435 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0434\u0435\u043c\u043e\u043d\u0430. <\/p>\n<ul>\n<li>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 args \u0432 GET \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u0438\u043b\u0438 \u0442\u0435\u043b\u043e POST \u0434\u043e\u043b\u0436\u043d\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c JSON \u043c\u0430\u0441\u0441\u0438\u0432.<\/li>\n<li>\u041e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 timeout \u2014 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u043e\u0442\u0432\u0435\u0442\u0430 \u0432 \u043c\u0441.<\/li>\n<li>\u041e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 type \u2014 \u0442\u0438\u043f \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u2014 plain \u0438\u043b\u0438 json<\/li>\n<li>\u041e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 jsonp \u0438\u043b\u0438 callaback \u2014 \u0438\u043c\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0434\u043b\u044f JSON-P \u0437\u0430\u043f\u0440\u043e\u0441\u0430<\/li>\n<\/ul>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre> USAGE:      waha-proxy-http  [-t &lt;ms&gt;] [--threads &lt;int&gt;] [-p &lt;int&gt;] [-v] [-u &lt;zmq                     bind&gt;] [--] [--version] [-h]   Where:      -t &lt;ms&gt;,  --timeout &lt;ms&gt;      Request timeout  without `timeout` param. -1 - infinity     --threads &lt;int&gt;      HTTP max threads     -p &lt;int&gt;,  --port &lt;int&gt;      HTTP binding port     -v,  --verbose      Show much more output     -u &lt;zmq bind&gt;,  --url &lt;zmq bind&gt;      Broker url     --,  --ignore_rest      Ignores the rest of the labeled arguments following this flag.     --version      Displays version information and exits.     -h,  --help      Displays usage information and exits.      Broker HTTP proxy (REST like) module <\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041a\u043e\u0434 \u0437\u0434\u0435\u0441\u044c \u043d\u0430 <a href=\"https:\/\/github.com\/reddec\/waha\/tree\/master\/proxy-http\">GitHub<\/a><\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u043e\u0447\u0435\u043c\u0443 Poco?<\/b><\/p>\n<div class=\"spoiler_text\">\u041f\u043e\u0447\u0435\u043c\u0443 \u043d\u0435 boost\/libevent \u0438\u043b\u0438 \u0435\u0449\u0435 \u0447\u0442\u043e? \u041f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e Poco \u044d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0442\u043e\u043d\u043a\u0430\u044f \u043e\u0431\u0435\u0440\u0442\u043a\u0430 \u043d\u0430\u0434 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u043c\u0438 \u0432\u044b\u0437\u043e\u0432\u0430\u043c\u0438, \u0431\u0435\u0437 \u043b\u0438\u0448\u043d\u0435\u0433\u043e \u043e\u0431\u0432\u0435\u0441\u0430, \u0441\u043e\u0431\u0438\u0440\u0430\u044e\u0449\u0435\u0435\u0441\u044f \u0441 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0443\u0441\u0438\u043b\u0438\u044f\u043c\u0438 \u0438 \u043e\u0442\u043b\u0438\u0447\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0435\u0439. \u0418 \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u043d\u0430 \u043c\u043d\u0435 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u0435\u0435 \u0447\u0435\u043c boost.  <\/div>\n<\/div>\n<h3>\u041a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0445\u043e\u0440\u043e\u0448\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0443 \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043d\u0435\u043e\u0445\u043e\u0442\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c?<\/h3>\n<p>  \u0414\u0435\u043b\u0430\u0435\u043c \u0434\u0435\u043c\u043e\u043d\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u043b\u044e\u0431\u0443\u044e \u0434\u0440\u0443\u0433\u0443\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443, \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442 \u0435\u0439 \u043d\u0430 \u0432\u0445\u043e\u0434 \u043f\u043e\u043b\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043a\u0430\u043a \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u0438 \u0438\u043d\u0442\u0435\u0440\u043f\u0440\u0435\u0442\u0438\u0440\u0443\u0435\u0442 \u0432\u044b\u0432\u043e\u0434 \u043a\u0430\u043a \u043e\u0442\u0432\u0435\u0442. \u0423\u043f\u0440\u043e\u0449\u0435\u043d\u043d\u044b\u0439 \u0442\u0430\u043a\u043e\u0439 CGI.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre> USAGE:      waha-service-script  [-s &lt;script&gt;] [--no-stdout] [-e] [-r] -n &lt;name&gt;                         [-v] [-u &lt;zmq bind&gt;] [--] [--version] [-h] &lt;string&gt;                         ...   Where:      -s &lt;script&gt;,  --script &lt;script&gt;      Script path for 'script' mode     --no-stdout      Do not use stdout as message     -e,  --stderr      Append script stderr output     -r,  --ret-code      Append script return code as last field in message     -n &lt;name&gt;,  --name &lt;name&gt;      (required)  Balancing service name     -v,  --verbose      Show much more output     -u &lt;zmq bind&gt;,  --url &lt;zmq bind&gt;      Broker url     --,  --ignore_rest      Ignores the rest of the labeled arguments following this flag.     --version      Displays version information and exits.     -h,  --help      Displays usage information and exits.     &lt;string&gt;  (accepted multiple times)      Predefined args for script      Broker script service <\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041a\u043e\u0434 \u0437\u0434\u0435\u0441\u044c \u043d\u0430 <a href=\"https:\/\/github.com\/reddec\/waha\/tree\/master\/service-script\">GitHub<\/a><\/p>\n<h3>\u041a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0449\u0435 \u043b\u0443\u0447\u0448\u0435?<\/h3>\n<p>  \u0421\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a\u043e \u0432\u0441\u0435\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043d\u0441\u043e\u043b\u044c. \u0421 plain\/hex\/base64\/json \u0432\u0432\u043e\u0434\u043e\u043c \u0438 \u0432\u044b\u0432\u043e\u0434\u043e\u043c.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre> USAGE:      waha-cli  [-t &lt;ms&gt;] -n &lt;name&gt; [-v] [-u &lt;zmq bind&gt;] [-p] [-e &lt;plain              |base64|hex&gt;] [--out-sep &lt;char&gt;] [-o &lt;empty|plain|delimited              |json&gt;] [-d &lt;plain|base64|hex&gt;] [--in-sep &lt;char&gt;] [-i &lt;args              |plain|delimited|json&gt;] [--] [--version] [-h] &lt;string&gt; ...   Where:      -t &lt;ms&gt;,  --timeout &lt;ms&gt;      Request timeout. -1 - infinity     -n &lt;name&gt;,  --name &lt;name&gt;      (required)  Remote service name     -v,  --verbose      Show much more output     -u &lt;zmq bind&gt;,  --url &lt;zmq bind&gt;      Broker url     -p,  --pretty      Pretty JSON output for 'json'     -e &lt;plain|base64|hex&gt;,  --encoder &lt;plain|base64|hex&gt;      Output encoder for 'delimited' output     --out-sep &lt;char&gt;      Output separator     -o &lt;empty|plain|delimited|json&gt;,  --output &lt;empty|plain|delimited|json&gt;      Output mode in CLI mode     -d &lt;plain|base64|hex&gt;,  --decoder &lt;plain|base64|hex&gt;      Input decoder for 'delimited' input     --in-sep &lt;char&gt;      Input separator     -i &lt;args|plain|delimited|json&gt;,  --input &lt;args|plain|delimited|json&gt;      Input mode in CLI mode     --,  --ignore_rest      Ignores the rest of the labeled arguments following this flag.     --version      Displays version information and exits.     -h,  --help      Displays usage information and exits.     &lt;string&gt;  (accepted multiple times)      Args in request message for for 'args' input      ZMQ broker console client interface  <\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041a\u043e\u0434 \u0437\u0434\u0435\u0441\u044c <a href=\"https:\/\/github.com\/reddec\/waha\/tree\/master\/cli\">GitHub<\/a><\/p>\n<h1>\u0421\u0431\u043e\u0440\u043a\u0430 \u0432\u0441\u0435\u0433\u043e<\/h1>\n<p>  GIT + CMake + make<\/p>\n<pre> git clone https:\/\/github.com\/reddec\/waha.git && cd waha && mkdir build && cd build cmake ..\/  -DCMAKE_BUILD_TYPE=Release make && make package <\/pre>\n<p>  \u041f\u0430\u043a\u0435\u0442 \u0434\u043b\u044f Debian \u0431\u0443\u0434\u0435\u0442 \u0432 waha-*.deb, \u0434\u043b\u044f \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 waha-*.zip<\/p>\n<h1>\u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<\/h1>\n<h4>\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0441 \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439 \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435 \u0438 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c.<\/h4>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a \u0431\u0440\u043e\u043a\u0435\u0440\u0430 (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043f\u043e\u0440\u0442 10000)  <\/p>\n<pre> $ waha-broker <\/pre>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u0430 \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f (\u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043f\u043e\u0440\u0442 10001)  <\/p>\n<pre> $ waha-proxy-balance -n system.user.check <\/pre>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a httpasswd \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043b\u043e\u0433\u0438\u043d\/\u043f\u0430\u0440\u043e\u043b\u044f (\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443\u0433\u043e\u0434\u043d\u043e \u0440\u0430\u0437 \u0434\u043b\u044f \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438). \u0412\u044b\u0434\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u0434 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u044b. \u0412\u0441\u0435 \u0447\u0442\u043e \u0438\u0434\u0435\u0442 \u043f\u043e\u0441\u043b\u0435 \u2014 &#8212; \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u0443.  <\/p>\n<pre> $ waha-service-script  -u tcp:\/\/127.0.0.1:10001 -n system.user.check -s htpasswd  --ret-code --no-stdout -- -bv users.passwd <\/pre>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 (\u0431\u0435\u0437 \u0431\u0430\u043b\u0430\u043d\u0441\u0438\u0440\u043e\u0432\u043a\u0438) \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0432\u044b\u0432\u043e\u0434\u043e\u043c   <\/p>\n<pre> $ waha-service-script -n system.user.add -s htpasswd --ret-code --stderr -- -b users.passwd <\/pre>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a HTTP \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 (\u043f\u043e\u0440\u0442 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 9001)<\/p>\n<pre> $ waha-proxy-http <\/pre>\n<p>  \u043f\u0440\u0438\u043c\u0435\u0440 \u0437\u0430\u043f\u0440\u043e\u0441\u0430<\/p>\n<pre> http:\/\/127.0.0.1:9001\/system.user.check?args=[&quot;admin&quot;,&quot;admin&quot;] http:\/\/127.0.0.1:9001\/system.user.check?args=[&quot;admin&quot;,&quot;admin&quot;]&callback=func123 <\/pre>\n<h4>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430<\/h4>\n<p>  \u0412\u044b\u0432\u043e\u0434 \u0431\u0435\u0437 \u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f: <\/p>\n<pre>$ waha-cli -n system.user.check admin admin<\/pre>\n<p>  \u0412\u044b\u0432\u043e\u0434 \u0432 JSON: <\/p>\n<pre>$ waha-cli -o json -n system.user.check admin admin<\/pre>\n<h1>\u0418\u0442\u043e\u0433<\/h1>\n<p>  \u041c\u043e\u0434\u0443\u043b\u044c\u043d\u044b\u0439, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u0431\u0440\u043e\u043a\u0435\u0440 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0442\u0434\u044b\u0445\u0430 \u0434\u043b\u044f \u043e\u0442\u0434\u044b\u0445\u0430 \u0438 \u0440\u0430\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u043c just for fun. \u0414\u0430\u0431\u044b \u043a\u043e\u0434 \u043d\u0435 \u043f\u0440\u043e\u043f\u0430\u0434\u0430\u043b, \u0432\u044b\u043b\u043e\u0436\u0438\u043b \u0435\u0433\u043e \u0432 \u043e\u0431\u0449\u0438\u0439 \u0434\u043e\u0441\u0442\u0443\u043f. <br \/>  \u0415\u0441\u043b\u0438 \u043a\u043e\u043c\u0443 \u043d\u0443\u0436\u043d\u043e \u044d\u0442\u043e \u2014 \u043e\u0431\u0440\u0430\u0449\u0430\u0439\u0442\u0435\u0441\u044c \u043f\u0440\u043e\u043a\u043e\u043d\u0441\u0443\u043b\u044c\u0442\u0438\u0440\u0443\u044e.   \t\t\t\t<\/p>\n<div class=\"polling\">\n<form action=\"\/json\/polling\/\" class=\"poll\" method=\"post\">\n<div class=\"poll_title\">\u0411\u0443\u0434\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c?<\/div>\n<p>  \t\t<input type=\"hidden\" name=\"post_id\" value=\"262977\"\/> \t\t<input type=\"hidden\" name=\"polling_question_id\" value=\"13821\"\/>  \t\t<\/p>\n<table class=\"answer\">\n<tr>\n<td class=\"input\"> \t\t\t\t\t<input type=\"radio\" id=\"vv68069\" \t\t\t\t\t\tclass=\"radio js-field-data\" \t\t\t\t\t\tname=\"variant[]\" \t\t\t\t\t\tvalue=\"68069\" \/> \t\t\t\t<\/td>\n<td class=\"label\"> \t\t\t\t\t<label for=\"vv68069\">\u0414\u0430<\/label> \t\t\t\t<\/td>\n<\/tr>\n<tr>\n<td class=\"input\"> \t\t\t\t\t<input type=\"radio\" id=\"vv68071\" \t\t\t\t\t\tclass=\"radio js-field-data\" \t\t\t\t\t\tname=\"variant[]\" \t\t\t\t\t\tvalue=\"68071\" \/> \t\t\t\t<\/td>\n<td class=\"label\"> \t\t\t\t\t<label for=\"vv68071\">\u041d\u0435\u0442<\/label> \t\t\t\t<\/td>\n<\/tr>\n<tr>\n<td class=\"input\"> \t\t\t\t\t<input type=\"radio\" id=\"vv68073\" \t\t\t\t\t\tclass=\"radio js-field-data\" \t\t\t\t\t\tname=\"variant[]\" \t\t\t\t\t\tvalue=\"68073\" \/> \t\t\t\t<\/td>\n<td class=\"label\"> \t\t\t\t\t<label for=\"vv68073\">\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e<\/label> \t\t\t\t<\/td>\n<\/tr>\n<\/table>\n<p class=\"total\">\u041d\u0438\u043a\u0442\u043e \u0435\u0449\u0451 \u043d\u0435 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043b. \u0412\u043e\u0437\u0434\u0435\u0440\u0436\u0430\u0432\u0448\u0438\u0445\u0441\u044f \u043d\u0435\u0442.<\/p>\n<\/p><\/form>\n<p class=\"for_users_only_msg\">\u0422\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043c\u043e\u0433\u0443\u0442 \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u043e\u043f\u0440\u043e\u0441\u0435. <a href=\"https:\/\/habrahabr.ru\/auth\/login\/\">\u0412\u043e\u0439\u0434\u0438\u0442\u0435<\/a>, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430.<\/p>\n<\/p><\/div>\n<div class=\"clear\"><\/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\/post\/262977\/\"> http:\/\/habrahabr.ru\/post\/262977\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>     \t<img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/e7f\/ddb\/3a9\/e7fddb3a90d44fc6a9b619abcad706df.jpg\"\/><\/p>\n<p>  \u0421\u0438\u043b\u044c\u043d\u044b\u0439 \u0432\u0435\u0442\u0435\u0440 \u0434\u0443\u043b \u0432 \u0431\u043e\u0440\u0442 \u0441\u0443\u0434\u043d\u0430. \u041c\u0435\u043b\u043a\u0438\u0435 \u0431\u0440\u044b\u0437\u0433\u0438 \u0438 \u043a\u0430\u043f\u043b\u0438 \u0434\u043e\u0436\u0434\u044f \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u043b\u0438 \u0449\u0443\u0440\u0438\u0442\u0441\u044f \u0441\u043b\u0435\u0433\u043a\u0430 \u043d\u0435\u0431\u0440\u0438\u0442\u043e\u0435 \u043b\u0438\u0446\u043e \u043f\u043e\u0434 \u043e\u0447\u043a\u0430\u043c\u0438. \u0411\u044b\u043b\u043e \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0445\u043e\u043b\u043e\u0434\u043d\u043e: \u0445\u043e\u043b\u043e\u0434 \u043f\u0440\u043e\u043d\u0438\u043a\u0430\u043b \u0432\u0441\u044e\u0434\u0443. \u041f\u043e\u0434 \u043a\u0443\u0440\u0442\u043a\u0443, \u0448\u0442\u0430\u043d\u044b. \u041e\u0442 \u043d\u0435\u0433\u043e \u043d\u0435\u043c\u0435\u043b\u0438 \u0440\u0443\u043a\u0438 \u0438 \u0437\u0430\u0441\u0442\u044b\u0432\u0430\u043b\u0430 \u043a\u0440\u043e\u0432\u044c. \u041d\u043e \u043c\u043e\u0440\u044f\u043a \u0437\u043d\u0430\u043b, \u0447\u0442\u043e \u0433\u0434\u0435-\u0442\u043e \u0442\u0430\u043c \u0437\u0430 \u043c\u044b\u0441\u043e\u043c \u0435\u0441\u0442\u044c \u0442\u0438\u0445\u0438\u0439 \u043e\u0441\u0442\u0440\u043e\u0432, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0436\u0434\u0430\u0442\u044c \u043d\u0435\u043f\u043e\u0433\u043e\u0434\u0443.<br \/>  \u0411\u0435\u0440\u0435\u0433 \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u043b \u0438\u0437\u043c\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u044d\u043a\u0438\u043f\u0430\u0436 \u0448\u0443\u043c\u043e\u043c \u0434\u0435\u0440\u0435\u0432\u044c\u0435\u0432 \u0438 \u0448\u0435\u043f\u043e\u0442\u043e\u043c \u043a\u0430\u043c\u044b\u0448\u0435\u0439. \u041b\u044e\u0434\u0438 \u0437\u043d\u0430\u043b\u0438, \u0447\u0442\u043e \u0443 \u043d\u0438\u0445 \u0435\u0441\u0442\u044c \u043b\u0438\u0448\u044c \u0441\u0443\u0442\u043a\u0438, \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u0434\u043e\u0445\u043d\u0443\u0442\u044c, \u043f\u043e\u043c\u044b\u0442\u044c\u0441\u044f \u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0431\u043e\u0440\u044c\u0431\u0443 \u0441\u043e \u0441\u0442\u0438\u0445\u0438\u0435\u0439.<\/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-261792","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/261792","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=261792"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/261792\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=261792"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=261792"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=261792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}