Tagged articles

Redis

3508 articles · Page 30 of 36
dbaplus Community
dbaplus Community
Apr 27, 2020 · Backend Development

Why Your Redis Distributed Lock May Fail and How to Fix It

This article examines common failure scenarios of Redis‑based distributed locks, compares a simple lock implementation with the Redlock algorithm, and provides practical solutions for single‑point failures, lock expiration issues, clock drift, and high‑concurrency pitfalls.

JavaLock PitfallsRedis
0 likes · 18 min read
Why Your Redis Distributed Lock May Fail and How to Fix It
Laravel Tech Community
Laravel Tech Community
Apr 26, 2020 · Backend Development

Master Laravel: 7 Essential Tips for Clean Code and Efficient Performance

This article walks through seven practical Laravel techniques—including view composers for reusable sidebars, route naming for maintainable URLs, dynamic key‑value settings, concise database query shortcuts, polymorphic relationships, caching best practices, and separating Redis connections—to help developers write cleaner, more scalable backend code.

Polymorphic RelationsRedisRoute Alias
0 likes · 11 min read
Master Laravel: 7 Essential Tips for Clean Code and Efficient Performance
macrozheng
macrozheng
Apr 22, 2020 · Databases

13 Proven Techniques to Supercharge Redis Performance

Learn how to dramatically boost Redis speed by shortening key/value sizes, enabling lazy free, setting expirations, disabling costly commands, using slowlog, pipelines, avoiding mass expirations, optimizing clients, limiting memory, running on physical servers, tweaking persistence, disabling THP, and adopting distributed architectures.

DatabaseLazy FreeMemory Management
0 likes · 19 min read
13 Proven Techniques to Supercharge Redis Performance
Code Ape Tech Column
Code Ape Tech Column
Apr 20, 2020 · Databases

Understanding Redis Persistence: RDB vs AOF and Performance Tips

This article explains how Redis implements two persistence mechanisms—RDB snapshots and AOF logs—covering their triggers, execution flows, advantages, drawbacks, differences, restart recovery procedures, and practical ways to mitigate performance overhead caused by fork operations.

AOFDatabasePerformance
0 likes · 14 min read
Understanding Redis Persistence: RDB vs AOF and Performance Tips
NetEase Smart Enterprise Tech+
NetEase Smart Enterprise Tech+
Apr 20, 2020 · Backend Development

How Camellia-Redis-Proxy Boosts Redis Cluster Performance and Simplifies Migration

This article explains the design of Redis Cluster, the challenges of migrating clients, and how the Camellia-Redis-Proxy middleware—built with Netty—provides transparent proxying, sharding, dual‑write, plugin support, and performance optimizations such as multithreading, async I/O, pipelining, and robust error handling.

JavaRedisRedis Cluster
0 likes · 11 min read
How Camellia-Redis-Proxy Boosts Redis Cluster Performance and Simplifies Migration
Top Architect
Top Architect
Apr 14, 2020 · Databases

Designing a High‑Availability Redis Service with Sentinel

This article explains how to build a highly available Redis service by analyzing failure scenarios, comparing single‑instance, master‑slave with one or multiple Sentinel processes, and finally presenting a three‑Sentinel architecture that ensures continuous service despite node or network outages.

FailoverRedisSentinel
0 likes · 11 min read
Designing a High‑Availability Redis Service with Sentinel
Architecture Digest
Architecture Digest
Apr 12, 2020 · Backend Development

Implementing Distributed Locks with Redisson

This article explains the principles, design considerations, and code implementation of Redisson's distributed lock, covering mutual exclusion, deadlock prevention, performance, reentrancy, watchdog auto‑extension, Lua scripting, and potential pitfalls in Redis sentinel setups.

JavaRedisRedisson
0 likes · 8 min read
Implementing Distributed Locks with Redisson
Wukong Talks Architecture
Wukong Talks Architecture
Apr 8, 2020 · Databases

How to Install and Configure Redis Using Docker

This tutorial walks through pulling the Redis Docker image, creating configuration files, running the container, connecting with redis-cli, testing commands, enabling persistence, and installing a visual management tool, providing complete step‑by‑step instructions for Docker‑based Redis deployment.

ConfigurationDatabaseDocker
0 likes · 4 min read
How to Install and Configure Redis Using Docker
Senior Brother's Insights
Senior Brother's Insights
Mar 31, 2020 · Databases

Boost Redis Performance: 13 Proven Optimization Techniques

Learn how to dramatically improve Redis performance by shortening key-value sizes, enabling lazy free, setting expirations, disabling costly commands, using slowlog, leveraging pipeline, preventing mass expirations, optimizing client connections, limiting memory, running on physical servers, configuring persistence, disabling THP, and adopting distributed architectures.

