Tagged articles

Redis

3563 articles · Page 35 of 36
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 DBRediskey-value store
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.

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

Master‑SlaveRediscloud
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.

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

RedisZooKeepercontainerization
0 likes · 17 min read
How We Built a Scalable, Low‑Latency Ranking System for Millions of Users
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
May 2, 2017 · Databases

Choosing the Right KV Store: Redis vs Redis Cluster vs Pika for High‑Scale 360 Applications

This article examines 360’s explosive KV storage demand and compares three solutions—Redis, Redis Cluster, and Pika—detailing their features, performance, persistence options, eviction policies, architectures, migration tools, and ideal usage scenarios for high‑traffic, large‑scale applications.

High PerformanceKV storagePika
0 likes · 17 min read
Choosing the Right KV Store: Redis vs Redis Cluster vs Pika for High‑Scale 360 Applications
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.

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

RedisZooKeeperconcurrency
0 likes · 35 min read
Mastering Distributed Locks and Idempotency for High‑Concurrency Systems
High Availability Architecture
High Availability Architecture
Apr 6, 2017 · Backend Development

Four Common API Rate Limiting Strategies and Their Implementation at Stripe

This article explains why availability and reliability are essential for web APIs, outlines four common rate‑limiting approaches used by Stripe—including request, concurrent, usage‑based, and worker‑utilization limiters—and provides practical guidance on implementing token‑bucket limiters with Redis while ensuring safe error handling and gradual rollout.

APIRedisStripe
0 likes · 9 min read
Four Common API Rate Limiting Strategies and Their Implementation at Stripe
Meituan Technology Team
Meituan Technology Team
Mar 17, 2017 · Fundamentals

Cache Fundamentals, Types, and Practical Applications in Web Development

The article surveys cache fundamentals—request flow, hit rates, eviction policies, and media—then compares local versus distributed caches and reviews concrete implementations such as programmatic caches, Ehcache, Guava, memcached, and Redis, before detailing Spring’s annotation‑driven caching and a Meituan case study on custom annotation caches.

JavaMemcachedRedis
0 likes · 36 min read
Cache Fundamentals, Types, and Practical Applications in Web Development
Java Backend Technology
Java Backend Technology
Mar 13, 2017 · Databases

Mastering Redis Persistence: RDB Snapshots and AOF Explained

This article explains why Redis data must be persisted, compares the two built‑in methods—RDB snapshotting and Append‑Only File (AOF)—and provides practical configuration tips, command usage, performance considerations, and verification tools for reliable backup and recovery.

AOFPersistenceRDB
0 likes · 11 min read
Mastering Redis Persistence: RDB Snapshots and AOF Explained
ITPUB
ITPUB
Mar 13, 2017 · Backend Development

How to Replace CouchDB with Redis for High‑Traffic Report Caching in Rails

This article explains why a legacy Rails 3 application switched from CouchDB to Redis for caching a heavy daily‑updated report, detailing the design, configuration files, service class, producer and consumer code, and the resulting performance improvements.

RailsRedisRuby
0 likes · 8 min read
How to Replace CouchDB with Redis for High‑Traffic Report Caching in Rails
Tencent Cloud Developer
Tencent Cloud Developer
Mar 10, 2017 · Information Security

Automated Exploitation of Common Vulnerabilities: MongoDB Ransomware, Struts2, Redis, and ElasticSearch Cases

The article shows how attackers automate mass exploitation of widely‑known flaws—scanning the Internet for open MongoDB, Redis, ElasticSearch or Struts2 services, using unauthenticated access or public PoCs to encrypt data, execute code, or build botnets, and stresses that timely patching and secure defaults are essential to stop such N‑day attacks.

ElasticsearchMongoDBRansomware
0 likes · 11 min read
Automated Exploitation of Common Vulnerabilities: MongoDB Ransomware, Struts2, Redis, and ElasticSearch Cases
dbaplus Community
dbaplus Community
Mar 9, 2017 · Databases

Why Redis Redlock May Not Be Safe: A Deep Dive into the Redlock Debate

An in‑depth review of the heated debate between Redis creator antirez and distributed‑systems expert Martin Kleppmann over the safety of Redis’s Redlock algorithm, covering single‑node lock pitfalls, failover issues, timing assumptions, fencing tokens, and practical recommendations for when to use Redlock versus simpler locks.

