Tagged articles
13 articles
Page 1 of 1
dbaplus Community
dbaplus Community
Nov 5, 2025 · Databases

Why KEYS Is Dangerous in Redis and How SCAN or Indexing Solves It

The article explains why using the KEYS command in Redis is a blocking operation that can cripple production systems, demonstrates the safe, incremental SCAN approach, and proposes an index‑based architecture or replica scans for high‑frequency or offline key‑lookup scenarios.

KEYSSCANdatabase
0 likes · 8 min read
Why KEYS Is Dangerous in Redis and How SCAN or Indexing Solves It
Test Development Learning Exchange
Test Development Learning Exchange
Oct 17, 2024 · Fundamentals

Iterating Dictionaries in Python: Keys, Values, Items, enumerate, Conditional Filtering, and Comprehensions

This guide demonstrates six common ways to iterate over Python dictionaries—including traversing keys, values, key‑value pairs, using enumerate for indexed access, applying conditional filters within loops, and employing dict comprehensions for efficient transformation—while explaining the appropriate use cases and performance considerations.

ItemsKEYSPython
0 likes · 5 min read
Iterating Dictionaries in Python: Keys, Values, Items, enumerate, Conditional Filtering, and Comprehensions
Architecture Digest
Architecture Digest
Aug 9, 2023 · Databases

Using Redis SCAN to Safely Enumerate Keys Instead of KEYS

The article explains why using the KEYS command on a large Redis dataset can block the server, introduces the SCAN command as a non‑blocking alternative with cursor‑based iteration, and provides usage examples and best‑practice tips for safely listing prefixed keys.

CacheKEYSSCAN
0 likes · 4 min read
Using Redis SCAN to Safely Enumerate Keys Instead of KEYS
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Nov 4, 2021 · Frontend Development

Master JavaScript Object Traversal: keys(), values(), entries() & Custom Iterators

This article explains the differences between Object.keys/values/entries and their array counterparts, shows how to use them for object property iteration, demonstrates creating custom iterator methods for plain objects, and compares iterator results with array returns, providing code examples and visual diagrams.

IteratorKEYSObject Traversal
0 likes · 10 min read
Master JavaScript Object Traversal: keys(), values(), entries() & Custom Iterators
ByteFE
ByteFE
Aug 26, 2021 · Frontend Development

Why React Keys Matter: The Hidden Bug in Dynamic Forms

This article explains why React keys are crucial when rendering lists, demonstrating through a dynamic form example how using array indices as keys can cause bugs when items are added or deleted.

Dynamic FormsKEYSReact
0 likes · 6 min read
Why React Keys Matter: The Hidden Bug in Dynamic Forms
Architecture Digest
Architecture Digest
Dec 10, 2019 · Databases

Using Redis SCAN to Safely Enumerate Keys Instead of KEYS

The article explains why using the KEYS command on large Redis datasets can cause service blockage and demonstrates how the SCAN command with MATCH and COUNT options provides a non‑blocking, incremental way to list keys, including syntax and practical examples.

CursorKEYSSCAN
0 likes · 5 min read
Using Redis SCAN to Safely Enumerate Keys Instead of KEYS
ITPUB
ITPUB
Jul 26, 2019 · Databases

Why KEYS Can Crash Redis and How SCAN Keeps It Responsive

The article explains how using the KEYS command on millions of Redis keys blocks the single‑threaded server, causing outages, and demonstrates how the incremental SCAN command with cursor, MATCH, and COUNT options provides a safe, non‑blocking way to iterate large keyspaces.

KEYSSCANdatabase
0 likes · 5 min read
Why KEYS Can Crash Redis and How SCAN Keeps It Responsive
ITPUB
ITPUB
Jun 11, 2019 · Databases

Why KEYS Can Crash Your Redis and How SCAN Keeps It Running

The article explains how using the KEYS command on large Redis datasets can block the single‑threaded server and cause outages, and demonstrates how the incremental SCAN command safely retrieves keys without impacting performance, including syntax, options, and practical examples.

KEYSSCANdatabase
0 likes · 4 min read
Why KEYS Can Crash Your Redis and How SCAN Keeps It Running