Tagged articles

Redis

3563 articles · Page 29 of 36
macrozheng
macrozheng
Sep 16, 2020 · Databases

Explore AnotherRedisDesktopManager: Free, Beautiful Redis GUI with Cluster Support

This guide introduces AnotherRedisDesktopManager, a free and visually appealing Redis GUI that supports cluster connections, walks through installation from GitHub, explains key features such as dark mode, command console, and versatile data operations for strings, lists, and hashes, and demonstrates practical cluster usage.

AnotherRedisDesktopManagerDatabase ToolsGUI
0 likes · 5 min read
Explore AnotherRedisDesktopManager: Free, Beautiful Redis GUI with Cluster Support
Java Captain
Java Captain
Sep 14, 2020 · Backend Development

Implementing API Idempotency with Redis Token Mechanism in Spring Boot

This article explains the concept of API idempotency, outlines common solutions, and provides a complete Spring Boot implementation using Redis and a token mechanism, including custom annotation, interceptor, utility classes, and testing procedures to ensure safe, single‑execution requests.

InterceptorRedisSpring Boot
0 likes · 17 min read
Implementing API Idempotency with Redis Token Mechanism in Spring Boot
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 13, 2020 · Backend Development

URL Deduplication Techniques in Java, Redis, and Databases

This article reviews six practical URL deduplication methods—including Java Set, Redis Set, database queries, unique indexes, Guava Bloom filter, and Redis Bloom filter—explaining their principles, providing complete implementation code, and recommending the most suitable approach for different system scales.

Bloom FilterJavaRedis
0 likes · 13 min read
URL Deduplication Techniques in Java, Redis, and Databases
ITPUB
ITPUB
Sep 11, 2020 · Fundamentals

How Redis Implements Binary‑Safe Strings with Simple Dynamic Strings (SDS)

This article explains the design and evolution of Redis's Simple Dynamic Strings (SDS), covering the original pre‑3.2 structure, the newer type‑specific headers, the core API functions for creating, clearing, and concatenating SDS objects, and the memory‑reallocation strategy that ensures binary safety and efficient storage.

Binary SafetyC++Data Structures
0 likes · 13 min read
How Redis Implements Binary‑Safe Strings with Simple Dynamic Strings (SDS)
Pupu Technology
Pupu Technology
Sep 10, 2020 · Backend Development

How We Diagnosed and Fixed a Redisson Bug in Production

After an AWS network jitter caused lingering slow Redis requests in a Java project using Redisson sentinel, the team traced the issue through source code inspection, custom Prometheus metrics, chaos‑blade testing, and Arthas debugging, ultimately identifying a connection‑pool bug and submitting a fix to Redisson's master branch.

ArthasJavaPrometheus
0 likes · 10 min read
How We Diagnosed and Fixed a Redisson Bug in Production
Architect's Tech Stack
Architect's Tech Stack
Sep 9, 2020 · Databases

How Redis Sentinel Implements Automatic Failover

This article explains how Redis Sentinel provides automatic failover by combining multi‑replica deployment, health monitoring, leader election, and distributed consensus to detect master failures, select a new master, promote it, and notify clients, ensuring high availability for Redis databases.

Database ReplicationRedisSentinel
0 likes · 10 min read
How Redis Sentinel Implements Automatic Failover
Selected Java Interview Questions
Selected Java Interview Questions
Sep 8, 2020 · Databases

Database Cache Consistency Strategies: Using Redis as a MySQL Cache

This article explains the concept of caching, why database caching with Redis is needed for MySQL, the consistency challenges it introduces, and compares four practical solutions—TTL, write‑through, message‑queue, and binlog replication—offering guidance on selecting the appropriate approach for different latency and reliability requirements.

BackendMySQLRedis
0 likes · 8 min read
Database Cache Consistency Strategies: Using Redis as a MySQL Cache
JavaEdge
JavaEdge
Sep 8, 2020 · Databases

Understanding Redis Sharding: Benefits, Strategies, and Implementation

This article explains Redis sharding, covering its purpose, various partitioning methods such as range and hash partitioning, implementation approaches like client‑side and proxy‑assisted sharding, their drawbacks, and practical steps for migration and using Redis Cluster or Twemproxy.

PartitioningProxyRedis
0 likes · 9 min read
Understanding Redis Sharding: Benefits, Strategies, and Implementation
Architect's Tech Stack
Architect's Tech Stack
Sep 8, 2020 · Backend Development

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

This article explains how to design and build a simple two‑level caching solution in Java, covering generic cache interfaces, local caching with Guava, distributed caching with Redis, configuration details, version‑controlled cache keys, and practical usage within a Spring Boot application.

CachingGuavaRedis
0 likes · 25 min read
Implementing a Two‑Level Cache System with Guava and Redis in Java
Programmer DD
Programmer DD
Sep 8, 2020 · Backend Development

