Tagged articles

Redis

3563 articles · Page 33 of 36
Efficient Ops
Efficient Ops
Feb 11, 2019 · Databases

Best Redis Cluster Options: Client Sharding, Proxy, Codis, Official

Redis, a high‑performance NoSQL database, offers multiple clustering approaches—including client‑side sharding, proxy‑based solutions like Twemproxy and Codis, and the native Redis Cluster—each with distinct trade‑offs in scalability, availability, operational complexity, and performance, guiding engineers to select the optimal architecture for their workloads.

ClusteringCodisProxy
0 likes · 15 min read
Best Redis Cluster Options: Client Sharding, Proxy, Codis, Official
Java Captain
Java Captain
Feb 9, 2019 · Databases

Evolution of Redis Cluster Architecture and Interview Tips

This article reviews the progression of Redis high‑availability solutions—from simple replication with Sentinel, through proxy‑based setups, to native Redis Cluster—explains their advantages and drawbacks, and provides practical interview Q&A tips for candidates.

ClusterProxyRedis
0 likes · 9 min read
Evolution of Redis Cluster Architecture and Interview Tips
Java Captain
Java Captain
Jan 29, 2019 · Backend Development

Implementing a Simple Seckill (Flash Sale) Using Redis Distributed Locks in Java

This article explains the business background of a flash‑sale (seckill) scenario, analyzes naive locking approaches, introduces Redis‑based distributed locks, and provides a complete Java demo with custom annotations, dynamic proxies, and a multithreaded test to ensure correct inventory decrement under high concurrency.

JavaRedisannotation
0 likes · 15 min read
Implementing a Simple Seckill (Flash Sale) Using Redis Distributed Locks in Java
ITPUB
ITPUB
Jan 28, 2019 · Databases

How to Prevent Redis Single‑Point Failures with Sentinel and Master‑Slave Replication

This article explains Redis’s key features and common use cases, highlights the risks of single‑node deployments, compares two master‑slave replication architectures, and outlines their pros and cons, and details how Redis Sentinel provides automated monitoring, failover, and configuration to achieve high availability.

Master-Slave ReplicationRedisSentinel
0 likes · 10 min read
How to Prevent Redis Single‑Point Failures with Sentinel and Master‑Slave Replication
dbaplus Community
dbaplus Community
Jan 27, 2019 · Databases

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

This article walks through the design of a highly available Redis deployment, explains common failure scenarios, compares single‑node, master‑slave, and multi‑Sentinel architectures, and shows how adding a virtual IP and three Sentinel instances can provide robust HA while keeping client usage simple.

RedisSentineldatabase
0 likes · 13 min read
How to Build a Highly Available Redis Service with Sentinel and Virtual IP
Java High-Performance Architecture
Java High-Performance Architecture
Jan 22, 2019 · Backend Development

How to Prevent Inventory Over‑Selling in High‑Concurrency Systems

Learn why inventory over‑selling occurs under high concurrency, and explore three practical solutions—pessimistic locking, optimistic locking with version control, and Redis‑Lua scripting—detailing their implementation steps, advantages, and drawbacks to help you choose the best approach for reliable stock management.

InventoryLuaPessimistic Lock
0 likes · 7 min read
How to Prevent Inventory Over‑Selling in High‑Concurrency Systems
Programmer DD
Programmer DD
Jan 21, 2019 · Fundamentals

Why Does TCP Need a Three‑Way Handshake and a Four‑Way Teardown? A Deep Dive

This article explains the principles behind TCP's three‑way handshake and four‑way teardown, covering connection establishment, data transfer, termination, header fields, state diagrams, sequence‑number wraparound, SYN‑flood attacks, mitigation techniques, and a practical Redis packet‑capture analysis, all illustrated with diagrams and code snippets.

Four‑Way TeardownLinuxRedis
0 likes · 23 min read
Why Does TCP Need a Three‑Way Handshake and a Four‑Way Teardown? A Deep Dive
NetEase Game Operations Platform
NetEase Game Operations Platform
Jan 19, 2019 · Databases

