Tagged articles
3249 articles
Page 31 of 33
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.

Backend DevelopmentCookieJava
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.

DatabaseRedisarchitecture
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.

PHPRedisSession
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.

LinuxMySQLRedis
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.

Connection PoolJavaJedis
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 kernelNAPIPacket Loss
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.

Rediscache warmupcache-avalanche
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.

Data StructuresPerformance tuningRedis
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 DatabaseMemcachedRedis
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.

Backend DevelopmentDistributed Task QueuePython
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.

Open SourceOperationsRDB Parsing
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.

Backend DevelopmentData TypesDatabase
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.

Distributed SystemsJavaMySQL
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.

CachingData TypesKey Design
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.

CQRSCachingRedis
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.

Distributed SystemsGuavaRedis
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.

Distributed SystemsQuartzRedis
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
dbaplus Community
dbaplus Community
Nov 2, 2017 · Databases

What Makes Alibaba’s ApsaraCache, Codis, and Redisson Stand Out in the Redis Ecosystem?

This article summarizes key insights from the Redis track at the Cloud Xi Conference, covering Alibaba Cloud ApsaraCache's unique features, Redis Enterprise's market dominance and modules, Codis's evolution and asynchronous migration techniques, and Redisson's advanced Java client capabilities for distributed caching and locking.

ApsaraCacheCachingCodis
0 likes · 12 min read
What Makes Alibaba’s ApsaraCache, Codis, and Redisson Stand Out in the Redis Ecosystem?
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Oct 30, 2017 · Databases

Inside Memcached vs Redis: Architecture, Memory, and Persistence

An in‑depth comparison of Memcached and Redis reveals how both key‑value cache servers operate, covering their service models, event loops, memory allocation strategies, database implementations, persistence mechanisms, transaction support, and publish/subscribe features, highlighting the trade‑offs between simplicity and rich functionality.

CachePersistenceRedis
0 likes · 33 min read
Inside Memcached vs Redis: Architecture, Memory, and Persistence
ITPUB
ITPUB
Oct 22, 2017 · Databases

Mastering Redis: Core Data Structures, Commands, and Performance Tuning

Redis is an open-source, in-memory data store offering versatile structures and commands; this guide explains its fundamentals, key data types, essential commands, practical examples, performance optimization techniques, replication, clustering, and Java client choices to help you design robust, high-performance Redis solutions.

ClusterData StructuresJava Client
0 likes · 29 min read
Mastering Redis: Core Data Structures, Commands, and Performance Tuning
21CTO
21CTO
Oct 19, 2017 · Backend Development

How to Tackle 50k QPS Flash Sale: Backend Design, Overload Protection, and Anti‑Cheat Strategies

This article examines the technical challenges of handling 50,000 requests per second in flash‑sale systems, covering request interface design, high‑concurrency bottlenecks, overload protection, anti‑cheat mechanisms, and data‑safety techniques such as Redis caching, pessimistic and optimistic locking.

Redisanti-cheatbackend optimization
0 likes · 16 min read
How to Tackle 50k QPS Flash Sale: Backend Design, Overload Protection, and Anti‑Cheat Strategies
ITPUB
ITPUB
Oct 11, 2017 · Databases

Redis vs Memcached: Which In‑Memory Store Wins for Your Needs?

This article compares Redis and Memcached across data‑type support, memory management, persistence mechanisms, and clustering features, highlighting their architectural differences, performance trade‑offs, and suitable use‑cases to help developers choose the right in‑memory storage solution.

CachingClusterIn-Memory Database
0 likes · 18 min read
Redis vs Memcached: Which In‑Memory Store Wins for Your Needs?
21CTO
21CTO
Sep 29, 2017 · Backend Development

How to Survive Flash‑Sale Traffic: Backend Strategies for 100k QPS

This article examines the technical challenges of handling massive concurrent requests during flash‑sale and ticket‑buying events, offering practical backend design, performance tuning, anti‑cheat measures, and data‑safety techniques to keep web systems stable under extreme load.

RedisSecuritybackend optimization
0 likes · 16 min read
How to Survive Flash‑Sale Traffic: Backend Strategies for 100k QPS
vivo Internet Technology
vivo Internet Technology
Sep 26, 2017 · Databases

Redis Technology Salon - Shenzhen Event Report

On September 23 2017, the CRUG Redis Technology Salon in Shenzhen, hosted by vivo, gathered about one hundred developers and five experts from Tencent, Sina and Vivo to share practical Redis experiences, discuss its memory‑store advantages, enjoy prizes, live Q&A, and receive a downloadable PPT via the official WeChat account.

