Tagged articles

Redis

3508 articles · Page 33 of 36
21CTO
21CTO
Sep 28, 2018 · Databases

Mastering NoSQL at Scale: KV Architecture Evolution, Codis+, and Aerospike Insights

In the era of big data, DBAs face higher demands and NoSQL technologies have risen, so this article shares GeTui's KV storage architecture evolution, operational challenges, NoSQL selection criteria, Codis+ enhancements, Aerospike evaluation, monitoring practices, and best‑practice recommendations for scalable database operations.

AerospikeCodisNoSQL
0 likes · 16 min read
Mastering NoSQL at Scale: KV Architecture Evolution, Codis+, and Aerospike Insights
High Availability Architecture
High Availability Architecture
Sep 18, 2018 · Backend Development

Design and Operation of Zhihu's Redis Platform: Architecture, High Availability, and Scaling

The article details Zhihu's internally built Redis platform, covering its architecture, instance types, high‑availability mechanisms, migration from client‑side sharding to Twemproxy, deployment on Kubernetes, scaling strategies, monitoring tools, and future upgrades, providing valuable insights for backend engineers.

Redishigh availability
0 likes · 23 min read
Design and Operation of Zhihu's Redis Platform: Architecture, High Availability, and Scaling
ITPUB
ITPUB
Sep 13, 2018 · Databases

Why Redis’s Master‑Slave Terminology Sparks Debate and What Changes Are Planned

The Redis community is urging a rename of the master‑slave replication terminology due to social concerns, but the project's lead highlights significant compatibility costs, outlining short‑term compromises and long‑term redesigns while balancing technical feasibility and community expectations.

RedisReplicationTerminology
0 likes · 4 min read
Why Redis’s Master‑Slave Terminology Sparks Debate and What Changes Are Planned
JD Tech
JD Tech
Sep 11, 2018 · Backend Development

Design and Implementation of Distributed Lock Services: Redis, ZooKeeper, and SharkLock

This article explains the principles, requirements, and implementation details of distributed lock services, comparing Redis and ZooKeeper approaches, and introduces SharkLock's design built on SharkStore with Raft-based replication, covering lock acquisition, release, reliability, scaling, and failover mechanisms.

RaftRedisSharkLock
0 likes · 14 min read
Design and Implementation of Distributed Lock Services: Redis, ZooKeeper, and SharkLock
Java Captain
Java Captain
Sep 6, 2018 · Backend Development

Implementation Principles of QR Code Login

This article explains the architecture and step‑by‑step workflow of QR code login, covering how the web front‑end, mobile client, and server (including Redis storage and token verification) cooperate to generate a QR code, poll for authentication, and complete a secure user login.

AuthenticationQR Code LoginRedis
0 likes · 7 min read
Implementation Principles of QR Code Login
ITPUB
ITPUB
Sep 3, 2018 · Databases

Why Redis Leads Modern Key‑Value Stores: Features, Use Cases, and Performance

This article provides a comprehensive overview of Redis as a high‑performance, in‑memory key‑value store, explaining its data structures, persistence options, replication, benchmark results, and a wide range of real‑world scenarios where Redis excels over traditional databases.

In-Memory DatabasePerformanceRedis
0 likes · 12 min read
Why Redis Leads Modern Key‑Value Stores: Features, Use Cases, and Performance
Dada Group Technology
Dada Group Technology
Aug 31, 2018 · Backend Development

Design and Evolution of an Order Dispatch System for Instant Delivery Platforms

This article describes the end‑to‑end evolution of a large‑scale order dispatch architecture, covering the shift from simple pool display to algorithmic assignment using data mining, genetic algorithms, timing‑wheel scheduling, and a Redis‑backed implementation to improve delivery efficiency and rider experience.

Instant DeliveryRedisbackend architecture
0 likes · 11 min read
Design and Evolution of an Order Dispatch System for Instant Delivery Platforms
Efficient Ops
Efficient Ops
Aug 26, 2018 · Backend Development

Unlocking Redis Memory: How to Measure, Understand, and Optimize Its Usage

This article explains how to monitor Redis memory usage with the INFO command, interprets key metrics such as used_memory, used_memory_rss, and mem_fragmentation_ratio, and dives into Redis's internal memory layout, including allocators, redisObject, SDS, and the various object types and their encodings.

Data StructuresRedisbackend development
0 likes · 25 min read
Unlocking Redis Memory: How to Measure, Understand, and Optimize Its Usage
Architecture Digest
Architecture Digest
Aug 24, 2018 · Databases

Redis High‑Availability Solutions: Architecture Options, Advantages, Disadvantages and Recommendations

This article reviews the common Redis deployment patterns—including single‑instance, master‑slave replication, Sentinel, Cluster and custom solutions—analyzes their strengths and weaknesses, and provides practical configuration tips and recommendations for building reliable, scalable Redis services in production environments.

ClusterRedisSentinel
0 likes · 12 min read
Redis High‑Availability Solutions: Architecture Options, Advantages, Disadvantages and Recommendations
Java Captain
Java Captain
Aug 22, 2018 · Databases

Understanding Redis: Why It Is So Fast and How Its Single‑Threaded Architecture Works

This article explains Redis’s core concepts, data structures, persistence options, and the reasons behind its exceptional speed—including in‑memory operations, simple data models, single‑threaded design, and efficient I/O multiplexing—while also covering common interview questions about caching and Redis’s threading model.

