Tagged articles
KEYS
13 articles · Page 1 of 1
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.
IndexingKEYSRedis
0 likes · 8 min read

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

The article explains why the KEYS command can freeze a Redis instance with millions of keys, analyzes its O(n) blocking behavior, and demonstrates how the incremental SCAN command with cursor, MATCH, and COUNT parameters provides a non‑blocking alternative for retrieving prefixed keys.
BackendKEYSRedis
0 likes · 5 min read

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.
CacheKEYSRedis
0 likes · 4 min read

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.
KEYSObject Traversalentries
0 likes · 10 min read


ByteFEAug 26, 2021 · Frontend Development
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.
KEYSReactReact 18
0 likes · 6 min read

This article explains why using the KEYS command on large Redis keyspaces can crash the service and demonstrates how the SCAN command provides a non‑blocking, incremental way to iterate over massive data safely.
KEYSRedisSCAN
0 likes · 4 min read

This article explains why using Redis's KEYS command can block other operations, illustrates the underlying single‑threaded execution model, and shows how upgrading shiro‑redis to use the SCAN command avoids performance issues in distributed session management.
KEYSRedisSCAN
0 likes · 9 min read

The article explains why the KEYS command can cripple a Redis instance with millions of keys, analyzes its O(n) blocking behavior, and demonstrates how to use the incremental SCAN command with MATCH and COUNT options to safely iterate key prefixes without affecting performance.
KEYSOperationsSCAN
0 likes · 5 min read

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


ITPUBJul 26, 2019 · Databases
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.
InterviewKEYSRedis
0 likes · 5 min read


ITPUBJun 11, 2019 · Databases
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.
KEYSRedisSCAN
0 likes · 4 min read

The article explains how the Redis KEYS command can block a production server when scanning millions of keys, analyzes the root cause, and demonstrates how the incremental SCAN command provides a safe, non‑blocking alternative for large datasets.
KEYSRedisSCAN
0 likes · 4 min read