Cloud ComputingDeveloper EventRedis
0 likes · 3 min read
Redis Technology Salon - Shenzhen Event Report
ITPUB
ITPUB
Sep 26, 2017 · Databases

Mastering Redis: Installation, Data Types, and Advanced Features Explained

This article provides a comprehensive guide to Redis, covering installation steps, core data structures such as strings, hashes, lists, sets and sorted sets, and advanced capabilities like pub/sub, transactions, pipelining, and persistence, plus practical client examples and a summary of its performance advantages.

Advanced FeaturesData TypesIn-Memory Database
0 likes · 12 min read
Mastering Redis: Installation, Data Types, and Advanced Features Explained
Architecture Digest
Architecture Digest
Sep 18, 2017 · Backend Development

Java Backend Engineer Learning Roadmap and Recommended Resources

This article presents a comprehensive Java backend engineer learning roadmap, outlining essential skills from version control and Maven to core Java, frameworks, system and JVM performance tuning, messaging middleware, OAuth, Redis, and data processing, accompanied by recommended books and online resources for each topic.

JVMJavaMessaging
0 likes · 13 min read
Java Backend Engineer Learning Roadmap and Recommended Resources
21CTO
21CTO
Sep 11, 2017 · Backend Development

How We Scaled Headline Recommendation Data with MySQL, Redis, and Pipeline Optimizations

This article details the architecture and evolution of a headline recommendation system, covering data aggregation, storage strategies using MySQL and Redis, challenges with reload latency and memory usage, and the optimizations—including data separation, Redis migration, and query pipeline improvements—that enabled scalable, efficient backend operations.

Redisdata storagepipeline
0 likes · 14 min read
How We Scaled Headline Recommendation Data with MySQL, Redis, and Pipeline Optimizations
vivo Internet Technology
vivo Internet Technology
Sep 8, 2017 · Backend Development

Compressing User Tags and Models with Protostuff and Gzip

By serializing user feature data with Java's Protostuff (built on Protobuf) and then applying JDK Gzip compression before storing it in Redis, the author shrank typical 70 KB per‑user payloads to under 10 KB, enabling billions of records with cross‑language compatibility and no schema‑breakage.

JavaProtostuffRedis
0 likes · 6 min read
Compressing User Tags and Models with Protostuff and Gzip
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Aug 30, 2017 · Databases

Choosing Between Memcached and Redis: Architecture, Performance, and Real-World Use Cases

This article examines the client‑server architecture of Memcached, the slab‑based memory management of both Memcached and Redis, compares their performance, memory efficiency, persistence, data structures and networking models, and presents practical Redis use cases such as caching, ranking, pub/sub, queues, and real‑time analytics.

CachingDatabaseRedis
0 likes · 25 min read
Choosing Between Memcached and Redis: Architecture, Performance, and Real-World Use Cases
Architects' Tech Alliance
Architects' Tech Alliance
Aug 30, 2017 · Backend Development

Mastering Cache: When, How, and Pitfalls for Backend Developers

This article explains why caching is essential for backend services, outlines common cache problems such as penetration, concurrency, and avalanche, and compares cache-aside, read/write‑through, and write‑back patterns with practical guidance on choosing and updating caches.

Cache InvalidationCachingRedis
0 likes · 8 min read
Mastering Cache: When, How, and Pitfalls for Backend Developers
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Aug 27, 2017 · Backend Development

Scaling Web Systems to 100M Daily Visits: Load Balancing and Caching

This article explains how a web system can evolve from handling 100,000 daily visits to over 100 million by progressively implementing multi‑level caching, various load‑balancing techniques—including HTTP redirects, reverse‑proxy, IP‑level, DNS, and GSLB—and optimizing MySQL through indexing, connection pooling, sharding, replication, and integrating memory caches such as Redis to ensure high performance and reliability.

Distributed SystemsMySQLRedis
0 likes · 21 min read
Scaling Web Systems to 100M Daily Visits: Load Balancing and Caching
Efficient Ops
Efficient Ops
Aug 24, 2017 · Databases

Mastering Redis Disaster Recovery: Sentinel and Manual Failover Strategies

This article explains how to protect Redis deployments from single‑point failures by using master‑slave replication, manual failover procedures, and the automated high‑availability Sentinel solution, providing practical guidance for reliable disaster recovery in non‑clustered environments.

