Skip to content
ADHDecode
  1. Home
  2. Articles
  3. Valkey

Valkey Articles

49 articles

Valkey Memory Analysis: Find Large Keys and Usage

Valkey's memory usage isn't just a sum of its parts; it's a dynamic interplay where the absence of a key can sometimes be more telling than its presence.

4 min read

Valkey Memory Optimization: Cut RAM Usage in Production

Valkey, when used as a cache, can easily balloon in memory usage, turning your carefully planned infrastructure costs into a runaway train.

4 min read

Migrate from Redis to Valkey: Steps and Compatibility

Valkey, a recent fork of Redis, aims to continue Redis's development under a more open governance model, and migrating from Redis to Valkey is surprisin.

3 min read

Valkey Modules Support: Extend with Custom Plugins

Valkey modules are a powerful way to extend Valkey's core functionality with custom data structures, commands, and features.

2 min read

Monitor Valkey with INFO: Key Metrics to Watch

Valkey's INFO command is less about monitoring Valkey and more about interrogating it, giving you a snapshot of its internal state and performance chara.

4 min read

Valkey Performance Benchmarks: Ops/Sec and Latency

Valkey’s performance isn't just about how fast it can crunch numbers; it’s about how gracefully it handles those numbers under pressure.

3 min read

Valkey Persistence: RDB Snapshots and AOF Logging

Valkey can save its in-memory dataset to disk in two primary ways: RDB snapshots and AOF logging. RDB Redis Database snapshots are point-in-time, point-.

3 min read

Valkey Pipelining: Batch Commands for Higher Throughput

Pipelining in Valkey doesn't actually send commands in parallel; it sends them in a single network round trip, and Valkey processes them sequentially.

2 min read

Valkey Pub/Sub: Fan-Out and Event Broadcasting Patterns

Valkey's publish/subscribe mechanism can broadcast messages to an arbitrary number of subscribers, but it's not inherently designed for efficient fan-ou.

3 min read

Valkey Rate Limiting: Token Bucket with Atomic Scripts

Valkey Rate Limiting: Token Bucket with Atomic Scripts — practical guide covering valkey setup, configuration, and troubleshooting with real-world examp...

3 min read

Valkey RDB Snapshot Tuning: Balance Frequency and Cost

Tuning Valkey RDB snapshots involves a delicate dance between how often you save your data and how much that saving process impacts your running Valkey .

3 min read

Valkey Replication and Sentinel HA: Automatic Failover

Valkey replication, when paired with Sentinel, offers automatic failover, but the real magic is how it uses a distributed consensus model to decide when.

3 min read

Valkey SCAN vs KEYS: Never Block Production with KEYS

KEYS in Valkey is a dangerous command because it can block your entire Redis instance, and therefore your application, for an indeterminate amount of ti.

4 min read

Valkey Search Module: Full-Text and Vector Search

Valkey Search isn't just a faster way to search your data; it fundamentally changes what you can search for, allowing you to find not just exact matches.

2 min read

Valkey Sentinel vs Cluster: Choose the Right HA Mode

Valkey Sentinel and Cluster are two distinct high-availability HA modes for Valkey, and choosing the right one hinges on understanding their fundamental.

3 min read

Valkey Session Storage: Store User Sessions Reliably

Storing user sessions reliably is a crucial part of most web applications, and Valkey a fork of Redis is a popular choice for this task.

3 min read

Valkey Slow Log: Find and Fix Slow Commands

The Valkey Slow Log is a debugging tool that records commands that exceed a specified execution time, helping you identify and optimize performance bott.

4 min read

Valkey Sorted Sets: Build Real-Time Leaderboards

Valkey's sorted sets are a surprisingly efficient way to build real-time leaderboards, often outperforming traditional database approaches for this spec.

2 min read

Valkey Streams: Persistent Logs and Consumer Groups

Valkey Streams are designed to be a durable, append-only log, and the real magic happens when you use them with consumer groups to build reliable, paral.

3 min read

Valkey TLS: Encrypt Client and Replication Connections

Valkey, the community-driven fork of Redis, can secure its client and replication connections using TLS, but it's not just about enabling encryption; it.

4 min read

Valkey Transactions: MULTI/EXEC and WATCH Explained

Valkey's MULTI/EXEC command pair doesn't actually guarantee atomicity in the way most people expect from traditional database transactions.

3 min read

Valkey vs Redis: Feature and License Differences

Valkey isn't just a fork of Redis; it's a deliberate divergence aiming to preserve the open-source spirit that many felt was threatened.

2 min read

Valkey ACL Access Control: Users and Permissions

Valkey's Access Control List ACL doesn't just grant or deny access; it's a sophisticated security model that allows you to sculpt granular permissions d.

3 min read

Valkey Active-Active Replication: Multi-Region Setup

Setting up Valkey active-active replication across multiple regions is less about getting data to sync and more about managing the inevitable conflicts .

3 min read

Valkey AOF Tuning: Tune Append-Only File Performance

Valkey's Append-Only File AOF can become a bottleneck if not tuned correctly, but often the most impactful tuning isn't about appendfsync at all.

3 min read

Valkey on AWS ElastiCache: Setup and Migration