Design and Implementation of Redis Application Layer Protocol (RESP) and Its Python Clients

This article explains the RESP protocol used by Redis, details its five data types, demonstrates pipeline handling with raw sockets, examines the parsing and command‑packing logic of the redis‑py client, analyzes the pipeline implementation and limitations of redis‑py‑cluster, and speculates on upcoming RESP3 features.

PythonRESPRedis
0 likes · 20 min read
Design and Implementation of Redis Application Layer Protocol (RESP) and Its Python Clients
Zhuanzhuan Tech
Zhuanzhuan Tech
Jan 17, 2019 · Backend Development

Design and Refactoring of the Book Outbound Service with SN Allocation and Concurrency Management

The article describes the challenges of handling book outbound operations—matching SN codes, ensuring data consistency, and avoiding lock contention—and outlines a comprehensive refactor that separates business logic, standardizes APIs, adopts asynchronous processing, and leverages Redis sets to achieve high‑performance, reliable SN allocation.

BackendInventoryRedis
0 likes · 10 min read
Design and Refactoring of the Book Outbound Service with SN Allocation and Concurrency Management
21CTO
21CTO
Jan 14, 2019 · Backend Development

How SuNing Financial Scaled Its Red Envelope System for Billion-User Peaks

This article details SuNing Financial’s red‑envelope platform architecture and evolution, covering high‑concurrency challenges, traffic shaping, asynchronous processing, multi‑level caching, Redis‑based distributed locks, task scheduling, payment‑chain isolation, high‑availability deployment, multi‑layer flow control, monitoring, and future scalability directions.

CachingHigh ConcurrencyRedis
0 likes · 14 min read
How SuNing Financial Scaled Its Red Envelope System for Billion-User Peaks
dbaplus Community
dbaplus Community
Jan 6, 2019 · Databases

Inside Redis: How Memory Structures and Encoding Power Its 5 Data Types

This article explains how Redis stores and encodes its five data types by using various in‑memory data structures such as SDS strings, linked lists, quicklists, hash tables, skip‑lists, intsets and zip‑lists, and it also covers object mapping, expiration policies, LRU eviction, and the RDB/AOF persistence mechanisms.

Data StructuresPersistenceRedis
0 likes · 25 min read
Inside Redis: How Memory Structures and Encoding Power Its 5 Data Types
ITPUB
ITPUB
Jan 5, 2019 · Databases

Why PostgreSQL Captured the 2018 DB-Engines DBMS of the Year Award

The 2018 DB-Engines ranking crowned PostgreSQL as the top DBMS, highlighting its 30‑year evolution, strong community, and expanding features, while MongoDB and Redis secured the runner‑up and third places respectively, and the January 2019 popularity scores showed continued shifts among major database systems.

DB-EnginesDatabase RankingsMongoDB
0 likes · 5 min read
Why PostgreSQL Captured the 2018 DB-Engines DBMS of the Year Award
Sohu Tech Products
Sohu Tech Products
Jan 2, 2019 · Databases

Comprehensive Redis Guide: Overview, Use Cases, Performance, Data Structures, Commands, Configuration, and Best Practices

This article provides a detailed overview of Redis as an open‑source, in‑memory data store, covering its core features, common use cases such as caching and leaderboards, high‑performance characteristics, essential data structures and commands, configuration options, and practical recommendations for production deployment.

Data StructuresIn-Memory DatabaseRedis
0 likes · 11 min read
Comprehensive Redis Guide: Overview, Use Cases, Performance, Data Structures, Commands, Configuration, and Best Practices
MaGe Linux Operations
MaGe Linux Operations
Dec 25, 2018 · Databases

Unlocking Redis: How Its Memory Model Impacts Performance and Cost

This article explains Redis's memory model—including memory statistics, allocation strategies, object types, internal encodings, and practical optimization techniques—so developers can accurately estimate memory usage, reduce fragmentation, and improve overall system efficiency.