ConsistencyRedisRedlock
0 likes · 25 min read
Why Redis Redlock May Not Be Safe: A Deep Dive into the Redlock Debate
Java Backend Technology
Java Backend Technology
Mar 4, 2017 · Backend Development

How Spring Session Uses Redis to Share Distributed Sessions Across Domains

This article explains the inner workings of Spring Session with Redis, detailing how web.xml configuration, DelegatingFilterProxy, and the springSessionRepositoryFilter collaborate to replace the default HttpSession, wrap requests and responses, and enable distributed session sharing in a Java backend environment.

Distributed SessionJavaRedis
0 likes · 6 min read
How Spring Session Uses Redis to Share Distributed Sessions Across Domains
dbaplus Community
dbaplus Community
Feb 28, 2017 · Databases

How to Stop Bitcoin Ransomware Attacks on MySQL and Other Databases

This article reviews recent ransomware campaigns targeting MySQL, MongoDB, ElasticSearch, Hadoop, and Redis, explains how attackers exploit weak password policies, and provides concrete MySQL password‑policy settings, password‑less login configuration, and security checklists for multiple database platforms.

MongoDBMySQLRansomware
0 likes · 13 min read
How to Stop Bitcoin Ransomware Attacks on MySQL and Other Databases
Architecture Digest
Architecture Digest
Feb 28, 2017 · Big Data

Architecture and Real‑Time Processing Design of Tencent Analytics (TA)

This article explains the architecture, real‑time computation framework, and storage solutions of Tencent Analytics, detailing how massive TB‑level web‑traffic data are collected via JavaScript, processed in memory‑centric streaming components, and stored using Redis and LevelDB to achieve second‑level updates.

LevelDBNoSQLRedis
0 likes · 13 min read
Architecture and Real‑Time Processing Design of Tencent Analytics (TA)
转转QA
转转QA
Feb 13, 2017 · Databases

Redis Connection Pool Saturation: A Debugging Tale

A developer recounts how a Redis connection pool overflow across dozens of clusters was traced to a single misbehaving service, diagnosed with netstat and ps commands, and resolved by adjusting configuration and stopping the offending process, illustrating practical troubleshooting of connection limits.

MonitoringOperationsRedis
0 likes · 4 min read
Redis Connection Pool Saturation: A Debugging Tale
ITPUB
ITPUB
Jan 21, 2017 · Databases

How Redis Implements LRU Eviction: Deep Dive with Python Example

This article explains Redis's LRU eviction mechanism, starting with a brief LRU overview, presenting a Python LRU cache implementation, then detailing Redis's internal LRU clock, object fields, maxmemory policies, and both active and passive eviction processes, highlighting configuration impacts on performance.

Cache EvictionLRUPython
0 likes · 15 min read
How Redis Implements LRU Eviction: Deep Dive with Python Example
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jan 5, 2017 · Databases

Redis vs Memcached: Architecture, Data Types, and Real-World Use Cases

This article examines the MySQL‑Memcached architecture, explains Memcached’s slab memory management, compares Redis and Memcached across performance, memory efficiency, persistence and data structures, details Redis’s core data types and their internal implementations, and showcases practical use‑cases such as caching, ranking, queues, Pub/Sub and real‑time analytics.

Data StructuresMemcachedRedis
0 likes · 27 min read
Redis vs Memcached: Architecture, Data Types, and Real-World Use Cases
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jan 4, 2017 · Backend Development

Scaling Web Systems to 100M Visits: Load Balancing, Caching, and DB Tactics

This article explores how a web system can evolve from handling 100,000 daily visits to over 100 million by implementing multi‑layered load‑balancing strategies, optimizing MySQL with indexing and connection pooling, leveraging Redis and cache clusters, and employing geographic distribution and disaster‑recovery techniques to ensure performance and reliability.

CachingDistributed ArchitectureMySQL optimization
0 likes · 22 min read
Scaling Web Systems to 100M Visits: Load Balancing, Caching, and DB Tactics
Tencent Cloud Developer
Tencent Cloud Developer
Dec 26, 2016 · Databases

Analysis of Redis Design: Network Model, Data Structures, Memory Management, Persistence, and Clustering

The article dissects Redis’s architecture by examining its single‑threaded reactor network model, core data structures and memory‑management tactics, AOF/RDB persistence mechanisms, and master‑slave, Sentinel, and Cluster multi‑node strategies, highlighting how each design choice balances speed, memory usage, and system complexity.