Why Redis Distributed Locks Fail in Flash Sales and How to Fix Them

This article examines a real flash‑sale incident where Redis distributed locks expired, causing overselling, analyzes the root causes such as lock safety and non‑atomic stock checks, and presents safer lock implementations, atomic stock operations, and architectural reflections to prevent future failures.

RedisSpringBootdistributed lock
0 likes · 11 min read
Why Redis Distributed Locks Fail in Flash Sales and How to Fix Them
Selected Java Interview Questions
Selected Java Interview Questions
Sep 6, 2020 · Backend Development

Redis Interview Questions and High‑Availability Distributed System Overview

This article compiles common Redis interview questions, compares Redis with Memcached, explains eviction policies, and provides a concise introduction to distributed systems, high‑availability architectures, master‑slave replication, synchronization methods, and Redis‑based distributed lock solutions.

Rediscachedistributed systems
0 likes · 12 min read
Redis Interview Questions and High‑Availability Distributed System Overview
ITPUB
ITPUB
Sep 6, 2020 · Databases

Choosing the Right MySQL‑Redis Cache Consistency Strategy

This article explains why caching is essential for high‑traffic MySQL applications, outlines the consistency challenges of using Redis as a cache, and compares four practical synchronization solutions—TTL‑only, write‑through, message‑queue‑based, and binlog‑driven—highlighting their advantages, drawbacks, and selection guidelines.

Database CachingMessage QueueMySQL
0 likes · 10 min read
Choosing the Right MySQL‑Redis Cache Consistency Strategy
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 6, 2020 · Backend Development

Design and Implementation of a High-Concurrency WeChat Red Packet and Seckill System Using Redis and Bloom Filters

This article details the business flow analysis, functional decomposition, database schema, API design, and high‑concurrency implementation of a WeChat red‑packet and seckill system, showcasing Redis atomic decrement, Bloom filter usage, Lua scripts, JMeter load testing, and integration with SpringBoot.

Bloom FilterJavaRedis
0 likes · 11 min read
Design and Implementation of a High-Concurrency WeChat Red Packet and Seckill System Using Redis and Bloom Filters
JavaEdge
JavaEdge
Sep 5, 2020 · Databases

Master‑Slave Replication in Redis: How It Works, Configurations, and Pitfalls

This article explains Redis's asynchronous master‑slave replication, covering the three core mechanisms, partial and full resynchronization processes, configuration methods, diskless sync, key expiration handling, replication IDs and offsets, and safety considerations when disabling persistence.

BacklogDisklessMaster‑Slave
0 likes · 16 min read
Master‑Slave Replication in Redis: How It Works, Configurations, and Pitfalls
Java Captain
Java Captain
Sep 5, 2020 · Backend Development

Design and Implementation of a High‑Concurrency WeChat Red Packet System Using Redis and Bloom Filter

This article details the end‑to‑end design, database schema, Redis atomic operations, Bloom filter integration, JMeter load testing, and SpringBoot implementation for a high‑concurrency WeChat red‑packet (抢红包) service, including flash‑sale (秒杀) techniques and Lua scripts for atomic stock handling.

Bloom FilterJavaRedis
0 likes · 10 min read
Design and Implementation of a High‑Concurrency WeChat Red Packet System Using Redis and Bloom Filter
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 4, 2020 · Databases

Comprehensive Guide to Redis Data Structures, Persistence, Transactions, Clustering, and Applications

This article provides an in‑depth technical overview of Redis, covering its core data structures, memory allocation strategies, eviction policies, persistence mechanisms (RDB and AOF), transaction model, sentinel and cluster architectures, Pub/Sub messaging, and multiple approaches to implementing distributed locks.

ClusteringData StructuresPersistence
0 likes · 89 min read
Comprehensive Guide to Redis Data Structures, Persistence, Transactions, Clustering, and Applications
Programmer DD
Programmer DD
Sep 3, 2020 · Backend Development

Master Distributed Sessions, Transactions, and Locks in Java – Practical Guides & Code

This article explains how to implement distributed session management, transaction handling, and locking mechanisms in Java applications, covering Tomcat‑Redis integration, Spring Session with Redis, various distributed transaction patterns, and both Redis and Zookeeper based distributed locks with complete code examples.

Distributed SessionRedisZooKeeper
0 likes · 24 min read
Master Distributed Sessions, Transactions, and Locks in Java – Practical Guides & Code
Java Architect Essentials
Java Architect Essentials
Sep 2, 2020 · Backend Development

Designing a High-Concurrency Flash Sale (Seckill) System: Architecture, Challenges, and Solutions

This article presents a comprehensive design of a flash‑sale system, covering business scenario analysis, high‑concurrency problems such as overselling and malicious requests, and detailed front‑end, Nginx, risk‑control, back‑end, database, and distributed‑transaction solutions to ensure reliability and performance.