In-Memory DatabaseInterviewRedis
0 likes · 10 min read
Understanding Redis: Why It Is So Fast and How Its Single‑Threaded Architecture Works
dbaplus Community
dbaplus Community
Aug 19, 2018 · Databases

Redis Deployment Options: Pros & Cons of Single, Replication, Sentinel, Cluster, and Custom Solutions

This article examines five common Redis deployment patterns—single instance, master‑slave replication, Sentinel, Cluster, and custom high‑availability solutions—detailing their architectures, advantages, drawbacks, and practical configuration tips to help engineers choose the most suitable setup for their workloads.

ClusterDatabasePerformance
0 likes · 12 min read
Redis Deployment Options: Pros & Cons of Single, Replication, Sentinel, Cluster, and Custom Solutions
Programmer DD
Programmer DD
Aug 18, 2018 · Backend Development

How to Implement Multi-Dimensional Rate Limiting in Spring Cloud Gateway

This guide explains how Spring Cloud Gateway replaces Zuul and provides Redis‑based multi‑dimensional rate limiting, covering Maven dependencies, YAML configuration, custom key resolver beans, stress testing, Redis key monitoring, core Java implementation, and the underlying Lua script.

Redisrate limitingreactive
0 likes · 5 min read
How to Implement Multi-Dimensional Rate Limiting in Spring Cloud Gateway
Didi Tech
Didi Tech
Aug 14, 2018 · Databases

Recap of the Open Source Salon: Latest Developments in Open Source Databases and Streaming Processing

On August 4 2018, Didi Open Source and the Open Source Database Forum hosted a salon where five industry experts presented the latest advances in open‑source databases—covering Redis multi‑data‑center deployment, MySQL InnoDB Cluster, streaming‑processing architecture, PostGIS GIS solutions, and Redis 5.0 features—followed by a Q&A, a prize draw, and a showcase of Didi’s growing open‑source portfolio.

DatabaseMySQLPostGIS
0 likes · 4 min read
Recap of the Open Source Salon: Latest Developments in Open Source Databases and Streaming Processing
Architects' Tech Alliance
Architects' Tech Alliance
Aug 11, 2018 · Industry Insights

Mastering Cache Architecture: From CDN to Distributed Systems

This article provides a comprehensive overview of caching in large distributed systems, covering CDN, reverse‑proxy, local and distributed caches, popular implementations such as Ehcache, Guava, Memcached and Redis, common pitfalls like consistency and avalanche, and practical solutions with real‑world case studies.

EhcacheGuavaMemcached
0 likes · 11 min read
Mastering Cache Architecture: From CDN to Distributed Systems
58 Tech
58 Tech
Aug 8, 2018 · Databases

58 Cloud DB Platform: Architecture, Automation, and Intelligent Operations

The article presents a detailed case study of the 58 Cloud DB Platform, describing its architecture, automated workflow using Celery and Ansible, and intelligent features such as server selection and alarm merging powered by machine‑learning, highlighting how it streamlines MySQL, Redis, and MongoDB operations for developers and DBAs.

AutomationMachine LearningMongoDB
0 likes · 10 min read
58 Cloud DB Platform: Architecture, Automation, and Intelligent Operations
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Aug 7, 2018 · Backend Development

Understanding Distributed Caching: Use Cases, Memcached vs Redis Comparison, and Common Challenges

This article explains why distributed caching is essential for high‑concurrency systems, outlines typical use cases, compares Memcached and Redis across features and performance, and discusses common problems such as cache avalanche, penetration, warm‑up, update strategies, and degradation.

Backend PerformanceCaching StrategiesMemcached
0 likes · 8 min read
Understanding Distributed Caching: Use Cases, Memcached vs Redis Comparison, and Common Challenges
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 3, 2018 · Databases

Understanding Redis Cluster: Architecture, Slot Sharding, Node Management, and High Availability

Redis Cluster is a distributed system that partitions its keyspace into 16,384 hash slots across up to 16,384 nodes, enabling automatic sharding, slot migration, replication, and high‑availability features such as automatic node discovery, master‑slave election, and online resharding without service interruption.

ClusterDatabaseRedis
0 likes · 5 min read
Understanding Redis Cluster: Architecture, Slot Sharding, Node Management, and High Availability
dbaplus Community
dbaplus Community
Jul 30, 2018 · Backend Development

Understanding Redis Persistence: RDB vs AOF and High‑Availability Strategies

This article explains Redis high‑availability concepts, focusing on persistence mechanisms—RDB snapshots and AOF logging—detailing their triggers, execution flows, file formats, configuration options, performance trade‑offs, and practical guidance for choosing and tuning persistence in production environments.

AOFConfigurationPersistence
0 likes · 29 min read
Understanding Redis Persistence: RDB vs AOF and High‑Availability Strategies
Xianyu Technology
Xianyu Technology
Jul 28, 2018 · Big Data

Real-Time Computation Architecture for Non-Timeline Feed Ranking

The paper presents a real‑time computation architecture on Alibaba Cloud Blink that scores and ranks non‑timeline feed items within a sliding 72‑hour window, updating rankings every few minutes, using Redis ZSET for fast retrieval, and discusses scaling optimizations such as interval tuning and external join‑and‑rank services.

