---
title: "Single-shot reliable consumers with XREADGROUP CLAIM in Redis 8.4"
url: https://daily.dev/posts/single-shot-reliable-consumers-with-xreadgroup-claim-in-redis-8-4-kpbhx7dzc
source_url: https://redis.io/blog/single-shot-reliable-consumers-with-xreadgroup-claim-in-redis-84
type: article
source: "Redis"
published: 2026-05-26T15:11:07.091Z
updated: 2026-08-24T06:51:55.065Z
tags: ["redis", "data-structures"]
reading_time: 18
upvotes: 0
comments: 0
language: 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.

# Single-shot reliable consumers with XREADGROUP CLAIM in Redis 8.4

**[Redis](https://daily.dev/sources/redislabs)** · 18 min read · 0 upvotes · 0 comments

## Summary

Redis 8.4 introduces a new CLAIM option for XREADGROUP that collapses the traditional multi-command reliable consumer loop (XPENDING + XCLAIM/XAUTOCLAIM + XREADGROUP) into a single round trip. The command first reclaims idle pending entries exceeding a specified min-idle-time threshold, then reads new messages, sharing a single COUNT budget. Benchmarks show up to 22.5x lower latency compared to XAUTOCLAIM on workloads with large PELs and few idle entries. Internally, a time-ordered index was implemented first as a rax tree (O(log n + k) lookups) and then optimized to a doubly-linked list embedded in each streamNACK struct, achieving O(k) idle-entry queries and O(1) delivery-time updates — yielding an additional 28% throughput improvement and reduced memory overhead. The feature is fully backward compatible.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://redis.io/blog/single-shot-reliable-consumers-with-xreadgroup-claim-in-redis-84>

## Similar posts on daily.dev

- [Redis 8.8: New array data structure & open source features](https://daily.dev/posts/redis-8-8-new-array-data-structure-open-source-features-hbi5ralxf) · Redis · 1 upvotes · 0 comments
- [Redis 8.8 performance improvements: Faster string, hash, streams, SCAN & more](https://daily.dev/posts/redis-8-8-performance-improvements-faster-string-hash-streams-scan-more-r1i57y9jy) · Redis · 2 upvotes · 0 comments
- [I Tried the “Just Use Postgres” Queue for Six Weeks. SKIP LOCKED Paid Until It Didn’t](https://daily.dev/posts/i-tried-the-just-use-postgres-queue-for-six-weeks-skip-locked-paid-until-it-didn-t-sni9qhs1s) · Medium · 2 upvotes · 0 comments

---

Tags: [#redis](https://daily.dev/tags/redis), [#data-structures](https://daily.dev/tags/data-structures)

[View this post on daily.dev](https://daily.dev/posts/single-shot-reliable-consumers-with-xreadgroup-claim-in-redis-8-4-kpbhx7dzc)