ClusteringPersistenceRedis
0 likes · 16 min read
Analysis of Redis Design: Network Model, Data Structures, Memory Management, Persistence, and Clustering
dbaplus Community
dbaplus Community
Dec 14, 2016 · Backend Development

Master Memcached, Redis, and RabbitMQ: Install, Configure, and Use with Python

This guide walks through the fundamentals, installation steps, configuration details, and Python integration for three essential backend services—Memcached for high‑performance caching, Redis for persistent key‑value storage, and RabbitMQ for reliable messaging—complete with command‑line examples, code snippets, and best‑practice tips.

CachingMemcachedMessage Queue
0 likes · 19 min read
Master Memcached, Redis, and RabbitMQ: Install, Configure, and Use with Python
Architecture Digest
Architecture Digest
Nov 26, 2016 · Databases

Redis Cache Update Strategies and Best Practices

This article summarizes common Redis cache update problems, compares four update approaches—including proactive, passive, and pre‑loading methods—and recommends a pre‑load strategy with key versioning to avoid data loss, improve performance, and reduce memory waste.

RedisUpdate Strategycache
0 likes · 8 min read
Redis Cache Update Strategies and Best Practices
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Nov 24, 2016 · Fundamentals

Why Redlock May Not Be the Ultimate Distributed Lock (And What to Use Instead)

This article reviews the evolution of distributed locking—from simple MySQL table locks to Redis cache locks and the Redlock algorithm—examines expert criticisms of Redlock’s correctness, presents the Redis author’s rebuttal, and ultimately recommends Zookeeper as a more reliable solution for high‑availability distributed locks.

ConsensusRedisRedlock
0 likes · 22 min read
Why Redlock May Not Be the Ultimate Distributed Lock (And What to Use Instead)
Qunar Tech Salon
Qunar Tech Salon
Nov 23, 2016 · Databases

Redis Client/Server Interaction Process: A Step‑by‑Step Overview

This article provides a comprehensive, source‑code‑driven walkthrough of the Redis client‑server interaction, detailing the six main steps from socket establishment to command execution and response, while also covering auxiliary mechanisms such as beforeSleep processing, key expiration strategies, and the underlying epoll I/O multiplexing model.

EpollKey ExpirationRedis
0 likes · 16 min read
Redis Client/Server Interaction Process: A Step‑by‑Step Overview
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Nov 17, 2016 · Operations

Why Large Redis Instances Cause Disasters and How to Prevent Them

This article examines the operational challenges of oversized Redis instances—including slow failover, prolonged slave resynchronization, network‑induced avalanches, and persistence blocking—and offers practical mitigation strategies such as key expiration, data compression, and using high‑performance alternatives like Pika.

PikaRedisdatabase operations
0 likes · 9 min read
Why Large Redis Instances Cause Disasters and How to Prevent Them
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Nov 15, 2016 · Databases

How to Set Up Redis Master‑Slave Replication in Minutes

This guide walks you through configuring a simple Redis master‑slave setup, covering the benefits, step‑by‑step file modifications, essential replication directives, testing procedures, and common pitfalls to ensure high availability and read/write separation.

Master-Slave ReplicationRedisconfiguration
0 likes · 5 min read
How to Set Up Redis Master‑Slave Replication in Minutes
dbaplus Community
dbaplus Community
Nov 1, 2016 · Information Security

Exploiting Message Queue Injection to Hijack Distributed Nodes with Celery

The article explains how insecure serialization in message‑queue middleware, especially Python's pickle used by Celery, can be abused to inject malicious payloads that trigger remote code execution on distributed workers, and it demonstrates detection and exploitation techniques against vulnerable Redis and MongoDB brokers.

Message QueuePythonRedis
0 likes · 17 min read
Exploiting Message Queue Injection to Hijack Distributed Nodes with Celery
dbaplus Community
dbaplus Community
Oct 30, 2016 · Databases

Memcached vs Redis: Architecture, Memory Management & Persistence

This article provides a detailed comparison of Memcached and Redis by examining their service models, event loops, memory allocation strategies, database structures, persistence mechanisms (RDB and AOF), transaction support, and publish‑subscribe features, highlighting the design choices, trade‑offs, and implementation nuances of each key‑value caching system.

CachingMemcachedPersistence
0 likes · 35 min read
Memcached vs Redis: Architecture, Memory Management & Persistence
Architecture Digest
Architecture Digest
Oct 17, 2016 · Databases