High ConcurrencyRedisdistributed transaction
0 likes · 16 min read
Designing a High-Concurrency Flash Sale (Seckill) System: Architecture, Challenges, and Solutions
Sohu Tech Products
Sohu Tech Products
Sep 2, 2020 · Backend Development

Implementing Distributed Locks with Redis and Redisson: Abstraction, Auto-Release, and Fault Tolerance

This article explains how to use Redis and Redisson for distributed locking, introduces an abstract DistributedLock interface for flexible implementations, demonstrates automatic lock release with functional callbacks, and discusses fallback strategies and monitoring to ensure reliability in backend systems.

JavaRedisRedisson
0 likes · 5 min read
Implementing Distributed Locks with Redis and Redisson: Abstraction, Auto-Release, and Fault Tolerance
JavaEdge
JavaEdge
Sep 2, 2020 · Backend Development

How Redis Handles File and Time Events: Inside the Event Loop

This article explains Redis server's event-driven architecture, detailing how file events (read/write) and time events are processed, illustrated with state diagrams, pseudocode, and examples that show the interaction, scheduling, and impact on server performance.

File EventsRedisServer Architecture
0 likes · 12 min read
How Redis Handles File and Time Events: Inside the Event Loop
MaGe Linux Operations
MaGe Linux Operations
Sep 2, 2020 · Backend Development

How to Run Celery Tasks with Redis Without a Web Framework

This guide explains how to configure Celery to use Redis as both broker and result backend, covering project layout, code setup, task definition, execution flow, task states, and common control operations for asynchronous Python workloads.

PythonRedisasync tasks
0 likes · 6 min read
How to Run Celery Tasks with Redis Without a Web Framework
JavaEdge
JavaEdge
Sep 1, 2020 · Backend Development

Why Redis Uses a Single Thread Model: File Event Handlers & I/O Multiplexing

This article explains how Redis implements a single‑threaded architecture by using a file event handler built on non‑blocking I/O multiplexing (select, epoll, evport, kqueue), detailing socket event abstraction, the I/O multiplexing program, event dispatcher, and the mapping of various socket operations to specific handlers.

I/O multiplexingRedisevent handling
0 likes · 7 min read
Why Redis Uses a Single Thread Model: File Event Handlers & I/O Multiplexing
Java Architect Essentials
Java Architect Essentials
Aug 29, 2020 · Backend Development

Understanding Distributed Locks, Session Management, Maven Configuration, and Caching in Backend Architecture

This article explains the fundamentals of backend architecture, covering Maven's settings.xml, front‑back separation, various types of locks (thread, process, distributed), detailed Redis‑based and Zookeeper‑based distributed lock implementations with code examples, session handling in distributed systems, and key Spring‑Redis caching annotations.

BackendJavaRedis
0 likes · 15 min read
Understanding Distributed Locks, Session Management, Maven Configuration, and Caching in Backend Architecture
Programmer DD
Programmer DD
Aug 27, 2020 · Backend Development

Unlocking Redisson: How Distributed Locks Work Under the Hood

This article walks through configuring Redisson with Maven, demonstrates a simple distributed lock example using Sentinel, lists the Redis commands and Lua script semantics involved, and provides a detailed source‑code analysis of the RLock interface, tryLock, unlock, and forceUnlock methods.

LuaMavenRedis
0 likes · 13 min read
Unlocking Redisson: How Distributed Locks Work Under the Hood
Laravel Tech Community
Laravel Tech Community
Aug 24, 2020 · Databases

Step-by-Step Guide to Building and Managing a Redis Cluster

This article provides a detailed, step‑by‑step tutorial on building a six‑node Redis cluster on a single Linux machine, covering directory setup, configuration files, Ruby‑based cluster tools, instance startup, cluster creation, verification, online scaling, slot rebalancing, and using Redis for session sharing.

ClusterRedisdatabase
0 likes · 7 min read
Step-by-Step Guide to Building and Managing a Redis Cluster
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 24, 2020 · Databases

Understanding Redis Deployment Modes: Standalone, Master‑Slave, Sentinel, and Cluster

This article provides a comprehensive guide to Redis deployment, covering standalone, master‑slave replication, Sentinel high‑availability, and cluster sharding modes, detailing their principles, advantages, drawbacks, and step‑by‑step configuration examples with Maven dependencies and Redis configuration files.

ClusterMaster‑SlaveRedis
0 likes · 28 min read
Understanding Redis Deployment Modes: Standalone, Master‑Slave, Sentinel, and Cluster
Programmer DD
Programmer DD
Aug 23, 2020 · Backend Development

How Short URLs Work: Theory, Design, and a Java Implementation

