Menu

#DevtoRedis

142 posts

Feed·
20 of 142 posts
Valkey vs Redis in 2026: What Is Different and What Breaks When You Switch
📰
0Read More

Valkey vs Redis in 2026: What Is Different and What Breaks When You Switch

DEV Community: redis·Pavel·about 20 hours ago
#Hvo2B3RU
#devtoredis#devto#dev#redis#valkey

Valkey vs Redis, tested on Redis 8.10.3 and Valkey 9.1.3. Same speed on my bench, different licences and features, and a migration path that breaks on streams. Here is what I ran, what failed, and which one to pick.

15s
Day 25/60: Caching with Redis -- Cache-Aside, Stampede, and Stale Reads
📰
0Read More

Day 25/60: Caching with Redis -- Cache-Aside, Stampede, and Stale Reads

DEV Community: redis·Naveen Karasu·1 day ago
#65O7gGNY
#devtoredis#devto#dev#cache#product

A Redis cache-aside layer cut our product endpoint's p99 from 180ms to 9ms, then shipped two classic bugs: a cache stampede and stale data. Here's the fix in Go with go-redis and singleflight.

15s
Redis Distributed Locks: The Lock Expired, But the Process Is Still Running
🖼️
0Read More

Redis Distributed Locks: The Lock Expired, But the Process Is Still Running

DEV Community: redis·Abhinav·2 days ago
#UUfqRQOG
#devtoredis#devto#dev#lock#server

We often use Redis to coordinate work across multiple application instances. A common solution is a...

15s
Rate-limit free vs paid users in a python-telegram-bot bot (one gatekeeper handler)
📰
0Read More

Rate-limit free vs paid users in a python-telegram-bot bot (one gatekeeper handler)

DEV Community: redis·Steve Jefferson·2 days ago
#7sRPWGf0
#devtoredis#devto#dev#window#user

Most Telegram bots that charge money end up with two kinds of users: free users who get a taste, and...

15s
Six workers, one OpenAI key, and 78 wasted calls: sharing a token budget in Redis
📰
0Read More

Six workers, one OpenAI key, and 78 wasted calls: sharing a token budget in Redis

DEV Community: redis·Krrish Kumar·3 days ago
#aKXgorpM
#devtoredis#devto#dev#limit#tokens

Why per-worker rate limiters overshoot LLM tokens-per-minute limits, and how to share one RPM + TPM budget across every process with a single Redis Lua script.

15s
Design Instagram's feed: system design in 5 steps
🖼️
0Read More

Design Instagram's feed: system design in 5 steps

DEV Community: redis·System Design Simple·3 days ago
#lPtjfINo
#devtoredis#devto#dev#feed#reads

System design as engineering, on a news feed: API, data model, fan-out on read vs write with cost formulas, Redis timelines, cursors, hot keys and a benchmark.

15s
Redis 8.12-rc1's roaring bitmap type shrinks a sparse bitmap from 24MB to 239KB
🖼️
0Read More

Redis 8.12-rc1's roaring bitmap type shrinks a sparse bitmap from 24MB to 239KB

DEV Community: redis·Alex Georgiev·4 days ago
#zrdOAClW
#devtoredis#devto#dev#redis#bitmap

I measured Redis 8.12-rc1's new roaring bitmap type: a 200-million-bit sparse bitmap dropped from 24MB to 239KB and BITCOUNT got about 14 times faster, but a dense bitmap came out slightly bigger than before.

15s
How I built a fair waiting room with OpenResty and one Valkey script
🖼️
0Read More

How I built a fair waiting room with OpenResty and one Valkey script

DEV Community: redis·Jikwang Moon·6 days ago
#fnPewhMo
#devtoredis#devto#dev#head#redis

A waiting room (or "virtual queue") is what you see when a ticket sale opens: "You are number 1,342...

15s
Redis in Docker: Fix Connection Refused, NOAUTH and MISCONF
🖼️
0Read More

Redis in Docker: Fix Connection Refused, NOAUTH and MISCONF

DEV Community: redis·DeployLark·6 days ago
#aP7svKJO
#devtoredis#devto#dev#redis#password

Fix Redis in Docker: Connection refused from another container, DENIED protected mode, NOAUTH Authentication required, ignored REDIS_PASSWORD and MISCONF.

15s
Test Redis Streams Producers and Consumers with Signadot Sandboxes
📰
0Read More

Test Redis Streams Producers and Consumers with Signadot Sandboxes

DEV Community: redis·Signadot·6 days ago
#6T00Ua4W
#devtoredis#devto#dev#consumer#redis

Read this tutorial on Signadot docs. Sandboxes route a request to the right version of a service by...

15s
BullMQ in NestJS: Retries, Idempotency and Dead-Letter Queues
📰
0Read More

BullMQ in NestJS: Retries, Idempotency and Dead-Letter Queues

DEV Community: redis·MUHAMMAD ZAIN UL ABIDIN·6 days ago
#5hw7jRuP
#devtoredis#devto#dev#queue#bullmq

Blind retries double-send emails and double-charge customers. The BullMQ setup I run in NestJS: jittered backoff, idempotent jobs, and a dead-letter queue.

15s
Redis latency benchmark: HotKV vs Valkey and Dragonfly
📰
0Read More

Redis latency benchmark: HotKV vs Valkey and Dragonfly

DEV Community: redis·HotKV Ltd·6 days ago
#ftQlgt97
#devtoredis#devto#dev#redis#hotkv

This Redis latency benchmark measures how long HotKV, Redis, Valkey and Dragonfly take to answer at a...

15s
Redis for Beginners: Make Your App Faster With In-Memory Caching
📰
0Read More

Redis for Beginners: Make Your App Faster With In-Memory Caching

DEV Community: redis·Arhan Khan·6 days ago
#abBNfsmN
#devtoredis#devto#dev#redis#cache

Redis is an in-memory data store — a tool that keeps data in memory instead of on disk, so reading it...

15s