Common Redis Data Types, Memory Optimizations, and Persistence Mechanisms

This article explains Redis's five primary data types—String, Hash, List, Set, and Sorted Set—detailing their commands, use‑cases, internal encodings, memory‑saving configuration parameters, and the available persistence strategies, while offering practical recommendations for production deployments.

Data TypesPersistenceRedis
0 likes · 14 min read
Common Redis Data Types, Memory Optimizations, and Persistence Mechanisms
ITPUB
ITPUB
Oct 15, 2016 · Databases

Mastering Redis: Data Types, Memory Tweaks, and Persistence Strategies

This article explains Redis's five core data types, their internal representations and typical commands, details memory‑saving parameters for each type, compares the four persistence methods with their trade‑offs, and offers practical recommendations for optimal performance and stability.

Data TypesMemory OptimizationRedis
0 likes · 16 min read
Mastering Redis: Data Types, Memory Tweaks, and Persistence Strategies
dbaplus Community
dbaplus Community
Oct 12, 2016 · Backend Development

How JD’s Flash‑Sale System Handles Millions of Requests with Redis‑Lua

This article explains the design of JD’s flash‑sale (抢购) system, covering its business model, core Redis‑based inventory management, Lua scripting for atomic stock deduction, rate‑limiting, asynchronous logging with JMQ, and fail‑over strategies to ensure high‑concurrency reliability.

High ConcurrencyLua scriptingRedis
0 likes · 12 min read
How JD’s Flash‑Sale System Handles Millions of Requests with Redis‑Lua
Meituan Technology Team
Meituan Technology Team
Oct 1, 2016 · Backend Development

Analysis of Mutual Exclusion and Idempotency Issues in Distributed Systems and Their Solutions

The article examines how distributed systems face mutual‑exclusion and idempotency challenges, explains traditional thread and process synchronization, then details distributed‑lock techniques (e.g., Zookeeper, Redis, Tair, Cerberus) and global‑ID‑based idempotent services, emphasizing the importance of external storage, fault‑tolerance, and proper lock granularity for reliable high‑throughput applications.

Java concurrencyRedisZooKeeper
0 likes · 36 min read
Analysis of Mutual Exclusion and Idempotency Issues in Distributed Systems and Their Solutions
ITPUB
ITPUB
Sep 25, 2016 · Databases

How Redis 2.8 Introduces Partial Replication to Avoid Full Sync on Network Glitches

This article explains Redis’s master‑slave replication mechanism, compares the full‑copy process of Redis 2.4.16 with the partial‑copy improvements introduced in Redis 2.8, details the state machine, replication‑cron workflow, repl_backlog buffer, run‑id handling, and configuration options for optimizing partial synchronization during network interruptions.

BackendPartial SyncRedis
0 likes · 11 min read
How Redis 2.8 Introduces Partial Replication to Avoid Full Sync on Network Glitches
dbaplus Community
dbaplus Community
Sep 20, 2016 · Backend Development

Zero‑Intrusion Data Fallback with Nginx + Lua: A Practical Guide

This article explains how to design a robust, zero‑intrusion data fallback component for high‑traffic web services using Nginx, Lua, and AOP principles, covering problem definition, architectural options, detailed execution steps, configuration snippets, storage choices, and performance monitoring.

AOPData FallbackLua
0 likes · 11 min read
Zero‑Intrusion Data Fallback with Nginx + Lua: A Practical Guide
MaGe Linux Operations
MaGe Linux Operations
Sep 19, 2016 · Databases

Master Redis Cluster Setup: From Basics to Scaling Nodes

Learn how to build and manage a Redis cluster on Linux, covering the rationale for clustering, hash slot mechanics, node configuration, adding/removing nodes, resharding, and integrating master‑slave replicas, with step‑by‑step commands and practical examples.

ClusterDevOpsLinux
0 likes · 11 min read
Master Redis Cluster Setup: From Basics to Scaling Nodes
GF Securities FinTech
GF Securities FinTech
Sep 14, 2016 · Big Data

Scaling Real-Time Stock Market Data with Redis, Lua, and Go Goroutines

Exploring how a securities firm processes billions of daily stock‑market indicators in real time, this article compares an in‑process Redis + Lua solution with an out‑of‑process Goroutine‑based architecture, detailing data flow, performance trade‑offs, and scalability considerations for high‑frequency time‑series workloads.