This article explains why short URLs are used in spam SMS, outlines their benefits, describes the basic principle of mapping long URLs to short ones, and details service design choices such as storage, one‑to‑one mapping, high‑concurrency handling, distributed ID generation, and provides a Java implementation using Redis.

Redisbackend developmentdistributed systems
0 likes · 11 min read
How Short URLs Work: Theory, Design, and a Java Implementation
58 Tech
58 Tech
Aug 19, 2020 · Backend Development

Design and Implementation of a Testing Quality System for the 58.com SSP Advertising Platform

The article details the architecture of 58.com’s SSP advertising platform, identifies three key reliability challenges—data consistency, interface regression, and storage synchronization—and presents a three‑layer testing quality system comprising web‑layer validation, service‑layer automated testing, and data‑layer monitoring with concrete tools and future improvement plans.

Advertising PlatformMonitoringMySQL
0 likes · 14 min read
Design and Implementation of a Testing Quality System for the 58.com SSP Advertising Platform
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 18, 2020 · Backend Development

Implementing Scheduled Tasks in Java: Timer, ScheduledExecutorService, Spring Task, and Distributed Approaches

This article explains several ways to implement scheduled tasks in Java, covering the simple Timer class, the more robust ScheduledExecutorService, Spring's @Scheduled annotation, and distributed solutions using Redis ZSet and key‑space notifications, with code examples and practical considerations.

JavaRedisScheduledExecutorService
0 likes · 16 min read
Implementing Scheduled Tasks in Java: Timer, ScheduledExecutorService, Spring Task, and Distributed Approaches
Architect's Tech Stack
Architect's Tech Stack
Aug 18, 2020 · Databases

Understanding Redis Memory Limits and Eviction Policies

This article explains how to configure Redis's maximum memory usage, describes the built‑in eviction strategies such as noeviction, allkeys‑lru, volatile‑lru, random and ttl policies, shows how to query and set these policies via configuration files or runtime commands, and details the LRU and LFU algorithms used by Redis, including Java sample code and recent improvements in Redis 3.0 and 4.0.

LFULRURedis
0 likes · 9 min read
Understanding Redis Memory Limits and Eviction Policies
ITPUB
ITPUB
Aug 14, 2020 · Databases

Designing Scalable Like/Comment Systems: MySQL vs Redis Strategies

This article explores practical database designs for app features like likes, comments, and collections, comparing MySQL partition‑plus‑cache approaches with Redis storage and caching solutions, detailing schema definitions, query examples, Redis commands for various scenarios, and discussing scalability and consistency trade‑offs.

Likes SystemMySQLRedis
0 likes · 8 min read
Designing Scalable Like/Comment Systems: MySQL vs Redis Strategies
Selected Java Interview Questions
Selected Java Interview Questions
Aug 13, 2020 · Databases

Understanding Redis: From Basic Concepts to Advanced Features

This article explains Redis as an open‑source in‑memory data store used for caching, database, and messaging, walks through its evolution from simple HTTP caching to server‑side Redis, and details core features such as persistence, high availability, clustering, data types, transactions, Lua scripting, pipelining, and distributed locking.

CachingClusterData Types
0 likes · 12 min read
Understanding Redis: From Basic Concepts to Advanced Features
21CTO
21CTO
Aug 12, 2020 · Backend Development

How to Build a High‑Performance Distributed Unique ID Generator with MySQL and Redis

This article explains the challenges of generating globally unique IDs in sharded databases, compares common solutions such as auto‑increment, UUID, Snowflake, and Redis, and presents a practical MySQL‑based design that uses table‑level auto‑increment combined with in‑memory segment allocation to achieve high concurrency, reliability, and performance.

High ConcurrencyRedisdistributed-id
0 likes · 9 min read
How to Build a High‑Performance Distributed Unique ID Generator with MySQL and Redis
Architect
Architect
Aug 11, 2020 · Backend Development

Distributed Session, Transaction, and Lock Strategies in Java Applications

This article explains how to manage sessions, implement distributed transactions, and coordinate distributed locks in Java-based distributed systems, covering practical solutions with Tomcat‑Redis, Spring Session, CAP theory, XA, TCC, message‑based consistency, Redis locks, RedLock, and Zookeeper locks, complete with configuration and code examples.

JavaRedisSession Management
0 likes · 22 min read
Distributed Session, Transaction, and Lock Strategies in Java Applications
New Oriental Technology
New Oriental Technology
Aug 11, 2020 · Backend Development

Engineering Case Study of New Oriental Cloud Classroom Backend Architecture and Scaling During the Pandemic

The article details how New Oriental's Cloud Classroom backend, built with Java, Spring, MySQL, Redis, Kafka, Sentinel, and other modern technologies, scaled to support millions of users and a hundred‑fold surge in demand during the pandemic through architectural optimizations, distributed caching, traffic control, and rapid performance improvements.

