<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/valkey-valkey-8-1-continuing-to-deliver-enhanced-performance-and-reliability-jxgmiq0b9" -->

---
title: Valkey · Valkey 8.1: Continuing to Deliver Enhanced...
description: Valkey 8.1 is now generally available, bringing a rewritten hashtable implementation that reduces memory use per key and improves pipeline throughput by...
canonical: https://daily.dev/posts/valkey-valkey-8-1-continuing-to-deliver-enhanced-performance-and-reliability-jxgmiq0b9
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Valkey · Valkey 8.1: Continuing to Deliver Enhanced Performance and Reliability | daily.dev
og:description: Valkey 8.1 is now generally available, bringing a rewritten hashtable implementation that reduces memory use per key and improves pipeline throughput by...
og:url: https://daily.dev/posts/valkey-valkey-8-1-continuing-to-deliver-enhanced-performance-and-reliability-jxgmiq0b9
og:image: https://api.daily.dev/og/posts/jxgmiQ0B9.png
og:image:alt: Valkey · Valkey 8.1: Continuing to Deliver Enhanced Performance and Reliability
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Valkey · Valkey 8.1: Continuing to Deliver Enhanced Performance and Reliability

**[Valkey](https://daily.dev/sources/valkey-blog)** · 9 min read · 0 upvotes · 0 comments

## Summary

Valkey 8.1 is now generally available, bringing a rewritten hashtable implementation that reduces memory use per key and improves pipeline throughput by roughly 10%. Iterator prefetching makes key iteration 3.5x faster, TLS negotiation offloaded to I/O threads improves connection acceptance by ~300%, and GET/SET throughput improves 10-22%. Replication full syncs are up to 18% faster, ZRANK is up to 45% faster, hyperloglog operations see a 12x speedup via AVX, and BITCOUNT improves up to 514% with AVX2. Active defrag latencies are reduced and made more predictable. New observability features include structured logging (logfmt), ISO 8601 timestamps, a COMMANDLOG feature extending slowlog, and enhanced LATENCY LATEST metrics. The module API now supports building new scripting engines beyond Lua, and a new conditional SET IFEQ command was added.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://valkey.io/blog/valkey-8-1-0-ga>

## Questions this post answers

### What performance improvements does Valkey 8.1 bring compared to 8.0?

Valkey 8.1 introduces a rewritten hashtable that cuts memory per key-value pair by about 20 bytes (30 bytes with a TTL) and boosts pipeline throughput by roughly 10% without I/O threading. Iterator prefetching makes key iteration 3.5x faster, TLS connection acceptance improves by around 300% via I/O thread offloading, and GET/SET throughput rises 10-22%.

_daily.dev helps engineers evaluating a Valkey 8.0 to 8.1 upgrade weigh these throughput and memory gains._

### How much faster is ZRANK in Valkey 8.1?

ZRANK, commonly used for leaderboard implementations, is optimized to run up to 45% faster in Valkey 8.1, with the exact speedup depending on the sorted set size. This comes alongside other sorted-set and hyperloglog optimizations, including a 12x speedup for PFMERGE and PFCOUNT using AVX and up to 514% faster BITCOUNT using AVX2 on x86.

_Teams building leaderboard features can track wins like this ZRANK speedup on daily.dev._

### What is the new SET IFEQ conditional update feature in Valkey 8.1?

SET IFEQ is a new conditional update capability in Valkey 8.1 that lets the SET command execute only if a given comparison value matches the key's current value, avoiding a separate GET-then-compare roundtrip. It supports an optional GET flag that returns the existing value regardless of whether it matched the comparison value.

_Developers simplifying compare-and-swap logic can follow database feature updates like this on daily.dev._

## Similar posts on daily.dev

- [Valkey 9.1 Delivers More Performance & Enhanced Security](https://daily.dev/posts/valkey-9-1-delivers-more-performance-enhanced-security-9lzgcvzst) · Phoronix · 0 upvotes · 0 comments
- [Valkey 9.0 Introduces Multi-Database Clustering, Atomic Slot Migration, and Major Performance Gains](https://daily.dev/posts/valkey-9-0-introduces-multi-database-clustering-atomic-slot-migration-and-major-performance-gains-2gkxrlley) · InfoQ · 7 upvotes · 0 comments
- [Valkey just had a 17x year. Its lead maintainer still doesn’t want Redis to die.](https://daily.dev/posts/valkey-just-had-a-17x-year-its-lead-maintainer-still-doesn-t-want-redis-to-die--hymzgle9p) · The New Stack · 2 upvotes · 0 comments
- [Announcing Valkey 9.1 for Amazon ElastiCache](https://daily.dev/posts/announcing-valkey-9-1-for-amazon-elasticache-pvemznhnh) · AWS Database Blog · 0 upvotes · 0 comments
- [Memorystore for Valkey 9.0 is now GA](https://daily.dev/posts/memorystore-for-valkey-9-0-is-now-ga-rbykebtbw) · Google Cloud · 0 upvotes · 0 comments

---

Tags: [#performance](https://daily.dev/tags/performance), [#backend](https://daily.dev/tags/backend), [#observability](https://daily.dev/tags/observability), [#redis](https://daily.dev/tags/redis), [#valkey](https://daily.dev/tags/valkey)

[View this post on daily.dev](https://daily.dev/posts/valkey-valkey-8-1-continuing-to-deliver-enhanced-performance-and-reliability-jxgmiq0b9)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Valkey · Valkey 8.1: Continuing to Deliver Enhanced Performance and Reliability","url":"https://daily.dev/posts/valkey-valkey-8-1-continuing-to-deliver-enhanced-performance-and-reliability-jxgmiq0b9","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/valkey-valkey-8-1-continuing-to-deliver-enhanced-performance-and-reliability-jxgmiq0b9"},"datePublished":"2026-08-23T12:19:37.071Z","dateModified":"2026-08-23T12:37:42.578Z","description":"Valkey 8.1 is now generally available, bringing a rewritten hashtable implementation that reduces memory use per key and improves pipeline throughput by...","image":"https://media.daily.dev/image/upload/s--VDukGCjf--/f_auto/v1722860399/public/Placeholder%2002","thumbnailUrl":"https://media.daily.dev/image/upload/s--VDukGCjf--/f_auto/v1722860399/public/Placeholder%2002","isAccessibleForFree":true,"articleSection":"Valkey","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Valkey","logo":"https://media.daily.dev/image/upload/s--XXPzEmD8--/f_auto,q_auto/v1787487496/logos/valkey-blog?_a=BAMAMicg0","url":"https://daily.dev/sources/valkey-blog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/valkey-valkey-8-1-continuing-to-deliver-enhanced-performance-and-reliability-jxgmiq0b9","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"performance,backend,observability,redis,valkey","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Valkey","item":"https://daily.dev/sources/valkey-blog"},{"@type":"ListItem","position":3,"name":"Valkey · Valkey 8.1: Continuing to Deliver Enhanced Performance and Reliability"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/valkey-valkey-8-1-continuing-to-deliver-enhanced-performance-and-reliability-jxgmiq0b9#faq","mainEntity":[{"@type":"Question","name":"What performance improvements does Valkey 8.1 bring compared to 8.0?","acceptedAnswer":{"@type":"Answer","text":"Valkey 8.1 introduces a rewritten hashtable that cuts memory per key-value pair by about 20 bytes (30 bytes with a TTL) and boosts pipeline throughput by roughly 10% without I/O threading. Iterator prefetching makes key iteration 3.5x faster, TLS connection acceptance improves by around 300% via I/O thread offloading, and GET/SET throughput rises 10-22%. daily.dev helps engineers evaluating a Valkey 8.0 to 8.1 upgrade weigh these throughput and memory gains."}},{"@type":"Question","name":"How much faster is ZRANK in Valkey 8.1?","acceptedAnswer":{"@type":"Answer","text":"ZRANK, commonly used for leaderboard implementations, is optimized to run up to 45% faster in Valkey 8.1, with the exact speedup depending on the sorted set size. This comes alongside other sorted-set and hyperloglog optimizations, including a 12x speedup for PFMERGE and PFCOUNT using AVX and up to 514% faster BITCOUNT using AVX2 on x86. Teams building leaderboard features can track wins like this ZRANK speedup on daily.dev."}},{"@type":"Question","name":"What is the new SET IFEQ conditional update feature in Valkey 8.1?","acceptedAnswer":{"@type":"Answer","text":"SET IFEQ is a new conditional update capability in Valkey 8.1 that lets the SET command execute only if a given comparison value matches the key's current value, avoiding a separate GET-then-compare roundtrip. It supports an optional GET flag that returns the existing value regardless of whether it matched the comparison value. Developers simplifying compare-and-swap logic can follow database feature updates like this on daily.dev."}}]}
```