LuaReal-time DataRedis
0 likes · 12 min read
Scaling Real-Time Stock Market Data with Redis, Lua, and Go Goroutines
ITPUB
ITPUB
Aug 21, 2016 · Backend Development

How to Diagnose and Prevent Redis Data Loss in Production

This article examines common causes of Redis data loss, walks through a real‑world incident where 90,000 keys vanished, and provides concrete monitoring, configuration, and operational safeguards to detect and avoid such failures.

BackendData lossMonitoring
0 likes · 11 min read
How to Diagnose and Prevent Redis Data Loss in Production
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Aug 12, 2016 · Databases

Why Redis Replicas Return Expired Keys and How to Prevent It

The article explains how Redis replicas can return keys that should have expired due to the master‑only expiration process, describes the three expiration strategies (lazy, periodic, active), and offers practical solutions such as using SCAN or upgrading to Redis 3.2 to avoid stale reads.

RedisReplicationcache
0 likes · 9 min read
Why Redis Replicas Return Expired Keys and How to Prevent It
dbaplus Community
dbaplus Community
Aug 12, 2016 · Backend Development

Designing a High‑Performance In‑Memory Cache: Structures, Locks, and Go Concurrency

This article explores the fundamentals of building a high‑performance in‑memory cache, covering the relationship between caches and KV stores, various cache types, core data structures such as hash tables, lock strategies, rehash techniques, memory management, and network models, with practical examples and Go‑based concurrency designs.

GoMemoryManagementRedis
0 likes · 20 min read
Designing a High‑Performance In‑Memory Cache: Structures, Locks, and Go Concurrency
Java High-Performance Architecture
Java High-Performance Architecture
Aug 5, 2016 · Databases

5 Essential Redis Tips from Heroku to Boost Performance

Heroku shares five practical Redis recommendations—including using connection pools, naming clients, selecting key eviction policies, avoiding the KEYS command, and configuring connection timeouts—to improve performance, manage resources, and simplify troubleshooting in production environments.

Client NamingRedisSCAN
0 likes · 4 min read
5 Essential Redis Tips from Heroku to Boost Performance
Architecture Digest
Architecture Digest
Jul 31, 2016 · Game Development

Maintaining Game World State with Data Services: Architecture, Sharding, and High Availability

This article examines how to maintain game world state using data services, discussing traditional DB proxy processes, the role of Redis as a cache and database, stateless versus stateful services, sharding, high‑availability mechanisms such as Sentinel, Zookeeper, and the overall architecture for scalable MMO back‑ends.

Data ServiceRedisgame server
0 likes · 32 min read
Maintaining Game World State with Data Services: Architecture, Sharding, and High Availability
Architect
Architect
Jul 21, 2016 · Databases

Redis Ziplist (Compressed List) Principles and Applications

This article explains Redis’s ziplist (compressed list) memory layout, detailing its overall encoding, node structure—including previous length, encoding, and content fields—illustrates how various Redis data types employ ziplist encoding, and analyzes the benefits and trade‑offs of using this structure.

Data StructuresMemory OptimizationRedis
0 likes · 10 min read
Redis Ziplist (Compressed List) Principles and Applications
Architect
Architect
Jul 3, 2016 · Databases

Understanding Redis Cluster Partitioning Implementation

This article explains how Redis Cluster automatically distributes data across nodes, how clients locate the correct node using slot hashing and hash tags, and how resharding and slot migration are performed without downtime, providing a detailed overview of the partitioning mechanism.

ClusterKey hashingPartitioning
0 likes · 10 min read
Understanding Redis Cluster Partitioning Implementation
ITPUB
ITPUB
Jul 2, 2016 · Databases

Understanding NoSQL: Key-Value, Columnar, and Document Databases Explained

An overview of NoSQL database types—including key‑value stores like Redis, column‑oriented systems such as BigTable and HBase, and document databases like MongoDB—covers their architectures, strengths, typical use cases, and key factors to consider when selecting a NoSQL solution for web applications.

ColumnarDocumentMongoDB
0 likes · 8 min read
Understanding NoSQL: Key-Value, Columnar, and Document Databases Explained
ITPUB
ITPUB
Jun 25, 2016 · Operations

Why Large Redis Deployments Fail: Failover, Scaling, and Memory Pitfalls