OptimizationRedisSDS
0 likes · 31 min read
Unlocking Redis: How Its Memory Model Impacts Performance and Cost
vivo Internet Technology
vivo Internet Technology
Dec 18, 2018 · Databases

2018 3306π 深圳站年会 - Database Technologies and Practices

The 2018 3306π Shenzhen annual conference, co‑hosted by the 3306π community, Zhishu Hall and vivo, attracted over 150 attendees and featured expert talks on MySQL 8.0, open‑source data‑transfer middleware, TDSQL for finance, RadonDB, InnoDB enhancements, large‑scale Redis clusters, and Youzan database operations, with presentation materials available online.

MongoDBMySQLRedis
0 likes · 3 min read
2018 3306π 深圳站年会 - Database Technologies and Practices
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Dec 17, 2018 · Databases

Resolving Data Inconsistency Between Redis Cache and MySQL Database

In high‑concurrency scenarios, using Redis as a buffer can improve performance, but without proper strategies such as delayed double‑delete, cache expiration, or asynchronous binlog‑driven updates, inconsistencies between Redis and MySQL may arise, so this article explains the causes and presents four practical solutions.

MySQLRedisbackend development
0 likes · 6 min read
Resolving Data Inconsistency Between Redis Cache and MySQL Database
Efficient Ops
Efficient Ops
Dec 16, 2018 · Databases

Understanding Redis Data Structures, Persistence, Transactions, and Replication

This article explains Redis's core data types—String, Hash, List, Set, and Sorted Set—its internal object model, persistence options (RDB and AOF) with their pros and cons, transaction characteristics, master‑slave replication mechanisms, and common caching scenarios and design considerations.

CachingData StructuresPersistence
0 likes · 10 min read
Understanding Redis Data Structures, Persistence, Transactions, and Replication
MaGe Linux Operations
MaGe Linux Operations
Dec 15, 2018 · Databases

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

This comprehensive guide explains Redis fundamentals, its rich data structures and common commands, then dives into performance optimization, replication, and clustering, offering practical examples and best‑practice recommendations for building reliable, high‑performance Redis deployments.

ClusterData StructuresRedis
0 likes · 32 min read
Mastering Redis: Core Data Structures, Commands, and Performance Tuning
Java Captain
Java Captain
Dec 12, 2018 · Backend Development

Integrating Redis with Java for a Seckill Application and Optimizing with MySQL Stored Procedures

This guide walks through downloading and installing Redis, adding Java dependencies, creating a Redis DAO with Protostuff serialization, configuring Spring beans, caching seckill data, implementing a MySQL stored procedure for atomic execution, mapping it with MyBatis, updating service and controller layers, and testing the entire workflow.

JavaMySQLRedis
0 likes · 8 min read
Integrating Redis with Java for a Seckill Application and Optimizing with MySQL Stored Procedures
Programmer DD
Programmer DD
Dec 12, 2018 · Databases

Essential Redis Health Metrics Every Engineer Should Monitor

This guide explains how to monitor critical Redis health indicators—including ping response, client connections, blocked clients, memory usage, fragmentation, cache hit rate, OPS, persistence status, expired keys, and slow logs—to ensure optimal performance and prevent failures.

MonitoringPersistenceRedis
0 likes · 7 min read
Essential Redis Health Metrics Every Engineer Should Monitor
Zhuanzhuan Tech
Zhuanzhuan Tech
Dec 8, 2018 · Backend Development

Implementation and Optimization of a High-Concurrency Live Quiz System

This article details the design and performance optimization of a live quiz platform, covering overall architecture, user info retrieval, answer submission handling, anti-cheating measures, and Tomcat configuration, highlighting techniques such as request distribution, in‑process caching, asynchronous processing, MQ peak‑shaving, and Redis aggregation.