Lazy FreeMemory ManagementPerformance Optimization
0 likes · 18 min read
Boost Redis Performance: 13 Proven Optimization Techniques
Programmer DD
Programmer DD
Mar 31, 2020 · Databases

Boost Redis Performance: Practical Optimization Techniques

This article explains why Redis performance matters for high‑traffic services and provides a comprehensive set of practical optimizations—including network latency reduction, command pipelining, avoiding slow commands, tuning persistence, OS/hardware settings, and scaling with sharding—to help you keep Redis fast and reliable.

OptimizationPersistenceRedis
0 likes · 17 min read
Boost Redis Performance: Practical Optimization Techniques
macrozheng
macrozheng
Mar 30, 2020 · Databases

Build a Redis Cluster with Docker Compose and Use It in SpringBoot

This guide walks you through setting up a six-node Redis cluster using Docker Compose, configuring the necessary redis.conf settings, deploying the containers, initializing the cluster, and then integrating the cluster into a SpringBoot application via appropriate application.yml configurations and connection commands.

DatabaseDockerDocker Compose
0 likes · 8 min read
Build a Redis Cluster with Docker Compose and Use It in SpringBoot
Java Backend Technology
Java Backend Technology
Mar 28, 2020 · Backend Development

How Bloom Filters Eliminate Cache Penetration and Boost Backend Performance

This article explains why cache penetration occurs in high‑dimensional data scenarios, introduces Bloom Filters as a solution, outlines suitable use cases such as database lookups, cache outages, web request filtering, malicious URL detection and Bitcoin sync, and details practical Redis‑based implementations, advantages, drawbacks, and advanced counting filter techniques.

Bloom filterCache PenetrationData Structures
0 likes · 13 min read
How Bloom Filters Eliminate Cache Penetration and Boost Backend Performance
Architecture Digest
Architecture Digest
Mar 27, 2020 · Databases

Understanding Redis Memory Model: Objects, Allocation, and Internal Encoding

This article explains Redis's memory model by describing how to query memory usage, the roles of used_memory, used_memory_rss, mem_fragmentation_ratio, and mem_allocator, and then dives into the internal structures such as redisObject, SDS, jemalloc, and the encoding strategies for strings, lists, hashes, sets, and sorted sets.

Data StructuresMemory ManagementRedis
0 likes · 28 min read
Understanding Redis Memory Model: Objects, Allocation, and Internal Encoding
Ops Development Stories
Ops Development Stories
Mar 26, 2020 · Operations

How to Auto‑Discover and Monitor Redis Ports with Zabbix

This guide explains how to use Zabbix's auto‑discovery feature to automatically find Redis instances on a server, create shell or Python scripts for port detection, configure Zabbix agent keys, set up server‑side templates, discovery rules, item prototypes, graphs, and triggers, and finally apply the template to monitored hosts.

Auto-discoveryPythonRedis
0 likes · 9 min read
How to Auto‑Discover and Monitor Redis Ports with Zabbix
macrozheng
macrozheng
Mar 26, 2020 · Backend Development

How to Build a High‑Performance URL Shortening Service: Architecture & Algorithms

This article explores the design of a high‑performance short‑link system, covering its benefits, redirection mechanics, hash‑based and auto‑increment generation methods, database schema, Bloom filter optimization, and a scalable OpenResty‑based architecture for handling massive traffic.

Bloom filterHashingMySQL
0 likes · 15 min read
How to Build a High‑Performance URL Shortening Service: Architecture & Algorithms
Liangxu Linux
Liangxu Linux
Mar 23, 2020 · Databases

10 Essential Redis Best Practices Every Developer Should Follow

This article presents ten practical Redis best‑practice guidelines—from avoiding the costly KEYS * command and leveraging SCAN, to using INFO for command statistics, employing hashes, setting expirations, selecting eviction policies, handling errors, scaling with clusters, understanding threading limits, and configuring Sentinel for high availability.

DatabasePerformanceRedis
0 likes · 9 min read
10 Essential Redis Best Practices Every Developer Should Follow
macrozheng
macrozheng
Mar 23, 2020 · Backend Development

Boost Spring Security Performance with Redis Caching and AOP Exception Handling

Learn how to resolve performance bottlenecks in a Spring‑based mall project by caching user and permission data in Redis, adding cache logic with RedisTemplate, and using AOP to gracefully handle Redis failures, ensuring stable authentication even when the cache is unavailable.

AOPPerformance OptimizationRedis
0 likes · 13 min read
Boost Spring Security Performance with Redis Caching and AOP Exception Handling
dbaplus Community
dbaplus Community
Mar 22, 2020 · Backend Development

