{"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 konsumit t\u00eb CPU p\u00ebr Istio dhe Linkerd","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"Benchmark i konsumit 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> ne filluam p\u00ebrdorimin e Istio si nj\u00eb rrjet sh\u00ebrbimesh. N\u00eb thelb, gjith\u00e7ka \u00ebsht\u00eb mir\u00eb, 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\">n\u00eb benchmark-\u00ebt e publikuar<\/a><\/noindex> p\u00ebr Istio thuhet:<\/p>\n<p><\/p>\n<blockquote><p>Me Istio 1.1, proksi konsumon rreth 0.6 vCPU (nuk \u00ebsht\u00eb b\u00ebrtham\u00eb virtuale) p\u00ebr 1000 k\u00ebrkesa n\u00eb sekond\u00eb.<\/p><\/blockquote>\n<p>P\u00ebr rajonin e par\u00eb n\u00eb rrjetin e sh\u00ebrbimeve (me 2 proksi nga secila an\u00eb e lidhjes), do t\u00eb kemi 1200 b\u00ebrthama vet\u00ebm p\u00ebr proksi, duke u bazuar n\u00eb nj\u00eb milion k\u00ebrkesa n\u00eb sekond\u00eb. Sipas kalkulatorit t\u00eb \u00e7mimeve t\u00eb Google, rezulton rreth $40\/muaj\/b\u00ebrthama p\u00ebr konfigurimin <code>n1-standard-64<\/code>, k\u00ebshtu q\u00eb 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 n\u00eb sekond\u00eb.<\/p>\n<p><\/p>\n<p>Ivan 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\">ilustroi qart\u00eb<\/a><\/noindex> vonimet e rrjetit t\u00eb sh\u00ebrbimeve vitin e kaluar dhe premtoi t\u00eb nj\u00ebjt\u00ebn gj\u00eb p\u00ebr memorin\u00eb dhe procesorin, por nuk arriti:<\/p>\n<p><\/p>\n<blockquote><p>Duket se values-istio-test.yaml do t\u00eb rris\u00eb ndjesh\u00ebm k\u00ebrkesat p\u00ebr procesorin. N\u00ebse e kam llogaritur si\u00e7 duhet, jan\u00eb rreth 24 b\u00ebrthama procesori p\u00ebr panelin e kontrollit dhe 0.5 CPU p\u00ebr \u00e7do proksi. Nuk kam aq shum\u00eb. Do t'i p\u00ebrs\u00ebris testet kur m\u00eb ndahen m\u00eb shum\u00eb burime.<\/p><\/blockquote>\n<p>D\u00ebshiroja t\u00eb sigurohesha sa t\u00eb ngjashme jan\u00eb treguesit e Istio me nj\u00eb rrjet sh\u00ebrbimesh me kod t\u00eb hapur: <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 rrjetit t\u00eb sh\u00ebrbimeve<\/h3>\n<p><\/p>\n<p>I pari q\u00eb instalova n\u00eb klas\u00ebr <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>Kam p\u00ebrdorur SuperGloo, sepse ai e b\u00ebn shum\u00eb m\u00eb t\u00eb leht\u00eb ngarkimin fillestar t\u00eb rrjetit t\u00eb sh\u00ebrbimeve. Nuk m\u00eb duhej t\u00eb b\u00ebja shum\u00eb. N\u00eb prodhim, nuk p\u00ebrdorim SuperGloo, por p\u00ebr nj\u00eb detyr\u00eb t\u00eb till\u00eb ai \u00ebsht\u00eb perfekt. M\u00eb duhej t\u00eb aplikoj vet\u00ebm disa komand\u00eb p\u00ebr \u00e7do rrjet sh\u00ebrbimesh. P\u00ebrdorja dy klastra p\u00ebr izolim - nj\u00eb p\u00ebr Istio dhe nj\u00eb p\u00ebr Linkerd.<\/p>\n<p><\/p>\n<p>Eksperimenti u realizua n\u00eb Google Kubernetes Engine. Kam p\u00ebrdorur Kubernetes <code>1.12.7-gke.7<\/code> dhe nj\u00eb grup nyjesh <code>n1-standard-4<\/code> me shkall\u00ebzim automatik nyjesh (minimum 4, maksimum 16).<\/p>\n<p><\/p>\n<p>Pastaj instalova t\u00eb dy rrjetet e sh\u00ebrbimeve nga linja e komandave.<\/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>M\u00eb pas 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, pastaj panelet e kontrollit u stabilizuan.<\/p>\n<p><\/p>\n<p><em>(Sh\u00ebnim. SuperGloo aktualisht mb\u00ebshtet vet\u00ebm Istio 1.0.x. E p\u00ebrs\u00ebris eksperimentin me Istio 1.1.3, por nuk v\u00eb re ndonj\u00eb ndryshim t\u00eb ndjesh\u00ebm.)<\/em><\/p>\n<p><\/p>\n<h3 id=\"nastroyka-avtomaticheskogo-vnedreniya-istio\">Konfigurimi i injektimit automatik t\u00eb Istio<\/h3>\n<p><\/p>\n<p>P\u00ebr t\u00eb instaluar sidecar-in Envoy, p\u00ebrdorim injektorin e sidecar-it - <code>MutatingAdmissionWebhook<\/code>. Nuk do t\u00eb flasim p\u00ebr t\u00eb n\u00eb k\u00ebt\u00eb artikull. Thjesht do t\u00eb them se ky \u00ebsht\u00eb nj\u00eb kontrollues q\u00eb monitoron qasjen e t\u00eb gjitha pod-ve t\u00eb rinj dhe shton dinamikisht sidecar dhe initContainer, i cili \u00ebsht\u00eb p\u00ebrgjegj\u00ebs p\u00ebr detyrat <code>iptables<\/code>.<\/p>\n<p><\/p>\n<p>Ne n\u00eb Shopify shkruam kontrolluesin ton\u00eb t\u00eb aksesit p\u00ebr injektimin e sidecar-eve, por n\u00eb k\u00ebt\u00eb benchmark mora kontrolluesin q\u00eb vjen me Istio. Kontrolluesi p\u00ebr default injekton sidecar-e kur n\u00eb hap\u00ebsir\u00ebn e emrave ka nj\u00eb etik\u00ebt <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 t\u00eb Linkerd<\/h3>\n<p><\/p>\n<p>P\u00ebr t\u00eb konfiguruar injektimin e sidecar-eve t\u00eb Linkerd, p\u00ebrdorim anota (i kam shtuar 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\">Simuluesi i munges\u00ebs s\u00eb q\u00ebndrueshm\u00ebris\u00eb t\u00eb Istio<\/h3>\n<p><\/p>\n<p>Ne kemi krijuar nj\u00eb simulator q\u00ebndrueshm\u00ebrie p\u00ebr Istio p\u00ebr t\u00eb eksperimentuar me trafikun unik p\u00ebr Shopify. Na duhej nj\u00eb mjet p\u00ebr t\u00eb krijuar nj\u00eb topologji t\u00eb rast\u00ebsishme q\u00eb do p\u00ebrfaq\u00ebsonte nj\u00eb pjes\u00eb t\u00eb caktuar t\u00eb grafikut t\u00eb sh\u00ebrbimit ton\u00eb me konfigurim dinamik p\u00ebr modelimin e ngarkesave t\u00eb caktuara.<\/p>\n<p><\/p>\n<p>Infrastruktura e Shopify p\u00ebrballet me nj\u00eb ngarkes\u00eb t\u00eb madhe gjat\u00eb shitjeve flash. N\u00eb t\u00eb nj\u00ebjt\u00ebn koh\u00eb, Shopify <noindex><a rel=\"nofollow\" href=\"https:\/\/www.shopify.com\/enterprise\/flash-sale\">u rekomandon shit\u00ebsve q\u00eb t\u00eb organizojn\u00eb shpesh shitje t\u00eb tilla<\/a><\/noindex>. Klient\u00ebt e m\u00ebdhenj ndonj\u00ebher\u00eb lajm\u00ebrojn\u00eb p\u00ebr shitjet e planifikuara flash. T\u00eb tjer\u00eb i organizojn\u00eb ato papritur p\u00ebr ne n\u00eb \u00e7do or\u00eb t\u00eb dit\u00ebs e nat\u00ebs.<\/p>\n<p><\/p>\n<p>Ne doja q\u00eb simulatori yn\u00eb i q\u00ebndrueshm\u00ebris\u00eb t\u00eb modelonte proceset q\u00eb p\u00ebrputhen me topologjit\u00eb dhe ngarkesat q\u00eb kan\u00eb \u00e7uar n\u00eb mbingarkesa t\u00eb infrastruktur\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 besueshm\u00ebri dhe q\u00ebndrueshm\u00ebri n\u00eb nivelin e rrjetit, dhe \u00ebsht\u00eb e r\u00ebnd\u00ebsishme p\u00ebr ne q\u00eb service mesh t\u00eb p\u00ebrballoj\u00eb efektivisht ngarkesat q\u00eb m\u00eb par\u00eb kan\u00eb penguar funksionimin e sh\u00ebrbimeve.<\/p>\n<p><\/p>\n<p>N\u00eb thelb, simulatori i q\u00ebndrueshm\u00ebris\u00eb bazohet n\u00eb nj\u00eb nod t\u00eb pun\u00ebs q\u00eb vepron si nod i service mesh. Nodet e pun\u00ebs mund t\u00eb konfigurohen n\u00eb m\u00ebnyr\u00eb statike gjat\u00eb nisjes ose n\u00eb m\u00ebnyr\u00eb dinamike p\u00ebrmes REST API. Ne p\u00ebrdorim konfigurimin dinamik t\u00eb nod\u00ebve t\u00eb pun\u00ebs p\u00ebr t\u00eb krijuar procese si teste regresive.<\/p>\n<p><\/p>\n<p>Ja nj\u00eb shembull i nj\u00eb procesi t\u00eb till\u00eb:<\/p>\n<p><\/p>\n<ul>\n<li>Nisim 10 server\u00eb si <code>bar<\/code> nj\u00eb sh\u00ebrbim q\u00eb kthen p\u00ebrgjigjen <code>200\/OK<\/code> brenda 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 largojm\u00eb 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 studiojm\u00eb regjistrat dhe metrikat dhe kontrollojm\u00eb n\u00ebse testi \u00ebsht\u00eb kaluar. K\u00ebshtu m\u00ebsojm\u00eb rreth performanc\u00ebs s\u00eb service mesh dhe b\u00ebjm\u00eb nj\u00eb test regresiv p\u00ebr t\u00eb kontrolluar supozimet tona p\u00ebr q\u00ebndrueshm\u00ebrin\u00eb.<\/p>\n<p><\/p>\n<p><em>(Sh\u00ebnim. Po mendojm\u00eb t\u00eb publikojm\u00eb kodin burimor t\u00eb simulatorit t\u00eb q\u00ebndrueshm\u00ebris\u00eb 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\u00ebndrueshm\u00ebris\u00eb Istio p\u00ebr benchmark-un e service mesh<\/h3>\n<p><\/p>\n<p>Ne konfiguruam disa nod\u00eb t\u00eb pun\u00ebs 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\u00ebrkesat, presin 100 ms dhe redirektojn\u00eb k\u00ebrkesat n\u00eb <code>irs-server<\/code>.<\/li>\n<li><code>irs-server<\/code>: 3 replika, t\u00eb cilat kthejn\u00eb <code>200\/OK<\/code> brenda 100 ms.<\/li>\n<\/ul>\n<p><\/p>\n<p>Me k\u00ebt\u00eb konfigurim, mund t\u00eb masim nj\u00eb rrjedh\u00eb t\u00eb q\u00ebndrueshme t\u00eb trafikut midis 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> \u2014 200 (t\u00eb ardhura dhe t\u00eb dalura).<\/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 menaxhimi<\/h3>\n<p><\/p>\n<p>Fillimisht, studiojm\u00eb konsumimin e CPU.<\/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 konsumit 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 konsumit 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>, se Linkerd. Sigurisht, gjith\u00e7ka \u00ebsht\u00eb vendosur si parametra t\u00eb paracaktuar, dhe shum\u00eb burime procesori k\u00ebtu konsumohet nga istio-telemetry (mund t\u00eb \u00e7aktivizohet duke e hequr disa funksionalitete). Edhe pa k\u00ebt\u00eb komponent, p\u00ebrs\u00ebri kemi m\u00eb shum\u00eb se 100 miliard\u00eb, q\u00eb do t\u00eb thot\u00eb <strong>4 her\u00eb m\u00eb shum\u00eb<\/strong>, se Linkerd.<\/p>\n<p><\/p>\n<h3 id=\"sidecar-proksi\">Proxy-t\u00eb sidecar<\/h3>\n<p><\/p>\n<p>M\u00eb pas kontrolluam p\u00ebrdorimin e proxy-ve. K\u00ebtu duhet t\u00eb ket\u00eb nj\u00eb var\u00ebsi lineare nga numri i k\u00ebrkesave, por p\u00ebr \u00e7do sidecar ka disa kostosh 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 konsumit 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, sepse proxy i klientit merr dy her\u00eb m\u00eb shum\u00eb trafik, se proxy i loadgen: p\u00ebr \u00e7do k\u00ebrkes\u00eb t\u00eb dal\u00eb nga loadgen ka nj\u00eb k\u00ebrkes\u00eb t\u00eb ardhur dhe nj\u00eb t\u00eb dal\u00eb nga klienti.<\/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 konsumit 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-t e Istio.<\/p>\n<p><\/p>\n<p>Por p\u00ebrgjith\u00ebsisht proxy-t Istio\/Envoy konsumojn\u00eb <strong>k\u00ebshtu rreth 50% m\u00eb shum\u00eb burime procesori<\/strong>, se Linkerd.<\/p>\n<p><\/p>\n<p>E nj\u00ebjta 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 konsumit 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 konsumit 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 konsumohet <strong>pothuajse 60% m\u00eb shum\u00eb burime procesori<\/strong>, se Linkerd.<\/p>\n<p><\/p>\n<h3 id=\"zaklyuchenie\">P\u00ebrfundimi<\/h3>\n<p><\/p>\n<p>Proxy-i Istio Envoy konsumon mbi 50% m\u00eb shum\u00eb CPU se Linkerd n\u00eb ngarkes\u00ebn ton\u00eb t\u00eb modeluar. Paneli i kontrollit Linkerd konsumon shum\u00eb m\u00eb pak burime se Istio, ve\u00e7an\u00ebrisht n\u00eb lidhje me komponent\u00ebt e tij kryesor\u00eb.<\/p>\n<p><\/p>\n<p>Ne akoma po mendojm\u00eb se si t'i ulim k\u00ebto shpenzime. N\u00ebse keni ide, ndihmoni!<\/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.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\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 \u043d\u0430\u0441\" \/>\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.0.1\" \/>\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 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 \u043d\u0430\u0441\" \/>\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 i konsumit t\u00eb CPU p\u00ebr Istio dhe Linkerd | ProHoster","description":"Hyrje Ne n\u00eb Shopify merremi me vendosjen e Istio si service mesh. N\u00eb thelb, gjith\u00e7ka \u00ebsht\u00eb n\u00eb rregull p\u00ebrve\u00e7 nj\u00eb gj\u00ebje: \u00ebsht\u00eb e shtrenjt\u00eb. N\u00eb benchmark-\u00ebt e publikuar p\u00ebr Istio thuhet: Me Istio 1.1, proxy konsumon rreth 0.6 vCPU (n\u00eb b\u00ebrtham\u00eb virtuale) p\u00ebr 1000 k\u00ebrkesa n\u00eb sekond\u00eb. P\u00ebr rajonin e par\u00eb n\u00eb service mesh (2 proxy nga \u00e7do an\u00eb e lidhjes) kemi","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 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 \u043d\u0430\u0441","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}]}}