JavaKafkaRedis
0 likes · 7 min read
Engineering Case Study of New Oriental Cloud Classroom Backend Architecture and Scaling During the Pandemic
dbaplus Community
dbaplus Community
Aug 10, 2020 · Databases

Breaking the Loop: Mastering Redis Multi‑IDC Bidirectional Sync and Conflict Resolution

This article dives deep into the design and implementation details of Redis cross‑IDC bidirectional synchronization, covering copy‑loop elimination, conflict handling with Last Write Wins and Vector Clocks, tombstone usage, garbage collection strategies, and the challenges of TTL consistency across replicas.

Bidirectional SyncCRDTConflict Resolution
0 likes · 13 min read
Breaking the Loop: Mastering Redis Multi‑IDC Bidirectional Sync and Conflict Resolution
macrozheng
macrozheng
Aug 10, 2020 · Backend Development

Mall Project Update: SpringBoot 2.3, Elasticsearch 7.6, Unified Swagger & Redis

This article outlines the latest upgrades to the open‑source Mall project, including migration to SpringBoot 2.3.0, support for Elasticsearch 7.6.2, enhanced ELK log collection, unified Swagger and Redis configurations, and updated deployment guides for Windows and Linux environments.

BackendElasticsearchOpenSource
0 likes · 10 min read
Mall Project Update: SpringBoot 2.3, Elasticsearch 7.6, Unified Swagger & Redis
macrozheng
macrozheng
Aug 7, 2020 · Backend Development

Why Redis Distributed Locks Still Let Flash Sales Oversell—and How to Fix It

This article analyzes a real‑world flash‑sale overselling incident caused by unsafe Redis distributed locks, explains the root causes such as lock expiration and non‑atomic stock checks, and presents safer lock implementations and atomic stock decrement strategies to prevent future overselling.

JavaRedisoverselling
0 likes · 12 min read
Why Redis Distributed Locks Still Let Flash Sales Oversell—and How to Fix It
Senior Brother's Insights
Senior Brother's Insights
Aug 6, 2020 · Backend Development

How to Achieve Automatic API Idempotency with Spring Boot, Redis, and Custom Annotations

This article explains how to implement automatic idempotency for Spring Boot APIs using Redis, a custom @AutoIdempotent annotation, token generation and validation, and an interceptor, providing step‑by‑step code examples, configuration details, and testing procedures to ensure each request is processed only once.

InterceptorJavaRedis
0 likes · 12 min read
How to Achieve Automatic API Idempotency with Spring Boot, Redis, and Custom Annotations
Architecture Digest
Architecture Digest
Aug 4, 2020 · Information Security

Integrating Apache Shiro with Spring Boot for Authentication and Authorization

This guide demonstrates how to integrate Apache Shiro into a Spring Boot application, covering project setup, Maven dependencies, configuration of Redis-backed session and cache management, creation of utility and realm classes, and implementation of role‑based permission controls with example controllers and Postman testing.

AuthenticationJavaRedis
0 likes · 22 min read
Integrating Apache Shiro with Spring Boot for Authentication and Authorization
Programmer DD
Programmer DD
Aug 3, 2020 · Backend Development

How I Cut Search API Latency from 150ms to 32ms in 10 Days

This article recounts a developer's step‑by‑step optimization of a search API—detailing four load‑test rounds, configuration tweaks, batch queries, caching, and code clean‑up—that ultimately reduced average response time from 150 ms to 32 ms, meeting a sub‑100 ms requirement.

API optimizationOpenSearchRedis
0 likes · 7 min read
How I Cut Search API Latency from 150ms to 32ms in 10 Days
Ctrip Technology
Ctrip Technology
Jul 30, 2020 · Backend Development

Design and Implementation of a Distributed Ticket Order Cache System at Ctrip

This article describes how Ctrip's ticket order post‑service team identified scaling bottlenecks, selected Redis, designed a two‑level cache architecture, implemented active and passive caching strategies, tackled consistency and failure issues, and applied various optimizations to achieve over 90% cache hit rate and dramatically reduce database load.

CtripOrder ServiceRedis
0 likes · 14 min read
Design and Implementation of a Distributed Ticket Order Cache System at Ctrip
Programmer DD
Programmer DD
Jul 30, 2020 · Databases

Understanding Redis Cluster: Sharding, High Availability, and Hash Slot Mechanics

This article explains Redis Cluster’s automatic sharding, built‑in high availability, the role of the cluster bus ports, the limitations of traditional hash algorithms, and how consistent hashing with virtual nodes and the 16384‑slot hash slot mechanism enable efficient data distribution and low‑cost node scaling.

ClusterHash SlotRedis
0 likes · 3 min read
Understanding Redis Cluster: Sharding, High Availability, and Hash Slot Mechanics
MaGe Linux Operations
MaGe Linux Operations
Jul 29, 2020 · Backend Development