Redishigh availabilitymaster-slave replication
0 likes · 11 min read
Mastering Redis Disaster Recovery: Sentinel and Manual Failover Strategies
Programmer DD
Programmer DD
Aug 9, 2017 · Information Security

Secure Spring Boot APIs with OAuth2: A Hands‑On Tutorial

This article walks through building a Spring Boot application that protects HTTP endpoints using OAuth2, covering password and client‑credentials flows, Maven setup, resource and authorization server configuration, in‑memory users, token retrieval, and accessing secured resources with detailed code examples.

API SecurityClient CredentialsJava
0 likes · 13 min read
Secure Spring Boot APIs with OAuth2: A Hands‑On Tutorial
MaGe Linux Operations
MaGe Linux Operations
Aug 8, 2017 · Backend Development

How to Build a Hearthstone Streamer Ranking Site with Python, Django, and LeanCloud

This article walks through creating a video‑aggregation platform for Hearthstone streamers by scraping data from sites like Douyu, processing it with Python regular expressions, storing results in Redis or LeanCloud, and exposing the rankings via a Django‑based web front‑end with periodic cloud‑function refreshes.

DjangoLeanCloudPython
0 likes · 11 min read
How to Build a Hearthstone Streamer Ranking Site with Python, Django, and LeanCloud
dbaplus Community
dbaplus Community
Aug 7, 2017 · Databases

Mastering MySQL Architecture: Standards, HA, Sharding, and Redis Integration

This article outlines comprehensive MySQL best practices, covering development and operational standards, high‑availability architecture choices such as Keepalived, MHA and Percona XtraDB Cluster, sharding strategies (vertical and horizontal), and how Redis can be leveraged to offload read pressure.

Database DesignMySQLRedis
0 likes · 19 min read
Mastering MySQL Architecture: Standards, HA, Sharding, and Redis Integration
Efficient Ops
Efficient Ops
Jul 26, 2017 · Databases

Mastering Redis: Data Structures, Commands, and Performance Tuning

This comprehensive guide introduces Redis fundamentals, explores its rich data structures and essential commands, delves into performance optimization techniques, explains replication and clustering strategies, and compares popular Java clients, providing practical examples and best‑practice recommendations for reliable, high‑performance deployments.

ClusterData StructuresJava Client
0 likes · 31 min read
Mastering Redis: Data Structures, Commands, and Performance Tuning
dbaplus Community
dbaplus Community
Jul 16, 2017 · Big Data

How Vipshop Scaled Real‑Time OLAP: From GreenPlum to Presto, Kylin, and Redis

Vipshop faced massive data growth that broke traditional RDBMS, causing slow OLAP queries, inefficient ETL, and long development cycles, so it iteratively rebuilt its analytics stack—adding Hadoop/Hive, a self‑service UI, Presto, Kylin, and Redis—to achieve sub‑second query responses, higher concurrency, and a flexible, low‑latency BI solution.

Data WarehouseKylinOLAP
0 likes · 23 min read
How Vipshop Scaled Real‑Time OLAP: From GreenPlum to Presto, Kylin, and Redis
ITPUB
ITPUB
Jul 11, 2017 · Databases

Designing a Multi‑Datacenter Redis Master‑Slave Architecture with Automatic Failover

This article outlines a comprehensive Redis multi‑datacenter deployment plan, detailing master‑backup placement, tree‑structured master‑slave topology across three sites, configuration checks, Pull&Push synchronization mechanics, and includes concrete code snippets illustrating connection, RDB generation, and incremental replication processes.

Master‑SlaveRedisbackend
0 likes · 9 min read
Designing a Multi‑Datacenter Redis Master‑Slave Architecture with Automatic Failover
Vipshop Quality Engineering
Vipshop Quality Engineering
Jul 11, 2017 · Backend Development

Why Master‑Slave Sync Delays Break Your Order Cache and How to Fix It

An order system retrieved incorrect product size data due to master‑slave database lag causing stale Redis cache, and the article explains the original flawed flow, the revised solution that writes to cache during sync, and best practices for cache updates, read‑through, and QA testing.

Backend ArchitectureCache InvalidationRead-Write Separation
0 likes · 5 min read
Why Master‑Slave Sync Delays Break Your Order Cache and How to Fix It
21CTO
21CTO
Jul 8, 2017 · Big Data

Ctrip’s Scalable Real‑Time User Behavior System with Kafka, Storm, Redis