High ConcurrencyRedisbackend architecture
0 likes · 11 min read
Implementation and Optimization of a High-Concurrency Live Quiz System
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 7, 2018 · Databases

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

This guide outlines comprehensive best‑practice recommendations for Alibaba Cloud Redis, covering key naming conventions, value size limits, safe command usage, client connection strategies, memory eviction policies, and useful auxiliary tools to improve reliability and performance.

Client ConfigurationCommand OptimizationKey Design
0 likes · 7 min read
Best Practices for Using Alibaba Cloud Redis: Key Design, Command Usage, Client Configuration, and Tools
ITPUB
ITPUB
Dec 7, 2018 · Databases

Mastering Redis High Availability: Sentinel, Cluster, and Real‑World Architectures

This article provides a comprehensive guide to Redis high‑availability solutions, detailing Sentinel principles, multiple HA architectures such as DNS‑based, VIP‑based, Keepalived, Redis Cluster, Twemproxy and Codis, and shares practical best‑practice recommendations for deployment and failover.

ClusterRedisSentinel
0 likes · 14 min read
Mastering Redis High Availability: Sentinel, Cluster, and Real‑World Architectures
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Dec 6, 2018 · Databases

Redis vs Memcached: Which In‑Memory Cache Wins for Complex Data?

Redis and Memcached differ significantly in data structure support, memory efficiency, performance, memory management, persistence options, and clustering capabilities, with Redis offering richer data types, server‑side operations, configurable persistence, and native clustering, while Memcached provides simpler key‑value storage, slab allocation, and client‑side distribution.

ClusteringData StructuresIn-Memory Cache
0 likes · 17 min read
Redis vs Memcached: Which In‑Memory Cache Wins for Complex Data?
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Nov 29, 2018 · Databases

An Overview of Redis: Data Types, Features, Persistence, Clustering, and Use Cases

Redis is an open-source, in‑memory key‑value store written in C that supports multiple data structures, offers high‑performance caching, persistence via RDB and AOF, various clustering solutions such as Codis and native Redis Cluster, and is widely used for caching, ranking, session management, queues, and pub/sub.

CachingIn-Memory DatabaseMessage Queue
0 likes · 7 min read
An Overview of Redis: Data Types, Features, Persistence, Clustering, and Use Cases
37 Interactive Technology Team
37 Interactive Technology Team
Nov 28, 2018 · Game Development

Business System Architecture Design: An Engineer's Guide to Game Event Systems

The article explains how engineers can design robust game special‑event systems by abstracting features into reusable components, applying hook‑based extensibility, and using asynchronous message middleware to handle diverse, time‑critical, high‑risk operations, illustrated with the 37 Platform’s event architecture and configuration‑driven flexibility.

HooksMessage MiddlewareRedis
0 likes · 9 min read
Business System Architecture Design: An Engineer's Guide to Game Event Systems
Java Backend Technology
Java Backend Technology
Nov 27, 2018 · Databases

How to Tackle Hotspot Key Bottlenecks in High‑Traffic Systems

Hotspot keys, caused by massive read‑heavy traffic or server limits, can overload network cards, crash cache shards, and trigger DB bottlenecks, but by employing server‑side caching, Memcache/Redis, local caches, read‑write separation, and proactive hotspot detection, systems can mitigate these issues and scale efficiently.

CachingRead-Write SeparationRedis
0 likes · 9 min read
How to Tackle Hotspot Key Bottlenecks in High‑Traffic Systems
ITPUB
ITPUB
Nov 21, 2018 · Databases

Why Is Redis Lagging? Key Causes and Practical Fixes

This article explains the main factors that cause Redis latency—including network bottlenecks, Redis’s single‑threaded design, deployment choices, OS settings, and slow commands—and provides concrete commands and best‑practice solutions to diagnose and reduce the delay.

Redisdatabaselatency
0 likes · 6 min read
Why Is Redis Lagging? Key Causes and Practical Fixes
21CTO
21CTO
Nov 21, 2018 · Backend Development

