Tagged articles

Redis

3508 articles · Page 34 of 36
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.

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

ClusterIn-Memory DatabaseMemcached
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.

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

Data StoragePipelineRedis
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.

DatabasePerformanceRedis
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 invalidationPerformanceRedis
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.

MySQLRedisWeb Scaling
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.

RedisSentinelhigh availability
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 securityJavaOAuth2
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.

MySQLRedisdatabase-design
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.

KylinOLAPReal-Time Analytics
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‑SlaveRedisReplication
0 likes · 9 min read
Designing a Multi‑Datacenter Redis Master‑Slave Architecture with Automatic Failover
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.

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

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

Database ArchitectureFailoverRedis
0 likes · 12 min read
Redis High‑Availability Architecture and Best Practices
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 OptimizationRedisarchitecture
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.

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

ConfigurationDatabaseMaster‑Slave
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
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.

Data StructuresIn-Memory DatabaseMemcached
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.

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

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

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

Big DataLevelDBNoSQL
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.

Redisconnection-poolmonitoring
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 EvictionLRUMemory Management
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.

Distributed ArchitectureMySQL optimizationRedis
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.

ClusteringDatabaseMemory Management
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.

MemcachedMessage QueuePython
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.

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

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

Client‑ServerKey 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.

FailoverMemory ManagementPerformance Optimization
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.

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

MemcachedMemory ManagementPersistence
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 TypesDatabaseRedis
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.

Lua ScriptingRedisbackend architecture
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