Big DataReal-Time ComputingRedis
0 likes · 6 min read
Real-Time Computation Architecture for Non-Timeline Feed Ranking
Meituan Technology Team
Meituan Technology Team
Jul 26, 2018 · Databases

Understanding and Optimizing Redis Rehash Mechanism and Scan Behavior

The article details how Redis’s incremental rehashing can double memory usage and trigger massive key eviction and scan inconsistencies in large‑scale clusters, explains the underlying dictionary structures, demonstrates the cursor bug when tables shrink, and presents a memory‑guard and scan‑cursor patch that resolves both problems.

C++Hash TableMemory Management
0 likes · 26 min read
Understanding and Optimizing Redis Rehash Mechanism and Scan Behavior
Java Backend Technology
Java Backend Technology
Jul 26, 2018 · Databases

7 Common Redis Misuse Scenarios and How to Fix Them

This article outlines seven frequent misuse patterns in Redis development—such as improper use of collection types, missing expirations, oversized values, inefficient batch operations, unnecessary requests, poor key naming, and unsafe commands—provides real‑world case analyses, and offers practical recommendations to improve Redis health and performance.

DatabaseOptimizationPerformance
0 likes · 11 min read
7 Common Redis Misuse Scenarios and How to Fix Them
Efficient Ops
Efficient Ops
Jul 18, 2018 · Databases

Mastering Redis: Advanced Types, Replication, Persistence, and Real-World Design

This article explores Redis’s advanced features—including data types, master‑slave, sentinel, and cluster architectures, transaction handling, RDB/AOF persistence, pub/sub messaging, and a practical e‑commerce search case study—providing design insights and best‑practice configurations for high‑availability and performance.

DatabasePersistenceRedis
0 likes · 10 min read
Mastering Redis: Advanced Types, Replication, Persistence, and Real-World Design
Java Backend Technology
Java Backend Technology
Jul 14, 2018 · Databases

Redis Deep Dive: Core Concepts, Data Types, and Best Practices

This comprehensive guide explains what Redis is, its advantages over memcached, supported data structures, eviction policies, clustering options, persistence mechanisms, memory optimization techniques, and practical use‑cases such as caching, queues, leaderboards, and pub/sub, providing essential knowledge for developers and architects.

ClusteringData StructuresIn-Memory Database
0 likes · 26 min read
Redis Deep Dive: Core Concepts, Data Types, and Best Practices
Java Captain
Java Captain
Jul 7, 2018 · Databases

Understanding MySQL Indexes, B+Tree vs Hash, Partitioning, and Redis Fundamentals

This article explains why auto‑increment primary keys are preferred in MySQL, how B+Tree and hash indexes differ, the benefits of composite and partitioned indexes, isolation levels, MVCC, row‑level locking, triggers, stored procedures, optimization tips, MyISAM vs InnoDB, table design guidelines, and also covers Redis architecture, persistence, replication, and eviction policies.

B+TreeDatabaseMySQL
0 likes · 28 min read
Understanding MySQL Indexes, B+Tree vs Hash, Partitioning, and Redis Fundamentals
ITPUB
ITPUB
Jun 25, 2018 · Backend Development

How to Implement Global Rate Limiting in Spring Boot with Redis and MySQL

This guide explains how to implement global rate limiting for high‑traffic Spring Boot applications by using Redis caches and MySQL storage, covering request interception, Redis key structures for limits and counters, and dynamic configuration for adding, updating, or deleting limits.

JavaRedisSpring Boot
0 likes · 4 min read
How to Implement Global Rate Limiting in Spring Boot with Redis and MySQL
dbaplus Community
dbaplus Community
Jun 24, 2018 · Databases

Redis Deep Dive: Why Use It, Pitfalls, and Practical Solutions

This article provides a comprehensive overview of Redis, covering its performance benefits, single‑threaded speed, data types, expiration policies, memory eviction strategies, consistency challenges with databases, and practical techniques for handling cache penetration, snowball effects, and concurrent key conflicts.

Redisconsistencydistributed lock
0 likes · 15 min read
Redis Deep Dive: Why Use It, Pitfalls, and Practical Solutions
Java Captain
Java Captain
Jun 24, 2018 · Databases

How to Build a Redis Cluster on a Single Linux Machine

This tutorial explains how to set up a six‑node Redis cluster (three masters and three slaves) on one Linux VM by creating separate directories and configuration files for each instance, installing Ruby tools, starting the instances, and using the redis‑trib.rb script to create and verify the cluster.

ClusterDatabaseRedis
0 likes · 5 min read
How to Build a Redis Cluster on a Single Linux Machine
Architecture Digest
Architecture Digest
Jun 24, 2018 · Databases

Designing a High‑Availability Redis Service with Sentinel

This article explains how to build a highly available Redis service using Sentinel, discusses failure scenarios, compares single‑instance, master‑slave, and multi‑Sentinel architectures, and provides practical guidance on deployment, VIP handling, and operational considerations.

RedisSentineloperations
0 likes · 11 min read
Designing a High‑Availability Redis Service with Sentinel
ITPUB
ITPUB
Jun 22, 2018 · Databases

How to Build a Highly Available Redis Service with Sentinel and Virtual IP