The article examines how oversized Redis instances cause catastrophic failures during primary node crashes, scaling bursts, and network issues, explains the costly re‑synchronization steps, presents real‑world timing data, and offers practical memory‑reduction strategies to keep Redis operations reliable.

Redisfailoverscaling
0 likes · 8 min read
Why Large Redis Deployments Fail: Failover, Scaling, and Memory Pitfalls
Java High-Performance Architecture
Java High-Performance Architecture
Jun 24, 2016 · Databases

Boost Redis Performance: Reduce Latency with Multi-Param Commands, Pipelining, and Smart Command Choices

This article explains how Redis' single‑threaded nature can cause latency and offers three optimization strategies—reducing network I/O, shortening command queues, and cutting execution time—through multi‑parameter commands, pipelining, and avoiding costly operations.

Command LatencyMulti-parameter CommandsPipelining
0 likes · 3 min read
Boost Redis Performance: Reduce Latency with Multi-Param Commands, Pipelining, and Smart Command Choices
Efficient Ops
Efficient Ops
Jun 19, 2016 · Databases

One‑Click Docker Deployment of a Redis Sharding Cluster

This guide explains how to build Docker images, configure Redis, and orchestrate containers to create a fully automated, one‑click Redis sharding cluster, covering preparation, scripting, configuration, and verification steps.

ClusterDatabase deploymentDevOps
0 likes · 11 min read
One‑Click Docker Deployment of a Redis Sharding Cluster
21CTO
21CTO
Jun 12, 2016 · Backend Development

Mastering Rate Limiting: Token Bucket, Leaky Bucket, and Real‑World Implementations

This article explains why caching, degradation, and rate limiting are essential for high‑concurrency systems, details token‑bucket and leaky‑bucket algorithms, shows application‑level, distributed, and edge‑level throttling techniques, and provides practical Java, Guava, Redis‑Lua, and Nginx‑Lua code examples.

GuavaJavaNginx
0 likes · 17 min read
Mastering Rate Limiting: Token Bucket, Leaky Bucket, and Real‑World Implementations
ITPUB
ITPUB
May 25, 2016 · Databases

Mastering Redis Replication: Features, Mechanics, and Deployment Guide

Redis replication offers high‑availability through master‑slave syncing, supporting multiple slaves, cascading replication, non‑blocking data transfer, read‑write separation, and optional disk‑less sync, with detailed steps for configuration, safety considerations, partial resynchronization, and practical deployment examples.

Master‑SlaveRedisReplication
0 likes · 8 min read
Mastering Redis Replication: Features, Mechanics, and Deployment Guide
dbaplus Community
dbaplus Community
May 24, 2016 · Databases

Which NoSQL DB Fits Your Node Project? HBase, Redis, MongoDB, Couchbase, LevelDB Compared

This article provides a detailed comparison of five popular NoSQL databases—HBase, Redis, MongoDB, Couchbase, and LevelDB—covering their data models, performance characteristics, CAP classification, Node.js client options, advantages, drawbacks, and ideal use‑cases to help developers choose the right storage solution for a new Node project.

CouchbaseHBaseLevelDB
0 likes · 28 min read
Which NoSQL DB Fits Your Node Project? HBase, Redis, MongoDB, Couchbase, LevelDB Compared
Baidu Maps Tech Team
Baidu Maps Tech Team
May 11, 2016 · Backend Development

Mastering Cache Strategies: When to Use LRU, LFU, and Consistency Techniques

This article explains why caching is essential for high‑performance data retrieval, compares LRU and LFU eviction policies, presents three Redis‑based cache implementations, and discusses consistency challenges and solutions such as eviction ordering, consistent hashing, and delayed eviction in distributed systems.

CachingConsistencyLFU
0 likes · 10 min read
Mastering Cache Strategies: When to Use LRU, LFU, and Consistency Techniques
Big Data and Microservices
Big Data and Microservices
May 11, 2016 · Backend Development

How to Build a Scalable Flash‑Sale System that Handles Massive Traffic

This article analyzes flash‑sale (抢购) business scenarios, outlines a layered architecture separating business and data layers, explains decoupling front‑end pressure, uses Redis‑based queues and caching to manage high‑frequency inventory checks, and describes multi‑party reconciliation mechanisms to ensure reliable stock consistency under extreme load.