Designing Multi‑Data‑Center Redis Cache with Strong Consistency and Failover

This article walks through the evolution of a Redis‑based cache layer for multi‑data‑center deployments, addressing consistency, safety, performance, disk‑space, data loops, timestamp versioning, master‑slave failover, and global numeric aggregation, and culminates in a ready‑to‑use middleware solution.

Cache ConsistencyFailoverLOGICAL_CLOCK
0 likes · 19 min read
Designing Multi‑Data‑Center Redis Cache with Strong Consistency and Failover
dbaplus Community
dbaplus Community
Mar 19, 2020 · Databases

Inside Redis: A Deep Dive into Its Core Data Structures

This article explains the internal implementations of Redis’s five major data structures—simple dynamic strings (SDS), linked lists, dictionaries, skiplists, integer sets, and ziplists—detailing their definitions, memory layouts, key characteristics, and how Redis leverages them for high‑performance storage and retrieval.

Data StructuresDatabase InternalsLinked List
0 likes · 12 min read
Inside Redis: A Deep Dive into Its Core Data Structures
macrozheng
macrozheng
Mar 16, 2020 · Backend Development

Mastering Spring Data Redis: Installation, Caching, and Advanced Usage

This comprehensive guide walks you through installing Redis on Linux and Windows, configuring Spring Cache annotations, setting up JSON serialization with RedisTemplate, using connection pools, and implementing a flexible RedisService with controller examples, providing all the essential steps to integrate Redis into your Spring Boot applications.

JavaRedisSpring Cache
0 likes · 25 min read
Mastering Spring Data Redis: Installation, Caching, and Advanced Usage
Tencent Cloud Developer
Tencent Cloud Developer
Mar 15, 2020 · Industry Insights

Who Rules the Database World? Insights from Tencent’s TVP Tech Forum

The article reviews a Tencent Cloud TVP closed‑door forum where experts compared MySQL 8.0, PostgreSQL, Redis and the cloud‑native CynosDB, highlighting each product’s technical strengths, ecosystem support, and the broader industry trend toward cloud‑native, multi‑database solutions as the future of data management.

CynosDBMySQLPostgreSQL
0 likes · 17 min read
Who Rules the Database World? Insights from Tencent’s TVP Tech Forum
ITPUB
ITPUB
Mar 12, 2020 · Backend Development

Why Redis Uses Its Own String Type (SDS) and How It Boosts Performance

The article explains Redis's custom Simple Dynamic String (SDS) implementation, its memory layout, dynamic resizing rules, and performance benefits such as O(1) length retrieval, buffer‑overflow protection, and reduced allocation overhead through pre‑allocation and lazy reclamation.

PerformanceRedisSDS
0 likes · 7 min read
Why Redis Uses Its Own String Type (SDS) and How It Boosts Performance
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 10, 2020 · Backend Development

Why Your Redis Distributed Lock May Fail and How to Fix It

This article examines common failures of Redis‑based distributed locks, explains the limitations of simple implementations, introduces the Redlock algorithm, and provides practical solutions for high‑concurrency, node failures, TTL overruns, and system clock drift.

RedisRedlock
0 likes · 17 min read
Why Your Redis Distributed Lock May Fail and How to Fix It
JD Retail Technology
JD Retail Technology
Mar 5, 2020 · Backend Development

Technical Implementation and Resilience Practices of JD.com PC Homepage

This article details the architectural redesign, fault‑tolerance mechanisms, performance optimizations, and monitoring strategies employed in JD.com’s PC homepage, illustrating how backend technologies such as OpenResty, Lua, Redis, and NGINX are orchestrated to achieve high availability and sub‑30 ms page loads.

LuaOpenRestyRedis
0 likes · 12 min read
Technical Implementation and Resilience Practices of JD.com PC Homepage
MaGe Linux Operations
MaGe Linux Operations
Mar 2, 2020 · Databases

10 Essential Redis Best Practices Every Engineer Should Follow

This article presents ten practical Redis best‑practice tips—from avoiding the costly KEYS * command to using hashes, setting appropriate expiration, choosing the right eviction policy, and ensuring high availability—helping developers optimize performance and reliability of their in‑memory data stores.

Redisbackendbest practices
0 likes · 9 min read
10 Essential Redis Best Practices Every Engineer Should Follow
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 2, 2020 · Databases

Redis Internals Explained: Data Structures, Memory Management & Use Cases

This article explores Redis, a high‑performance in‑memory key‑value store, detailing its core data types—String, List, Hash, Set, ZSet—the underlying structures such as SDS, quicklist, hashtable, and intset, and demonstrates practical usage patterns like caching, rate limiting, and inventory control.