This article details Ctrip’s redesign of its real‑time user behavior service, covering the new architecture, data flow, use of Java, Kafka, Storm, Redis, and MySQL, and how it achieves high real‑time performance, availability, scalability, and fault‑tolerance to support massive travel‑industry traffic.

KafkaMySQLRedis
0 likes · 12 min read
Ctrip’s Scalable Real‑Time User Behavior System with Kafka, Storm, Redis
21CTO
21CTO
Jun 23, 2017 · Backend Development

How to Build High‑Performance Search Queries with SQL and Redis

This article explores three progressive implementations for a complex e‑commerce search interface, comparing a monolithic SQL solution, an optimized multi‑query approach, and a Redis‑based caching strategy that leverages sets and sorted sets for fast, scalable results.

CachingRedisSQL
0 likes · 8 min read
How to Build High‑Performance Search Queries with SQL and Redis
21CTO
21CTO
Jun 20, 2017 · Backend Development

Mastering API Rate Limiting with Token Bucket and Redis

This article explains how to protect API servers from abuse by implementing rate limiting using the Token Bucket algorithm, discusses its drawbacks, and provides practical Java and Redis-based solutions with code examples and performance considerations.

JavaRate LimitingRedis
0 likes · 14 min read
Mastering API Rate Limiting with Token Bucket and Redis
Java Backend Technology
Java Backend Technology
Jun 19, 2017 · Databases

Design Efficient Redis Keys for Pattern‑Matching Queries

This article explains how to design concise Redis keys that enable multi‑condition and fuzzy queries by using a structured naming convention, demonstrates the implementation within a Java SSM project, and provides code snippets for key assembly, querying, and deletion.

DatabaseJavaKey Design
0 likes · 6 min read
Design Efficient Redis Keys for Pattern‑Matching Queries
21CTO
21CTO
Jun 18, 2017 · Databases

Mastering Redis High Availability: Sentinel, VIP, and Cluster Strategies

This article explains why Redis high‑availability is essential, details the inner workings of Redis Sentinel, compares several HA architectures—including Sentinel with DNS or VIP, client‑side Sentinel, Keepalived/Haproxy, Redis Cluster, Twemproxy, and Codis—lists their pros and cons, and shares practical best‑practice recommendations for building reliable Redis deployments.

ClusterDatabaseRedis
0 likes · 19 min read
Mastering Redis High Availability: Sentinel, VIP, and Cluster Strategies
Architecture Digest
Architecture Digest
Jun 16, 2017 · Databases

Redis High‑Availability Architecture and Best Practices

This article explains Redis fundamentals, details the Sentinel mechanism, compares several high‑availability deployment patterns—including Sentinel with DNS or VIP, client‑direct connections, Keepalived/Haproxy, Redis Cluster, Twemproxy, and Codis—provides their advantages and drawbacks, and offers practical best‑practice recommendations for reliable production use.

Best PracticesDatabase ArchitectureRedis
0 likes · 12 min read
Redis High‑Availability Architecture and Best Practices
Architecture Digest
Architecture Digest
Jun 12, 2017 · Databases

Redis Ziplist (Compressed List): Principles, Memory Layout, and Applications

This article explains the internal structure and encoding of Redis's ziplist (compressed list), describes its memory layout and node format, and analyzes how Redis leverages this data structure across different types such as lists, hashes, and sorted sets to reduce memory usage and fragmentation.

Compressed ListData StructuresMemory Optimization
0 likes · 8 min read
Redis Ziplist (Compressed List): Principles, Memory Layout, and Applications
Baidu Waimai Technology Team
Baidu Waimai Technology Team
Jun 6, 2017 · Backend Development

Design and Optimization of Baidu Waimai Activity Module Architecture

This article presents a comprehensive redesign of Baidu Waimai’s client‑side activity module, detailing background challenges, design goals, functional and performance specifications, trade‑off analyses of three architectural alternatives, and the chosen parallel HTTP‑request solution with monitoring, degradation, and phased rollout plans.

Performance OptimizationRedisScalability
0 likes · 8 min read
Design and Optimization of Baidu Waimai Activity Module Architecture
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
May 23, 2017 · Databases

Why Pika Is the Cost‑Effective, Large‑Scale Alternative to Redis

Pika, developed by 360’s Web Platform and DBA teams, is a Redis‑compatible, disk‑based key‑value store that addresses Redis’s high memory cost and scalability limits by offering persistent storage, multi‑threading, compression, and easy migration tools, making large‑capacity data handling cheaper and more reliable for enterprises.