High ConcurrencyRedisbackend architecture
0 likes · 11 min read
How to Build a Scalable Flash‑Sale System that Handles Massive Traffic
MaGe Linux Operations
MaGe Linux Operations
Apr 19, 2016 · Databases

How to Set Up a Codis Cluster on Linux with Go: Step‑by‑Step Guide

This article provides a comprehensive, step‑by‑step tutorial for installing Go 1.4, compiling Codis from source, configuring Zookeeper, setting up Codis server, proxy, and dashboard, and deploying a three‑node Codis cluster on Linux, including all necessary environment variables and command examples.

ClusterCodisGo
0 likes · 11 min read
How to Set Up a Codis Cluster on Linux with Go: Step‑by‑Step Guide
dbaplus Community
dbaplus Community
Apr 13, 2016 · Databases

Secure Redis Cluster: Adding Password Authentication and Automated Node Management

This guide explains why the official Redis Cluster tools lack password support, outlines the security risks of an unauthenticated cluster, and introduces a custom management utility that adds password authentication, automates slot migration, and simplifies adding or removing nodes, complete with step‑by‑step testing procedures.

RedisRedis Clustercluster-management
0 likes · 8 min read
Secure Redis Cluster: Adding Password Authentication and Automated Node Management
MaGe Linux Operations
MaGe Linux Operations
Apr 2, 2016 · Operations

How to Install GitLab on Debian: Complete Step‑by‑Step Guide

This guide walks through the complete installation of GitLab on a Debian system, covering package installation, Ruby and Go setup, system user creation, database configuration, Redis setup, cloning the source, configuring GitLab, initializing the database, and starting the service.

DebianGoPostgreSQL
0 likes · 18 min read
How to Install GitLab on Debian: Complete Step‑by‑Step Guide
21CTO
21CTO
Mar 25, 2016 · Backend Development

How to Share Tomcat Sessions via Redis: Step-by-Step Setup Guide

This tutorial walks through configuring Redis for Tomcat session sharing on Windows, covering environment setup, Gradle compilation of the tomcat-redis-session-manager plugin, jar deployment, context.xml configuration, and verification of shared session IDs across multiple Tomcat instances.

GradleJavaRedis
0 likes · 8 min read
How to Share Tomcat Sessions via Redis: Step-by-Step Setup Guide
Efficient Ops
Efficient Ops
Mar 22, 2016 · Databases

Scaling PB‑Level Data: Mastering Redis, Codis, and MySQL Sharding

In this technical share, the operations director explains how his team tackled PB‑scale data challenges by scaling Redis with Codis, implementing multi‑dimensional MySQL sharding, using vertical and horizontal partitioning, and optimizing storage with TokuDB, offering practical insights for high‑throughput system design.

CodisMySQLPB-level Data
0 likes · 15 min read
Scaling PB‑Level Data: Mastering Redis, Codis, and MySQL Sharding
Efficient Ops
Efficient Ops
Mar 15, 2016 · Operations

How to Use Redis for Efficient Deduplication in Operations Data Analysis

This article explains practical methods for deduplicating and counting data in operational analytics using Redis, covering SET, ZSET, BITSET, HyperLogLog, and Bloom filter structures, their advantages, limitations, and suitable scenarios for real‑time and large‑scale metric calculations.

HyperLogLogRedisdeduplication
0 likes · 10 min read
How to Use Redis for Efficient Deduplication in Operations Data Analysis
High Availability Architecture
High Availability Architecture
Feb 26, 2016 · Databases

Weibo Database Architecture: Evolution, Optimization, and Design Practices

This article details the evolution of Weibo's database platform—from its early single‑master design through rapid scaling, vertical and horizontal sharding, automation, Redis enhancements, custom middleware, and future plans—offering practical insights into high‑availability, high‑performance data engineering for large‑scale social media services.

MySQLRedisWeibo
0 likes · 23 min read
Weibo Database Architecture: Evolution, Optimization, and Design Practices
21CTO
21CTO
Feb 25, 2016 · Backend Development

Mastering Multi‑Layer Caching in Rails with Nginx, Redis, and MySQL

This article explains six practical caching strategies—from client‑side HTTP 304 handling to Nginx static caching, full‑page, fragment, query, and database caches—using Ruby on Rails, Nginx, MySQL, and Redis to dramatically improve web application performance.

CachingRailsRedis
0 likes · 12 min read
Mastering Multi‑Layer Caching in Rails with Nginx, Redis, and MySQL