Data StructuresIn-Memory DatabaseMemory Management
0 likes · 16 min read
Redis Internals Explained: Data Structures, Memory Management & Use Cases
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Feb 29, 2020 · Databases

Master Redis Memory Management: Expiration & Eviction Strategies Explained

Redis employs distinct memory reclamation mechanisms—expiration policies (timed, lazy, periodic) and eviction strategies triggered when maxmemory is reached—each with trade-offs in CPU and memory usage, and offers configurable policies such as allkeys‑lru, volatile‑ttl, and noeviction to manage cache data effectively.

Rediscachingeviction
0 likes · 6 min read
Master Redis Memory Management: Expiration & Eviction Strategies Explained
21CTO
21CTO
Feb 14, 2020 · Backend Development

How QR Code Login Works Behind the Scenes: From WeChat to Taobao

This article explains the technical workflow of QR code login, covering the generation of UUIDs, QR images, server‑side Redis storage, mobile‑side token verification, long‑polling mechanisms, and the concrete implementations used by WeChat and Taobao, providing a complete reference for developers building similar authentication features.

QR LoginRedisTaobao
0 likes · 16 min read
How QR Code Login Works Behind the Scenes: From WeChat to Taobao
FunTester
FunTester
Feb 12, 2020 · Backend Development

How to Stress-Test a VIP Payment Callback API with Distributed Locks

This article walks through a complete performance‑testing setup for a VIP purchase callback API, detailing the request flow, distributed‑lock handling with Redis, parameter generation using AtomicInteger, Java implementation, and pitfalls to ensure accurate, high‑concurrency testing.

APIJavaRedis
0 likes · 6 min read
How to Stress-Test a VIP Payment Callback API with Distributed Locks
21CTO
21CTO
Feb 7, 2020 · Backend Development

How to Build a High‑Concurrency Ticket‑Spike System Like 12306

This article explores the challenges of massive ticket‑buying spikes during holidays, explains the multi‑layer load‑balancing architecture, presents Go and Nginx configurations for weighted routing, demonstrates Redis‑based pre‑deduction of stock with Lua scripts, and shares stress‑test results showing thousands of requests per second on a single node.

Distributed ArchitectureGoRedis
0 likes · 18 min read
How to Build a High‑Concurrency Ticket‑Spike System Like 12306
Java Captain
Java Captain
Feb 7, 2020 · Backend Development

Implementing a Two-Level Cache System with Guava and Redis in Java

This article explains how to build a simple two‑level caching solution in Java, covering generic cache interfaces, FIFO/LRU/LFU algorithms, implementing local Guava cache and distributed Redis cache, configuring Spring Boot, handling expiration, and providing a unified cache builder for seamless use.

GuavaJavaRedis
0 likes · 35 min read
Implementing a Two-Level Cache System with Guava and Redis in Java
Architecture Digest
Architecture Digest
Feb 4, 2020 · Databases

Comprehensive Guide to Redis: Usage, Performance, Data Types, Expiration Strategies, and Common Pitfalls

This article provides an in‑depth overview of Redis, covering why it is used for performance and concurrency, its single‑threaded architecture, core data structures and their scenarios, expiration policies, memory eviction strategies, consistency challenges, and practical solutions for cache penetration, snowballing, and concurrent key updates.

Data StructuresMemory ManagementRedis
0 likes · 12 min read
Comprehensive Guide to Redis: Usage, Performance, Data Types, Expiration Strategies, and Common Pitfalls
ITPUB
ITPUB
Feb 2, 2020 · Backend Development

How Redis Starts: A Deep Dive into server.c Initialization

This article explains the step‑by‑step process Redis follows to launch, from executing the redis‑server binary, initializing the server struct, loading configuration files, setting up data structures, restoring persistence, to entering the event loop.

C programmingRedisServer Initialization
0 likes · 6 min read
How Redis Starts: A Deep Dive into server.c Initialization
FunTester
FunTester
Jan 25, 2020 · Backend Development

Why Redis Cached Data Lost Fields After Async‑to‑Sync Conversion

During a performance test a query API failed on the second request because the Redis cache was written before asynchronous tasks finished, causing missing fields; the article explains the root cause, shows the original and fixed code, and details the debugging process.

CacheDebuggingJava
0 likes · 5 min read
Why Redis Cached Data Lost Fields After Async‑to‑Sync Conversion
JD Retail Technology
JD Retail Technology
Jan 21, 2020 · Backend Development

From Zero to Launch: Building JD.com’s UGC “Home Page Takeover” Project in 60 Days

This article details how JD.com’s engineering team designed, implemented, and optimized a user‑generated‑content platform that went from concept to production in 60 days, covering project background, system architecture, data storage with JimDB, messaging decoupling, asynchronous I/O, performance testing, and future improvements.

