{"id":135788,"date":"2025-06-04T09:05:06","date_gmt":"2025-06-04T07:05:08","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/sravnenie-proizvoditelnosti-subd-valkey-i-redis"},"modified":"2025-06-04T09:05:06","modified_gmt":"2025-06-04T07:05:08","slug":"sravnenie-proizvoditelnosti-subd-valkey-i-redis","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/sravnenie-proizvoditelnosti-subd-valkey-i-redis","title":{"rendered":"A Valkey \u00e9s a Redis teljes\u00edtm\u00e9ny\u00e9nek \u00f6sszehasonl\u00edt\u00e1sa.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>A Redis 8.0 \u00e9s Valkey 8.1 \u00faj verzi\u00f3inak tesztel\u00e9si eredm\u00e9nyeit mutatjuk be, amelyek sor\u00e1n jelent\u0151s teljes\u00edtm\u00e9nyoptimaliz\u00e1ci\u00f3k ker\u00fcltek bejelent\u00e9sre. Az \u00f6sszes v\u00e9gzett tesztben a k\u00f6z\u00f6ss\u00e9g \u00e1ltal fejlesztett fork fel\u00fclm\u00falta az eredeti projektet, f\u0151k\u00e9nt az Amazon \u00e1ltal a projekthez \u00e1tadott \u00faj, aszinkron m\u00f3d\u00fa I\/O feldolgoz\u00e1sra vonatkoz\u00f3 t\u00f6bb sz\u00e1las mechanizmus bevezet\u00e9s\u00e9nek k\u00f6sz\u00f6nhet\u0151en.    <\/p>\n<p>Az AWS Graviton4 c8g.2xlarge tesztk\u00f6rnyezeten 8 VCPU-val a Valkey 8.1.1 teljes\u00edtm\u00e9nye 999,8 ezer SET-k\u00e9r\u00e9st \u00e9rt el m\u00e1sodpercenk\u00e9nt, m\u00edg a Redis 8.0 729,4 ezer k\u00e9rd\u00e9st produk\u00e1lt m\u00e1sodpercenk\u00e9nt. \u00d6sszess\u00e9g\u00e9ben a Valkey \u00e1tereszt\u0151k\u00e9pess\u00e9ge 37%-kal meghaladta a Redis\u00e9t a SET m\u0171veletek eset\u00e9ben, \u00e9s 16%-kal a GET m\u0171veletek eset\u00e9ben. Emellett a Redishez viszony\u00edtva a Valkey projekt 30%-kal cs\u00f6kkentette a SET m\u0171veletek k\u00e9r\u00e9sfeldolgoz\u00e1si k\u00e9sleked\u00e9s\u00e9t, \u00e9s 60%-kal a GET m\u0171veletek\u00e9t.    <center><img decoding=\"async\" alt=\"A Valkey \u00e9s a Redis teljes\u00edtm\u00e9ny\u00e9nek \u00f6sszehasonl\u00edt\u00e1sa.\" src=\"\/wp-content\/uploads\/2025\/06\/512bd8dc9f4e4cc2562b59db68823b07.png\" style=\"display:block;margin: 0 auto;\" \/><\/center>    <\/p>\n<p>F\u00fcggetlen\u00fcl elemezt\u00fck a s\u00e1vsz\u00e9less\u00e9g \u00e9s a k\u00e9sleltet\u00e9s v\u00e1ltoz\u00e1s\u00e1t a p\u00e1rhuzamosan v\u00e9grehajtott proceszorok sz\u00e1m\u00e1nak f\u00fcggv\u00e9ny\u00e9ben az I\/O t\u00f6bbsz\u00e1l\u00fa feldolgoz\u00e1sa sor\u00e1n. H\u00e1rom sz\u00e1lon a Valkey \u00e9s a Redis k\u00f6r\u00fclbel\u00fcl egyenl\u0151 teljes\u00edtm\u00e9nyt mutatott, de azt\u00e1n a Valkey l\u00e9pett el\u0151re. Hat sz\u00e1las rendszeren, 8 VCPU-val a Valkey teljes\u00edtm\u00e9nye 678 ezer SET-k\u00e9r\u00e9st m\u00e1sodpercenk\u00e9nt, m\u00edg a Redis 563 ezer k\u00e9r\u00e9st m\u00e1sodpercenk\u00e9nt teljes\u00edtett, 256 p\u00e1rhuzamos kapcsolat korl\u00e1ttal. A kapcsolatok 400-ra emel\u00e9s\u00e9vel a Valkey teljes\u00edtm\u00e9nye 832 ezer SET-k\u00e9r\u00e9sre n\u0151tt.    <center><img decoding=\"async\" alt=\"A Valkey \u00e9s a Redis teljes\u00edtm\u00e9ny\u00e9nek \u00f6sszehasonl\u00edt\u00e1sa.\" src=\"\/wp-content\/uploads\/2025\/06\/b81d26ec066d0af829859a11236ae2a6.png\" style=\"display:block;margin: 0 auto;\" \/><\/center>    <\/p>\n<p>A rendszer megszak\u00edt\u00e1sainak kezel\u00e9s\u00e9nek optimaliz\u00e1l\u00e1sa ut\u00e1n, a kontextusv\u00e1lt\u00e1sok cs\u00f6kkent\u00e9se \u00e9rdek\u00e9ben, a Valkey teljes\u00edtm\u00e9ny\u00e9t 999,8 ezer SET-k\u00e9r\u00e9sre siker\u00fclt n\u00f6velni m\u00e1sodpercenk\u00e9nt. Az optimaliz\u00e1l\u00e1s l\u00e9nyege abban \u00e1llt, hogy 2 VCPU-t k\u00fcl\u00f6n\u00edtettek el a megszak\u00edt\u00e1sok kezel\u00e9s\u00e9re, \u00e9s a h\u00e1tral\u00e9v\u0151 6 VCPU-t a Valkey \u00e9s a Redis I\/O feldolgoz\u00f3 sz\u00e1laihoz rendelt\u00e9k, hogy elker\u00fclj\u00e9k a proceszorok k\u00f6z\u00f6tti migr\u00e1ci\u00f3t. sudo ethtool -L ens34 combined 2 # 2-ra korl\u00e1tozzuk a megszak\u00edt\u00e1si kezel\u0151k sz\u00e1m\u00e1t grep ens34 \/proc\/interrupts # megvizsg\u00e1ljuk, melyik kezel\u0151ket haszn\u00e1lj\u00e1k (99 \u00e9s 100) echo 1 | sudo tee \/proc\/irq\/99\/smp_affinity # hozz\u00e1rendelj\u00fck a 99-es kezel\u0151t az 1-es maghoz echo 2 | sudo tee \/proc\/irq\/100\/smp_affinity # hozz\u00e1rendelj\u00fck a 100-as kezel\u0151t a 2-es maghoz # Ind\u00edtsuk el az adatb\u00e1zist (a Redis eset\u00e9ben cser\u00e9lni kell valkey\/valkey:8.1.1-t redis:8.0-ra) a CPU magok 2-7-hez val\u00f3 hozz\u00e1rendel\u00e9s\u00e9vel docker run --network='host' --rm \n       --cpuset-cpus='2-7' valkey\/valkey:8.1.1  \n       --save ' ' --appendonly no --io-threads 6 \n       --protected-mode no --maxmemory 10gb        <\/p>\n<p>A teljes\u00edtm\u00e9ny tesztel\u00e9s\u00e9hez a k\u00f6vetkez\u0151 parancsot haszn\u00e1ltuk: docker run --network='host' --rm --cpuset-cpus='2-7' \n        valkey\/valkey:8.0.1 valkey-benchmark \n        -h 172.31.4.92 -p 6379 -t SET,GET -n 100000000 -c 256 \n        -r 3000000 --threads 6 -d 1024<br \/>\n<br \/>Forr\u00e1s: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=63335\">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\u044b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0432\u0435\u0436\u0438\u0445 \u0432\u044b\u043f\u0443\u0441\u043a\u043e\u0432 \u0421\u0423\u0411\u0414 Redis 8.0 \u0438 Valkey 8.1, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0431\u044b\u043b\u0438 \u0437\u0430\u044f\u0432\u043b\u0435\u043d\u044b \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u0412\u043e \u0432\u0441\u0435\u0445 \u043f\u0440\u043e\u0432\u0435\u0434\u0451\u043d\u043d\u044b\u0445 \u0442\u0435\u0441\u0442\u0430\u0445 \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u043c\u044b\u0439 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e\u043c \u0444\u043e\u0440\u043a \u043e\u0431\u043e\u0433\u043d\u0430\u043b \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442, \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u0431\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0432\u043d\u0435\u0434\u0440\u0435\u043d\u0438\u044e \u0432 Valkey \u043d\u043e\u0432\u043e\u0433\u043e \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 \u0434\u043b\u044f \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0432\u0432\u043e\u0434\u0430\/\u0432\u044b\u0432\u043e\u0434\u0430 \u0432 \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435, \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0443 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0435\u0439 Amazon. \u0412 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u043c \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438 AWS Graviton4 c8g.2xlarge \u0441 8 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":135789,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-135788","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0432\u0435\u0436\u0438\u0445 \u0432\u044b\u043f\u0443\u0441\u043a\u043e\u0432 \u0421\u0423\u0411\u0414 Redis 8.0 \u0438 Valkey 8.1, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0431\u044b\u043b\u0438 \u0437\u0430\u044f\u0432\u043b\u0435\u043d\u044b \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438.\" \/>\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\/hu\/blog\/news\/sravnenie-proizvoditelnosti-subd-valkey-i-redis\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\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\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 \u0421\u0423\u0411\u0414 Valkey \u0438 Redis | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0432\u0435\u0436\u0438\u0445 \u0432\u044b\u043f\u0443\u0441\u043a\u043e\u0432 \u0421\u0423\u0411\u0414 Redis 8.0 \u0438 Valkey 8.1, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0431\u044b\u043b\u0438 \u0437\u0430\u044f\u0432\u043b\u0435\u043d\u044b \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/sravnenie-proizvoditelnosti-subd-valkey-i-redis\" \/>\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=\"2025-06-04T07:05:08+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-06-04T07:05:08+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\udd47A Valkey \u00e9s Redis adatb\u00e1zis-kezel\u0151k teljes\u00edtm\u00e9ny \u00f6sszehasonl\u00edt\u00e1sa | ProHoster","description":"Bemutattuk a Redis 8.0 \u00e9s Valkey 8.1 friss kiad\u00e1sainak tesztel\u00e9s\u00e9nek eredm\u00e9nyeit, amelyek jelent\u0151s teljes\u00edtm\u00e9nyoptimaliz\u00e1l\u00e1sokat \u00edg\u00e9rtek.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/sravnenie-proizvoditelnosti-subd-valkey-i-redis","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","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\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 \u0421\u0423\u0411\u0414 Valkey \u0438 Redis | ProHoster","og:description":"\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0441\u0432\u0435\u0436\u0438\u0445 \u0432\u044b\u043f\u0443\u0441\u043a\u043e\u0432 \u0421\u0423\u0411\u0414 Redis 8.0 \u0438 Valkey 8.1, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0431\u044b\u043b\u0438 \u0437\u0430\u044f\u0432\u043b\u0435\u043d\u044b \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438.","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/sravnenie-proizvoditelnosti-subd-valkey-i-redis","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":"2025-06-04T07:05:08+00:00","article:modified_time":"2025-06-04T07:05:08+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"135788","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":"default","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-23 13:10:20","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2026-01-23 13:10:20","updated":"2026-01-23 13:10:20","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/135788","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=135788"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/135788\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media\/135789"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=135788"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=135788"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=135788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}