Disk-Based DBPerformance OptimizationRedis
0 likes · 23 min read
Why Pika Is the Cost‑Effective, Large‑Scale Alternative to Redis
ITPUB
ITPUB
May 23, 2017 · Operations

How to Build a Distributed ELK+Redis Log Collection System on CentOS

This guide walks through setting up a distributed log collection and analysis platform using ELK (Elasticsearch, Logstash, Kibana) together with Redis on two CentOS machines, covering environment preparation, component installation, configuration, testing, and visualizing nginx access logs.

ELKElasticsearchKibana
0 likes · 16 min read
How to Build a Distributed ELK+Redis Log Collection System on CentOS
Architecture Digest
Architecture Digest
May 22, 2017 · Databases

Building a High‑Availability Redis System with Sentinel and VIP

This guide demonstrates how to configure a highly available Redis deployment using master‑slave replication, Redis Sentinel for automatic failover, and virtual IP (VIP) migration, covering environment setup, configuration files, firewall adjustments, testing procedures, and client connection strategies.

DatabaseRedisfailover
0 likes · 11 min read
Building a High‑Availability Redis System with Sentinel and VIP
ITPUB
ITPUB
May 19, 2017 · Databases

Optimizing Redis Master‑Slave Performance in Cloud Environments

This article examines common performance and reliability problems encountered in Redis master‑slave deployments—such as AOF and SAVE settings, key count mismatches, client output buffer limits, replication backlog size, and node liveness checks—and provides concrete configuration commands and tuning strategies to improve stability, especially in cloud environments.

DatabaseMaster‑SlavePerformance tuning
0 likes · 7 min read
Optimizing Redis Master‑Slave Performance in Cloud Environments
Architecture Digest
Architecture Digest
May 18, 2017 · Backend Development

Design and Architecture of Ctrip's Real‑Time User Behavior Service

The article describes how Ctrip rebuilt its real‑time user behavior platform using a Java‑based stack (Kafka, Storm, Redis, MySQL) to achieve millisecond‑level latency, high availability, scalable performance, and robust handling of traffic spikes, failures, and data back‑pressure.

Backend ArchitectureKafkaMySQL
0 likes · 12 min read
Design and Architecture of Ctrip's Real‑Time User Behavior Service
21CTO
21CTO
May 10, 2017 · Backend Development

How We Built a Scalable, Low‑Latency Ranking System for Millions of Users

This article describes the challenges and solutions behind designing a high‑availability, low‑latency ranking service that supports tens of thousands of leaderboards, optimizes storage engine choices, automates scheduling, and isolates resources using ZooKeeper, Redis, and container‑based deployments across multiple data centers.

ContainerizationLow latencyRedis
0 likes · 17 min read
How We Built a Scalable, Low‑Latency Ranking System for Millions of Users
ITPUB
ITPUB
Apr 28, 2017 · Databases

Redis vs Memcached: In‑Depth Technical Comparison of Features, Performance, and Architecture

This article provides a comprehensive technical comparison between Redis and Memcached, covering server‑side operations, memory efficiency, performance characteristics, supported data types, memory management mechanisms, persistence options, and clustering architectures, illustrated with diagrams and concrete command examples.

CachingData StructuresIn-Memory Database
0 likes · 19 min read
Redis vs Memcached: In‑Depth Technical Comparison of Features, Performance, and Architecture
dbaplus Community
dbaplus Community
Apr 18, 2017 · Databases

How to Build a Reliable Redis Sentinel HA Setup and Fix Password Auto‑Rewrite

This article explains how to deploy a Redis master‑slave cluster with Sentinel for high availability, details application configuration, highlights a subtle issue where Redis passwords are automatically rewritten after failover, and provides three remediation approaches including a source‑code patch with GitHub links.

Redisconfigurationhigh availability
0 likes · 7 min read
How to Build a Reliable Redis Sentinel HA Setup and Fix Password Auto‑Rewrite
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Apr 9, 2017 · Backend Development

Mastering Distributed Locks and Idempotency for High‑Concurrency Systems

This article explores the challenges of mutual exclusion and idempotency in distributed environments, explains the underlying principles of locks in multi‑threaded and multi‑process contexts, and presents practical implementations using Zookeeper, Redis, Tair, and the Cerberus and GTIS frameworks to ensure reliable, scalable operations.

ConcurrencyDistributed SystemsIdempotency
0 likes · 35 min read
Mastering Distributed Locks and Idempotency for High‑Concurrency Systems