Java concurrencyRedisUGC
0 likes · 11 min read
From Zero to Launch: Building JD.com’s UGC “Home Page Takeover” Project in 60 Days
Selected Java Interview Questions
Selected Java Interview Questions
Jan 8, 2020 · Backend Development

Compilation of Java Interview Articles (Issues 1‑40)

This article aggregates over forty WeChat posts that cover Java interview topics ranging from Redis and hash structures to Spring lifecycle, multithreading, serialization, and database sharding, providing a valuable reference for developers preparing for technical interviews.

InterviewJavaRedis
0 likes · 4 min read
Compilation of Java Interview Articles (Issues 1‑40)
Java Captain
Java Captain
Jan 6, 2020 · Backend Development

Implementing API Idempotency with Redis Token Mechanism in Spring Boot

This article explains how to achieve interface idempotency in a Spring Boot application by generating a unique token for each request, storing it in Redis, validating the token via a custom annotation and interceptor, and provides complete code examples and testing guidance.

InterceptorJavaRedis
0 likes · 16 min read
Implementing API Idempotency with Redis Token Mechanism in Spring Boot
Java Architecture Diary
Java Architecture Diary
Jan 6, 2020 · Databases

How to Install and Use the Redis 6.0 Cluster Proxy

This guide explains the new Redis 6.0 cluster proxy feature, its purpose, and provides step‑by‑step instructions for installing, starting, and connecting to the proxy, including required GCC upgrades and example commands for a smooth setup.

Cluster‑ProxyDatabaseInstallation
0 likes · 2 min read
How to Install and Use the Redis 6.0 Cluster Proxy
Didi Tech
Didi Tech
Jan 5, 2020 · Backend Development

Investigation and Optimization of High‑Frequency Go Service Timeout in Containers

The study traced severe Redis latency spikes in an 8‑core container to the Go runtime mistakenly reading the host’s CPU count, which created hundreds of threads and scheduler contention; limiting GOMAXPROCS to the container’s quota eliminated the jitter, while further gains were suggested by reducing HMGET calls, tuning GC, and upgrading Go.

CPUGOMAXPROCSGo
0 likes · 14 min read
Investigation and Optimization of High‑Frequency Go Service Timeout in Containers
Senior Brother's Insights
Senior Brother's Insights
Jan 4, 2020 · Databases

How iQIYI Chooses, Optimizes, and Manages Its Diverse Database Stack

This article walks through iQIYI's practical approach to database selection, covering key evaluation dimensions, a taxonomy of SQL/NoSQL and OLTP/OLAP workloads, detailed optimizations for MySQL, Redis, Couchbase and the internally built HiKV, as well as multi‑stage operational management and concrete selection recommendations.

CouchbaseHiKVMySQL
0 likes · 21 min read
How iQIYI Chooses, Optimizes, and Manages Its Diverse Database Stack
Top Architect
Top Architect
Jan 2, 2020 · Backend Development

Designing a High‑Concurrency Ticket‑Seckill System with Load Balancing, Pre‑Deduction, and Go Implementation

This article analyzes the challenges of handling millions of simultaneous train‑ticket purchase requests, presents a multi‑layer load‑balancing architecture, introduces a pre‑deduction inventory strategy using Redis and local memory, and demonstrates a complete Go implementation with performance testing and key architectural insights.

GoRedisdistributed systems
0 likes · 18 min read
Designing a High‑Concurrency Ticket‑Seckill System with Load Balancing, Pre‑Deduction, and Go Implementation
Programmer DD
Programmer DD
Jan 1, 2020 · Backend Development

How to Build a High‑Performance Flash Sale System: Architecture & Code

This article examines the key challenges of flash‑sale (秒杀) systems—overselling, massive concurrency, URL exposure, and database coupling—and presents a complete backend design featuring dedicated databases, dynamic URLs, static pages, Redis clustering, Nginx proxy, rate‑limiting, token‑bucket control, asynchronous order queues, and service degradation strategies.

Redisbackend architectureflash sale
0 likes · 14 min read
How to Build a High‑Performance Flash Sale System: Architecture & Code
ITPUB
ITPUB
Dec 28, 2019 · Backend Development

How to Build a High‑Concurrency Ticket‑Snatching System Like 12306 with Nginx, Redis, and Go

This article dissects the extreme‑load challenges of China’s 12306 train‑ticket service, explains its multi‑layer load‑balancing architecture, and provides a complete Go‑based spike‑system example that uses Nginx weighted round‑robin, Redis atomic stock deduction, and channel‑based locking to safely handle millions of concurrent purchase requests.

