Tag

Redis

1 views collected around this technical thread.

Java Tech Enthusiast
Java Tech Enthusiast
Apr 24, 2025 · Backend Development

Combining Redis and Caffeine for Multi‑Level Caching: Strategies and Best Practices

Combining Redis’s distributed, high‑capacity cache with Caffeine’s ultra‑fast local cache creates a two‑level strategy where most reads hit the in‑process cache, fall‑backs use Redis, and only rare misses query the database, dramatically cutting latency, boosting throughput, and easing DB load.

JavaRediscache strategy
0 likes · 12 min read
Combining Redis and Caffeine for Multi‑Level Caching: Strategies and Best Practices
Tencent Cloud Developer
Tencent Cloud Developer
Nov 7, 2024 · Backend Development

Cache Consistency Strategies and Best Practices for the Cache‑Aside Pattern

The article explains cache‑aside consistency challenges and compares four update strategies—DB‑then‑cache, cache‑then‑DB, DB‑then‑delete, and delete‑then‑DB—showing that deleting the cache after a successful DB write offers the smallest inconsistency window, while recommending TTLs, message‑queue invalidation, and multi‑key coordination for robust eventual consistency.

Cache ConsistencyMySQLRedis
0 likes · 20 min read
Cache Consistency Strategies and Best Practices for the Cache‑Aside Pattern
Tencent Cloud Developer
Tencent Cloud Developer
Jul 25, 2024 · Databases

Redis: Features, Use Cases, Evolution, Architecture, Data Types, Commands, and Tencent Cloud Redis

Redis is a high‑performance, in‑memory NoSQL key‑value store offering persistence, rich data types, advanced structures, and robust commands, supporting caching, session storage, pub/sub, and leaderboards, while evolving through replication, Sentinel, clustering, and multithreaded proxies, with Tencent Cloud providing scalable, highly available managed Redis services.

CachingCloud ServicesData Structures
0 likes · 9 min read
Redis: Features, Use Cases, Evolution, Architecture, Data Types, Commands, and Tencent Cloud Redis
Shopee Tech Team
Shopee Tech Team
Oct 27, 2022 · Backend Development

Design and Implementation of a Scalable Fund Routing Decision Engine at Shopee

Shopee’s scalable fund‑routing decision engine combines a configurable Go‑based rule engine with Redis‑backed, Lua‑driven quota control to dynamically match loan orders to external capital providers, enforce multi‑dimensional volume limits, achieve tens of thousands TPS, and provide extensible risk‑management capabilities across markets.

GoMySQLRedis
0 likes · 17 min read
Design and Implementation of a Scalable Fund Routing Decision Engine at Shopee
vivo Internet Technology
vivo Internet Technology
Apr 27, 2022 · Databases

Redis Memory Management and Optimization Practices

The article explains Redis’s in‑memory architecture, detailing memory components, object encodings, buffer limits, fragmentation, and forked‑process overhead, and offers practical optimization tips—such as using compact encodings, controlling client buffers, disabling THP, and enabling active defragmentation—illustrated by real‑world case studies.

DatabaseMemory ManagementOptimization
0 likes · 24 min read
Redis Memory Management and Optimization Practices
vivo Internet Technology
vivo Internet Technology
Apr 13, 2022 · Databases

Redis Integer Set Optimization for Game Recommendation Deduplication: RoaringBitMap vs intset vs Bloom Filter

For deduplicating game recommendations in Redis, RoaringBitMap outperforms intset and Bloom filters by storing 300 auto‑incrementing game IDs in roughly 0.5 KB—over twice the compression of intset and far smaller than the 29 KB Bloom filter—thereby cutting memory use, latency, and hardware costs.

Bloom FilterData Structure OptimizationGame Recommendation
0 likes · 9 min read
Redis Integer Set Optimization for Game Recommendation Deduplication: RoaringBitMap vs intset vs Bloom Filter
vivo Internet Technology
vivo Internet Technology
Apr 6, 2022 · Backend Development

Comprehensive Guide to Caching: Concepts, Types, Strategies, and Best Practices

This guide explains caching fundamentals, purposes, and optimal use cases, details hit rates and eviction policies such as FIFO, LRU, LFU, TTL/TTI, compares client‑side (HTTP, browser) and server‑side caches (CDN, Redis, Memcached), explores multi‑level architectures, common pitfalls like avalanche, penetration and breakdown, and best‑practice strategies including pre‑warming, update patterns, and consistency management.

Cache AvalancheCache EvictionMemcached
0 likes · 28 min read
Comprehensive Guide to Caching: Concepts, Types, Strategies, and Best Practices