{"id":100527,"date":"2021-06-16T16:22:37","date_gmt":"2021-06-16T14:22:37","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/predstavlena-biblioteka-aya-dlya-sozdaniya-ebpf-obrabotchikov-na-yazyke-rust"},"modified":"2021-06-16T16:22:37","modified_gmt":"2021-06-16T14:22:37","slug":"predstavlena-biblioteka-aya-dlya-sozdaniya-ebpf-obrabotchikov-na-yazyke-rust","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/news\/predstavlena-biblioteka-aya-dlya-sozdaniya-ebpf-obrabotchikov-na-yazyke-rust","title":{"rendered":"Biblioteka Aya p\u00ebr krijimin e procesor\u00ebve eBPF n\u00eb gjuh\u00ebn Rust u prezantua.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Numri i par\u00eb i biblioteks Aya, i cili lejon krijimin e procesor\u00ebve eBPF n\u00eb gjuh\u00ebn Rust q\u00eb ekzekutohen brenda b\u00ebrtham\u00ebs Linux n\u00eb nj\u00eb makin\u00eb virtuale speciale me JIT, u publikua. Ndryshe nga mjetet e tjera p\u00ebr zhvillimin e programeve eBPF, Aya nuk p\u00ebrdor libbpf dhe kompilatorin bcc, por ofron nj\u00eb zbatim t\u00eb sajin, e shkruar n\u00eb Rust, q\u00eb p\u00ebrdor paket\u00ebn crate libc p\u00ebr t\u00eb qasur drejtp\u00ebrdrejt n\u00eb thirrjet sistemore t\u00eb b\u00ebrtham\u00ebs. Nuk k\u00ebrkohet ndonj\u00eb mjet p\u00ebr gjuh\u00ebn C dhe skedar\u00ebt e titujve t\u00eb b\u00ebrtham\u00ebs p\u00ebr nd\u00ebrtimin e Ayas. Kodi i bibliotek\u00ebs shp\u00ebrndahet n\u00ebn licencat MIT dhe Apache 2.0.    <\/p>\n<p>Karakteristikat kryesore:  <\/p>\n<ul>\n<li class=\"l\"> Mb\u00ebshtetje p\u00ebr formatin BTF (BPF Type Format), i cili ofron informacion mbi tipet n\u00eb pseudokodin BPF p\u00ebr verifikimin e tipeve dhe p\u00ebrputhjen me tipet e ofruara nga b\u00ebrthama aktuale. P\u00ebrdorimi i BTF sjell mund\u00ebsin\u00eb p\u00ebr t\u00eb krijuar procesor\u00eb eBPF universal\u00eb q\u00eb mund t\u00eb p\u00ebrdoren pa rivedh\u00ebsim me versione t\u00eb ndryshme t\u00eb b\u00ebrtham\u00ebs Linux.\n<li class=\"l\"> Mb\u00ebshtetje p\u00ebr thirrjet &#171;bpf-to-bpf&#187;, variablat global\u00eb dhe inicializuesit, q\u00eb lejon hartimin e programeve p\u00ebr eBPF n\u00eb m\u00ebnyr\u00eb t\u00eb ngjashme me programet e zakonshme, duke p\u00ebrdorur aya si runtime, i cili ridimensionon funksionet duke marr\u00eb n\u00eb konsiderat\u00eb pun\u00ebn n\u00eb eBPF.\n<li class=\"l\"> Mb\u00ebshtetje p\u00ebr lloje t\u00eb ndryshme b\u00ebrthamash, duke p\u00ebrfshir\u00eb array t\u00eb zakonshme, harta me hash (hash map), steka, radh\u00eb, gjurmime t\u00eb stekave, si dhe struktura p\u00ebr socket dhe monitorimin e performanc\u00ebs.\n<li class=\"l\"> Mund\u00ebsi p\u00ebr t\u00eb krijuar lloje t\u00eb ndryshme programash eBTF, duke p\u00ebrfshir\u00eb programe p\u00ebr filtrimin dhe menaxhimin e trafik, procesor\u00eb cgroup dhe operacione t\u00eb ndryshme me socket, programe XDP.\n<li class=\"l\"> Mb\u00ebshtetje p\u00ebr platforma p\u00ebr p\u00ebrpunimin asinkron t\u00eb k\u00ebrkesave n\u00eb modalitetin jo bllokues tokio dhe async-std.\n<li class=\"l\"> Nd\u00ebrtim i shpejt\u00eb, pa var\u00ebsi nga nd\u00ebrtimi i b\u00ebrtham\u00ebs dhe skedar\u00ebt e titujve t\u00eb b\u00ebrtham\u00ebs.    <\/ul>\n<p>Projekti ende po shqyrtohet si eksperimental &#8212; API ende nuk \u00ebsht\u00eb stabilizuar dhe vazhdon t\u00eb zhvillohet. Gjithashtu, ende nuk jan\u00eb realizuar t\u00eb gjitha mund\u00ebsit\u00eb e planifikuara. Deri n\u00eb fund t\u00eb vitit, zhvilluesit presin t\u00eb arrijn\u00eb funksionalitetin e Aya n\u00eb nivelin e libbpf, dhe n\u00eb janar 2022, t\u00eb formojn\u00eb versionin e par\u00eb stabil. Po ashtu, planifikohet t\u00eb bashkohen pjes\u00ebt e Aya q\u00eb jan\u00eb t\u00eb nevojshme p\u00ebr t\u00eb shkruar kod n\u00eb Rust p\u00ebr b\u00ebrtham\u00ebn Linux me komponent\u00ebt q\u00eb punojn\u00eb n\u00eb hap\u00ebsir\u00ebn e p\u00ebrdoruesit dhe p\u00ebrdoren p\u00ebr ngarkimin, bashkimin dhe nd\u00ebrveprimin me programet e eBPF.   <\/p>\n<p>Kujtojm\u00eb se eBPF \u00ebsht\u00eb nj\u00eb interpreter i kodit t\u00eb bajt\u00ebve i integruar n\u00eb b\u00ebrtham\u00ebn Linux, q\u00eb lejon krijimin e trajtuesve t\u00eb operacioneve rrjet\u00eb, monitorimin e pun\u00ebs t\u00eb sistemeve, kapjen e thirrjeve t\u00eb sistemeve, kontrollin e aksesit, p\u00ebrpunimin e ngjarjeve me ruajtjen e kronometrimit, num\u00ebrimin e frekuenc\u00ebs dhe koh\u00ebs s\u00eb ekzekutimit t\u00eb operacioneve, dhe realizimin e gjurm\u00ebve duke p\u00ebrdorur kprobes\/uprobes\/tracepoints. Fal\u00eb p\u00ebrdorimit t\u00eb kompilimit JIT, kodi i bajt\u00ebve shnd\u00ebrrohet n\u00eb instruccionet makin\u00eb dhe ekzekutohet me performanc\u00ebn e kodit natyror. XDP ofron mjete p\u00ebr t\u00eb ekzekutuar programet BPF n\u00eb nivelin e drejtuesit t\u00eb rrjetit, me mund\u00ebsi t\u00eb qasjes direkte n\u00eb DMA-buferin e paketave, gj\u00eb q\u00eb lejon krijimin e trajtuesve me performanc\u00eb t\u00eb lart\u00eb p\u00ebr pun\u00eb n\u00eb kushte ngarkese t\u00eb madhe rrjet\u00eb.<br \/>\n<br \/>Burimi: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=55340\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Aya, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0439 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 eBPF, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u044b\u0435 \u0432\u043d\u0443\u0442\u0440\u0438 \u044f\u0434\u0440\u0430 Linux \u0432 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u0441 JIT. \u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 \u0434\u0440\u0443\u0433\u0438\u0445 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 eBPF-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c, Aya \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 libbpf \u0438 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 bcc, \u0430 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u0443\u044e \u043d\u0430 Rust, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 crate-\u043f\u0430\u043a\u0435\u0442 libc \u0434\u043b\u044f \u043f\u0440\u044f\u043c\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u044f \u043a \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u043c \u0432\u044b\u0437\u043e\u0432\u0430\u043c \u044f\u0434\u0440\u0430. [&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":[702],"tags":[],"class_list":["post-100527","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Aya, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0439 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 eBPF, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u044b\u0435 \u0432\u043d\u0443\u0442\u0440\u0438 \u044f\u0434\u0440\u0430 Linux \u0432 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u0441 JIT.\" \/>\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\/news\/predstavlena-biblioteka-aya-dlya-sozdaniya-ebpf-obrabotchikov-na-yazyke-rust\" \/>\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\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 Aya \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f eBPF-\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Aya, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0439 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 eBPF, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u044b\u0435 \u0432\u043d\u0443\u0442\u0440\u0438 \u044f\u0434\u0440\u0430 Linux \u0432 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u0441 JIT.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/news\/predstavlena-biblioteka-aya-dlya-sozdaniya-ebpf-obrabotchikov-na-yazyke-rust\" \/>\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=\"2021-06-16T14:22:37+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2021-06-16T14:22:37+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\udd47U prezantua biblioteka Aya p\u00ebr krijimin e trajtuesve eBPF n\u00eb gjuh\u00ebn Rust | ProHoster","description":"U prezantua dalja e par\u00eb e bibliotek\u00ebs Aya, e cila lejon krijimin e trajtuesve eBPF n\u00eb gjuh\u00ebn Rust, t\u00eb cil\u00ebt ekzekutohen brenda b\u00ebrtham\u00ebs Linux n\u00eb nj\u00eb makin\u00eb virtuale speciale me JIT.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/news\/predstavlena-biblioteka-aya-dlya-sozdaniya-ebpf-obrabotchikov-na-yazyke-rust","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\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 Aya \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f eBPF-\u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust | ProHoster","og:description":"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 Aya, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0439 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 eBPF, \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c\u044b\u0435 \u0432\u043d\u0443\u0442\u0440\u0438 \u044f\u0434\u0440\u0430 Linux \u0432 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u0435 \u0441 JIT.","og:url":"https:\/\/prohoster.info\/sq\/blog\/news\/predstavlena-biblioteka-aya-dlya-sozdaniya-ebpf-obrabotchikov-na-yazyke-rust","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":"2021-06-16T14:22:37+00:00","article:modified_time":"2021-06-16T14:22:37+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"100527","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":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-06-16 15:44:50","updated":"2022-09-29 11:27:30","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\/100527","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=100527"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/100527\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=100527"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=100527"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=100527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}