GoRedishigh-concurrency
0 likes · 20 min read
How to Build a High‑Concurrency Ticket‑Snatching System Like 12306 with Nginx, Redis, and Go
Liangxu Linux
Liangxu Linux
Dec 28, 2019 · Backend Development

How to Build a Million‑User Ticket Spike System: Insights from 12306

During holidays, millions of users scramble for train tickets, overwhelming the 12306 system; this article dissects its high‑concurrency architecture, explains load‑balancing layers, demonstrates Nginx weighted round‑robin configuration, and provides a Go‑based spike simulation with Redis stock management and performance results.

GoRedishigh-concurrency
0 likes · 21 min read
How to Build a Million‑User Ticket Spike System: Insights from 12306
Suning Technology
Suning Technology
Dec 25, 2019 · Backend Development

How Suning’s Bargain Group Platform Achieves High Availability and Scalability

This article examines Suning's bargain‑group platform transformation, detailing its strategic shift to a platform model, high‑availability architecture, vertical and horizontal decomposition, data sharding, cache design, dual‑data‑center deployment, and link optimizations for handling massive concurrent traffic.

Redisbargain-groupdatabase sharding
0 likes · 19 min read
How Suning’s Bargain Group Platform Achieves High Availability and Scalability
ITPUB
ITPUB
Dec 24, 2019 · Databases

Why Does Redis Have 16 Databases by Default? Origins and Best Practices

Redis creates 16 logical databases by default, a design inherited from its early architecture; this article explains the origin of that number, how to modify it via configuration, the proper way to view these databases as namespaces, and the limitations when using Redis in cluster mode.

CacheClusterRedis
0 likes · 6 min read
Why Does Redis Have 16 Databases by Default? Origins and Best Practices
Qunar Tech Salon
Qunar Tech Salon
Dec 24, 2019 · Operations

Cache Governance and High‑Availability Practices for Redis in a Hotel Quoting System

The article describes how a hotel quoting team identified recurring Redis‑related outages, designed a comprehensive cache governance plan—including fast recovery, multi‑replica, manual downgrade, and parameter tuning—and executed a structured process that improved system reliability and operational readiness.

Cache GovernanceRedishigh availability
0 likes · 8 min read
Cache Governance and High‑Availability Practices for Redis in a Hotel Quoting System
ITPUB
ITPUB
Dec 21, 2019 · Databases

How to Count Website Visits with Redis: Hash, Bitset, and HyperLogLog

This article explains three Redis‑based techniques—using hash tables, bitsets, and the HyperLogLog probabilistic algorithm—to accurately count daily page views, detailing the required commands, implementation steps, advantages, and limitations for high‑traffic sites.

BitsetHashHyperLogLog
0 likes · 6 min read
How to Count Website Visits with Redis: Hash, Bitset, and HyperLogLog
Java Captain
Java Captain
Dec 20, 2019 · Backend Development

Using Redisson for Distributed Caching in Java Applications

This article explains why caching is essential for Java distributed applications, introduces Redis and Redisson, and demonstrates how to implement distributed caches using Redisson Maps, Spring Cache integration, and the JCache API with practical code examples.

JCacheJavaRedis
0 likes · 6 min read
Using Redisson for Distributed Caching in Java Applications
Big Data Technology & Architecture
Big Data Technology & Architecture
Dec 17, 2019 · Big Data

Understanding Flink Sliding Windows and Performance Optimizations

This article explains Flink's sliding window mechanism, shows how the WindowAssigner and WindowOperator work with code examples, analyzes the performance impact of fine‑grained sliding windows, and proposes a practical workaround using tumbling windows combined with external storage such as Redis for efficient PV/UV aggregation.

Big DataFlinkPerformance Optimization
0 likes · 8 min read
Understanding Flink Sliding Windows and Performance Optimizations
Architecture Digest
Architecture Digest
Dec 16, 2019 · Databases

iQIYI’s Database Selection, Optimization, and Management Practices

This article discusses iQIYI’s approach to database selection, covering evaluation criteria, the variety of databases used—including MySQL, TiDB, Redis, Couchbase, and the in‑house HiKV—along with detailed optimization, high‑availability, auditing, and operational management techniques for each system.

CouchbaseHiKVMySQL
0 likes · 20 min read
iQIYI’s Database Selection, Optimization, and Management Practices
Architecture Digest
Architecture Digest
Dec 14, 2019 · Databases

Best Practices for Using Alibaba Cloud Redis: Key Design, Command Usage, Client Configuration, and BigKey Management

This article presents comprehensive guidelines for Alibaba Cloud Redis, covering readable and concise key naming, value design to avoid big keys, safe command usage, client connection pooling and circuit‑breaker patterns, appropriate eviction policies, and practical code examples for deleting large hashes, lists, sets, and sorted sets.