This article explains how to design and implement a highly available Redis deployment using master‑slave replication, multiple Redis Sentinel instances, and a virtual IP to provide seamless failover while maintaining simple client connectivity, covering failure scenarios, architecture choices, and practical configuration tips.

DatabaseFailoverRedis
0 likes · 12 min read
How to Build a Highly Available Redis Service with Sentinel and Virtual IP
Java Captain
Java Captain
Jun 18, 2018 · Backend Development

Building a Spring Boot Web Application with MyBatis and Redis Caching

This tutorial demonstrates how to quickly build a modern Java web application using Spring Boot, integrate MyBatis as the ORM, configure Redis as a second‑level cache, and write unit tests with H2, providing step‑by‑step code and configuration details for backend developers.

JavaMyBatisRedis
0 likes · 17 min read
Building a Spring Boot Web Application with MyBatis and Redis Caching
JD Tech
JD Tech
Jun 14, 2018 · Operations

Design and Implementation of a Lightweight Service Monitoring and Traffic Management System

This article shares the design and implementation of a lightweight, robust, and low‑intrusion monitoring management system for microservice traffic, detailing data collection via client filters, Redis‑based structured storage, alerting, rate‑limiting, degradation, and authorization mechanisms, and discusses performance optimizations and future improvements.

RedisTraffic Managementmicroservices
0 likes · 11 min read
Design and Implementation of a Lightweight Service Monitoring and Traffic Management System
High Availability Architecture
High Availability Architecture
Jun 1, 2018 · Databases

Redis 5.0 New Features and Migration Considerations

The article outlines Redis 5.0's major new capabilities—including Streams, module APIs, enhanced RDB metadata, cluster management improvements, new sorted‑set commands, active memory defragmentation, HyperLogLog upgrades, better memory reporting, HELP sub‑commands, connection performance, bug fixes, and Jemalloc 5.1—while also detailing important migration notes from version 4.0 and providing a reference link to the Streams introduction.

DatabaseRDBRedis
0 likes · 4 min read
Redis 5.0 New Features and Migration Considerations
ITPUB
ITPUB
May 31, 2018 · Databases

Mastering Redis: Why It’s Fast, Common Pitfalls, and How to Solve Them

This article provides a comprehensive review of Redis, covering why it’s used, its performance advantages, single‑threaded speed, data types and use cases, expiration policies, memory eviction strategies, consistency challenges, and practical solutions for cache penetration, avalanche, and concurrent key competition.

Data TypesPerformanceRedis
0 likes · 16 min read
Mastering Redis: Why It’s Fast, Common Pitfalls, and How to Solve Them
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 27, 2018 · Databases

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

This article outlines Alibaba Cloud Redis development guidelines, covering key naming conventions, value design, command usage, client configuration, lifecycle management, and recommended tools, providing practical recommendations to avoid common pitfalls, improve performance, and ensure reliable operation of Redis in production environments.

Alibaba CloudDatabaseKey Design
0 likes · 9 min read
Best Practices for Using Alibaba Cloud Redis: Key Design, Command Usage, Client Configuration, and Tools
ITPUB
ITPUB
May 27, 2018 · Databases

Comparing Redis Cluster Architectures: Codis‑Style, Alibaba, Baidu BDRP, JD, and Official Redis Cluster

This article compares several Redis cluster solutions—including Codis‑style architecture, Alibaba Cloud ApsaraCache, Baidu BDRP 2.0, JD's custom implementation, the official Redis Cluster, AWS ElasticCache, and Baidu Tieba's ksarch‑saas—detailing their components, sharding methods, migration strategies, and deployment scenarios.

Alibaba CloudBaiduCluster
0 likes · 8 min read
Comparing Redis Cluster Architectures: Codis‑Style, Alibaba, Baidu BDRP, JD, and Official Redis Cluster
360 Tech Engineering
360 Tech Engineering
May 22, 2018 · Databases

Understanding Redis Rehash Mechanism and Implementation

This article explains how Redis uses a dual‑hashtable structure and a progressive rehash process to handle hash collisions, detailing the rehash conditions, migration steps, and performance implications for in‑memory key‑value storage.

Hash TableIn-Memory DatabasePerformance
0 likes · 6 min read
Understanding Redis Rehash Mechanism and Implementation
Architecture Digest
Architecture Digest
May 17, 2018 · Backend Development

Implementing a Distributed Lock with Redis in Java

This article explains the principles of distributed locks, discusses why they are needed in distributed applications, and provides a complete Java implementation using Redis’s NX and EX parameters, including lock acquisition, blocking and non‑blocking modes, unlocking with Lua scripts, configuration, usage examples, and testing strategies.

JavaRedisconcurrency
0 likes · 12 min read
Implementing a Distributed Lock with Redis in Java
dbaplus Community
dbaplus Community
May 15, 2018 · Operations

Why High‑Throughput Redis Still Drops Packets: Deep Dive into Linux Network Stack and Interrupt Optimization

The article investigates massive packet loss in Meituan‑Dianping's Redis service despite 10 Gbps NIC upgrades, traces the issue to kernel receive‑buffer drops and single‑CPU interrupt handling, and presents a step‑by‑step optimization using backlog tuning, CPU and Redis affinity, and NUMA‑aware placement to eliminate drops and improve latency.