How to Build Safe Distributed Locks with Redis and Redisson

This article explains why simple SETNX/EXPIRE commands can cause deadlocks, shows how to achieve atomic lock operations with Lua scripts or the Redis SET command, and demonstrates how to use the Redisson library for re‑entrant, auto‑renewing distributed locks in Java.

Lua scriptRedisRedisson
0 likes · 8 min read
How to Build Safe Distributed Locks with Redis and Redisson
Programmer DD
Programmer DD
Jul 28, 2020 · Databases

Designing Scalable Like/Comment Systems: MySQL vs Redis Strategies

This article explores the requirements and database design patterns for implementing likes, comments, and favorites in apps, comparing traditional MySQL schemas with Redis‑based storage and caching solutions, and discusses their trade‑offs, scalability, and data consistency considerations.

ConsistencyMySQLRedis
0 likes · 8 min read
Designing Scalable Like/Comment Systems: MySQL vs Redis Strategies
dbaplus Community
dbaplus Community
Jul 27, 2020 · Databases

How We Replaced Expensive Redis Clusters with KVROCKS on SSDs

Facing a ten‑fold cost increase for public‑cloud Redis, Ctrip engineers evaluated Redis‑on‑SSD alternatives, chose KVROCKS, performed extensive protocol‑compatible modifications, benchmarked performance on standard and Optane SSDs, and demonstrated substantial cost savings while preserving Redis semantics.

KVROCKSRedisRocksDB
0 likes · 13 min read
How We Replaced Expensive Redis Clusters with KVROCKS on SSDs
Programmer DD
Programmer DD
Jul 26, 2020 · Databases

Mastering Redis Memory Limits and Eviction Policies: Config, LRU, LFU Explained

Redis, an in‑memory key‑value store, lets you set a maximum memory limit via configuration files or runtime commands, choose among various eviction strategies such as noeviction, allkeys‑lru, volatile‑lru, and LFU, and understand how approximate LRU works, with Java code examples illustrating these concepts.

LFULRURedis
0 likes · 10 min read
Mastering Redis Memory Limits and Eviction Policies: Config, LRU, LFU Explained
Java Captain
Java Captain
Jul 20, 2020 · Information Security

Integrating Apache Shiro with Spring Boot: Configuration, Session Management, and Permission Control

This guide demonstrates how to integrate the lightweight Apache Shiro security framework into a Spring Boot application, covering environment setup, Maven dependencies, Redis-backed session and cache configuration, utility classes, core Shiro components, annotation‑based permission control, and Postman testing for token handling and dynamic permission updates.

JavaRedisSpring Boot
0 likes · 21 min read
Integrating Apache Shiro with Spring Boot: Configuration, Session Management, and Permission Control
MaGe Linux Operations
MaGe Linux Operations
Jul 16, 2020 · Databases

Master Redis Memory Limits and Eviction Policies: Config, LRU, LFU Explained

This article explains how to configure Redis's maximum memory usage, modify memory limits at runtime, understand the built‑in eviction strategies—including noeviction, allkeys‑lru, volatile‑lru, allkeys‑random, volatile‑random, and volatile‑ttl—how to query and set these policies, and the details of LRU and LFU algorithms with Java examples and performance comparisons.

LFULRURedis
0 likes · 10 min read
Master Redis Memory Limits and Eviction Policies: Config, LRU, LFU Explained
Ctrip Technology
Ctrip Technology
Jul 16, 2020 · Databases

Design and Implementation of Bidirectional Redis Synchronization Across IDC: Cycle Break, LWW, Vector Clock, Tombstone, GC, and Expire

This article details Ctrip's practical design and implementation of a bidirectional Redis synchronization system across data centers, covering replication loop breaking, conflict resolution with Last Write Wins and Vector Clocks, tombstone handling, garbage collection strategies, and expiration policies to ensure data consistency.

CRDTRedisTombstone
0 likes · 12 min read
Design and Implementation of Bidirectional Redis Synchronization Across IDC: Cycle Break, LWW, Vector Clock, Tombstone, GC, and Expire
Architecture Digest
Architecture Digest
Jul 16, 2020 · Databases

Redis 6.0 Client‑Side Caching and Tracking Feature Overview

This article explains Redis 6.0’s new client‑side caching feature, detailing the tracking command, its options such as BCAST, PREFIX, OPTIN, OPTOUT, NOLOOP and REDIRECT, and provides step‑by‑step examples using telnet and redis‑cli to demonstrate how invalidation messages are generated and handled.

Client Side CachingRESP3Redis
0 likes · 12 min read
Redis 6.0 Client‑Side Caching and Tracking Feature Overview
Sohu Tech Products
Sohu Tech Products
Jul 15, 2020 · Backend Development