JavaKey DesignRedis
0 likes · 12 min read
Best Practices for Using Alibaba Cloud Redis: Key Design, Command Usage, Client Configuration, and BigKey Management
Ctrip Technology
Ctrip Technology
Dec 12, 2019 · Backend Development

Improving Load Balancing for a Compute‑Intensive Ticket Query Engine with a Pooling Strategy

The article analyzes why a round‑robin load‑balancing approach caused severe response‑time spikes in Ctrip's compute‑intensive international ticket query engine and demonstrates how switching to a proactive pooling model using a Redis‑backed queue eliminated the spikes and reduced average latency by about 20%.

PoolingRedisbackend
0 likes · 6 min read
Improving Load Balancing for a Compute‑Intensive Ticket Query Engine with a Pooling Strategy
Java Captain
Java Captain
Dec 12, 2019 · Databases

Redis Memory Limits, Configuration, and Eviction Policies (LRU & LFU)

This article explains how to set Redis's maximum memory usage via configuration files or commands, describes the built‑in eviction strategies including noeviction, allkeys‑lru, volatile‑lru, allkeys‑random, volatile‑random, volatile‑ttl, and shows how to query and change these policies, while also covering LRU fundamentals, a Java LRU cache example, Redis's approximate LRU implementation, its 3.0 optimizations, and the newer LFU eviction algorithm.

DatabaseJavaLFU
0 likes · 10 min read
Redis Memory Limits, Configuration, and Eviction Policies (LRU & LFU)
Programmer DD
Programmer DD
Dec 10, 2019 · Databases

Mastering Redis: From Caching Basics to Distributed Locks and Cluster Scaling

This comprehensive guide explores Redis caching fundamentals, data structures, key‑search techniques, distributed lock implementation, asynchronous queues, persistence options (RDB, AOF, hybrid), pipeline usage, replication, Sentinel monitoring, and cluster sharding with consistent hashing to help developers build high‑performance, reliable systems.

ClusterPersistenceRedis
0 likes · 20 min read
Mastering Redis: From Caching Basics to Distributed Locks and Cluster Scaling
JD Retail Technology
JD Retail Technology
Dec 9, 2019 · Databases

Memory Optimization in Redis Using zipList and Hash Bucketing

This article explains how to dramatically reduce Redis memory consumption—by up to 90%—through converting long string keys to integers, leveraging zipList‑encoded hashes, and distributing millions of key‑value pairs across many hash buckets while maintaining query performance.

Data StructuresHashRedis
0 likes · 11 min read
Memory Optimization in Redis Using zipList and Hash Bucketing
Selected Java Interview Questions
Selected Java Interview Questions
Dec 7, 2019 · Backend Development

Understanding Redis Cache Avalanche, Penetration, and Breakdown: Causes and Mitigation Strategies

The article explains what Redis cache avalanche, penetration, and breakdown are, illustrates real‑world incidents, and provides pre‑, during‑, and post‑incident solutions such as high‑availability setups, local caches with rate limiting, fallback mechanisms, and placeholder writes to prevent database overload.

BreakdownCachePerformance
0 likes · 8 min read
Understanding Redis Cache Avalanche, Penetration, and Breakdown: Causes and Mitigation Strategies
Ops Development Stories
Ops Development Stories
Dec 6, 2019 · Databases

Master Redis: Installation, Commands, and Persistence Explained

An in‑depth guide covering Redis fundamentals, installation steps, daemon configuration, password setup, core commands for strings, lists, hashes, sets and sorted sets, internal encodings, and both RDB and AOF persistence mechanisms, complete with practical code examples and configuration snippets.

Data StructuresInstallationPersistence
0 likes · 38 min read
Master Redis: Installation, Commands, and Persistence Explained
Java Captain
Java Captain
Dec 5, 2019 · Databases

Understanding Redis: From Basic Concepts to Advanced Features and Deployment Strategies

This article provides a comprehensive overview of Redis, explaining its core data structures, caching use cases, persistence mechanisms, high‑availability features like Sentinel and replication, clustering for horizontal scaling, and client‑side capabilities such as transactions, Lua scripting, pipelining, and distributed locks.

ClusterDatabaseLua
0 likes · 13 min read
Understanding Redis: From Basic Concepts to Advanced Features and Deployment Strategies
Meitu Technology
Meitu Technology
Dec 4, 2019 · Backend Development

Design and Implementation of lmstfy: A Redis‑Based Task Queue Service