How to Build a Dynamic IP Blacklist with Nginx, Lua, and Redis

This guide explains how to create a dynamic IP blacklist using Nginx, Lua, and Redis, covering the background, architecture options, step‑by‑step implementation, and the advantages of a lightweight, shared, and easily updatable solution.

BackendIP blacklistLua
0 likes · 3 min read
How to Build a Dynamic IP Blacklist with Nginx, Lua, and Redis
Java Captain
Java Captain
Nov 19, 2018 · Backend Development

Implementing a Red Packet System with Redis, Lua Scripts, and Spring Async

This article explains how to build a high‑performance red‑packet (hong‑bao) service by configuring a RedisTemplate in Spring, writing an atomic Lua script for stock management, persisting results to a MySQL database via JDBC batch processing, and using @Async to off‑load long‑running tasks, complete with code examples and deployment steps.

JavaLuaRedis
0 likes · 17 min read
Implementing a Red Packet System with Redis, Lua Scripts, and Spring Async
Architect's Tech Stack
Architect's Tech Stack
Nov 13, 2018 · Databases

Understanding Hot Key Issues and Effective Solutions in Distributed Caching Systems

This article explains the causes of hot key problems in high‑traffic scenarios, outlines their potential impact on system performance, and presents multiple mitigation strategies—including server‑side caching, Memcache/Redis, local caches, read‑write separation, and proactive hot‑data detection—while comparing their advantages and trade‑offs.

Backend PerformanceHot KeyRead-Write Separation
0 likes · 7 min read
Understanding Hot Key Issues and Effective Solutions in Distributed Caching Systems
Architect's Tech Stack
Architect's Tech Stack
Nov 12, 2018 · Backend Development

Designing a High-Concurrency Flash Sale System with Redis Caching and Lua Scripts

This article explains how to build a high‑concurrency flash‑sale (秒杀) system by separating static page traffic with CDN, using read‑write‑split Redis for early request filtering, applying Lua scripts for atomic inventory deduction, and employing Redis as a simple message queue for asynchronous order persistence.

High ConcurrencyLuaMessage Queue
0 likes · 9 min read
Designing a High-Concurrency Flash Sale System with Redis Caching and Lua Scripts
Tencent Cloud Developer
Tencent Cloud Developer
Nov 5, 2018 · Databases

Best Practices for Redis Database on the Cloud

In this talk, Tencent Cloud senior engineer Zou Peng outlines cloud‑native best practices for Redis 4.0 clusters, detailing a smart‑proxy architecture with gossip‑based management, lazy‑scan big‑key handling, automatic fail‑over, the high‑performance CKV engine, and practical guidance on scaling, sharding, monitoring, and cost‑effective high‑availability deployment.

ClusterProxyRedis
0 likes · 14 min read
Best Practices for Redis Database on the Cloud
Architect's Tech Stack
Architect's Tech Stack
Oct 23, 2018 · Databases

Redis Overview: Features, Data Types, Persistence, Clustering, and Common Interview Questions

This article provides a comprehensive introduction to Redis, covering its core concepts, advantages, data structures, persistence mechanisms, eviction policies, clustering, common usage scenarios, and typical interview questions for developers working with this high‑performance in‑memory key‑value store.

ClusteringIn-Memory DatabasePersistence
0 likes · 24 min read
Redis Overview: Features, Data Types, Persistence, Clustering, and Common Interview Questions
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Oct 22, 2018 · Databases

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

This comprehensive guide introduces Redis fundamentals, explores its diverse data structures and essential commands, and delves into advanced topics such as persistence, memory management, pipelining, transactions, clustering, and Java client choices, offering practical tips for deployment, optimization, and architectural decisions.

Data StructuresJava ClientPersistence
0 likes · 39 min read
Mastering Redis: Core Data Structures, Commands, and Performance Tuning
Tencent Cloud Developer
Tencent Cloud Developer
Oct 19, 2018 · Backend Development

