{"id":317519,"date":"2021-02-05T09:00:41","date_gmt":"2021-02-05T09:00:41","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=317519"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=317519","title":{"rendered":"\u0421\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 HashiCorp Vault \u0441 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0431\u044d\u043a\u0435\u043d\u0434\u0430\u043c\u0438"},"content":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e24\/744\/5b8\/e247445b8e4135726fd7dc62de1c84b1.png\" width=\"780\" height=\"450\"><figcaption><\/figcaption><\/figure>\n<p><a href=\"https:\/\/www.vaultproject.io\/\"><u>Vault<\/u><\/a> \u2014 Open Source-\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043e\u0442 HashiCorp \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u0430\u043c\u0438. \u0415\u0433\u043e <a href=\"https:\/\/learn.hashicorp.com\/tutorials\/vault\/getting-started-intro\"><u>\u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0441\u0442\u044c<\/u><\/a> \u043d\u0430 \u043c\u043e\u0434\u0443\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u043e\u0441\u0442\u044c \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043a\u0430\u043a \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 dev-\u0441\u0435\u0440\u0432\u0435\u0440 Vault \u043d\u0430 \u0441\u0432\u043e\u0435\u043c \u043d\u043e\u0443\u0442\u0431\u0443\u043a\u0435, \u0442\u0430\u043a \u0438 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0439 HA-\u043a\u043b\u0430\u0441\u0442\u0435\u0440 \u0434\u043b\u044f production-\u0441\u0440\u0435\u0434.<\/p>\n<p>\u041d\u0430\u0447\u0438\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 Vault, \u043c\u044b \u0437\u0430\u0434\u0430\u043b\u0438\u0441\u044c \u0434\u0432\u0443\u043c\u044f \u0432\u043e\u043f\u0440\u043e\u0441\u0430\u043c\u0438:<\/p>\n<ol>\n<li>\n<p>\u041a\u0430\u043a\u043e\u0439 \u0431\u044d\u043a\u0435\u043d\u0434 <em>(\u0442.\u0435. \u043c\u0435\u0441\u0442\u043e, \u0433\u0434\u0435 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u044b; \u0438\u043c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0430\u044f \u0444\u0430\u0439\u043b\u043e\u0432\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0438\u043b\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0411\u0414 \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449)<\/em> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438 \u0447\u0442\u043e \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0432\u043e\u0434\u0443 \u0433\u043e\u0432\u043e\u0440\u044f\u0442 \u0441\u0430\u043c\u0438 \u0430\u0432\u0442\u043e\u0440\u044b?<\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u043a\u0443\u044e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u0430\u044f \u043d\u0430\u043c\u0438 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430?<\/p>\n<\/li>\n<\/ol>\n<p>\u041f\u043e \u043f\u0435\u0440\u0432\u043e\u043c\u0443 \u0432\u043e\u043f\u0440\u043e\u0441\u0443 \u0432\u0441\u0435 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043f\u0440\u0435\u0434\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c: HashiCorp \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u2014 <a href=\"https:\/\/learn.hashicorp.com\/tutorials\/vault\/reference-architecture?in=vault\/day-one-consul#network-connectivity-details\"><u>Consul<\/u><\/a>. \u041d\u0435 \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u0443\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0435\u0441\u043b\u0438 \u0437\u043d\u0430\u0442\u044c\/\u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0430\u0432\u0442\u043e\u0440\u043e\u0432 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430. \u0410 \u0432\u043e\u0442 \u0441\u043e \u0432\u0442\u043e\u0440\u044b\u043c \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u043c \u0432\u0441\u0435 \u0441\u043b\u043e\u0436\u043d\u0435\u0435. \u041d\u043e \u043f\u043e\u0447\u0435\u043c\u0443 \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u043d\u0430\u0441 \u044d\u0442\u043e \u0432\u043e\u043b\u043d\u043e\u0432\u0430\u043b\u043e?<\/p>\n<p>\u0412 \u043f\u0440\u043e\u0435\u043a\u0442\u0435, \u0433\u0434\u0435 \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f Vault, \u043c\u044b \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0438 \u0435\u0433\u043e \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 Consul, \u0434\u043e\u0432\u0435\u0440\u0438\u0432\u0448\u0438\u0441\u044c \u0432\u044b\u0431\u043e\u0440\u0443 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e. \u0418 \u0432\u0441\u043a\u043e\u0440\u0435 \u0443\u0432\u0438\u0434\u0435\u043b\u0438, \u0447\u0442\u043e \u0441\u0430\u043c \u0444\u0430\u043a\u0442 \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u0438 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u044f Consul\u2019\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043d\u0430\u043a\u043b\u0430\u0434\u043d\u044b\u0435 \u0440\u0430\u0441\u0445\u043e\u0434\u044b: \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432, \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0439, \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u0434\u0430\u0447 \u043f\u043e \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u044e \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 (\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f, \u0440\u0435\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0438 \u0442.\u0434.). \u041f\u043e\u0441\u043e\u0432\u0435\u0449\u0430\u0432\u0448\u0438\u0441\u044c \u0441 \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c\u0438, \u043c\u044b \u043f\u0440\u0438\u043d\u044f\u043b\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u0442\u044c \u0441\u0435\u0431\u0435 \u0436\u0438\u0437\u043d\u044c \u0438 \u043c\u0438\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 GCS (Google Cloud Storage), \u0442.\u043a. \u044d\u0442\u043e \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u043d\u0438\u043c\u0430\u0435\u0442 \u0433\u043e\u043b\u043e\u0432\u043d\u0443\u044e \u0431\u043e\u043b\u044c \u043e\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0431\u044d\u043a\u0435\u043d\u0434-\u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043a\u0430\u043a self-hosted.<\/p>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e \u0441\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u043f\u0440\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043e\u0434\u043d\u0430 \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e\u0441\u0442\u044c, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0441\u0440\u0430\u0437\u0443 \u043d\u0435 \u0437\u0430\u0434\u0443\u043c\u044b\u0432\u0430\u043b\u0438\u0441\u044c: \u0431\u044d\u043a\u0435\u043d\u0434\u044b \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043d\u044b \u043d\u0430 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u0440\u0430\u0437\u043d\u0443\u044e \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0443. \u0415\u0441\u043b\u0438 GCS \u0432\u044b\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u043b \u00ab\u0441\u043f\u043e\u043a\u043e\u0439\u043d\u044b\u0439\u00bb \u0442\u0440\u0430\u0444\u0438\u043a \u043e\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u0442\u043e \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043c\u0430\u0441\u0441\u043e\u0432\u044b\u0445 \u0442\u0435\u0441\u0442\u043e\u0432 \u0438 \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0434\u0435\u043c\u043e-\u043f\u043e\u043a\u0430\u0437\u043e\u0432 \u0437\u0430\u043a\u0430\u0437\u0447\u0438\u043a\u0430\u043c \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u0438\u0441\u044c \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u043e\u0441\u0442\u0438. \u042d\u0442\u043e \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043d\u0430\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u043e \u043d\u0430 \u043c\u044b\u0441\u043b\u044c: \u00ab\u0427\u0442\u043e \u0436\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430 \u043f\u0440\u043e\u0434\u0435? \u0420\u0430\u0437 \u043c\u044b \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0438\u0441\u044c \u0441 \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439, \u043d\u0430\u0434\u043e \u0431\u044b \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u044b\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0431\u044d\u043a\u0435\u043d\u0434\u043e\u0432, \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u0438\u0445\u00bb.<\/p>\n<p>\u0418\u0442\u0430\u043a, \u0435\u0441\u0442\u044c \u043c\u043d\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432, \u043e\u0442 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c Vault: \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430 \u0441\u0435\u0442\u0438, \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0431\u044d\u043a\u0435\u043d\u0434, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0443\u0437\u043b\u043e\u0432 \u0432 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435 Vault \u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043d\u0430 \u043d\u0438\u0445\u2026 \u041f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0434\u0430\u0436\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u043d\u0438\u0445 \u0446\u0438\u0444\u0440\u044b \u0441\u0438\u043b\u044c\u043d\u043e \u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f. \u0412 \u0440\u0430\u043c\u043a\u0430\u0445 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0430\u0441\u0442\u044c \u044d\u0442\u0438\u0445 \u0444\u0430\u043a\u0442\u043e\u0440\u043e\u0432 \u2014 \u00ab\u0431\u0430\u0437\u043e\u0432\u0443\u044e\u00bb (\u0442.\u0435. \u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0443\u044e \u0432 \u0441\u0435\u0431\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044e) \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0431\u044d\u043a\u0435\u043d\u0434\u043e\u0432.<\/p>\n<p>\u0425\u043e\u0440\u043e\u0448\u0430\u044f \u043d\u043e\u0432\u043e\u0441\u0442\u044c \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0432 Git \u0435\u0441\u0442\u044c \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432 \u0441 \u0433\u043e\u0442\u043e\u0432\u044b\u043c\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u043c\u0438 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0415\u0441\u043b\u0438 \u0432\u044b \u0437\u0430\u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0438\u0441\u043f\u044b\u0442\u0430\u043d\u0438\u044f \u043d\u0430 \u0441\u0432\u043e\u0435\u043c Vault\u2019\u0435, \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <a href=\"https:\/\/github.com\/hashicorp\/vault-guides\/tree\/master\/operations\/benchmarking\/wrk-core-vault-operations\"><u>Vault Benchmarking Scripts<\/u><\/a> \u0438 <a href=\"https:\/\/github.com\/tradel\/vault-load-testing\"><u>Load Tests for Vault<\/u><\/a>. \u0418\u043b\u0438 \u0436\u0435 \u0434\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 \u0441\u0442\u0430\u0442\u044c\u044e \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u043c\u043e\u0439 \u043c\u0435\u0442\u043e\u0434 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u0445 \u043e\u0442 HashiCorp.<\/p>\n<h2>\u0412\u0432\u043e\u0434\u043d\u044b\u0435 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/h2>\n<h3>\u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f<\/h3>\n<p>\u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u044c \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043d\u0438\u0436\u0435 \u0442\u0435\u0441\u0442\u044b, \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f:<\/p>\n<ul>\n<li>\n<p><strong>\u0423\u0436\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u0432 <\/strong><a href=\"https:\/\/www.vaultproject.io\/docs\/concepts\/ha\"><strong><u>\u0440\u0435\u0436\u0438\u043c\u0435 HA<\/u><\/strong><\/a><strong> Vault<\/strong>. \u0415\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a \u044f \u0431\u0443\u0434\u0443 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c Kubernetes-\u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435, \u0433\u0434\u0435 \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f 3 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u043e\u0432 Vault (\u0441 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0431\u044d\u043a\u0435\u043d\u0434\u0430\u043c\u0438).<\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/strong>. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0440\u044f\u0434\u043e\u043c \u0441 Kubernetes. \u0422\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438, \u0447\u0442\u043e\u0431\u044b \u043c\u0438\u043d\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u0442\u0435\u0432\u044b\u0435 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0438.<\/p>\n<\/li>\n<\/ul>\n<h3>\u0423\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438&nbsp;<\/h3>\n<p>\u041c\u044b \u0431\u0443\u0434\u0435\u043c \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0440\u0438 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0431\u044d\u043a\u0435\u043d\u0434\u0430:<\/p>\n<ol>\n<li>\n<p><a href=\"https:\/\/www.vaultproject.io\/docs\/configuration\/storage\/consul\"><u>Consul<\/u><\/a>;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/www.vaultproject.io\/docs\/configuration\/storage\/postgresql\"><u>PostgreSQL<\/u><\/a>;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/www.vaultproject.io\/docs\/configuration\/storage\/google-cloud-storage\"><u>GCS<\/u><\/a> (Google Cloud Storage).<\/p>\n<\/li>\n<\/ol>\n<p>\u0413\u043b\u0430\u0432\u043d\u044b\u043c \u043a\u0440\u0438\u0442\u0435\u0440\u0438\u0435\u043c \u043f\u0440\u0438 \u0438\u0445 \u0432\u044b\u0431\u043e\u0440\u0435 \u0431\u044b\u043b\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 HA (\u043f\u043e \u044d\u0442\u043e\u0439 \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u0435\u0441\u0442\u044c GCS, \u043d\u043e \u043d\u0435\u0442 AWS S3), \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u0442\u0430\u0440\u0430\u043b\u0438\u0441\u044c \u043d\u0435 \u0431\u0440\u0430\u0442\u044c \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0443\u0430\u043b\u044c\u043d\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0435 \u0432\u0438\u0434\u044b, \u0447\u0442\u043e\u0431\u044b \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u0431\u043e\u043b\u0435\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c \u0438 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c.<\/p>\n<p>\u041f\u043e\u043b\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0431\u044d\u043a\u0435\u043d\u0434\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 <a href=\"https:\/\/www.vaultproject.io\/docs\/configuration\/storage\"><u>\u0437\u0434\u0435\u0441\u044c<\/u><\/a>. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c, \u043d\u0435 \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442 \u0442\u0440\u0443\u0434\u0430 \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0434\u043b\u044f \u043b\u044e\u0431\u044b\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432.<\/p>\n<h3>\u041f\u043b\u0430\u043d<\/h3>\n<p>\u041a\u0430\u043a \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442\u044c \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435?<\/p>\n<ol>\n<li>\n<p>\u0412 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c 10000 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432. <em>\u0423 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043d\u0435\u0442 \u0441\u0442\u0440\u043e\u0433\u043e\u0433\u043e \u043e\u0431\u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u044f: \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043e \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u043e\u0431\u044a\u0451\u043c\u0430, \u00ab\u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438\u00bb \u043f\u0440\u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0431\u044d\u043a\u0435\u043d\u0434\u0430.<\/em><\/p>\n<\/li>\n<li>\n<p>\u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u043c \u0438\u0445.<\/p>\n<\/li>\n<li>\n<p>\u0417\u0430\u043c\u0435\u0440\u044f\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0431\u044d\u043a\u0435\u043d\u0434\u0430.<\/p>\n<\/li>\n<\/ol>\n<p>\u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0430\u043c \u0432 \u044d\u0442\u043e\u043c \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u0430 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u2014 <a href=\"https:\/\/github.com\/wg\/wrk\"><u>wrk<\/u><\/a>. \u0418\u043c\u0435\u043d\u043d\u043e \u043e\u043d\u0430 <a href=\"https:\/\/github.com\/hashicorp\/vault-guides\/tree\/master\/operations\/benchmarking\/wrk-core-vault-operations#overview\"><u>\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f<\/u><\/a> \u0432 benchmarking-\u043d\u0430\u0431\u043e\u0440\u0435 \u043e\u0442 \u0441\u0430\u043c\u043e\u0439 HashiCorp.<\/p>\n<h2>\u0422\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c<\/h2>\n<h3>1. Consul<\/h3>\n<p>\u0418\u0442\u0430\u043a, \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u043c Vault \u0441 \u0431\u044d\u043a\u0435\u043d\u0434\u043e\u043c Consul. \u041f\u043e \u043f\u043b\u0430\u043d\u0443 \u0443 \u043d\u0430\u0441 \u0434\u0432\u0430 \u0442\u0435\u0441\u0442\u0430: \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c \u0438 \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432.<\/p>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043a\u043b\u0430\u0441\u0442\u0435\u0440 Consul \u0438\u0437 \u0443\u0437\u043b\u043e\u0432 \u0432 3 pod\u2019\u0430\u0445 \u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0435\u0433\u043e \u043a\u0430\u043a backend \u0434\u043b\u044f Vault, \u0442\u043e\u0436\u0435 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u043e\u0433\u043e \u043d\u0430 3 \u0443\u0437\u043b\u0430\u0445.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/6d7\/df1\/598\/6d7df159815baa6f84b6d47c9069a110\" width=\"898\" height=\"631\"><figcaption><\/figcaption><\/figure>\n<p>\u041c\u044b \u0433\u043e\u0442\u043e\u0432\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c!<\/p>\n<pre><code># \u041f\u043e\u0434\u0433\u043e\u0442\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f: export VAULT_ADDR=https:\/\/vault.service.consul:8200 export VAULT_TOKEN=YOUR_ROOT_TOKEN  # \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e \u0432 Vault \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f vault auth enable userpass vault write auth\/userpass\/users\/loadtester password=benchmark policies=default  # \u0422\u0430\u043a \u043a\u0430\u043a Vault \u0437\u0430\u043f\u0443\u0449\u0435\u043d \u043d\u0435 \u0432 dev-\u043c\u043e\u0434\u0435, # \u0432 \u043f\u0443\u0442\u0438 `secret` \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c vault secrets enable -path secret -version 1 kv  git clone https:\/\/github.com\/hashicorp\/vault-guides.git cd vault-guides\/operations\/benchmarking\/wrk-core-vault-operations\/  # \u0411\u0443\u0434\u0435\u043c \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0440\u0430\u043d\u0434\u043e\u043c\u043d\u044b\u0435 \u0441\u0435\u043a\u0440\u0435\u0442\u044b, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f: # 6 \u043f\u043e\u0442\u043e\u043a\u043e\u0432 # 16 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0439 \u043d\u0430 \u043f\u043e\u0442\u043e\u043a # 30 \u0441\u0435\u043a\u0443\u043d\u0434 \u043d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0442\u0435\u0441\u0442\u0430 # 10000 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432 \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438  nohup wrk -t6 -c16 -d30s -H \"X-Vault-Token: $VAULT_TOKEN\" -s write-random-secrets.lua $VAULT_ADDR -- 10000 &gt; prod-test-write-1000-random-secrets-t6-c16-30sec.log &amp;<\/code><\/pre>\n<p>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0442\u0430\u043a\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435:<\/p>\n<pre><code>Number of secrets is: 10000 thread 1 created Number of secrets is: 10000 thread 2 created Number of secrets is: 10000 thread 3 created Number of secrets is: 10000 thread 4 created Number of secrets is: 10000 thread 5 created Number of secrets is: 10000 thread 6 created Running 30s test @ http:\/\/vault:8200   6 threads and 16 connections   Thread Stats   Avg      Stdev     Max   +\/- Stdev     Latency   134.96ms   68.89ms 558.62ms   84.21%     Req\/Sec    16.31      6.62    50.00     87.82%   2685 requests in 30.04s, 317.27KB read Requests\/sec:     89.39 Transfer\/sec:     10.56KB thread 1 made 446 requests including 446 writes and got 443 responses thread 2 made 447 requests including 447 writes and got 445 responses thread 3 made 447 requests including 447 writes and got 445 responses thread 4 made 459 requests including 459 writes and got 457 responses thread 5 made 450 requests including 450 writes and got 448 responses thread 6 made 449 requests including 449 writes and got 447 responses<\/code><\/pre>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043c \u0442\u0435\u0441\u0442 \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435: \u0437\u0430\u043f\u0438\u0448\u0435\u043c 1000 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0431\u0443\u0434\u0435\u043c \u0447\u0438\u0442\u0430\u0442\u044c \u0438\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c, \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u043b\u0438 \u0432\u044b\u0448\u0435 \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438.<\/p>\n<pre><code># \u0417\u0430\u043f\u0438\u0448\u0435\u043c 1000 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432:  wrk -t1 -c1 -d5m -H \"X-Vault-Token: $VAULT_TOKEN\" -s write-secrets.lua $VAULT_ADDR -- 1000  # \u0418 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c, \u0447\u0442\u043e \u0442\u044b\u0441\u044f\u0447\u043d\u044b\u0439 \u0441\u0435\u043a\u0440\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u043b\u0441\u044f:  vault read secret\/read-test\/secret-1000  Key                 Value ---                 ----- refresh_interval    768h extra               1xxxxxxxxx2xxxxxxxxx3xxxxxxxxx4xxxxxxxxx5xxxxxxxxx6xxxxxxxxx7xxxxxxxxx8xxxxxxxxx9xxxxxxxxx0xxxxxxxxx thread-1            write-1000   # \u041f\u0440\u043e\u0431\u0443\u0435\u043c \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0435 \u0447\u0442\u0435\u043d\u0438\u0435 1000 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432 \u0432 4 \u043f\u043e\u0442\u043e\u043a\u0430 nohup wrk -t4 -c16 -d30s -H \"X-Vault-Token: $VAULT_TOKEN\" -s read-secrets.lua $VAULT_ADDR -- 1000 false &gt; prod-test-read-1000-random-secrets-t4-c16-30s.log &amp;<\/code><\/pre>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/p>\n<pre><code>Number of secrets is: 1000 thread 1 created with print_secrets set to false Number of secrets is: 1000 thread 2 created with print_secrets set to false Number of secrets is: 1000 thread 3 created with print_secrets set to false Number of secrets is: 1000 thread 4 created with print_secrets set to false Running 30s test @ http:\/\/vault:8200   4 threads and 16 connections   Thread Stats   Avg      Stdev     Max   +\/- Stdev     Latency     2.25ms    2.88ms  54.18ms   88.77%     Req\/Sec     2.64k   622.04     4.81k    65.91%   315079 requests in 30.06s, 130.08MB read Requests\/sec:  10483.06 Transfer\/sec:      4.33MB thread 1 made 79705 requests including 79705 reads and got 79700 responses thread 2 made 79057 requests including 79057 reads and got 79053 responses thread 3 made 78584 requests including 78584 reads and got 78581 responses thread 4 made 77748 requests including 77748 reads and got 77745 responses<\/code><\/pre>\n<h3>2. PostgreSQL<\/h3>\n<p>\u041f\u0440\u043e\u0432\u043e\u0434\u0438\u043c \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u0442\u0435\u0441\u0442 \u0434\u043b\u044f PostgreSQL 11.7.0 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u044d\u043a\u0435\u043d\u0434\u0430. SSL \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d, \u0432\u0441\u0435 <a href=\"https:\/\/www.vaultproject.io\/docs\/configuration\/storage\/postgresql#connection_url\"><u>\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438<\/u><\/a> \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/ee9\/67f\/79e\/ee967f79ea15429f7494298a0964aafd\" width=\"898\" height=\"631\"><figcaption><\/figcaption><\/figure>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0437\u0430\u043f\u0438\u0441\u0438:<\/p>\n<pre><code>Number of secrets is: 10000 thread 1 created Number of secrets is: 10000 thread 2 created Number of secrets is: 10000 thread 3 created Number of secrets is: 10000 thread 4 created Number of secrets is: 10000 thread 5 created Number of secrets is: 10000 thread 6 created Running 30s test @ http:\/\/vault:8200   6 threads and 16 connections   Thread Stats   Avg      Stdev     Max   +\/- Stdev     Latency    33.02ms   14.74ms 120.97ms   67.81%     Req\/Sec    60.70     15.02   121.00     69.44%   10927 requests in 30.03s, 1.26MB read Requests\/sec:    363.88 Transfer\/sec:     43.00KB thread 1 made 1826 requests including 1826 writes and got 1823 responses thread 2 made 1797 requests including 1797 writes and got 1796 responses thread 3 made 1833 requests including 1833 writes and got 1831 responses thread 4 made 1832 requests including 1832 writes and got 1830 responses thread 5 made 1801 requests including 1801 writes and got 1799 responses thread 6 made 1850 requests including 1850 writes and got 1848 responses<\/code><\/pre>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0447\u0442\u0435\u043d\u0438\u044f:<\/p>\n<pre><code>Number of secrets is: 1000 thread 1 created with print_secrets set to false Number of secrets is: 1000 thread 2 created with print_secrets set to false Number of secrets is: 1000 thread 3 created with print_secrets set to false Number of secrets is: 1000 thread 4 created with print_secrets set to false Running 30s test @ http:\/\/vault:8200   4 threads and 16 connections   Thread Stats   Avg      Stdev     Max   +\/- Stdev     Latency     2.48ms    2.93ms  71.93ms   89.76%     Req\/Sec     2.11k   495.44     3.01k    65.67%   251861 requests in 30.02s, 103.98MB read Requests\/sec:   8390.15 Transfer\/sec:      3.46MB thread 1 made 62957 requests including 62957 reads and got 62952 responses thread 2 made 62593 requests including 62593 reads and got 62590 responses thread 3 made 63074 requests including 63074 reads and got 63070 responses thread 4 made 63252 requests including 63252 reads and got 63249 responses<\/code><\/pre>\n<h3>3. GCS<\/h3>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0434\u043b\u044f \u0431\u044d\u043a\u0435\u043d\u0434\u0430 GCS (<a href=\"https:\/\/www.vaultproject.io\/docs\/configuration\/storage\/google-cloud-storage#gcs-parameters\"><u>\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438<\/u><\/a> \u0442\u043e\u0436\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e):<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/d63\/0ca\/305\/d630ca3051989a1dbaa4bc05e1285ffe\" width=\"861\" height=\"619\"><figcaption><\/figcaption><\/figure>\n<p>\u0417\u0430\u043f\u0438\u0441\u044c:<\/p>\n<pre><code>Number of secrets is: 10000 thread 1 created Number of secrets is: 10000 thread 2 created Number of secrets is: 10000 thread 3 created Number of secrets is: 10000 thread 4 created Number of secrets is: 10000 thread 5 created Number of secrets is: 10000 thread 6 created Running 30s test @ http:\/\/vault:8200   6 threads and 16 connections   Thread Stats   Avg      Stdev     Max   +\/- Stdev     Latency   209.08ms   42.58ms 654.51ms   91.96%     Req\/Sec     9.89      2.45    20.00     87.21%   1713 requests in 30.04s, 202.42KB read Requests\/sec:     57.03 Transfer\/sec:      6.74KB thread 1 made 292 requests including 292 writes and got 289 responses thread 2 made 286 requests including 286 writes and got 284 responses thread 3 made 284 requests including 284 writes and got 282 responses thread 4 made 289 requests including 289 writes and got 287 responses thread 5 made 287 requests including 287 writes and got 285 responses thread 6 made 288 requests including 288 writes and got 286 responses<\/code><\/pre>\n<p>\u0427\u0442\u0435\u043d\u0438\u0435:<\/p>\n<pre><code>Number of secrets is: 1000 thread 1 created with print_secrets set to false Number of secrets is: 1000 thread 2 created with print_secrets set to false Number of secrets is: 1000 thread 3 created with print_secrets set to false Number of secrets is: 1000 thread 4 created with print_secrets set to false Running 30s test @ http:\/\/vault:8200   4 threads and 16 connections   Thread Stats   Avg      Stdev     Max   +\/- Stdev     Latency     4.40ms    1.72ms  53.59ms   92.11%     Req\/Sec     0.93k   121.29     1.19k    71.83%   111196 requests in 30.02s, 45.91MB read Requests\/sec:   3704.27 Transfer\/sec:      1.53MB thread 1 made 31344 requests including 31344 reads and got 31339 responses thread 2 made 26639 requests including 26639 reads and got 26635 responses thread 3 made 25690 requests including 25690 reads and got 25686 responses thread 4 made 27540 requests including 27540 reads and got 27536 responses<\/code><\/pre>\n<h2>\u0421\u0432\u043e\u0434\u043d\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b<\/h2>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<\/td>\n<td data-colwidth=\"195\" width=\"195\">\n<p><strong>Consul<\/strong><\/p>\n<\/td>\n<td>\n<p><strong>PostgreSQL<\/strong><\/p>\n<\/td>\n<td>\n<p><strong>GCS<\/strong><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>write<\/strong><em> (RPS\/thread)<\/em><\/p>\n<\/td>\n<td data-colwidth=\"195\" width=\"195\">\n<p>16.31<\/p>\n<\/td>\n<td>\n<p><strong>60.70<\/strong><\/p>\n<\/td>\n<td>\n<p>9.89<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>write<\/strong><em> (total)<\/em><\/p>\n<\/td>\n<td data-colwidth=\"195\" width=\"195\">\n<p>2685<\/p>\n<\/td>\n<td>\n<p><strong>10927<\/strong><\/p>\n<\/td>\n<td>\n<p>1713<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>read<\/strong> <em>(RPS\/thread)<\/em><\/p>\n<\/td>\n<td data-colwidth=\"195\" width=\"195\">\n<p><strong>2640<\/strong><\/p>\n<\/td>\n<td>\n<p>2110<\/p>\n<\/td>\n<td>\n<p>930<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p><strong>read<\/strong><em> (total)<\/em><\/p>\n<\/td>\n<td data-colwidth=\"195\" width=\"195\">\n<p><strong>315079<\/strong><\/p>\n<\/td>\n<td>\n<p>251861<\/p>\n<\/td>\n<td>\n<p>111196<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u0438 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u2014 \u044d\u0442\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432:<\/p>\n<ul>\n<li>\n<p>\u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c\u044b\u0445 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443 \u043d\u0430 1 \u043f\u043e\u0442\u043e\u043a;<\/p>\n<\/li>\n<li>\n<p>\u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u0432 \u043e\u0431\u0449\u0435\u0439 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438 (\u0432\u043e \u0432\u0441\u0435\u0445 \u043f\u043e\u0442\u043e\u043a\u0430\u0445) \u0437\u0430 30 \u0441\u0435\u043a\u0443\u043d\u0434;<\/p>\n<\/li>\n<li>\n<p>\u0447\u0438\u0442\u0430\u0435\u043c\u044b\u0445 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443 \u043d\u0430 1 \u043f\u043e\u0442\u043e\u043a;<\/p>\n<\/li>\n<li>\n<p>\u043f\u0440\u043e\u0447\u0438\u0442\u0430\u043d\u043d\u044b\u0445 \u0432 \u043e\u0431\u0449\u0435\u0439 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438 (\u0432\u043e \u0432\u0441\u0435\u0445 \u043f\u043e\u0442\u043e\u043a\u0430\u0445) \u0437\u0430 30 \u0441\u0435\u043a\u0443\u043d\u0434.<\/p>\n<\/li>\n<\/ul>\n<p>\u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043a:<\/p>\n<ul>\n<li>\n<p>PostgreSQL \u043f\u043e\u043a\u0430\u0437\u0430\u043b \u0441\u0435\u0431\u044f \u0441 \u0441\u0430\u043c\u043e\u0439 \u043b\u0443\u0447\u0448\u0435\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0432 \u043f\u043b\u0430\u043d\u0435 \u0437\u0430\u043f\u0438\u0441\u0438. \u041e\u043d \u0432 4 \u0440\u0430\u0437\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u0435\u0435 Consul, \u0438 \u0432 10 \u0440\u0430\u0437 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u0435\u0435 GCS.<\/p>\n<\/li>\n<li>\n<p>\u0412 \u043f\u043b\u0430\u043d\u0435 \u0447\u0442\u0435\u043d\u0438\u044f \u043b\u0443\u0447\u0448\u0438\u0439 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u0443 Consul.<\/p>\n<\/li>\n<\/ul>\n<p>\u0411\u043e\u043b\u0435\u0435 \u043e\u0431\u0449\u0438\u0435 \u0432\u044b\u0432\u043e\u0434\u044b:<\/p>\n<ul>\n<li>\n<p>\u041f\u0440\u0438 \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u043e\u043c \u043e\u0447\u0435\u043d\u044c \u0431\u043e\u043b\u044c\u0448\u043e\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0435 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c PostgreSQL. \u0412 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u2014 Consul, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0441\u043e\u0432\u0435\u0442\u0443\u044e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 Hashicorp.<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e \u043d\u0430\u0448\u0435\u043c\u0443 \u043e\u043f\u044b\u0442\u0443, GCS \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0443\u0434\u043e\u0431\u0435\u043d, \u0435\u0441\u043b\u0438 \u043c\u044b \u043d\u0435 \u0445\u043e\u0442\u0438\u043c \u0441\u0430\u043c\u0438 \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u0431\u044d\u043a\u0435\u043d\u0434. \u0412\u0434\u043e\u0431\u0430\u0432\u043e\u043a, \u0443 \u043d\u0435\u0433\u043e \u0435\u0441\u0442\u044c \u0443\u0434\u043e\u0431\u043d\u044b\u0439 <a href=\"https:\/\/learn.hashicorp.com\/collections\/vault\/auto-unseal\"><u>Auto Unseal<\/u><\/a> \u0438 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0431\u044d\u043a\u0430\u043f\u043e\u0432 (\u0441 \u043d\u0438\u043c\u0438 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0438 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u043d\u043e \u043e\u0431 \u044d\u0442\u043e\u043c \u2014 \u0432 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435).<\/p>\n<\/li>\n<\/ul>\n<h2>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435 \u043f\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c<\/h2>\n<p>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0446\u0438\u0444\u0440\u044b \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u0430\u0437\u043e\u0432\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0441\u0442\u043e\u043a\u043e\u0432\u044b\u0439 Vault \u0431\u0435\u0437 \u043e\u0441\u043e\u0431\u044b\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0434\u043b\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438. \u0421\u0443\u0434\u044f \u043f\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c, \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0441\u0430\u043c\u0438\u0445 \u0431\u044d\u043a\u0435\u043d\u0434\u043e\u0432 \u0431\u044b\u043b\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u043e\u043c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0442\u0435\u0441\u0442\u044b (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441 \u0434\u0440\u0443\u0433\u0438\u043c \u0447\u0438\u0441\u043b\u043e\u043c \u043f\u043e\u0442\u043e\u043a\u043e\u0432) \u0432 \u0441\u0442\u0430\u0442\u044c\u044e \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b. \u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u043f\u0440\u0438 \u0436\u0435\u043b\u0430\u043d\u0438\u0438 \u0438\u0445 \u043b\u0435\u0433\u043a\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e.<\/p>\n<p>\u041f\u0440\u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0442\u043e\u043a\u0435\u043d <code>$VAULT_TOKEN<\/code>, \u043d\u0435 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0437\u043d\u0438\u0442\u044c\u0441\u044f \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432. \u0421\u0440\u0435\u0434\u0438 \u043d\u0438\u0445:<\/p>\n<ul>\n<li>\n<p>\u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432;<\/p>\n<\/li>\n<li>\n<p>\u043a\u0430\u043a\u043e\u0439 \u043c\u0435\u0442\u043e\u0434 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435;<\/p>\n<\/li>\n<li>\n<p>\u043a\u0430\u043a \u0447\u0430\u0441\u0442\u043e \u043a\u043b\u0438\u0435\u043d\u0442\u044b \u0431\u0443\u0434\u0443\u0442 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f;<\/p>\n<\/li>\n<li>\n<p>\u043a\u0430\u043a\u043e\u0439 \u0442\u0438\u043f \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f;<\/p>\n<\/li>\n<li>\n<p>\u043e\u0442\u043a\u0443\u0434\u0430 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u044b (\u0438\u0437 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 \u0438\u043b\u0438 \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442);<\/p>\n<\/li>\n<li>\n<p>\u2026<\/p>\n<\/li>\n<\/ul>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>\u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0447\u0442\u043e \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u043d\u043e\u0435 \u0438\u0441\u043f\u044b\u0442\u0430\u043d\u0438\u0435 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u043e\u0442\u0432\u0435\u0442\u0438\u0442\u044c \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441 \u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0431\u044d\u043a\u0435\u043d\u0434\u043e\u0432 \u0432 Vault, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u043e\u0437\u043d\u0438\u043a \u0438 \u0443 \u043d\u0430\u0441. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u0443\u044e \u0437\u0434\u0435\u0441\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0439\u0442\u0435 \u043a\u0430\u043a \u043e\u0441\u043d\u043e\u0432\u0443 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432. \u0418 \u0443\u0436\u0435 \u0442\u0430\u043a\u043e\u0435 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u0442\u043e\u0447\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435, \u043a\u0430\u043a \u0431\u0443\u0434\u0435\u0442 \u0441\u0435\u0431\u044f \u0432\u0435\u0441\u0442\u0438 Vault \u043f\u0440\u0438 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0445 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430\u0445 \u0432 \u0432\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0433\u0443\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0431\u044d\u043a\u0435\u043d\u0434\u043e\u0432 (\u0438 \u0438\u0445 \u0432\u044b\u0431\u043e\u0440 \u0432\u043e\u043e\u0431\u0449\u0435), \u0430 \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f Lua-\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0438\/\u0438\u043b\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0438\u0445 \u0432\u044b\u0437\u043e\u0432\u0430.<\/p>\n<p>\u0414\u043b\u044f \u0441\u0435\u0431\u044f \u043c\u044b \u0432\u044b\u0431\u0440\u0430\u043b\u0438 Consul \u043a\u0430\u043a \u0431\u044d\u043a\u0435\u043d\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441 \u043d\u0430\u0448\u0438\u043c\u0438 \u0438\u0442\u043e\u0433\u043e\u0432\u044b\u043c\u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430\u043c\u0438 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435, \u0438 \u043a\u0430\u043a \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0447\u0442\u043e \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c\u0438 Vault. \u0415\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043f\u043e \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u044e \u043d\u0438\u043a\u0443\u0434\u0430 \u043d\u0435 \u0434\u0435\u043b\u0430\u0441\u044c, \u043e\u0434\u043d\u0430\u043a\u043e \u043a\u043e\u0433\u0434\u0430 \u0437\u0430\u0445\u043e\u0434\u0438\u0442 \u0440\u0435\u0447\u044c \u0437\u0430 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043d\u0430 \u043a\u043e\u043c\u043f\u0440\u043e\u043c\u0438\u0441\u0441\u044b \u0438\u0434\u0442\u0438 \u043d\u0435 \u0445\u043e\u0447\u0435\u0442\u0441\u044f: \u043d\u0430\u0434\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0432\u0441\u0451 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0435, \u0447\u0442\u043e\u0431\u044b \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u043b\u0430 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f\u043c.<\/p>\n<\/p>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/company\/flant\/blog\/540836\/\"> https:\/\/habr.com\/ru\/company\/flant\/blog\/540836\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p><a href=\"https:\/\/www.vaultproject.io\/\"><u>Vault<\/u><\/a> \u2014 Open Source-\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043e\u0442 HashiCorp \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u0430\u043c\u0438. \u0415\u0433\u043e <a href=\"https:\/\/learn.hashicorp.com\/tutorials\/vault\/getting-started-intro\"><u>\u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u0430\u044f \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0441\u0442\u044c<\/u><\/a> \u043d\u0430 \u043c\u043e\u0434\u0443\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u043e\u0441\u0442\u044c \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043a\u0430\u043a \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 dev-\u0441\u0435\u0440\u0432\u0435\u0440 Vault \u043d\u0430 \u0441\u0432\u043e\u0435\u043c \u043d\u043e\u0443\u0442\u0431\u0443\u043a\u0435, \u0442\u0430\u043a \u0438 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0439 HA-\u043a\u043b\u0430\u0441\u0442\u0435\u0440 \u0434\u043b\u044f production-\u0441\u0440\u0435\u0434.<\/p>\n<p>\u041d\u0430\u0447\u0438\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 Vault, \u043c\u044b \u0437\u0430\u0434\u0430\u043b\u0438\u0441\u044c \u0434\u0432\u0443\u043c\u044f \u0432\u043e\u043f\u0440\u043e\u0441\u0430\u043c\u0438:<\/p>\n<ol>\n<li>\n<p>\u041a\u0430\u043a\u043e\u0439 \u0431\u044d\u043a\u0435\u043d\u0434 <em>(\u0442.\u0435. \u043c\u0435\u0441\u0442\u043e, \u0433\u0434\u0435 \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0438 \u0445\u0440\u0430\u043d\u044f\u0442\u0441\u044f \u0441\u0435\u043a\u0440\u0435\u0442\u044b; \u0438\u043c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0430\u044f \u0444\u0430\u0439\u043b\u043e\u0432\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0438\u043b\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0440\u0435\u043b\u044f\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0411\u0414 \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449)<\/em> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438 \u0447\u0442\u043e \u043f\u043e \u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0432\u043e\u0434\u0443 \u0433\u043e\u0432\u043e\u0440\u044f\u0442 \u0441\u0430\u043c\u0438 \u0430\u0432\u0442\u043e\u0440\u044b?<\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u043a\u0443\u044e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u043c\u043e\u0436\u0435\u0442 \u0432\u044b\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u0430\u044f \u043d\u0430\u043c\u0438 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430?<\/p>\n<\/li>\n<\/ol>\n<p>\u041f\u043e \u043f\u0435\u0440\u0432\u043e\u043c\u0443 \u0432\u043e\u043f\u0440\u043e\u0441\u0443 \u0432\u0441\u0435 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043f\u0440\u0435\u0434\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c: HashiCorp \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u2014 <a href=\"https:\/\/learn.hashicorp.com\/tutorials\/vault\/reference-architecture?in=vault\/day-one-consul#network-connectivity-details\"><u>Consul<\/u><\/a>. \u041d\u0435 \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u0443\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0435\u0441\u043b\u0438 \u0437\u043d\u0430\u0442\u044c\/\u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0430\u0432\u0442\u043e\u0440\u043e\u0432 \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430. \u0410 \u0432\u043e\u0442 \u0441\u043e \u0432\u0442\u043e\u0440\u044b\u043c \u0432\u043e\u043f\u0440\u043e\u0441\u043e\u043c \u0432\u0441\u0435 \u0441\u043b\u043e\u0436\u043d\u0435\u0435. \u041d\u043e \u043f\u043e\u0447\u0435\u043c\u0443 \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u043d\u0430\u0441 \u044d\u0442\u043e \u0432\u043e\u043b\u043d\u043e\u0432\u0430\u043b\u043e?<\/p>\n<p>\u0412 \u043f\u0440\u043e\u0435\u043a\u0442\u0435, \u0433\u0434\u0435 \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f Vault, \u043c\u044b \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u0438 \u0435\u0433\u043e \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 Consul, \u0434\u043e\u0432\u0435\u0440\u0438\u0432\u0448\u0438\u0441\u044c \u0432\u044b\u0431\u043e\u0440\u0443 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e. \u0418 \u0432\u0441\u043a\u043e\u0440\u0435 \u0443\u0432\u0438\u0434\u0435\u043b\u0438, \u0447\u0442\u043e \u0441\u0430\u043c \u0444\u0430\u043a\u0442 \u043d\u0430\u043b\u0438\u0447\u0438\u044f \u0438 \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u044f Consul\u2019\u0430 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0435 \u043d\u0430\u043a\u043b\u0430\u0434\u043d\u044b\u0435 \u0440\u0430\u0441\u0445\u043e\u0434\u044b: \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432, \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0439, \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u0434\u0430\u0447 \u043f\u043e \u043e\u0431\u0441\u043b\u0443\u0436\u0438\u0432\u0430\u043d\u0438\u044e \u044d\u043a\u0441\u043f\u043b\u0443\u0430\u0442\u0430\u0446\u0438\u0438 (\u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f, \u0440\u0435\u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f \u0438 \u0442.\u0434.). \u041f\u043e\u0441\u043e\u0432\u0435\u0449\u0430\u0432\u0448\u0438\u0441\u044c \u0441 \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c\u0438, \u043c\u044b \u043f\u0440\u0438\u043d\u044f\u043b\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u0442\u044c \u0441\u0435\u0431\u0435 \u0436\u0438\u0437\u043d\u044c \u0438 \u043c\u0438\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 GCS (Google Cloud Storage), \u0442.\u043a. \u044d\u0442\u043e \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u043d\u0438\u043c\u0430\u0435\u0442 \u0433\u043e\u043b\u043e\u0432\u043d\u0443\u044e \u0431\u043e\u043b\u044c \u043e\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0431\u044d\u043a\u0435\u043d\u0434-\u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043a\u0430\u043a self-hosted.<\/p>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e \u0441\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0435\u043c \u043f\u0440\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043e\u0434\u043d\u0430 \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e\u0441\u0442\u044c, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0441\u0440\u0430\u0437\u0443 \u043d\u0435 \u0437\u0430\u0434\u0443\u043c\u044b\u0432\u0430\u043b\u0438\u0441\u044c: \u0431\u044d\u043a\u0435\u043d\u0434\u044b \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043d\u044b \u043d\u0430 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u0440\u0430\u0437\u043d\u0443\u044e \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0443. \u0415\u0441\u043b\u0438 GCS \u0432\u044b\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u043b \u00ab\u0441\u043f\u043e\u043a\u043e\u0439\u043d\u044b\u0439\u00bb \u0442\u0440\u0430\u0444\u0438\u043a \u043e\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u0442\u043e \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043c\u0430\u0441\u0441\u043e\u0432\u044b\u0445 \u0442\u0435\u0441\u0442\u043e\u0432 \u0438 \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0434\u0435\u043c\u043e-\u043f\u043e\u043a\u0430\u0437\u043e\u0432 \u0437\u0430\u043a\u0430\u0437\u0447\u0438\u043a\u0430\u043c \u043d\u0430\u0447\u0438\u043d\u0430\u043b\u0438\u0441\u044c \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u043e\u0441\u0442\u0438. \u042d\u0442\u043e \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043d\u0430\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u043e \u043d\u0430 \u043c\u044b\u0441\u043b\u044c: \u00ab\u0427\u0442\u043e \u0436\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430 \u043f\u0440\u043e\u0434\u0435? \u0420\u0430\u0437 \u043c\u044b \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0438\u0441\u044c \u0441 \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043e\u0439, \u043d\u0430\u0434\u043e \u0431\u044b \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u044b\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0431\u044d\u043a\u0435\u043d\u0434\u043e\u0432, \u0441\u0440\u0430\u0432\u043d\u0438\u0442\u044c \u0438\u0445\u00bb.<\/p>\n<p>\u0418\u0442\u0430\u043a, \u0435\u0441\u0442\u044c \u043c\u043d\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432, \u043e\u0442 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c Vault: \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430 \u0441\u0435\u0442\u0438, \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0431\u044d\u043a\u0435\u043d\u0434, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0443\u0437\u043b\u043e\u0432 \u0432 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435 Vault \u0438 \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043d\u0430 \u043d\u0438\u0445\u2026 \u041f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0434\u0430\u0436\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u043d\u0438\u0445 \u0446\u0438\u0444\u0440\u044b \u0441\u0438\u043b\u044c\u043d\u043e \u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f. \u0412 \u0440\u0430\u043c\u043a\u0430\u0445 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438 \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0430\u0441\u0442\u044c \u044d\u0442\u0438\u0445 \u0444\u0430\u043a\u0442\u043e\u0440\u043e\u0432 \u2014 \u00ab\u0431\u0430\u0437\u043e\u0432\u0443\u044e\u00bb (\u0442.\u0435. \u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0443\u044e \u0432 \u0441\u0435\u0431\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044e) \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0431\u044d\u043a\u0435\u043d\u0434\u043e\u0432.<\/p>\n<p>\u0425\u043e\u0440\u043e\u0448\u0430\u044f \u043d\u043e\u0432\u043e\u0441\u0442\u044c \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0432 Git \u0435\u0441\u0442\u044c \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432 \u0441 \u0433\u043e\u0442\u043e\u0432\u044b\u043c\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u043c\u0438 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0415\u0441\u043b\u0438 \u0432\u044b \u0437\u0430\u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0438\u0441\u043f\u044b\u0442\u0430\u043d\u0438\u044f \u043d\u0430 \u0441\u0432\u043e\u0435\u043c Vault\u2019\u0435, \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <a href=\"https:\/\/github.com\/hashicorp\/vault-guides\/tree\/master\/operations\/benchmarking\/wrk-core-vault-operations\"><u>Vault Benchmarking Scripts<\/u><\/a> \u0438 <a href=\"https:\/\/github.com\/tradel\/vault-load-testing\"><u>Load Tests for Vault<\/u><\/a>. \u0418\u043b\u0438 \u0436\u0435 \u0434\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 \u0441\u0442\u0430\u0442\u044c\u044e \u0438 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u043c\u043e\u0439 \u043c\u0435\u0442\u043e\u0434 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u0445 \u043e\u0442 HashiCorp.<\/p>\n<h2>\u0412\u0432\u043e\u0434\u043d\u044b\u0435 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/h2>\n<h3>\u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f<\/h3>\n<p>\u0427\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u044c \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u043d\u0438\u0436\u0435 \u0442\u0435\u0441\u0442\u044b, \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f:<\/p>\n<ul>\n<li>\n<p><strong>\u0423\u0436\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0439 \u0432 <\/strong><a href=\"https:\/\/www.vaultproject.io\/docs\/concepts\/ha\"><strong><u>\u0440\u0435\u0436\u0438\u043c\u0435 HA<\/u><\/strong><\/a><strong> Vault<\/strong>. \u0415\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a \u044f \u0431\u0443\u0434\u0443 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c Kubernetes-\u043a\u043b\u0430\u0441\u0442\u0435\u0440\u0435, \u0433\u0434\u0435 \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0437\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f 3 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u043a\u043b\u0430\u0441\u0442\u0435\u0440\u043e\u0432 Vault (\u0441 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0431\u044d\u043a\u0435\u043d\u0434\u0430\u043c\u0438).<\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f<\/strong>. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0440\u044f\u0434\u043e\u043c \u0441 Kubernetes. \u0422\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438, \u0447\u0442\u043e\u0431\u044b \u043c\u0438\u043d\u0438\u043c\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u0442\u0435\u0432\u044b\u0435 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0438.<\/p>\n<\/li>\n<\/ul>\n<h3>\u0423\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438&nbsp;<\/h3>\n<p>\u041c\u044b \u0431\u0443\u0434\u0435\u043c \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0440\u0438 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0431\u044d\u043a\u0435\u043d\u0434\u0430:<\/p>\n<ol>\n<li>\n<p><a href=\"https:\/\/www.vaultproject.io\/docs\/configuration\/storage\/consul\"><u>Consul<\/u><\/a>;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/www.vaultproject.io\/docs\/configuration\/storage\/postgresql\"><u>PostgreSQL<\/u><\/a>;<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/www.vaultproject.io\/docs\/configuration\/storage\/google-cloud-storage\"><u>GCS<\/u><\/a> (Google Cloud Storage).<\/p>\n<\/li>\n<\/ol>\n<p>\u0413\u043b\u0430\u0432\u043d\u044b\u043c \u043a\u0440\u0438\u0442\u0435\u0440\u0438\u0435\u043c \u043f\u0440\u0438 \u0438\u0445 \u0432\u044b\u0431\u043e\u0440\u0435 \u0431\u044b\u043b\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 HA (\u043f\u043e \u044d\u0442\u043e\u0439 \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u0435\u0441\u0442\u044c GCS, \u043d\u043e \u043d\u0435\u0442 AWS S3), \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u0442\u0430\u0440\u0430\u043b\u0438\u0441\u044c \u043d\u0435 \u0431\u0440\u0430\u0442\u044c \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0443\u0430\u043b\u044c\u043d\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0435 \u0432\u0438\u0434\u044b, \u0447\u0442\u043e\u0431\u044b \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0431\u044b\u043b\u043e \u0431\u043e\u043b\u0435\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c \u0438 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c.<\/p>\n<p>\u041f\u043e\u043b\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0431\u044d\u043a\u0435\u043d\u0434\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 <a href=\"https:\/\/www.vaultproject.io\/docs\/configuration\/storage\"><u>\u0437\u0434\u0435\u0441\u044c<\/u><\/a>. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c, \u043d\u0435 \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442 \u0442\u0440\u0443\u0434\u0430 \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e\u0435 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0434\u043b\u044f \u043b\u044e\u0431\u044b\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432.<\/p>\n<h3>\u041f\u043b\u0430\u043d<\/h3>\n<p>\u041a\u0430\u043a \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442\u044c \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435?<\/p>\n<ol>\n<li>\n<p>\u0412 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0442\u043e\u043a\u043e\u0432 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c 10000 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432. <em>\u0423 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043d\u0435\u0442 \u0441\u0442\u0440\u043e\u0433\u043e\u0433\u043e \u043e\u0431\u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u044f: \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043e \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e\u0433\u043e \u043e\u0431\u044a\u0451\u043c\u0430, \u00ab\u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438\u00bb \u043f\u0440\u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0431\u044d\u043a\u0435\u043d\u0434\u0430.<\/em><\/p>\n<\/li>\n<li>\n<p>\u0410\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u0435\u043c \u0438\u0445.<\/p>\n<\/li>\n<li>\n<p>\u0417\u0430\u043c\u0435\u0440\u044f\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0431\u044d\u043a\u0435\u043d\u0434\u0430.<\/p>\n<\/li>\n<\/ol>\n<p>\u0422\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0430\u043c \u0432 \u044d\u0442\u043e\u043c \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u0430 \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043d\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u2014 <a href=\"https:\/\/github.com\/wg\/wrk\"><u>wrk<\/u><\/a>. \u0418\u043c\u0435\u043d\u043d\u043e \u043e\u043d\u0430 <a href=\"https:\/\/github.com\/hashicorp\/vault-guides\/tree\/master\/operations\/benchmarking\/wrk-core-vault-operations#overview\"><u>\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f<\/u><\/a> \u0432 benchmarking-\u043d\u0430\u0431\u043e\u0440\u0435 \u043e\u0442 \u0441\u0430\u043c\u043e\u0439 HashiCorp.<\/p>\n<h2>\u0422\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c<\/h2>\n<h3>1. Consul<\/h3>\n<p>\u0418\u0442\u0430\u043a, \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u043c Vault \u0441 \u0431\u044d\u043a\u0435\u043d\u0434\u043e\u043c Consul. \u041f\u043e \u043f\u043b\u0430\u043d\u0443 \u0443 \u043d\u0430\u0441 \u0434\u0432\u0430 \u0442\u0435\u0441\u0442\u0430: \u043d\u0430 \u0437\u0430\u043f\u0438\u0441\u044c \u0438 \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432.<\/p>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043a\u043b\u0430\u0441\u0442\u0435\u0440 Consul \u0438\u0437 \u0443\u0437\u043b\u043e\u0432 \u0432 3 pod\u2019\u0430\u0445 \u0438 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0435\u0433\u043e \u043a\u0430\u043a backend \u0434\u043b\u044f Vault, \u0442\u043e\u0436\u0435 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u043e\u0433\u043e \u043d\u0430 3 \u0443\u0437\u043b\u0430\u0445.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041c\u044b \u0433\u043e\u0442\u043e\u0432\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c!<\/p>\n<pre><code># \u041f\u043e\u0434\u0433\u043e\u0442\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f: export VAULT_ADDR=https:\/\/vault.service.consul:8200 export VAULT_TOKEN=YOUR_ROOT_TOKEN  # \u0412\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044e \u0432 Vault \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f vault auth enable userpass vault write auth\/userpass\/users\/loadtester password=benchmark policies=default  # \u0422\u0430\u043a \u043a\u0430\u043a Vault \u0437\u0430\u043f\u0443\u0449\u0435\u043d \u043d\u0435 \u0432 dev-\u043c\u043e\u0434\u0435, # \u0432 \u043f\u0443\u0442\u0438 `secret` \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c vault secrets enable -path secret -version 1 kv  git clone https:\/\/github.com\/hashicorp\/vault-guides.git cd vault-guides\/operations\/benchmarking\/wrk-core-vault-operations\/  # \u0411\u0443\u0434\u0435\u043c \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0440\u0430\u043d\u0434\u043e\u043c\u043d\u044b\u0435 \u0441\u0435\u043a\u0440\u0435\u0442\u044b, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f: # 6 \u043f\u043e\u0442\u043e\u043a\u043e\u0432 # 16 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0439 \u043d\u0430 \u043f\u043e\u0442\u043e\u043a # 30 \u0441\u0435\u043a\u0443\u043d\u0434 \u043d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0442\u0435\u0441\u0442\u0430 # 10000 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432 \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438  nohup wrk -t6 -c16 -d30s -H \"X-Vault-Token: $VAULT_TOKEN\" -s write-random-secrets.lua $VAULT_ADDR -- 10000 &gt; prod-test-write-1000-random-secrets-t6-c16-30sec.log &amp;<\/code><\/pre>\n<p>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0442\u0430\u043a\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435:<\/p>\n<pre><code>Number of secrets is: 10000 thread 1 created Number of secrets is: 10000 thread 2 created Number of secrets is: 10000 thread 3 created Number of secrets is: 10000 thread 4 created Number of secrets is: 10000 thread 5 created Number of secrets is: 10000 thread 6 created Running 30s test @ http:\/\/vault:8200   6 threads and 16 connections   Thread Stats   Avg      Stdev     Max   +\/- Stdev     Latency   134.96ms   68.89ms 558.62ms   84.21%     Req\/Sec    16.31      6.62    50.00     87.82%   2685 requests in 30.04s, 317.27KB read Requests\/sec:     89.39 Transfer\/sec:     10.56KB thread 1 made 446 requests including 446 writes and got 443 responses thread 2 made 447 requests including 447 writes and got 445 responses thread 3 made 447 requests including 447 writes and got 445 responses thread 4 made 459 requests including 459 writes and got 457 responses thread 5 made 450 requests including 450 writes and got 448 responses thread 6 made 449 requests including 449 writes and got 447 responses<\/code><\/pre>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043c \u0442\u0435\u0441\u0442 \u043d\u0430 \u0447\u0442\u0435\u043d\u0438\u0435: \u0437\u0430\u043f\u0438\u0448\u0435\u043c 1000 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0431\u0443\u0434\u0435\u043c \u0447\u0438\u0442\u0430\u0442\u044c \u0438\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c, \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u043c \u0442\u043e\u043c\u0443, \u0447\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u043b\u0438 \u0432\u044b\u0448\u0435 \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0441\u0438.<\/p>\n<pre><code># \u0417\u0430\u043f\u0438\u0448\u0435\u043c 1000 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432:  wrk -t1 -c1 -d5m -H \"X-Vault-Token: $VAULT_TOKEN\" -s write-secrets.lua $VAULT_ADDR -- 1000  # \u0418 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c, \u0447\u0442\u043e \u0442\u044b\u0441\u044f\u0447\u043d\u044b\u0439 \u0441\u0435\u043a\u0440\u0435\u0442 \u0441\u043e\u0437\u0434\u0430\u043b\u0441\u044f:  vault read secret\/read-test\/secret-1000  Key                 Value ---                 ----- refresh_interval    768h extra               1xxxxxxxxx2xxxxxxxxx3xxxxxxxxx4xxxxxxxxx5xxxxxxxxx6xxxxxxxxx7xxxxxxxxx8xxxxxxxxx9xxxxxxxxx0xxxxxxxxx thread-1            write-1000   # \u041f\u0440\u043e\u0431\u0443\u0435\u043c \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0435 \u0447\u0442\u0435\u043d\u0438\u0435 1000 \u0441\u0435\u043a\u0440\u0435\u0442\u043e\u0432 \u0432 4 \u043f\u043e\u0442\u043e\u043a\u0430 nohup wrk -t4 -c16 -d30s -H \"X-Vault-Token: $VAULT_TOKEN\" -s read-secrets.lua $VAULT_ADDR -- 1000 false &gt; prod-test-read-1000-random-secrets-t4-c16-30s.log &amp;<\/code><\/pre>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442:<\/p>\n<pre><code>Number of secrets is: 1000 thread 1 created with print_secrets set to false Number of secrets is: 1000 thread 2 created with print_secrets set to false Number of secrets is: 1000 thread 3 created with print_secrets set to false Number of secrets is: 1000 thread 4 created with print_secrets set to false Running 30s test @ http:\/\/vault:8200   4 threads and 16 connections   Thread Stats   Avg      Stdev     Max   +\/- Stdev     Latency     2.25ms    2.88ms  54.18ms   88.77%     Req\/Sec     2.64k   622.04     4.81k    65.91%   315079 requests in 30.06s, 130.08MB read Requests\/sec:  10483.06 Transfer\/sec:      4.33MB thread 1 made 79705 requests including 79705 reads and got 79700 responses thread 2 made 79057 requests including 79057 reads and got 79053 responses thread 3 made 78584 requests including 78584 reads and got 78581 responses thread 4 made 77748 requests including 77748 reads and got 77745 responses<\/code><\/pre>\n<h3>2. PostgreSQL<\/h3>\n<p>\u041f\u0440\u043e\u0432\u043e\u0434\u0438\u043c \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 \u0442\u0435\u0441\u0442 \u0434\u043b\u044f PostgreSQL 11.7.0 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u044d\u043a\u0435\u043d\u0434\u0430. SSL \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d, \u0432\u0441\u0435 <a href=\"https:\/\/www.vaultproject.io\/docs\/configuration\/storage\/postgresql#connection_url\"><u>\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438<\/u><\/a> \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0437\u0430\u043f\u0438\u0441\u0438:<\/p>\n<pre><code>Number of secrets is: 10000 thread 1 created Number of secrets is: 10000 thread 2 created Number of secrets is: 10000 thread 3 created Number of secrets is: 10000 thread 4 created Number of secrets is: 10000 thread 5 created Number of secrets is: 10000 thread 6 created Running 30s test @ http:\/\/vault:8200   6 threads and 16 connections   Thread Stats   Avg      Stdev     Max   +\/- Stdev     Latency    33.02ms   14.74ms 120.97ms   67.81%     Req\/Sec    60.70     15.02   121.00     69.44%   10927 requests in 30.03s, 1.26MB read Requests\/sec:    363.88 Transfer\/sec:     43.00KB thread 1 made 1826 requests including 1826 writes and got 1823 responses thread 2 made 1797 requests including 1797 writes and got 1796 responses thread 3 made 1833 requests including 1833 writes and got 1831 responses thread 4 made 1832 requests including 1832 writes and got 1830 responses thread 5 made 1801 requests including 1801 writes and got 1799 responses thread 6 made 1850 requests including 1850 writes and got 1848 responses<\/code><\/pre>\n<p>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0447\u0442\u0435\u043d\u0438\u044f:<\/p>\n<pre><code>Number of secrets is: 1000 thread 1 created with print_secrets set to false Number of secrets is: 1000 thread 2 created with print_secrets set to false Number of secrets is: 1000 thread 3 created with print_secrets set to false Number of secrets is: 1000 thread 4 created with print_secrets set to false Running 30s test @ http:\/\/vault:8200   4 threads and 16 connections   Thread Stats   Avg      Stdev     Max   +\/- Stdev     Latency     2.48ms    2.93ms  71.93ms   89.76%     Req\/Sec     2.11k   495.44     3.01k    65.67%   251861 requests in 30.02s, 103.98MB read Requests\/sec:   8390.15 Transfer\/sec:      3.46MB thread 1 made 62957 requests including 62957 reads and got 62952 responses thread 2 made 62593 requests including 62593 reads and got 62590 responses thread 3 made 63074 requests including 63074 reads and got 63070 responses thread 4 made 63252 requests including 63252 reads and got 63249 responses<\/code><\/pre>\n<h3>3. GCS<\/h3>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c<\/p>\n<\/div>\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-317519","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/317519","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=317519"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/317519\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=317519"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=317519"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=317519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}