NUMAPerformance TuningRedis
0 likes · 30 min read
Why High‑Throughput Redis Still Drops Packets: Deep Dive into Linux Network Stack and Interrupt Optimization
Architecture Digest
Architecture Digest
May 14, 2018 · Backend Development

Implementing and Optimizing a High‑Concurrency Flash Sale System with Optimistic Lock, Distributed Rate Limiting, Redis Cache, and Kafka

This article walks through building a Java‑based flash‑sale (秒杀) service, diagnosing overselling issues, and progressively enhancing it with optimistic locking, distributed rate limiting, Redis caching, and asynchronous Kafka processing to achieve higher throughput and data consistency under heavy concurrency.

Distributed Rate LimitingJavaKafka
0 likes · 14 min read
Implementing and Optimizing a High‑Concurrency Flash Sale System with Optimistic Lock, Distributed Rate Limiting, Redis Cache, and Kafka
dbaplus Community
dbaplus Community
May 13, 2018 · Backend Development

Mastering Distributed Cache: Programming Techniques, Sharding Strategies, and Migration Plans

This article explains why distributed caching is essential for high‑traffic services, presents three programming approaches (direct code, Spring‑Data‑Redis injection, and annotation‑based), compares three cache‑access patterns, details sharding models, outlines smooth and offline migration steps, and addresses cache penetration, concurrency, avalanche, and transaction support with concrete code examples.

CacheJavaRedis
0 likes · 22 min read
Mastering Distributed Cache: Programming Techniques, Sharding Strategies, and Migration Plans
MaGe Linux Operations
MaGe Linux Operations
Apr 29, 2018 · Backend Development

Unlock Redis Performance: Deep Dive into Its Memory Model and Optimization

This article explains Redis's memory model—including memory statistics, allocation, object structures, internal encoding, and practical optimization techniques—so developers can accurately estimate memory usage, reduce fragmentation, and choose the most efficient data representations for high‑performance applications.

Memory ModelOptimizationRedis
0 likes · 32 min read
Unlock Redis Performance: Deep Dive into Its Memory Model and Optimization
Meitu Technology
Meitu Technology
Apr 23, 2018 · Backend Development

Design and Evolution of Live Streaming Bullet Comment System: From HTTP Polling to Long Connection

Meipai’s live‑stream bullet‑comment platform progressed from an initial HTTP‑polling design supporting one million users, through a high‑availability dual‑room architecture, to a scalable long‑connection system with gRPC routing, dynamic degradation, and caching, solving message ordering, Redis bottlenecks, and ensuring seamless user experience.

Real-time messagingRedisbullet comment system
0 likes · 11 min read
Design and Evolution of Live Streaming Bullet Comment System: From HTTP Polling to Long Connection
Java Backend Technology
Java Backend Technology
Apr 22, 2018 · Backend Development

How to Build a Scalable Short URL Service: Algorithms, Use Cases, and Code

This article explores the concept of short URLs, their practical applications such as social media and QR codes, discusses various generation methods, presents algorithmic designs like incremental ID encoding and caching strategies, and provides a reference implementation for building a reliable URL shortening service.

AlgorithmRedisbackend
0 likes · 12 min read
How to Build a Scalable Short URL Service: Algorithms, Use Cases, and Code
Java Backend Technology
Java Backend Technology
Apr 18, 2018 · Databases

Unlocking Redis: Deep Dive into Its Memory Model and Optimization Techniques

This article explains Redis’s memory model—including memory statistics, allocation, object structures, internal encodings, and practical optimization strategies—providing detailed insights into how Redis stores data, manages memory fragmentation, and how developers can estimate and reduce memory usage for high‑performance deployments.

Data StructuresMemory ModelOptimization
0 likes · 30 min read
Unlocking Redis: Deep Dive into Its Memory Model and Optimization Techniques
Java Captain
Java Captain
Apr 18, 2018 · Backend Development

Java Shopping Cart Implementation Using Cookies, Redis, and Spring MVC

This article explains how to implement a shopping cart in Java by handling four login scenarios, defining BuyerCart and BuyerItem beans, using JavaScript and Spring MVC controllers to add items, persisting cart data in cookies or Redis, converting objects to JSON with ObjectMapper, managing sessions, and validating stock before checkout.

JavaRedisShopping Cart
0 likes · 17 min read
Java Shopping Cart Implementation Using Cookies, Redis, and Spring MVC
JD Retail Technology
JD Retail Technology
Apr 18, 2018 · Information Security

Secure One‑Time Token Design for Long‑Connection Services

The article explains the challenges of protecting long‑connection services from abuse and presents a one‑time secure token architecture—including gateway SDK, token generation, Redis caching, and verification modules—to ensure authentication, prevent replay attacks, and improve service robustness.

AuthenticationRedisSecurity Token
0 likes · 10 min read
Secure One‑Time Token Design for Long‑Connection Services
ITPUB
ITPUB
Apr 14, 2018 · Databases

Designing a Highly Available Redis Service with Sentinel and Multi‑Sentinel Architecture

This article explains how to define high availability for Redis, enumerates typical failure scenarios, compares four deployment patterns—from a single instance to a three‑sentinel setup—and provides practical steps, diagrams, and tips for achieving reliable Redis service using Sentinel and virtual IP failover.