Design and Implementation of a Go Backend for a Lottery Mini Program

The article describes how to build a Go‑based backend for a WeChat lottery mini‑program using the Echo framework, Tencent Cloud load balancer, Nginx, Redis and MySQL, detailing the system architecture, API design, database and Redis integration, WeChat login flow, activity state machine, and lessons learned.

API DesignGoLottery System
0 likes · 12 min read
Design and Implementation of a Go Backend for a Lottery Mini Program
360 Tech Engineering
360 Tech Engineering
Oct 18, 2018 · Databases

Overview of Pika 3.0 New Features

Pika 3.0, a C++ open‑source Redis‑compatible storage built on RocksDB, introduces a new blackwidow engine, an improved binlog system, and a more efficient server layer, delivering higher performance, reduced disk usage, extended key length limits, and full Redis ZSET compatibility.

Database EnginePikaRedis
0 likes · 3 min read
Overview of Pika 3.0 New Features
ITPUB
ITPUB
Oct 16, 2018 · Databases

How MongoDB Boosted LBS Query Performance by Over 10×

This article explains the performance bottlenecks of MongoDB's geoNear queries in high‑traffic LBS services, analyzes why dense point clusters cause massive scans, and details the introduction of hintScan and hintCorrectNum parameters that reduced scan size and increased QPS by more than tenfold, even outperforming Redis 3.2.

LBSMongoDBRedis
0 likes · 10 min read
How MongoDB Boosted LBS Query Performance by Over 10×
Meitu Technology
Meitu Technology
Oct 10, 2018 · Backend Development

How Meitu Scaled Twemproxy with Multi‑Process Architecture and Live Reload

This article details Meitu's engineering of a Redis/Memcached proxy platform, describing why twemproxy was chosen, the limitations of its upstream version, the multi‑process redesign with live configuration reload, added latency metrics, reuse‑port handling, Redis master‑slave support, performance testing, and remaining challenges.

MemcachedMonitoringProxy
0 likes · 12 min read
How Meitu Scaled Twemproxy with Multi‑Process Architecture and Live Reload
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Oct 10, 2018 · Operations

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

This article explains why Redis is a popular in‑memory key‑value store, defines high availability, enumerates failure scenarios, and walks through four incremental architectures—single instance, master‑slave with one Sentinel, dual Sentinel, and three‑Sentinel with VIP—to achieve a robust, production‑grade Redis deployment.

OperationsRedisSentinel
0 likes · 12 min read
How to Build a Highly Available Redis Service with Sentinel and Virtual IP
Ops Development Stories
Ops Development Stories
Oct 3, 2018 · Operations

Master Logstash: Essential Commands and Top Log Collection Plugins

This guide walks through Logstash fundamentals, from creating basic pipelines with input, filter, and output sections to using common plugins such as grok, mutate, date, geoip, multiline, and integrations with NGINX, rsyslog, Redis, and Docker‑based Logspout, providing practical configuration examples and command‑line tips.

DockerElasticsearchGrok
0 likes · 27 min read
Master Logstash: Essential Commands and Top Log Collection Plugins
21CTO
21CTO
Sep 28, 2018 · Databases

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

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

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

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

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

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

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

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

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

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

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

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

Implementation Principles of QR Code Login

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Mastering Cache Architecture: From CDN to Distributed Systems

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Real-Time Computation Architecture for Non-Timeline Feed Ranking

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

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

Understanding and Optimizing Redis Rehash Mechanism and Scan Behavior

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

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

7 Common Redis Misuse Scenarios and How to Fix Them

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

How to Build a Redis Cluster on a Single Linux Machine

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

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

Designing a High‑Availability Redis Service with Sentinel

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

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

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

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

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

Building a Spring Boot Web Application with MyBatis and Redis Caching

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

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

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

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

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

Redis 5.0 New Features and Migration Considerations

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

RDBRedisVersion 5
0 likes · 4 min read
Redis 5.0 New Features and Migration Considerations