{"id":182630,"date":"2025-08-11T16:44:00","date_gmt":"2025-08-11T16:44:00","guid":{"rendered":"https:\/\/linuxiac.com\/?p=182630"},"modified":"2025-08-11T16:51:23","modified_gmt":"2025-08-11T16:51:23","slug":"redis-8-2-brings-up-to-49-more-throughput","status":"publish","type":"post","link":"https:\/\/linuxiac.com\/redis-8-2-brings-up-to-49-more-throughput\/","title":{"rendered":"Redis 8.2 Brings Up to 49% More Throughput"},"content":{"rendered":"\n<p>After <a href=\"https:\/\/linuxiac.com\/welcome-back-to-the-open-source-family-redis\/\">returning to the open source family<\/a> in early May, Redis, a distributed in-memory key-value data store, officially rolled out version 8.2 a few days ago, building on the foundation set by <a href=\"https:\/\/linuxiac.com\/redis-8-the-fastest-and-most-versatile-redis-yet\/\">Redis 8.0<\/a>.<\/p>\n\n\n\n<p>The headline figures are more than impressive: This update offers up to 35% faster command execution, 49% higher throughput\u2014surpassing one million operations per second on a single instance\u2014and memory savings of up to 67% in certain scenarios.<\/p>\n\n\n\n<p>Moreover, Redis 8.2 optimizes over 70 commands, with notable standouts like <code>BITCOUNT<\/code> running 35% faster and list operations (<code>LINSERT<\/code>, <code>LREM<\/code>, <code>LPOS<\/code>) seeing latency drops of more than 25%. Thanks to enhancements in I\/O threading, Redis 8.2 can handle nearly half again as many operations per second compared to 8.0 for workloads with a mix of reads and writes.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/08\/redis82-latency-improvements.jpg\"><img decoding=\"async\" width=\"1024\" height=\"569\" src=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/08\/redis82-latency-improvements-1024x569.jpg\" alt=\"Redis 8.2 improvement on p50 Latency\" class=\"wp-image-182663\" srcset=\"https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/08\/redis82-latency-improvements-1024x569.jpg 1024w, https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/08\/redis82-latency-improvements-380x211.jpg 380w, https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/08\/redis82-latency-improvements-768x426.jpg 768w, https:\/\/linuxiac.com\/wp-content\/uploads\/2025\/08\/redis82-latency-improvements.jpg 1239w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Redis 8.2 improvement on p50 Latency<\/figcaption><\/figure>\n\n\n\n<p>On the memory side, Redis now employs a unified key-value object structure that tightly packs keys, values, and optional TTL data into a single memory allocation. This architectural shift not only reduces pointer overhead but also slashes memory usage for short string keys by 25\u201337%.<\/p>\n\n\n\n<p>JSON storage gets even more dramatic improvements: for numeric values, memory consumption drops by as much as two-thirds, which could have a big impact for data-heavy use cases like financial records or analytics workloads.<\/p>\n\n\n\n<p>Apart from that, Redis Streams, which are widely used for event-driven architectures, now come with two new commands\u2014XACKDEL and XDELEX\u2014that make it far easier to manage multi-consumer groups without elaborate application logic.<\/p>\n\n\n\n<p>Lastly, bitmap users also get an upgrade with four new logical operators for the <code>BITOP<\/code> command\u2014<code>DIFF<\/code>, <code>DIFF1<\/code>, <code>ANDOR<\/code>, and <code>ONE<\/code>\u2014allowing more complex set operations in a single step. As our readers who bet on Radis know, these could prove especially useful in scenarios like gaming, ad targeting, or tracking user membership in various categories.<\/p>\n\n\n\n<p>Redis 8.2 remains fully compatible with popular client libraries, including Jedis, Lettuce, go-redis, node-redis, NRedisStack, and redis-py. The same goes for Redis OM, RedisVL for AI workflows, and tools like Redis Insight and the Redis VS Code extension.<\/p>\n\n\n\n<p>For more information, <a href=\"https:\/\/redis.io\/blog\/redis-82-ga\/\" target=\"_blank\" rel=\"noopener\">see the announcement<\/a>. Redis 8.2 is available now via Docker Hub (Alpine or Debian images), Snap, Homebrew, RPM, and APT.<\/p>\n\n\n\n<p><em>Image credits: Redis<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Redis 8.2  in-memory data store is now GA, delivering up to 35% faster commands, 49% more throughput, and major memory savings.<\/p>\n","protected":false},"author":10,"featured_media":182633,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,5],"tags":[3651,3748,3815],"class_list":["post-182630","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","category-news","tag-databases","tag-development","tag-redis"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/posts\/182630","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/comments?post=182630"}],"version-history":[{"count":0,"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/posts\/182630\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/media\/182633"}],"wp:attachment":[{"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/media?parent=182630"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/categories?post=182630"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxiac.com\/wp-json\/wp\/v2\/tags?post=182630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}