{"id":34366,"date":"2019-10-31T21:57:56","date_gmt":"2019-10-31T18:57:56","guid":{"rendered":"https:\/\/prohoster.info\/blog\/benchmark-potrebleniya-tsp-dlya-istio-i-linkerd\/"},"modified":"2019-10-31T21:57:56","modified_gmt":"2019-10-31T18:57:56","slug":"benchmark-potrebleniya-tsp-dlya-istio-i-linkerd","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/benchmark-potrebleniya-tsp-dlya-istio-i-linkerd","title":{"rendered":"Benchmark i p\u00ebrdorimit t\u00eb CPU p\u00ebr Istio dhe Linkerd","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"Benchmark i p\u00ebrdorimit t\u00eb CPU p\u00ebr Istio dhe Linkerd\" src=\"\/wp-content\/uploads\/d176b132a69c09195803a1398df64637.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<h2 id=\"vvedenie\">Hyrje<\/h2>\n<p><\/p>\n<p>Ne n\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/www.shopify.ca\/\">Shopify<\/a><\/noindex> kemi u angazhuam n\u00eb vendosjen e Istio si service mesh. N\u00eb thelb, gjith\u00e7ka \u00ebsht\u00eb n\u00eb rregull, p\u00ebrve\u00e7 nj\u00eb gj\u00ebje: <strong>\u00ebsht\u00eb e shtrenjt\u00eb<\/strong>.<\/p>\n<p><\/p>\n<p>N\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/istio.io\/docs\/concepts\/performance-and-scalability\/#cpu-and-memory\">benchmark-\u00ebve t\u00eb publikuara<\/a><\/noindex> p\u00ebr Istio thuhet:<\/p>\n<p><\/p>\n<blockquote><p>Me Istio 1.1, proxy konsumon rreth 0.6 vCPU (n\u00eb b\u00ebrtham\u00eb virtuale) p\u00ebr 1000 k\u00ebrkesa p\u00ebr sekond\u00eb.<\/p><\/blockquote>\n<p>P\u00ebr rajonin e par\u00eb n\u00eb service mesh (me 2 proxy n\u00eb \u00e7do an\u00eb t\u00eb lidhjes) do t\u00eb kemi 1200 b\u00ebrthama vet\u00ebm p\u00ebr proxy, duke llogaritur nj\u00eb milion k\u00ebrkesa p\u00ebr sekond\u00eb. Sipas kalkulatorit t\u00eb kostos nga Google, del rreth $40\/muaj\/b\u00ebrtham\u00eb p\u00ebr konfigurimin <code>n1-standard-64<\/code>, pra ky rajon do t\u00eb na kushtoj\u00eb m\u00eb shum\u00eb se 50 mij\u00eb dollar\u00eb n\u00eb muaj p\u00ebr 1 milion k\u00ebrkesa p\u00ebr sekond\u00eb.<\/p>\n<p><\/p>\n<p>Aiven Sim (<noindex><a rel=\"nofollow\" href=\"https:\/\/medium.com\/@ihcsim\">Ivan Sim<\/a><\/noindex>) <noindex><a rel=\"nofollow\" href=\"https:\/\/medium.com\/@ihcsim\/linkerd-2-0-and-istio-performance-benchmark-df290101c2bb\">) tregoi qart\u00eb<\/a><\/noindex> ndalimet e service mesh vitin e kaluar dhe premtoi t\u00eb nj\u00ebjt\u00ebn gj\u00eb p\u00ebr kujtes\u00ebn dhe procesorin, por nuk ia doli:<\/p>\n<p><\/p>\n<blockquote><p>Duket se values-istio-test.yaml do t\u00eb rris\u00eb ndjesh\u00ebm k\u00ebrkesat p\u00ebr procesor. N\u00ebse e kam llogaritur sakt\u00eb, nevojiten rreth 24 b\u00ebrthama p\u00ebr procesorin p\u00ebr panelin e kontrollit dhe 0.5 CPU p\u00ebr \u00e7do proxy. Nuk kam aq. Do t\u00eb p\u00ebrs\u00ebris testet kur t\u00eb m\u00eb jepen m\u00eb shum\u00eb burime.<\/p><\/blockquote>\n<p>D\u00ebshiroja t\u00eb sigurohesha vet\u00eb, sa t\u00eb ngjashme jan\u00eb treguesit e Istio me nj\u00eb service mesh me kod t\u00eb hapur tjet\u00ebr: <noindex><a rel=\"nofollow\" href=\"https:\/\/linkerd.io\/\">Linkerd<\/a><\/noindex>.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h3 id=\"ustanovka-service-mesh\">Instalimi i service mesh<\/h3>\n<p><\/p>\n<p>E para q\u00eb b\u00ebra ishte t\u00eb instaloja n\u00eb klastri <noindex><a rel=\"nofollow\" href=\"https:\/\/supergloo.solo.io\/\">SuperGloo<\/a><\/noindex>:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">$ supergloo init\ninstalling supergloo version 0.3.12\nusing chart uri https:\/\/storage.googleapis.com\/supergloo-helm\/charts\/supergloo-0.3.12.tgz\nconfigmap\/sidecar-injection-resources created\nserviceaccount\/supergloo created\nserviceaccount\/discovery created\nserviceaccount\/mesh-discovery created\nclusterrole.rbac.authorization.k8s.io\/discovery created\nclusterrole.rbac.authorization.k8s.io\/mesh-discovery created\nclusterrolebinding.rbac.authorization.k8s.io\/supergloo-role-binding created\nclusterrolebinding.rbac.authorization.k8s.io\/discovery-role-binding created\nclusterrolebinding.rbac.authorization.k8s.io\/mesh-discovery-role-binding created\ndeployment.extensions\/supergloo created\ndeployment.extensions\/discovery created\ndeployment.extensions\/mesh-discovery created\ninstall successful!<\/code><\/pre>\n<p><\/p>\n<p>P\u00ebrdora SuperGloo sepse ndihmon shum\u00eb n\u00eb ngarkimin fillestar t\u00eb service mesh. M'u desh thuajse t\u00eb mos b\u00ebja asgj\u00eb. N\u00eb prodhim nuk p\u00ebrdorim SuperGloo, por p\u00ebr nj\u00eb detyr\u00eb t\u00eb till\u00eb \u00ebsht\u00eb perfekt. M\u00eb duhej t\u00eb aplikoja vet\u00ebm disa komanda p\u00ebr \u00e7do service mesh. P\u00ebrdora dy klaster\u00eb p\u00ebr izolim \u2014 nj\u00eb p\u00ebr Istio dhe nj\u00eb p\u00ebr Linkerd.<\/p>\n<p><\/p>\n<p>Eksperimenti u zhvillua n\u00eb Google Kubernetes Engine. P\u00ebrdora Kubernetes <code>1.12.7-gke.7<\/code> dhe grupin e nod\u00ebve <code>n1-standard-4<\/code> me shkall\u00ebzim automatik t\u00eb nod\u00ebve (minimum 4, maksimum 16).<\/p>\n<p><\/p>\n<p>Pastaj instalova t\u00eb dy service mesh nga linja e komand\u00ebs.<\/p>\n<p><\/p>\n<p>Fillimisht Linkerd:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">$ supergloo install linkerd --name linkerd\n+---------+--------------+---------+---------------------------+\n| INSTALL |     TYPE     | STATUS  |          DETAILS          |\n+---------+--------------+---------+---------------------------+\n| linkerd | Linkerd Mesh | Pending | enabled: true             |\n|         |              |         | version: stable-2.3.0     |\n|         |              |         | namespace: linkerd        |\n|         |              |         | mtls enabled: true        |\n|         |              |         | auto inject enabled: true |\n+---------+--------------+---------+---------------------------+<\/code><\/pre>\n<p><\/p>\n<p>Pastaj Istio:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">$ supergloo install istio --name istio --installation-namespace istio-system --mtls=true --auto-inject=true\n+---------+------------+---------+---------------------------+\n| INSTALL |    TYPE    | STATUS  |          DETAILS          |\n+---------+------------+---------+---------------------------+\n| istio   | Istio Mesh | Pending | enabled: true             |\n|         |            |         | version: 1.0.6            |\n|         |            |         | namespace: istio-system   |\n|         |            |         | mtls enabled: true        |\n|         |            |         | auto inject enabled: true |\n|         |            |         | grafana enabled: true     |\n|         |            |         | prometheus enabled: true  |\n|         |            |         | jaeger enabled: true      |\n+---------+------------+---------+---------------------------+<\/code><\/pre>\n<p><\/p>\n<p>Crash-loop zgjati disa minuta, dhe pastaj panelat kontrolli u stabilizuan.<\/p>\n<p><\/p>\n<p><em>(Sh\u00ebnim. SuperGloo p\u00ebr momentin mb\u00ebshtet vet\u00ebm Istio 1.0.x. E p\u00ebrs\u00ebrita eksperimentin me Istio 1.1.3, por nuk vura re ndonj\u00eb ndryshim t\u00eb duksh\u00ebm.)<\/em><\/p>\n<p><\/p>\n<h3 id=\"nastroyka-avtomaticheskogo-vnedreniya-istio\">Konfigurimi i injektimit automatik p\u00ebr Istio<\/h3>\n<p><\/p>\n<p>P\u00ebr t\u00eb instaluar sidecar Envoy me Istio, p\u00ebrdorim injektor-in e sidecar-it \u2014 <code>MutatingAdmissionWebhook<\/code>. Nuk do t\u00eb flasim p\u00ebr t\u00eb n\u00eb k\u00ebt\u00eb artikull. Thjesht do t\u00eb them se \u00ebsht\u00eb nj\u00eb kontrollues q\u00eb monitoron aksesin e t\u00eb gjith\u00eb pod\u2019\u00ebve t\u00eb rinj dhe dinamikisht shton sidecar dhe initContainer, i cili merret me detyrat <code>iptables<\/code>.<\/p>\n<p><\/p>\n<p>Ne n\u00eb Shopify shkruam kontrolluesin ton\u00eb p\u00ebr injektimin e sidecar-ve, por n\u00eb k\u00ebt\u00eb benchmark kam marr\u00eb kontrolluesin q\u00eb vjen me Istio. Kontrolluesi p\u00ebr default-in injekton sidecar-et kur ka nj\u00eb etiket\u00eb n\u00eb hap\u00ebsir\u00ebn e emrave <code>istio-injection: enabled<\/code>:<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">$ kubectl label namespace irs-client-dev istio-injection=enabled\nnamespace\/irs-client-dev labeled\n\n$ kubectl label namespace irs-server-dev istio-injection=enabled\nnamespace\/irs-server-dev labeled<\/code><\/pre>\n<p><\/p>\n<h3 id=\"nastroyka-avtomaticheskogo-vnedreniya-linkerd\">Konfigurimi i injektimit automatik p\u00ebr Linkerd<\/h3>\n<p><\/p>\n<p>P\u00ebr t\u00eb konfiguruar injektimin e sidecar-ve t\u00eb Linkerd, p\u00ebrdorim annotacione (i kam shtuar ato manualisht p\u00ebrmes <code>kubectl edit<\/code>):<\/p>\n<p><\/p>\n<pre><code class=\"plaintext\">metadata:\n  annotations:\n    linkerd.io\/inject: enabled<\/code><\/pre>\n<p><\/p>\n<pre><code class=\"plaintext\">$ k edit ns irs-server-dev \nnamespace\/irs-server-dev edited\n\n$ k get ns irs-server-dev -o yaml\napiVersion: v1\nkind: Namespace\nmetadata:\n  annotations:\n    linkerd.io\/inject: enabled\n  name: irs-server-dev\nspec:\n  finalizers:\n  - kubernetes\nstatus:\n  phase: Active<\/code><\/pre>\n<p><\/p>\n<h3 id=\"simulyator-otkazoustoychivosti-istio\">Simulator i q\u00ebndrueshm\u00ebris\u00eb Istio<\/h3>\n<p><\/p>\n<p>Kemi krijuar nj\u00eb simulator q\u00ebndrestariteti Istio p\u00ebr t\u00eb eksperimentuar me trafikun unik p\u00ebr Shopify. Na nevojitej nj\u00eb mjet p\u00ebr t\u00eb krijuar topologji t\u00eb rast\u00ebsishme q\u00eb do t\u00eb p\u00ebrfaq\u00ebsonte nj\u00eb pjes\u00eb t\u00eb caktuar t\u00eb grafit t\u00eb sh\u00ebrbimit ton\u00eb me konfigurim dinamik p\u00ebr modelimin e ngarkesave specifike t\u00eb pun\u00ebs.<\/p>\n<p><\/p>\n<p>Infrastruktura e Shopify p\u00ebrjeton nj\u00eb ngarkes\u00eb t\u00eb madhe gjat\u00eb shitjeve flash. N\u00eb k\u00ebt\u00eb rast, Shopify <noindex><a rel=\"nofollow\" href=\"https:\/\/www.shopify.com\/enterprise\/flash-sale\">i rekomandon tregtar\u00ebt t\u00eb b\u00ebjn\u00eb shpesh shitje t\u00eb tilla<\/a><\/noindex>. Klient\u00ebt e m\u00ebdhenj ndonj\u00ebher\u00eb paralajm\u00ebrojn\u00eb p\u00ebr nj\u00eb shitje flash t\u00eb planifikuar. T\u00eb tjer\u00ebt i kryejn\u00eb ato papritur p\u00ebr ne, n\u00eb \u00e7do koh\u00eb t\u00eb dit\u00ebs e nat\u00ebs.<\/p>\n<p><\/p>\n<p>Ne d\u00ebshironim q\u00eb simulatori yn\u00eb i q\u00ebndrestaritetit t\u00eb modelonte proceset e pun\u00ebs q\u00eb i p\u00ebrkasin topologjive dhe ngarkesave t\u00eb pun\u00ebs q\u00eb \u00e7uan n\u00eb mbingarkes\u00ebn e infrastruktrur\u00ebs s\u00eb Shopify n\u00eb t\u00eb kaluar\u00ebn. Q\u00ebllimi kryesor i p\u00ebrdorimit t\u00eb service mesh \u00ebsht\u00eb se na nevojitet q\u00ebndrueshm\u00ebri dhe q\u00ebndrestaritet n\u00eb nivelin e rrjetit dhe \u00ebsht\u00eb e r\u00ebnd\u00ebsishme q\u00eb service mesh t\u00eb p\u00ebrballoj\u00eb ngarkesat q\u00eb m\u00eb par\u00eb e kishin shqet\u00ebsuar funksionin e sh\u00ebrbimeve.<\/p>\n<p><\/p>\n<p>N\u00eb thelbin e simulatorit t\u00eb q\u00ebndrestaritetit \u00ebsht\u00eb nj\u00eb nod pune q\u00eb vepron si nod i service mesh. Nodi i pun\u00ebs mund t\u00eb konfigurohet statikisht gjat\u00eb nisjes ose dinamikisht p\u00ebrmes REST API. Ne p\u00ebrdorim konfigurimin dinamik t\u00eb noderve t\u00eb pun\u00ebs p\u00ebr t\u00eb krijuar proceset e pun\u00ebs si teste regresive.<\/p>\n<p><\/p>\n<p>Ja nj\u00eb shembull i nj\u00eb procesi:<\/p>\n<p><\/p>\n<ul>\n<li>Nisim 10 servera si <code>bar<\/code> nj\u00eb sh\u00ebrbim q\u00eb kthen nj\u00eb p\u00ebrgjigje <code>200\/OK<\/code> pas 100 ms.<\/li>\n<li>Nisim 10 klient\u00eb \u2014 secili d\u00ebrgon 100 k\u00ebrkesa n\u00eb sekond\u00eb n\u00eb <code>bar<\/code>.<\/li>\n<li>\u00c7do 10 sekonda heqim 1 server, monitorojm\u00eb gabimet <code>5xx<\/code> n\u00eb klient.<\/li>\n<\/ul>\n<p><\/p>\n<p>N\u00eb fund t\u00eb procesit t\u00eb pun\u00ebs, studioshim log\u00ebt dhe metrikat dhe kontrollojm\u00eb n\u00ebse testi ka kaluar. K\u00ebshtu, m\u00ebsojm\u00eb p\u00ebr performanc\u00ebn e service mesh ton\u00eb dhe kryejm\u00eb nj\u00eb test regresiv p\u00ebr t\u00eb verifikuar supozimet tona mbi q\u00ebndrestaritetin.<\/p>\n<p><\/p>\n<p><em>(Sh\u00ebnim. Po mendojm\u00eb t\u00eb hapim kodin burimor t\u00eb simulatorit t\u00eb q\u00ebndrestaritetit Istio, por ende nuk jemi gati p\u00ebr k\u00ebt\u00eb.)<\/em><\/p>\n<p><\/p>\n<h3 id=\"simulyator-otkazoustoychivosti-istio-dlya-benchmarka-service-mesh\">Simulatori i q\u00ebndrestaritetit Istio p\u00ebr benchmark-un e service mesh<\/h3>\n<p><\/p>\n<p>Ne konfigurojm\u00eb disa nod\u00eb pune t\u00eb simulatorit:<\/p>\n<p><\/p>\n<ul>\n<li><code>irs-client-loadgen<\/code>: 3 replika, t\u00eb cilat d\u00ebrgojn\u00eb 100 k\u00ebrkesa n\u00eb sekond\u00eb n\u00eb <code>irs-client<\/code>.<\/li>\n<li><code>irs-client<\/code>: 3 replika, t\u00eb cilat marrin k\u00ebrkes\u00ebn, presin 100 ms dhe ridrejtojn\u00eb k\u00ebrkes\u00ebn n\u00eb <code>irs-server<\/code>.<\/li>\n<li><code>irs-server<\/code>: 3 replika, t\u00eb cilat kthejn\u00eb <code>200\/OK<\/code> pas 100 ms.<\/li>\n<\/ul>\n<p><\/p>\n<p>Me k\u00ebt\u00eb konfigurim, ne mund t\u00eb masim nj\u00eb fluks stabil trafiku mes 9 pikave t\u00eb fundit. Sidecar-\u00ebt n\u00eb <code>irs-client-loadgen<\/code> dhe <code>irs-server<\/code> marrin 100 k\u00ebrkesa n\u00eb sekond\u00eb, nd\u00ebrsa <code>irs-client<\/code> \u2013 200 (t\u00eb hyr\u00eb dhe t\u00eb dal\u00eb).<\/p>\n<p><\/p>\n<p>Ne ndjekim p\u00ebrdorimin e burimeve p\u00ebrmes <noindex><a rel=\"nofollow\" href=\"https:\/\/www.datadoghq.com\/\">DataDog<\/a><\/noindex>, sepse nuk kemi nj\u00eb klaster Prometheus.<\/p>\n<p><\/p>\n<h2 id=\"rezultaty\">Rezultatet<\/h2>\n<p><\/p>\n<h3 id=\"paneli-upravleniya\">Panele kontrolli<\/h3>\n<p><\/p>\n<p>Fillimisht, ne shqyrtuam konsumimin e CPU-s\u00eb.<\/p>\n<p><\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/habrastorage.org\/webt\/wd\/bb\/md\/wdbbmdzr0sx8tlfhmyinyglsr0i.png\"><img decoding=\"async\" alt=\"Benchmark i p\u00ebrdorimit t\u00eb CPU p\u00ebr Istio dhe Linkerd\" src=\"\/wp-content\/uploads\/ff1e892762132bd49e00fb319201c92f.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><br \/>\n<em>Paneli i kontrollit Linkerd ~22 miliard\u00eb<\/em><\/p>\n<p><\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/habrastorage.org\/webt\/nr\/1p\/ag\/nr1pagqdpichos1evmok6jafn7w.png\"><img decoding=\"async\" alt=\"Benchmark i p\u00ebrdorimit t\u00eb CPU p\u00ebr Istio dhe Linkerd\" src=\"\/wp-content\/uploads\/dc5e80d4abd81168cd944dc183882d9d.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><br \/>\n<em>Paneli i kontrollit Istio: ~750 miliard\u00eb<\/em><\/p>\n<p><\/p>\n<p>Paneli i kontrollit Istio p\u00ebrdor rreth <strong>35 her\u00eb m\u00eb shum\u00eb burime procesori<\/strong>, sesa Linkerd. Sigurisht, gjith\u00e7ka \u00ebsht\u00eb e vendosur sipas paracaktimit, dhe shum\u00eb burime procesori k\u00ebtu konsumohen nga istio-telemetry (mund t\u00eb \u00e7aktivizohet duke hequr dor\u00eb nga disa funksione). N\u00ebse hiqet ky komponent, p\u00ebrs\u00ebri rezultati \u00ebsht\u00eb mbi 100 miliard\u00eb, pra <strong>4 her\u00eb m\u00eb shum\u00eb<\/strong>, sesa Linkerd.<\/p>\n<p><\/p>\n<h3 id=\"sidecar-proksi\">Proxy Sidecar<\/h3>\n<p><\/p>\n<p>M\u00eb pas, ne kontrolluam p\u00ebrdorimin e proxy-it. K\u00ebtu duhet t\u00eb ket\u00eb nj\u00eb var\u00ebsi lineare nga numri i k\u00ebrkesave, por p\u00ebr secilin sidecar ka disa shpenzime t\u00eb p\u00ebrbashk\u00ebta q\u00eb ndikojn\u00eb n\u00eb kurb\u00ebn.<\/p>\n<p><\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/habrastorage.org\/webt\/ve\/ky\/bw\/vekybwloc_ffg8_pmrm6cf56tqq.png\"><img decoding=\"async\" alt=\"Benchmark i p\u00ebrdorimit t\u00eb CPU p\u00ebr Istio dhe Linkerd\" src=\"\/wp-content\/uploads\/deb802e6660b9b76da355d078b2fe88e.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><br \/>\n<em>Linkerd: ~100 miliard\u00eb p\u00ebr irs-client, ~50 miliard\u00eb p\u00ebr irs-client-loadgen<\/em><\/p>\n<p><\/p>\n<p>Rezultatet duken logjike, pasi proxy klient merr dyfish m\u00eb shum\u00eb trafik sesa proxy loadgen: p\u00ebr \u00e7do k\u00ebrkes\u00eb n\u00eb dalje nga loadgen, klienti ka nj\u00eb k\u00ebrkes\u00eb n\u00eb hyrje dhe nj\u00eb n\u00eb dalje.<\/p>\n<p><\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/habrastorage.org\/webt\/81\/wh\/lo\/81whlom3ym23hp7cisg3tsgu8qs.png\"><img decoding=\"async\" alt=\"Benchmark i p\u00ebrdorimit t\u00eb CPU p\u00ebr Istio dhe Linkerd\" src=\"\/wp-content\/uploads\/99705fa2396694d3314839dd3c6a39fb.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><br \/>\n<em>Istio\/Envoy: ~155 miliard\u00eb p\u00ebr irs-client, ~75 miliard\u00eb p\u00ebr irs-client-loadgen<\/em><\/p>\n<p><\/p>\n<p>Ne shohim rezultate t\u00eb ngjashme p\u00ebr sidecar-\u00ebt Istio.<\/p>\n<p><\/p>\n<p>Por n\u00eb p\u00ebrgjith\u00ebsi, proxy Istio\/Envoy konsumon <strong>rreth 50% m\u00eb shum\u00eb burime procesori<\/strong>, sesa Linkerd.<\/p>\n<p><\/p>\n<p>T\u00eb nj\u00ebjtin skem\u00eb e shohim n\u00eb an\u00ebn e serverit:<\/p>\n<p><\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/habrastorage.org\/webt\/ou\/xl\/bw\/ouxlbwvtilchju4qykltpesfz58.png\"><img decoding=\"async\" alt=\"Benchmark i p\u00ebrdorimit t\u00eb CPU p\u00ebr Istio dhe Linkerd\" src=\"\/wp-content\/uploads\/cb235290b27fed8c24f9b9be381b3d91.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><br \/>\n<em>Linkerd: ~50 miliard\u00eb p\u00ebr irs-server<\/em><\/p>\n<p><\/p>\n<p><noindex><a rel=\"nofollow\" href=\"https:\/\/habrastorage.org\/webt\/cd\/1p\/ia\/cd1pia4q2sniccgybpy-uipuubu.png\"><img decoding=\"async\" alt=\"Benchmark i p\u00ebrdorimit t\u00eb CPU p\u00ebr Istio dhe Linkerd\" src=\"\/wp-content\/uploads\/2a087237c7d0f13907e836849cd953b1.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><br \/>\n<em>Istio\/Envoy: ~80 miliard\u00eb p\u00ebr irs-server<\/em><\/p>\n<p><\/p>\n<p>N\u00eb an\u00ebn e serverit, sidecar Istio\/Envoy konsumon <strong>rreth 60% m\u00eb shum\u00eb burime procesori<\/strong>, sesa Linkerd.<\/p>\n<p><\/p>\n<h3 id=\"zaklyuchenie\">P\u00ebrfundim<\/h3>\n<p><\/p>\n<p>Proxy Istio Envoy konsumon mbi 50% m\u00eb shum\u00eb CPU, sesa Linkerd, n\u00eb ngarkes\u00ebn ton\u00eb t\u00eb simuluar. Paneli i kontrollit Linkerd konsumon shum\u00eb m\u00eb pak burime sesa Istio, ve\u00e7an\u00ebrisht n\u00eb lidhje me komponent\u00ebt kryesor\u00eb.<\/p>\n<p><\/p>\n<p>Ne ende po mendojm\u00eb se si t'i ulim k\u00ebto shpenzime. N\u00ebse keni ide, ndani!<\/p>\n<p>Burimi: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/southbridge\/blog\/452956\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u041c\u044b \u0432 Shopify \u0437\u0430\u043d\u044f\u043b\u0438\u0441\u044c \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044b\u0432\u0430\u043d\u0438\u0435\u043c Istio \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 service mesh. \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u0432\u0441\u0435 \u0443\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442, \u043a\u0440\u043e\u043c\u0435 \u043e\u0434\u043d\u043e\u0439 \u0432\u0435\u0449\u0438: \u044d\u0442\u043e \u0434\u043e\u0440\u043e\u0433\u043e. \u0412 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0430\u0445 \u0434\u043b\u044f Istio \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u0441\u044f: \u0421 Istio 1.1 \u043f\u0440\u043e\u043a\u0441\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e 0,6 vCPU (\u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u044f\u0434\u0435\u0440) \u043d\u0430 1000 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443. \u0414\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0440\u0435\u0433\u0438\u043e\u043d\u0430 \u0432 service mesh (\u043f\u043e 2 \u043f\u0440\u043e\u043a\u0441\u0438 \u0441 \u043a\u0430\u0436\u0434\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f) \u0443 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-34366","post","type-post","status-publish","format-standard","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u041c\u044b \u0432.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/benchmark-potrebleniya-tsp-dlya-istio-i-linkerd\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"sq_AL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0411\u0435\u043d\u0447\u043c\u0430\u0440\u043a \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u044f \u0426\u041f \u0434\u043b\u044f Istio \u0438 Linkerd | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u041c\u044b \u0432.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/benchmark-potrebleniya-tsp-dlya-istio-i-linkerd\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T18:57:56+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T18:57:56+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Benchmark p\u00ebr konsumimin e CPU p\u00ebr Istio dhe Linkerd | ProHoster","description":"Hyrje Ne n\u00eb.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/benchmark-potrebleniya-tsp-dlya-istio-i-linkerd","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0411\u0435\u043d\u0447\u043c\u0430\u0440\u043a \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u044f \u0426\u041f \u0434\u043b\u044f Istio \u0438 Linkerd | ProHoster","og:description":"\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u041c\u044b \u0432.","og:url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/benchmark-potrebleniya-tsp-dlya-istio-i-linkerd","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T18:57:56+00:00","article:modified_time":"2019-10-31T18:57:56+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"34366","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-21 18:56:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 02:23:16","updated":"2026-01-21 18:56:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/34366","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=34366"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/34366\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=34366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=34366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=34366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}