Design and Implementation of a High‑Performance Global Unique ID Generation Algorithm (Mist) and Service (Medis)

This article analyses the limitations of existing global unique ID solutions such as Snowflake, presents the design of a new high‑performance, time‑independent Mist algorithm with extended lifespan, and describes its practical Redis‑backed service Medis, including performance benchmarks and architectural considerations.

RedisSnowflakedistributed systems
0 likes · 14 min read
Design and Implementation of a High‑Performance Global Unique ID Generation Algorithm (Mist) and Service (Medis)
Laravel Tech Community
Laravel Tech Community
Jul 15, 2020 · Databases

Comprehensive Redis Interview Questions and Answers

This article provides a comprehensive overview of Redis, covering its definition, advantages over memcached, supported data types, memory consumption, eviction policies, clustering options, persistence mechanisms, distributed lock implementations, cache penetration and avalanche solutions, and best-use scenarios compared to other caching systems.

ClusteringPersistenceRedis
0 likes · 26 min read
Comprehensive Redis Interview Questions and Answers
Programmer DD
Programmer DD
Jul 15, 2020 · Databases

Master Redis Expiration: Key Commands That Preserve or Reset TTL

This article explains how Redis handles key expiration, detailing which commands clear or keep TTL, how PERSIST and RENAME affect expiration, the impact of negative or past timestamps, and the lazy and periodic deletion strategies Redis uses to manage expired keys efficiently.

Key ManagementLazy DeletionRedis
0 likes · 10 min read
Master Redis Expiration: Key Commands That Preserve or Reset TTL
Qunar Tech Salon
Qunar Tech Salon
Jul 14, 2020 · Backend Development

Distributed Lock Mechanisms and Their Redis Implementations

This article explains the concept of distributed locks, compares various implementation approaches such as Memcached, Zookeeper, Chubby, and Redis, and details single‑node and multi‑node Redis lock designs—including SETNX, SET with NX/EX options, Redisson, and the Redlock algorithm—while highlighting their advantages, pitfalls, and best‑practice recommendations.

RedisRedlockconcurrency
0 likes · 14 min read
Distributed Lock Mechanisms and Their Redis Implementations
Top Architect
Top Architect
Jul 13, 2020 · Databases

Understanding Redis Distributed Locks: setnx, Redisson, and RedLock

This article explains the fundamentals and pitfalls of using Redis for distributed locking, covering the setnx command, the SET command with NX and PX options, Lua‑based lock scripts, Redisson’s lock implementations, and the RedLock algorithm, along with practical code examples.

LuaRedisRedisson
0 likes · 12 min read
Understanding Redis Distributed Locks: setnx, Redisson, and RedLock
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 12, 2020 · Backend Development

Distributed ID Generation Techniques Discussed in an Interview with Java Implementations

During a technical interview, the candidate explains various distributed ID generation methods—including database auto‑increment, sharding, batch allocation, UUID, Redis atomic counters, and the Snowflake algorithm—analyzes their pros and cons, and provides Java code examples for Redis‑based and Snowflake ID generators.

JavaRedisSnowflake
0 likes · 18 min read
Distributed ID Generation Techniques Discussed in an Interview with Java Implementations
Top Architect
Top Architect
Jul 8, 2020 · Information Security

kk-anti-reptile: Spring Boot Anti‑Crawler Component and Integration Guide

The article introduces kk-anti-reptile, a Spring Boot‑based anti‑crawler component that uses servlet filters, Redis, and configurable rule chains (IP and User‑Agent), explains its workflow, shows Maven and property configurations, and provides front‑end Axios interception code for handling 509 responses.

RedisSpring Bootanti‑crawler
0 likes · 6 min read
kk-anti-reptile: Spring Boot Anti‑Crawler Component and Integration Guide
Laravel Tech Community
Laravel Tech Community
Jul 4, 2020 · Databases

Redisson 3.13.2 Released with New Features and Bug Fixes

Redisson version 3.13.2, a Java‑based Redis client with in‑memory data grid capabilities officially recommended by Redis, has been released, introducing sharding support via ShardedRedisson, new CLUSTERDOWN error handling, added configuration methods to RedisNode, and numerous bug fixes covering sentinel handling, cache clearing, SSL reconnection, and more.

Database clientIn-Memory Data GridJava
0 likes · 2 min read
Redisson 3.13.2 Released with New Features and Bug Fixes
Architecture Digest
Architecture Digest
Jul 4, 2020 · Databases

Understanding Redis Locks: setnx, RedLock, and Redisson

This article explains the fundamentals of Redis locking mechanisms, including the setnx command, the RedLock algorithm, and how the Redisson Java client implements distributed locks with Lua scripts, highlighting pitfalls, best practices, and code examples for safe lock acquisition and release.

JavaLuaRedis
0 likes · 10 min read
Understanding Redis Locks: setnx, RedLock, and Redisson
Programmer DD
Programmer DD
Jul 4, 2020 · R&D Management