DatabaseFailoverRedis
0 likes · 14 min read
Designing a Highly Available Redis Service with Sentinel and Multi‑Sentinel Architecture
MaGe Linux Operations
MaGe Linux Operations
Apr 11, 2018 · Big Data

Master ELK Stack: Install & Configure Elasticsearch, Logstash, Kibana

This step‑by‑step guide walks you through setting up the ELK stack on CentOS 6, covering Elasticsearch repository configuration, Java installation, Elasticsearch tuning, Logstash pipelines, Kibana deployment, Redis integration, and practical log collection for system, Apache, Nginx, and MySQL logs.

ELKElasticsearchInstallation
0 likes · 22 min read
Master ELK Stack: Install & Configure Elasticsearch, Logstash, Kibana
ITPUB
ITPUB
Apr 2, 2018 · Backend Development

How to Share PHP Sessions Across Load‑Balanced Servers Using Redis

This guide explains the session‑sharing problem caused by load balancing, introduces Redis as a shared storage solution, and provides step‑by‑step instructions—including php.ini changes, runtime ini_set calls, and a custom session‑handler class—to configure PHP to store sessions in Redis, with code examples and verification commands.

PHPRedisload balancing
0 likes · 11 min read
How to Share PHP Sessions Across Load‑Balanced Servers Using Redis
dbaplus Community
dbaplus Community
Mar 25, 2018 · Backend Development

Redis vs Memcached vs Tair: Choosing the Right Distributed Cache for Production

This article compares the three most common distributed cache solutions—Redis, Memcached, and Alibaba's Tair—across nine technical dimensions, then dives into Redis fundamentals, high‑availability setups with Sentinel, and cluster sharding to help engineers make informed cache‑selection decisions.

ClusterMemcachedRedis
0 likes · 16 min read
Redis vs Memcached vs Tair: Choosing the Right Distributed Cache for Production
Architect's Tech Stack
Architect's Tech Stack
Mar 24, 2018 · Databases

Understanding Redis Persistence: RDB and AOF Mechanisms

This article explains Redis's two persistence methods—RDB snapshots and AOF append‑only logs—including their operation, configuration options, advantages, disadvantages, and guidance on choosing the appropriate strategy for data durability and recovery.

AOFData RecoveryPersistence
0 likes · 7 min read
Understanding Redis Persistence: RDB and AOF Mechanisms
Efficient Ops
Efficient Ops
Mar 19, 2018 · Databases

Redis Deep Dive: Core Technologies, Evolution, and Real-World Practices

In this interview, Redis China User Group chair Zhang Donghong shares the database’s key features, version history, data types, high‑availability options, clustering mechanics, automation challenges, future trends, and practical advice for beginners, illustrating how Redis powers massive online services.

ClusterDatabase ArchitectureNoSQL
0 likes · 21 min read
Redis Deep Dive: Core Technologies, Evolution, and Real-World Practices
Practical DevOps Architecture
Practical DevOps Architecture
Mar 19, 2018 · Operations

Common Linux Server Administration Tasks: Redis Password Setup, MySQL Replication Recovery, Nginx HTTPS Redirection, Security Measures, Zabbix Monitoring, and Configuration Tips

This guide provides step‑by‑step instructions for securing Redis with a password, recovering MySQL master‑slave replication, redirecting HTTP to HTTPS in Nginx, defending Linux servers against attacks, configuring Zabbix monitoring for MySQL, and various Nginx and MySQL configuration tricks.

MySQLRedisServer Administration
0 likes · 8 min read
Common Linux Server Administration Tasks: Redis Password Setup, MySQL Replication Recovery, Nginx HTTPS Redirection, Security Measures, Zabbix Monitoring, and Configuration Tips
Programmer DD
Programmer DD
Mar 17, 2018 · Backend Development

How to Optimize JedisPool Settings for High‑Performance Redis Connections

This article explains how to correctly configure JedisPool and its underlying GenericObjectPoolConfig, provides Maven dependency details, demonstrates pool initialization and usage patterns, and offers practical recommendations for maxTotal, maxIdle, minIdle, idle monitoring, and warm‑up to ensure stable and efficient Redis operations in Java applications.

ConfigurationJavaPerformance
0 likes · 9 min read
How to Optimize JedisPool Settings for High‑Performance Redis Connections
Test Development Learning Exchange
Test Development Learning Exchange
Mar 17, 2018 · Databases

How to Set Up a Redis Cluster on macOS

This guide explains why a Redis cluster is needed for large data sets, describes the hash‑slot architecture introduced in Redis 3.0, and provides step‑by‑step instructions—including directory creation, configuration changes, instance startup, Ruby gem installation, and cluster creation commands—to build a functional Redis cluster on a Mac.

ClusterDatabaseRedis
0 likes · 8 min read
How to Set Up a Redis Cluster on macOS
Meituan Technology Team
Meituan Technology Team
Mar 15, 2018 · Operations

Root Cause Analysis and Optimization of Network Packet Loss in High‑Traffic Redis Services

Through kernel‑level analysis we discovered that Redis packet loss stemmed from rx_dropped buffer exhaustion caused by interrupt‑handling backlogs, and resolved it by assigning NIC interrupts to specific cores on one NUMA node while binding Redis processes to the other, eliminating loss under dual‑10 GbE load.

