Tag

MGET

0 views collected around this technical thread.

Sanyou's Java Diary
Sanyou's Java Diary
Mar 24, 2025 · Databases

Boost High‑Concurrency Performance with Redis Batch Query Techniques

This article explores why batch execution in Redis improves command efficiency, simplifies client logic, and enhances transaction performance, and then details four core batch query methods—MGET, HMGET, Pipeline, and Lua scripting—along with practical SpringBoot examples and best‑practice considerations.

Batch QueryLua ScriptMGET
0 likes · 10 min read
Boost High‑Concurrency Performance with Redis Batch Query Techniques
Zhuanzhuan Tech
Zhuanzhuan Tech
Jan 17, 2024 · Databases

Improving Multi-Key mget Performance in Redis Cluster by Refactoring Client Implementations

This article analyzes why Lettuce's mget on Redis Cluster performs poorly due to slot-based architecture, presents client-side refactoring using hashtags and pipeline‑based JedisCluster modifications, and shows benchmark results demonstrating up to double speed improvement over Lettuce.

JedisClusterLettuceMGET
0 likes · 12 min read
Improving Multi-Key mget Performance in Redis Cluster by Refactoring Client Implementations
DeWu Technology
DeWu Technology
Aug 21, 2021 · Databases

Performance Issues of Redis Cluster MGET and Optimization Strategies

In a Redis cluster, bulk MGET calls suffered intermittent latency spikes because keys were distributed across many hash slots, forcing multiple network round‑trips; the issue can be mitigated by grouping keys with a common hash tag (though it reduces HA) or by issuing parallel slot‑wise MGETs with careful tuning, which preserves topology for larger batches.

ClusterJavaMGET
0 likes · 8 min read
Performance Issues of Redis Cluster MGET and Optimization Strategies