Valkey on AWS ElastiCache is surprisingly more about understanding AWS's managed service limitations than about Valkey itself.

3 min read

Valkey Big Key Problem: Detect and Break Up Large Keys

Valkey's "Big Key Problem" isn't about a single giant key causing memory issues; it's about a cluster of keys that, while individually small, collective.

4 min read

Valkey Bitmap Operations: Store and Query Bit Arrays

Valkey bitmaps are not just for setting individual bits; they're a highly efficient way to represent and query sets of boolean flags or small integers.

2 min read

Valkey Cache Invalidation: Strategies for Consistency

Valkey's cache invalidation isn't about removing stale data; it's about ensuring that when a piece of data changes, any cached copies of that data are r.

4 min read

Valkey Client Libraries: Supported SDKs and Setup

The most surprising thing about Valkey client libraries is that they're not a single, unified project but rather a collection of independent implementat.

2 min read

Valkey Cluster Resharding: Rebalance Slots Online

Valkey Cluster Resharding: Rebalance Slots Online — practical guide covering valkey setup, configuration, and troubleshooting with real-world examples.

3 min read

Valkey Cluster Setup: Shard Across Nodes

A Valkey cluster doesn't actually shard data across nodes in the way you might intuitively think. Instead, it assigns hash slots to nodes, and your data.

3 min read

Valkey CONFIG REWRITE: Persist Runtime Config Changes

Valkey's runtime configuration changes are not persistent by default, meaning any CONFIG SET commands you run will vanish when the server restarts.

2 min read

Valkey Connection Pooling: Configure Clients for Production

Valkey connection pooling doesn't save you from network latency; it just amortizes the cost of establishing connections.

3 min read

Valkey Data Structures: Strings, Hashes, Lists, Sets

Valkey's data structures aren't just buckets for data; they're active participants in how your application logic runs, often executing operations atomic.

3 min read

Valkey Docker Production Config: Setup and Tune

Valkey, when run in production via Docker, often feels like a black box until you realize its performance is fundamentally limited by how you don't tune.

3 min read

Valkey Eviction Policies: Choose the Right Memory Strategy

The most surprising thing about Valkey eviction policies is that they don't actually evict in the way you might think; they replace data based on a pred.

4 min read

Valkey Fork Copy-on-Write: Snapshot Without Full Blocking

Valkey's fork-based snapshotting, known as BGSAVE, achieves point-in-time persistence without completely freezing your primary database operations.

3 min read

Why Valkey Forked from Redis: Open Source Goals

Valkey forked from Redis because the Redis open-source project's licensing changes and governance model were perceived by many contributors as a departu.

3 min read

Valkey Geo Commands: Build Location-Based Features

Valkey's geo commands are a surprisingly potent tool for building location-based features, not just with simple proximity searches, but by enabling comp.

3 min read

Valkey Hash Encoding: Ziplist vs Hashtable Internals

Valkey's ziplist encoding for hashes is actually a performance regression under certain common access patterns, not always the optimization it's made ou.

3 min read

Valkey Hot Key Mitigation: Distribute Read Load

A hot key in Valkey is a single key that receives a disproportionately large volume of read requests, overwhelming the Valkey instance responsible for i.

3 min read

Valkey HyperLogLog: Count Cardinality with Low Memory

Valkey's HyperLogLog HLL can count unique items in a dataset using astonishingly little memory, even for billions of items.

2 min read

Valkey Keyspace Notifications: React to Key Events

Valkey keyspace notifications are a way to broadcast events happening in your Valkey instance, like keys being added, removed, or expiring, to other cli.

3 min read

Deploy Valkey on Kubernetes: StatefulSet Setup

Valkey, the community-driven fork of Redis, can be deployed on Kubernetes using a StatefulSet to manage its stateful nature.

2 min read

Valkey Latency Monitoring: LATENCY HISTORY and Tools

Valkey's LATENCY HISTORY command doesn't just show you latency spikes; it reveals the hidden temporal footprint of your slowest operations.

2 min read

Valkey LFU vs LRU Eviction: Choose the Right Policy

Valkey LFU vs LRU Eviction: Choose the Right Policy — practical guide covering valkey setup, configuration, and troubleshooting with real-world examples.

2 min read

Valkey BSD License: Why It Matters vs Redis SSPL

The Valkey BSD license isn't just a legal formality; it's a deliberate choice to prioritize community innovation and broad adoption over vendor lock-in,.

2 min read

Valkey Lua Scripting: Atomic Multi-Command Operations

Valkey Lua scripting lets you run multiple commands as a single, indivisible operation, guaranteeing that either all commands succeed, or none of them d.

3 min read
ADHDecode

Complex topics, finally made simple

Courses

  • Networking
  • Databases
  • Linux
  • Distributed Systems
  • Containers & Kubernetes
  • System Design
  • All Courses →

Resources

  • Cheatsheets
  • Debugging
  • Articles
  • About
  • Privacy
  • Sitemap

Connect

  • Twitter (opens in new tab)
  • GitHub (opens in new tab)

Built for curious minds. Free forever.

© 2026 ADHDecode. All content is free.

  • Home
  • Learn
  • Courses
Esc
Start typing to search all courses...
See all results →
↑↓ navigate Enter open Esc close