Linux kernelNAPIRedis
0 likes · 33 min read
Root Cause Analysis and Optimization of Network Packet Loss in High‑Traffic Redis Services
Java Backend Technology
Java Backend Technology
Mar 12, 2018 · Backend Development

How to Prevent Redis Cache Avalanche, Penetration, Warmup, and Downgrade

This article explains common Redis caching problems—including cache avalanche, cache penetration, cache warmup, cache update, and cache downgrade—and offers practical, entry‑level solutions such as distributed locking, random expiration, bloom filters, pre‑loading strategies, and graceful degradation to keep systems stable under load.

Cache AvalancheCache PenetrationRedis
0 likes · 10 min read
How to Prevent Redis Cache Avalanche, Penetration, Warmup, and Downgrade
Java Backend Technology
Java Backend Technology
Mar 7, 2018 · Databases

Why Is Redis So Fast? Secrets of Its Speed and Single-Threaded Design

This article explains what Redis is, outlines its common data structures and persistence options, and delves into why Redis achieves exceptionally high performance through in‑memory storage, a single‑threaded event loop, multiplexed I/O, and simple data models, providing interview‑ready insights.

In-Memory DatabaseRedissingle-threaded
0 likes · 9 min read
Why Is Redis So Fast? Secrets of Its Speed and Single-Threaded Design
ITPUB
ITPUB
Feb 2, 2018 · Databases

Mastering Redis: Essential Commands and Practical Examples

This guide introduces Redis as an advanced key‑value store, explains how to start the server and use its CLI tools, and provides detailed command references and demos for strings, lists, sets, sorted sets, hashes, transactions, replication, and pub/sub.

CLIDatabase CommandsRedis
0 likes · 15 min read
Mastering Redis: Essential Commands and Practical Examples
dbaplus Community
dbaplus Community
Feb 1, 2018 · Databases

Building a Reliable Geo‑Active Dual‑Active Architecture for Massive Online Games

This article details a two‑stage approach for creating a geo‑distributed active‑active infrastructure for large‑scale games, covering a pseudo active‑active design with private lines and smart DNS, followed by a true active‑active solution using Redis Sentinel and MySQL clustering with performance comparisons.

Active-ActiveGame BackendMySQL Cluster
0 likes · 8 min read
Building a Reliable Geo‑Active Dual‑Active Architecture for Massive Online Games
Architecture Digest
Architecture Digest
Jan 28, 2018 · Backend Development

Handling High-Concurrency Flash Sale in PHP: Preventing Overselling with Database Locks, Transactions, File Locks, and Redis Queues

This article explains the challenges of high‑concurrency flash‑sale systems, analyzes the overselling problem caused by simultaneous database updates, and presents four optimization strategies—including unsigned fields, MySQL transactions, file locks, and Redis queues—accompanied by complete PHP code examples and test data.

MySQLPHPRedis
0 likes · 12 min read
Handling High-Concurrency Flash Sale in PHP: Preventing Overselling with Database Locks, Transactions, File Locks, and Redis Queues
MaGe Linux Operations
MaGe Linux Operations
Jan 25, 2018 · Databases

Master Redis: Data Structures, Commands, and Performance Tuning Explained

This comprehensive guide introduces Redis fundamentals, covering its core data structures and essential commands, then delves into performance optimization, high‑availability setups with replication and Sentinel, and scaling strategies using Redis Cluster, providing practical examples and best‑practice recommendations for robust in‑memory data management.

ClusteringData StructuresPerformance Tuning
0 likes · 29 min read
Master Redis: Data Structures, Commands, and Performance Tuning Explained
Efficient Ops
Efficient Ops
Jan 24, 2018 · Databases

Redis vs Memcached: Which In‑Memory Store Wins on Performance and Features?

Redis and Memcached are compared across network I/O models, supported data structures, memory management, persistence, consistency, and clustering, revealing Redis’s richer feature set and flexibility while highlighting Memcached’s simplicity and speed, helping developers choose the right in‑memory solution for their workloads.

In-Memory DatabaseMemcachedMemory Management
0 likes · 12 min read
Redis vs Memcached: Which In‑Memory Store Wins on Performance and Features?
AI Cyberspace
AI Cyberspace
Jan 15, 2018 · Backend Development

Mastering Celery: Build Distributed Task Queues with RabbitMQ & Redis

This article introduces Celery, a flexible Python distributed task queue, explains its architecture—including broker, beat, worker, and result backend—then provides a complete, step‑by‑step setup using RabbitMQ and Redis, covering installation, configuration, task definition, worker launch, custom exchanges, and queue routing.

Distributed Task QueuePythonRedis
0 likes · 10 min read
Mastering Celery: Build Distributed Task Queues with RabbitMQ & Redis
iQIYI Technical Product Team
iQIYI Technical Product Team
Jan 12, 2018 · Backend Development

Couchbase Caching Optimization and Case Studies in iQIYI's Bubble Social Backend

The article details iQIYI’s Bubble social service cache architecture, comparing Couchbase and Redis, explaining vBucket design and management UI, and presenting three real‑world optimizations—like‑system key redesign, voting‑system aggregation, and SDK upgrade—along with migration, synchronization, and operational best‑practice recommendations.

Cache OptimizationCouchbasePerformance Tuning
0 likes · 16 min read
Couchbase Caching Optimization and Case Studies in iQIYI's Bubble Social Backend
Snowball Engineer Team
Snowball Engineer Team
Jan 12, 2018 · Operations