lmstfy is a stateless, Redis‑backed task‑queue service from Meitu that provides delayed execution, automatic retries, priority handling, expiration, and a RESTful HTTP API, while supporting horizontal scaling via namespace‑based token routing, rich Prometheus metrics, and future disk‑based storage extensions.

RedisTask queuebackend service
0 likes · 15 min read
Design and Implementation of lmstfy: A Redis‑Based Task Queue Service
dbaplus Community
dbaplus Community
Dec 3, 2019 · Databases

How iQIYI Selects, Optimizes, and Manages Its Diverse Database Stack

This article explains iQIYI's multi‑dimensional approach to database selection, details the practical use and optimization of MySQL, TiDB, Redis, Couchbase, and the internally built HiKV, and offers concrete recommendations for choosing the right database in different scenarios.

CouchbaseHiKVMySQL
0 likes · 20 min read
How iQIYI Selects, Optimizes, and Manages Its Diverse Database Stack
Java Captain
Java Captain
Dec 2, 2019 · Backend Development

Implementing Interface Rate Limiting in Spring Boot with Annotations and Redis

This article demonstrates how to create a custom @AccessLimit annotation, implement a Spring MVC interceptor that uses Redis to count requests, register the interceptor in a Spring Boot application, and apply the annotation to controller methods to achieve rate‑limiting functionality.

InterceptorJavaRedis
0 likes · 6 min read
Implementing Interface Rate Limiting in Spring Boot with Annotations and Redis
Java High-Performance Architecture
Java High-Performance Architecture
Dec 2, 2019 · Databases

How Redis Sentinel Ensures Automatic Failover and High Availability

Redis Sentinel provides an automated high‑availability solution for Redis by monitoring master health, broadcasting SDOWN/ODOWN messages, electing a new master based on priority, offset and runid, and allowing clients to discover the current master via sentinel commands, all explained with configuration examples and diagrams.

ConfigurationRedisSentinel
0 likes · 6 min read
How Redis Sentinel Ensures Automatic Failover and High Availability
Qunar Tech Salon
Qunar Tech Salon
Nov 28, 2019 · Databases

Qunar Redis High‑Availability Architecture Design, Security Mechanisms, and Automated Operations

This article details the design principles, components, client implementation, data sharding, security mechanisms, high‑risk command blocking, configuration optimizations, and automated operational workflows of Qunar's Redis high‑availability cluster, including code modifications, deployment scripts, and platform‑based management for large‑scale production environments.

AutomationDatabase ArchitectureRedis
0 likes · 18 min read
Qunar Redis High‑Availability Architecture Design, Security Mechanisms, and Automated Operations
Java Captain
Java Captain
Nov 27, 2019 · Backend Development

Designing a High‑Concurrency Flash Sale System Using Cloud Redis Caching

This article explains how to build a high‑traffic flash‑sale (秒杀) system by leveraging browser and CDN caching, read‑write split Redis for traffic interception, master‑slave Redis for atomic inventory deduction with Lua scripts, and Redis‑based message queues for asynchronous order processing.

Lua ScriptRediscaching
0 likes · 8 min read
Designing a High‑Concurrency Flash Sale System Using Cloud Redis Caching
Huajiao Technology
Huajiao Technology
Nov 26, 2019 · Backend Development

How Pepperbus Unifies Asynchronous Task Management Across Diverse Tech Stacks

This article details the design, requirements, architecture, and operational dashboard of Pepperbus, a unified bus system that standardizes asynchronous task handling for PHP, Java, and Go services at Huajiao, highlighting its storage plug‑in model, Redis‑based protocol, and monitoring capabilities.

AsynchronousDashboardPHP
0 likes · 8 min read
How Pepperbus Unifies Asynchronous Task Management Across Diverse Tech Stacks
Programmer DD
Programmer DD
Nov 24, 2019 · Databases

Redis Best Practices: Naming, Size Limits, Expiration, and Command Pitfalls

This guide outlines practical Redis best practices, covering readable key naming with colons, keeping string values under 10 KB, setting expirations, avoiding O(n) commands, disabling risky commands, leveraging batch operations, and responsibly using the monitor command to maintain performance and stability.

Key NamingRedisbest practices
0 likes · 7 min read
Redis Best Practices: Naming, Size Limits, Expiration, and Command Pitfalls
Architect's Tech Stack
Architect's Tech Stack
Nov 23, 2019 · Databases

Redis Usage Guidelines and Operational Restrictions

This article provides comprehensive best‑practice guidelines for using Redis, covering data classification, key naming, size and connection limits, cache TTL, recommended client‑hash sharding, and a strict list of prohibited commands and operations to ensure performance, reliability, and maintainability.

CachePerformanceRedis
0 likes · 9 min read
Redis Usage Guidelines and Operational Restrictions