Why the Redis Founder Quit: Lessons on Open‑Source Maintenance Burnout

The article recounts Redis creator Salvatore Sanfilippo’s decision to step back from core development, explains his fatigue with open‑source maintenance, outlines the pressures he faced, and discusses how mature projects like Redis can continue thriving after a founder’s departure.

Maintainer burnoutRedisSalvatore Sanfilippo
0 likes · 6 min read
Why the Redis Founder Quit: Lessons on Open‑Source Maintenance Burnout
MaGe Linux Operations
MaGe Linux Operations
Jul 3, 2020 · Databases

Step‑by‑Step Guide to Deploy a Redis Cluster on Linux

This tutorial walks you through compiling Redis from source, configuring six cluster nodes on ports 7000‑7005, adjusting system memory settings, creating startup scripts, launching the services, forming the cluster, verifying its status, and testing basic read/write operations, all with detailed command examples.

ClusterRedis
0 likes · 9 min read
Step‑by‑Step Guide to Deploy a Redis Cluster on Linux
ITPUB
ITPUB
Jul 3, 2020 · Databases

Why Redis’s Founder Is Stepping Down and What It Means for the Database’s Future

The article recounts Salvatore Sanfilippo’s decision to relinquish his role as Redis’s benevolent dictator, outlines the new community‑driven governance model led by Yossi Gottlieb and Oran Agra, and reflects on his personal philosophy about code as artistic self‑expression while highlighting Redis’s continued prominence as a leading NoSQL database.

Community ManagementDatabase GovernanceNoSQL
0 likes · 8 min read
Why Redis’s Founder Is Stepping Down and What It Means for the Database’s Future
JD Retail Technology
JD Retail Technology
Jul 1, 2020 · Backend Development

JdHotkey: A Lightweight Hotkey Detection Framework – Architecture, Workflow, and Performance

The article introduces the JdHotkey framework, a lightweight, real‑time hotkey detection solution for Redis and other services, detailing the risks of hot keys, prior mitigation methods, core design components, operational workflow, and performance benchmarks across various hardware configurations.

HotKeyRedisdistributed systems
0 likes · 16 min read
JdHotkey: A Lightweight Hotkey Detection Framework – Architecture, Workflow, and Performance
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jun 30, 2020 · Databases

Understanding Redis Eviction Policies: maxmemory, LRU, LFU, and Expiration Strategies

This article explains how Redis handles memory limits with the maxmemory setting, describes the six eviction policies—including noeviction, allkeys‑lru, volatile‑lru, allkeys‑random, volatile‑random, and volatile‑ttl—covers the LRU and LFU algorithms, and outlines the three key expiration deletion methods as well as RDB and AOF persistence handling.

CachingLFULRU
0 likes · 11 min read
Understanding Redis Eviction Policies: maxmemory, LRU, LFU, and Expiration Strategies
Open Source Tech Hub
Open Source Tech Hub
Jun 25, 2020 · Backend Development

Mastering Redis: Core Data Structures and Practical Commands Explained

This comprehensive guide explores Redis fundamentals, detailing its six primary data structures—strings, lists, hashes, sets, sorted sets, and streams—along with practical command examples, internal implementations, and usage patterns for high‑performance backend development.

Data StructuresMessage QueueRedis
0 likes · 17 min read
Mastering Redis: Core Data Structures and Practical Commands Explained
Efficient Ops
Efficient Ops
Jun 25, 2020 · Cloud Native

How Xiaomi Scaled Redis with Kubernetes: Deploying Redis Cluster on K8s

This article explains how Xiaomi migrated tens of thousands of Redis instances from bare‑metal servers to Kubernetes, using Redis Proxy, StatefulSets, and Ceph storage to achieve resource isolation, automated deployment, dynamic scaling, and improved reliability while addressing latency, IP‑change, and security challenges.

AutoscalingCephKubernetes
0 likes · 20 min read
How Xiaomi Scaled Redis with Kubernetes: Deploying Redis Cluster on K8s
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 24, 2020 · Backend Development

Choosing the Right Rate‑Limiting Algorithm: Simple Window, Sliding Window, Leaky Bucket, Token Bucket & Sliding Log

This article explains the purpose of flow control, compares various rate‑limiting algorithms—including simple window, sliding window, leaky bucket, token bucket, and sliding log—provides Java interface definitions and code examples, discusses their complexity, precision, smoothness, and suitability for single‑machine and distributed scenarios, and offers practical deployment tips using Sentinel, Nginx, Guava, Tair, and Redis.

JavaRedisalgorithm
0 likes · 31 min read
Choosing the Right Rate‑Limiting Algorithm: Simple Window, Sliding Window, Leaky Bucket, Token Bucket & Sliding Log