RDR: An Open-Source Tool for Visualizing and Analyzing Redis Memory Usage

This article introduces RDR, an open-source visualization platform developed by Xueqiu's SRE team to safely and efficiently analyze Redis memory consumption by parsing RDB files, estimating key-level memory usage based on internal data structures, and generating intuitive statistical reports for operational optimization.

Memory AnalysisRDB ParsingRedis
0 likes · 9 min read
RDR: An Open-Source Tool for Visualizing and Analyzing Redis Memory Usage
ITPUB
ITPUB
Dec 22, 2017 · Databases

Mastering Redis: Key Design and Data‑Type Use Cases

This guide explains Redis’s core features, shows how to design clear key naming conventions, and demonstrates practical applications of the string, hash, list, set, and sorted‑set data types with concrete commands and examples for building fast, memory‑based caches.

Data TypesDatabaseKey Design
0 likes · 10 min read
Mastering Redis: Key Design and Data‑Type Use Cases
21CTO
21CTO
Dec 6, 2017 · Backend Development

How Ctrip Built a High‑Performance Distributed ID Generator for Millions of Users

This article explains Ctrip's design of a globally unique, high‑concurrency user ID generator for sharded MySQL databases, reviews common industry solutions, and details the final optimized approach that combines a MySQL auto‑increment table with in‑memory segment allocation to achieve millisecond‑level response times.

JavaMySQLRedis
0 likes · 8 min read
How Ctrip Built a High‑Performance Distributed ID Generator for Millions of Users
ITPUB
ITPUB
Nov 30, 2017 · Databases

Mastering Redis: Key Design and Data Type Use Cases

This guide explains Redis's core characteristics, practical key‑naming conventions, and detailed application scenarios for each data type—including strings, hashes, lists, sets, and sorted sets—complete with code examples and performance tips.

Data TypesKey DesignPerformance
0 likes · 9 min read
Mastering Redis: Key Design and Data Type Use Cases
Qunar Tech Salon
Qunar Tech Salon
Nov 28, 2017 · Backend Development

Optimizing the TTS Pricing Engine: From Monolithic V1 to Scalable V2 Architecture

This article details the evolution of Qunar's TTS pricing engine from a monolithic V1 implementation with dual-level caching and blocking HTTP interfaces to a scalable V2 architecture featuring service separation, asynchronous processing, CQRS-based rule storage, canal synchronization, Solr and Redis indexing, and Kafka-driven data pipelines.

CQRSData synchronizationPricing Engine
0 likes · 10 min read
Optimizing the TTS Pricing Engine: From Monolithic V1 to Scalable V2 Architecture
21CTO
21CTO
Nov 26, 2017 · Backend Development

How to Implement Effective Rate Limiting with Guava and Redis

This article explains why rate limiting is essential for high‑traffic services, describes the token‑bucket algorithm, shows how to use Guava's RateLimiter and Cache for single‑node limits, and presents a Redis‑based solution that works across distributed instances.

GuavaRedisbackend
0 likes · 7 min read
How to Implement Effective Rate Limiting with Guava and Redis
Yuewen Technology
Yuewen Technology
Nov 24, 2017 · Backend Development

How to Build a Scalable Distributed Task Scheduler from Scratch

This article outlines the shortcomings of using crontab for large‑scale job execution, defines the requirements for a custom distributed scheduler, describes its three‑component architecture (trigger, monitor, management), and details key technical solutions such as process isolation, distributed locking, and log aggregation.

QuartzRedisTask Scheduling
0 likes · 12 min read
How to Build a Scalable Distributed Task Scheduler from Scratch
Ctrip Technology
Ctrip Technology
Nov 16, 2017 · Backend Development

Design and Implementation of a Distributed Unique ID Generator for Ctrip User Accounts

This article describes Ctrip's design of a distributed, globally unique user ID generator for MySQL migration, covering requirements, evaluation of common approaches such as auto‑increment, UUID, Snowflake and Redis, and detailing the final Flicker‑based solution with segment caching using AtomicLong to achieve high concurrency and reliability.

RedisUnique IDbackend
0 likes · 9 min read
Design and Implementation of a Distributed Unique ID Generator for Ctrip User Accounts
dbaplus Community
dbaplus Community
Nov 15, 2017 · Databases

How to Optimize Redis Server Config, Eviction Policies, and Sentinel Failover

This article shares practical experiences and step‑by‑step guidance on tuning Redis server settings, choosing appropriate eviction policies, limiting client output buffers, disabling risky commands, handling Sentinel‑based master‑slave failover, and selecting the right persistence strategy for reliable and high‑performance deployments.

Performance TuningPersistenceRedis
0 likes · 17 min read
How to Optimize Redis Server Config, Eviction Policies, and Sentinel Failover
21CTO
21CTO
Nov 8, 2017 · Backend Development

Mastering Redis Distributed Locks: From Basics to Robust Java Implementations

This article explains how to build reliable distributed locks with Redis, covering essential commands, common pitfalls, improvements using GETSET, Lua scripting for atomicity, and complete Java code examples that address deadlock and unlock vulnerabilities.

JavaLua ScriptRedis
0 likes · 15 min read
Mastering Redis Distributed Locks: From Basics to Robust Java Implementations