Tagged articles

Redis

3508 articles · Page 27 of 36
Efficient Ops
Efficient Ops
Feb 3, 2021 · Databases

Master Redis: Core Data Types, Commands, and Advanced Features Explained

This article introduces Redis as an open‑source, in‑memory data‑structure store, explains its role as a NoSQL database, details its five fundamental data types, common commands, expiration handling, pipelines, and transactions, and shows how it fits into modern scaling architectures.

Data StructuresNoSQLRedis
0 likes · 14 min read
Master Redis: Core Data Types, Commands, and Advanced Features Explained
Laravel Tech Community
Laravel Tech Community
Jan 31, 2021 · Backend Development

Wind Framework 1.0.3 Release Notes

Version 1.0.3 of the pure PHP coroutine Wind Framework introduces a new Chan class for intra-process coroutine messaging, enhances the message queue with Redis and Beanstalk drivers supporting massive consumer counts and timeout settings, and fixes several Beanstalk client command errors.

BeanstalkMessage QueueRedis
0 likes · 2 min read
Wind Framework 1.0.3 Release Notes
Efficient Ops
Efficient Ops
Jan 27, 2021 · Databases

Mastering Redis Persistence: RDB vs AOF Explained

This article explains Redis persistence mechanisms, detailing how RDB snapshots and AOF append‑only logs work, how to enable and configure them, their advantages and drawbacks, and guidance on choosing the right method for reliable data storage.

AOFNoSQLPersistence
0 likes · 12 min read
Mastering Redis Persistence: RDB vs AOF Explained
Laravel Tech Community
Laravel Tech Community
Jan 26, 2021 · Backend Development

Engineering the Bifrost WebSocket Gateway at Postman: Architecture, Scaling, and Lessons Learned

The article recounts how Postman's Service Foundation team identified the limitations of the monolithic Sync service, designed and built the Bifrost WebSocket gateway using Fastify, AWS ElastiCache for Redis, and a private API, and scaled it through horizontal expansion and custom load‑factor metrics while sharing practical engineering insights.

AWSFastifyRedis
0 likes · 12 min read
Engineering the Bifrost WebSocket Gateway at Postman: Architecture, Scaling, and Lessons Learned
High Availability Architecture
High Availability Architecture
Jan 22, 2021 · Databases

Comprehensive Guide to Diagnosing and Optimizing Redis Performance Issues

Redis can experience latency spikes due to factors such as complex commands, big keys, expiration patterns, memory limits, fork overhead, AOF persistence, CPU binding, swap usage, memory fragmentation, and network saturation, and this article provides a systematic troubleshooting methodology and practical optimization solutions for each scenario.

DatabaseMemoryPerformance
0 likes · 38 min read
Comprehensive Guide to Diagnosing and Optimizing Redis Performance Issues
Practical DevOps Architecture
Practical DevOps Architecture
Jan 22, 2021 · Databases

Redis Common Data Types and Commands Overview

This article introduces Redis's primary data structures—String, Hash, List, and Set—explaining their purpose, key commands, and practical usage examples, including batch operations, numeric adjustments, field management, list manipulation, and set operations, to help developers effectively work with the in‑memory database.

Data TypesDatabaseRedis
0 likes · 6 min read
Redis Common Data Types and Commands Overview
Top Architect
Top Architect
Jan 21, 2021 · Databases

Understanding Key Redis Performance Metrics: Memory Usage, Command Processing, Latency, and Key Eviction

This article explains how to use Redis INFO and related commands to monitor critical performance metrics such as memory usage, memory fragmentation, total commands processed, latency, and key eviction, and provides practical tips for interpreting these metrics and optimizing Redis deployments.

Database MonitoringMemory usageOptimization
0 likes · 27 min read
Understanding Key Redis Performance Metrics: Memory Usage, Command Processing, Latency, and Key Eviction
Code Ape Tech Column
Code Ape Tech Column
Jan 21, 2021 · Interview Experience

Master Distributed System Interview Questions: CAP, Redis, Zookeeper, Kafka and More

This article compiles essential interview‑style questions and detailed answers on distributed system fundamentals—including CAP and BASE theories, consistency models, distributed transactions, Redis features and persistence, Zookeeper coordination, Kafka architecture, and common design patterns for high‑concurrency scenarios.

InterviewKafkaMessage Queue
0 likes · 38 min read
Master Distributed System Interview Questions: CAP, Redis, Zookeeper, Kafka and More
Code Ape Tech Column
Code Ape Tech Column
Jan 19, 2021 · Backend Development

Avoid Common Pitfalls in Distributed Caching with Redis and Memcached

This article analyzes the characteristics of Redis and Memcached, explains typical design mistakes such as inconsistent hashing, cache avalanche, penetration, and hot‑key issues, and provides practical solutions like consistent hashing, binlog‑driven cache invalidation, key versioning, and distributed locking to improve cache reliability and performance.

Cache AvalancheCache ConsistencyCache Penetration
0 likes · 22 min read
Avoid Common Pitfalls in Distributed Caching with Redis and Memcached
Java Captain
Java Captain
Jan 16, 2021 · Backend Development

Cinema Ticketing System Project Overview

This article presents a cinema ticketing system built with the SSM framework, MySQL, Redis, Alipay sandbox, LayUI, and Baidu ECharts, highlighting its architecture, features such as payment and seat selection, and providing source code link and screenshots.

AlipayEChartsMyBatis
0 likes · 1 min read
Cinema Ticketing System Project Overview
Practical DevOps Architecture
Practical DevOps Architecture
Jan 16, 2021 · Databases

Redis Configuration Guide: redis.conf Settings, Slowlog, Advanced Options, Replication, and Persistence

This comprehensive guide details the essential redis.conf parameters—including daemonization, networking, memory limits, logging, slowlog, advanced data structure encodings, replication options, and persistence settings—providing clear explanations and recommended values for optimal Redis deployment.

DatabasePerformancePersistence
0 likes · 8 min read
Redis Configuration Guide: redis.conf Settings, Slowlog, Advanced Options, Replication, and Persistence
Top Architect
Top Architect
Jan 15, 2021 · Backend Development

Design and Technical Solutions for a High‑Concurrency Flash Sale System

This article examines the challenges of building a flash‑sale (秒杀) system—such as overselling, massive concurrent requests, URL exposure, and database bottlenecks—and presents a comprehensive backend architecture that combines separate databases, dynamic URLs, static pages, Redis clustering, Nginx load balancing, SQL optimization, rate‑limiting, asynchronous order processing, and service degradation techniques.

JavaRedisbackend design
0 likes · 13 min read
Design and Technical Solutions for a High‑Concurrency Flash Sale System
dbaplus Community
dbaplus Community
Jan 12, 2021 · Operations

Choosing Between Prometheus and Zabbix: A Practical Guide to High‑Availability Monitoring

This technical guide walks through the fundamentals of Prometheus, compares it with Zabbix, demonstrates high‑availability setups, remote storage with InfluxDB, multi‑instance Redis monitoring, and Grafana integration, providing concrete configuration examples and best‑practice recommendations for reliable ops monitoring.

GrafanaHAInfluxDB
0 likes · 17 min read
Choosing Between Prometheus and Zabbix: A Practical Guide to High‑Availability Monitoring
Big Data Technology & Architecture
Big Data Technology & Architecture
Jan 12, 2021 · Backend Development

go-mysql-transfer: A Go-Based Real-Time MySQL Binlog Incremental Sync Tool

The article introduces go-mysql-transfer, a Go-implemented MySQL binlog incremental synchronization solution that avoids extra components, supports multiple downstreams like Redis, offers Lua scripting, Prometheus monitoring, high‑availability clustering, retry mechanisms, full data initialization, and provides installation, deployment, and performance testing details.

Data synchronizationGoMySQL
0 likes · 12 min read
go-mysql-transfer: A Go-Based Real-Time MySQL Binlog Incremental Sync Tool
Code Ape Tech Column
Code Ape Tech Column
Jan 12, 2021 · Backend Development

How to Build a High‑Performance Search API with SQL and Redis Caching

This article walks through three progressively better implementations for a complex e‑commerce search API—starting with a monolithic SQL query, then splitting the query and adding indexes, and finally using Redis sets and sorted sets to cache filter results, handle pagination, and achieve production‑grade performance.

PaginationPerformanceRedis
0 likes · 8 min read
How to Build a High‑Performance Search API with SQL and Redis Caching
21CTO
21CTO
Jan 9, 2021 · Backend Development

How to Build a Robust Flash‑Sale System that Handles Millions of Requests

This article explores the key challenges of designing a flash‑sale (秒杀) system—such as overselling, high concurrency, request flooding, and database strain—and presents a comprehensive backend architecture with database design, dynamic URLs, caching, rate limiting, async ordering, and service degradation techniques.

Redisasynchronous processingbackend architecture
0 likes · 13 min read
How to Build a Robust Flash‑Sale System that Handles Millions of Requests
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 9, 2021 · Backend Development

Preventing Redis Cache Avalanche: Interview Dialogue and Practical Solutions

This article presents an interview scenario where a candidate is asked about Redis cache avalanche, explains the phenomenon, and offers four practical mitigation strategies—including cache pre‑warming, mutex locking, staggered expiration, and high‑availability designs—to keep backend databases from being overwhelmed.

Cache AvalancheCaching StrategiesPerformance
0 likes · 4 min read
Preventing Redis Cache Avalanche: Interview Dialogue and Practical Solutions
Java Interview Crash Guide
Java Interview Crash Guide
Jan 8, 2021 · Backend Development

Mastering API Idempotency: Strategies, Code Samples, and Best Practices

Idempotency ensures that repeated API calls produce the same effect as a single call, preventing duplicate submissions, token misuse, and inconsistent data; this guide explains the concept, its importance, HTTP definitions, impact on systems, and presents four practical implementation methods—unique keys, optimistic locking, token‑based guards, and sequence numbers—with full SpringBoot and Redis code examples.

APIRESTRedis
0 likes · 20 min read
Mastering API Idempotency: Strategies, Code Samples, and Best Practices
vivo Internet Technology
vivo Internet Technology
Jan 6, 2021 · Big Data

How HyperLogLog Estimates Cardinality in Massive Data Sets

This article explains the cardinality‑counting problem behind DAU/MAU and unique visitor metrics, compares naïve solutions like Set, Bitmap and Bloom filter, introduces big‑data algorithms such as Linear Counting, LogLog and HyperLogLog, and shows how Redis implements HyperLogLog with dense and sparse storage optimizations.

AlgorithmBig DataCardinality
0 likes · 17 min read
How HyperLogLog Estimates Cardinality in Massive Data Sets
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jan 4, 2021 · Backend Development

How I Optimized a Node.js Enterprise WeChat Sync Service: Lessons & Solutions

This article walks through the design, pitfalls, and deep optimizations of a Node.js + TypeScript backend that periodically syncs enterprise WeChat organization data to a MySQL store and provides a phone‑number lookup API, offering practical solutions for rate limits, process management, database conflicts, and error recovery.

MySQLNode.jsRedis
0 likes · 10 min read
How I Optimized a Node.js Enterprise WeChat Sync Service: Lessons & Solutions
New Oriental Technology
New Oriental Technology
Jan 4, 2021 · Backend Development

Overview of New Oriental Architecture Department Unified Management Platform

The document provides a detailed technical overview of New Oriental's unified management platform, describing its five core modules—Redis platform, microservice platform, gateway platform, app management platform, and permission management platform—including monitoring, cluster management, service registration, and access control features.

Backend ManagementRedispermission management
0 likes · 5 min read
Overview of New Oriental Architecture Department Unified Management Platform
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 3, 2021 · Backend Development

Understanding Cache Penetration, Cache Breakdown, and Cache Avalanche in Redis

The article explains the concepts of cache penetration, cache breakdown, and cache avalanche in Redis, illustrates each problem with real‑world analogies, and presents practical mitigation techniques such as null caching, Bloom filters, mutex locks, asynchronous refresh, varied TTLs, and clustering to ensure robust backend performance.

CacheCache AvalancheCache Breakdown
0 likes · 6 min read
Understanding Cache Penetration, Cache Breakdown, and Cache Avalanche in Redis
Top Architect
Top Architect
Dec 30, 2020 · Databases

Redis Latency Analysis: Common Causes and How to Diagnose Them

This article explains why Redis latency can suddenly increase, covering high‑complexity commands, large keys, concentrated expirations, memory limits, fork overhead, CPU binding, AOF settings, swap usage, and network overload, and provides concrete diagnostic commands and mitigation strategies.

MemoryPerformanceRedis
0 likes · 18 min read
Redis Latency Analysis: Common Causes and How to Diagnose Them
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 30, 2020 · Databases

Redis Memory Eviction Policies, Expiration Strategies, Cache Issues, Deployment Modes, and Persistence Mechanisms

This article explains Redis’s memory eviction policies, expiration strategies, common cache problems such as penetration, breakdown, and avalanche, outlines deployment modes, compares RDB and AOF persistence, and lists typical business scenarios for using Redis as a high‑performance key‑value store.

Cache strategiesDatabasePersistence
0 likes · 9 min read
Redis Memory Eviction Policies, Expiration Strategies, Cache Issues, Deployment Modes, and Persistence Mechanisms
Architecture Digest
Architecture Digest
Dec 30, 2020 · Databases

Redis Latency Analysis and Mitigation Strategies

This article examines common causes of increased latency in Redis—including high‑complexity commands, large keys, concentrated expirations, memory limits, fork overhead, CPU binding, AOF settings, swap usage, and network saturation—and provides practical monitoring and configuration techniques to diagnose and reduce delays.

OptimizationPerformanceRedis
0 likes · 17 min read
Redis Latency Analysis and Mitigation Strategies
MaGe Linux Operations
MaGe Linux Operations
Dec 27, 2020 · Operations

Step‑by‑Step Guide to Deploy JumpServer with Docker, MariaDB & Redis

This tutorial walks you through installing JumpServer—a bastion host for centralized server management—by setting up MariaDB and Redis on separate nodes, configuring Docker, pulling the JumpServer image, generating required secret keys, and finally configuring users, groups, assets and session replay through the web UI.

DevOpsDockerJumpServer
0 likes · 15 min read
Step‑by‑Step Guide to Deploy JumpServer with Docker, MariaDB & Redis
Architect
Architect
Dec 27, 2020 · Backend Development

Understanding Cache Penetration, Breakdown, and Avalanche with Redis and Bloom Filters

This article explains the concepts of cache penetration, cache breakdown, and cache avalanche in Redis, presents common mitigation techniques such as request validation, empty‑value caching, Bloom filters, mutex locks, and high‑availability strategies, and includes Java code examples for practical implementation.

Bloom filterCacheJava
0 likes · 8 min read
Understanding Cache Penetration, Breakdown, and Avalanche with Redis and Bloom Filters
Programmer DD
Programmer DD
Dec 26, 2020 · Databases

Understanding Redis Persistence: RDB vs AOF Explained

This article explains Redis persistence mechanisms, detailing how the in‑memory database can lose data on shutdown and how the two main durability options—RDB snapshots and AOF append‑only logs—work, their configuration commands, their advantages, disadvantages, and guidance on choosing the right approach for production use.

AOFDatabaseNoSQL
0 likes · 13 min read
Understanding Redis Persistence: RDB vs AOF Explained
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Dec 25, 2020 · Backend Development

Implementing Message Queues with Redis: Lists, Zsets, Pub/Sub, and Streams

This article explains how Redis can be used to build lightweight, high‑performance message queues by leveraging lists for simple queues, sorted sets for delayed delivery, Pub/Sub for multicast, and the Stream data structure for durable, scalable messaging, while also covering practical PHP implementations, acknowledgment, retry, graceful restart, and rate‑limiting techniques.

Message QueuePHPRedis
0 likes · 19 min read
Implementing Message Queues with Redis: Lists, Zsets, Pub/Sub, and Streams
360 Quality & Efficiency
360 Quality & Efficiency
Dec 25, 2020 · Backend Development

Evolution of Redis Distributed Locks and Redisson Implementation Analysis

This article explains how distributed lock requirements arise when scaling from monolithic to multi‑server architectures, reviews the evolution of Redis‑based locking mechanisms from simple SETNX to Lua scripts and Redisson's advanced features, and provides detailed source‑code analysis of Redisson's lock, unlock, and lock acquisition implementations.

LockRedisRedisson
0 likes · 12 min read
Evolution of Redis Distributed Locks and Redisson Implementation Analysis
Ctrip Technology
Ctrip Technology
Dec 24, 2020 · Databases

CTrip Redis Governance Evolution: Horizontal Scaling and Shrinking Solution

This article describes how CTrip tackled rapid Redis cluster growth by moving from vertical scaling to a containerized horizontal splitting approach, then introduced a binlog‑server based horizontal expansion and shrinkage method that reduces operation time, eliminates data migration, supports both scaling up and down, and improves resource utilization.

Rediscontainerizationdatabase operations
0 likes · 13 min read
CTrip Redis Governance Evolution: Horizontal Scaling and Shrinking Solution
Fulu Network R&D Team
Fulu Network R&D Team
Dec 23, 2020 · Information Security

Practical Implementation of IdentityServer4 in the Fuluteng Project

This article provides a hands‑on guide to using IdentityServer4 in the Fuluteng project, covering signing credentials, client and resource stores, persisted grant storage with Redis, various OAuth2 grant types including client credentials, authorization code, password, and custom extensions such as SMS and third‑party logins, and demonstrates role‑based authorization and JWT configuration.

ASP.NET CoreAuthenticationCustom Grant
0 likes · 26 min read
Practical Implementation of IdentityServer4 in the Fuluteng Project
Top Architect
Top Architect
Dec 22, 2020 · Backend Development

Design and Implementation of a High‑Concurrency Short URL Service

This article explains the benefits of short URLs, outlines their basic workflow, and details a backend design that uses an incremental issuer, base conversion, persistent storage, caching, batch ID allocation, and distributed issuers to achieve efficient, high‑concurrency short‑URL generation.

JavaRedisService design
0 likes · 10 min read
Design and Implementation of a High‑Concurrency Short URL Service
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Dec 22, 2020 · Backend Development

How Short URLs Work: From Generation to High‑Performance Service Design

This article explains why short URLs are used in SMS and other platforms, outlines their benefits, describes the basic workflow of mapping long URLs to short ones, and dives into backend design choices such as incremental ID generation, storage strategies, caching, batch allocation, and distributed generation using Redis and Java.

JavaRedisbackend
0 likes · 11 min read
How Short URLs Work: From Generation to High‑Performance Service Design
Code Ape Tech Column
Code Ape Tech Column
Dec 22, 2020 · Databases

Comparison and Review of Popular Redis Visualization Tools

This article evaluates and compares a range of Redis visualization tools—including desktop clients, web applications, and IDE plugins—by examining their features, usability, platform support, pricing, and command‑line integration to help developers choose the most suitable solution for their workflow.

Desktop ClientIDE pluginRedis
0 likes · 9 min read
Comparison and Review of Popular Redis Visualization Tools
Code Ape Tech Column
Code Ape Tech Column
Dec 21, 2020 · Backend Development

13 Proven Redis Performance Tweaks Every Engineer Should Apply

This article presents thirteen practical Redis performance‑optimization rules—covering command complexity, key expiration, data structures, persistence, hardware choices, clustering, memory fragmentation, and client‑side techniques—to help developers identify bottlenecks and boost throughput and latency in production environments.

Memory ManagementOptimizationPerformance
0 likes · 12 min read
13 Proven Redis Performance Tweaks Every Engineer Should Apply
Java Backend Technology
Java Backend Technology
Dec 19, 2020 · Databases

Deep Dive into Redis: Data Structures, Persistence, and High Availability

This comprehensive guide explores Redis internals, covering its core data types and their low‑level implementations, persistence mechanisms like RDB and AOF, performance tricks, common pitfalls such as cache avalanche and split‑brain, distributed locking strategies, expiration and eviction policies, high‑availability architectures, and rate‑limiting techniques.

PersistenceRedishigh availability
0 likes · 35 min read
Deep Dive into Redis: Data Structures, Persistence, and High Availability
Top Architect
Top Architect
Dec 18, 2020 · Fundamentals

Understanding Bloom Filters: Principles, Applications, and Java Implementations with Guava and Redis

This article explains Bloom filters, their core principles, typical use cases like cache penetration and large‑scale membership testing, and demonstrates practical Java implementations using Guava and Redis, including code examples, performance analysis, and discussion of their advantages and limitations.

Bloom filterCache PenetrationGuava
0 likes · 12 min read
Understanding Bloom Filters: Principles, Applications, and Java Implementations with Guava and Redis
Architect's Tech Stack
Architect's Tech Stack
Dec 18, 2020 · Databases

How to Use Redis to Count Website Visits: Hash, Bitset, and Probabilistic Algorithms

This article explains three Redis-based approaches—using Hashes, Bitsets, and the HyperLogLog probabilistic algorithm—to count daily website visits, detailing command usage, advantages, disadvantages, and implementation considerations for high‑traffic sites, including handling logged‑in and anonymous users, memory consumption, and accuracy trade‑offs.

Data StructuresProbabilistic AlgorithmsRedis
0 likes · 6 min read
How to Use Redis to Count Website Visits: Hash, Bitset, and Probabilistic Algorithms
Laravel Tech Community
Laravel Tech Community
Dec 15, 2020 · Backend Development

lock4j-spring-boot-starter 2.1.0 Release Overview

lock4j-spring-boot-starter is a Spring Boot distributed lock library that provides simple yet powerful locking capabilities with support for Redisson, RedisTemplate, and Zookeeper, and the 2.1.0 release adds global configuration, executor enhancements, default priority ordering, and both declarative and programmatic usage options.

JavaRedisSpring Boot
0 likes · 2 min read
lock4j-spring-boot-starter 2.1.0 Release Overview
FunTester
FunTester
Dec 15, 2020 · Backend Development

Run All Scrapy Spiders Together and Fix Video Download Errors

This guide shows how to create a custom Scrapy command to launch every spider at once, separate each spider's settings for better modularity, and resolve video download problems by adjusting request headers and handling file saving correctly.

Custom CommandPythonRedis
0 likes · 5 min read
Run All Scrapy Spiders Together and Fix Video Download Errors
Programmer DD
Programmer DD
Dec 14, 2020 · Databases

Master Redis: Explore All 8 Data Types and Essential Commands

This guide walks through Redis’s eight core data structures—String, List, Set, Hash, Sorted Set, Geospatial, HyperLogLog, and Bitmap—detailing their commands, practical usage scenarios, and example interactions to help developers ace interview questions and optimize NoSQL solutions.

Data TypesDatabaseNoSQL
0 likes · 24 min read
Master Redis: Explore All 8 Data Types and Essential Commands
Code Ape Tech Column
Code Ape Tech Column
Dec 12, 2020 · Backend Development

Building a Scalable Short‑URL Service with Redis and Java

Short URLs are popular in SMS and social media because they save characters, look tidy, enable analytics, and hide parameters; this article explains their benefits, the basic redirect workflow, and provides a detailed backend design—including storage choices, high‑concurrency strategies, distributed ID generation, and a Java‑Redis implementation.

JavaRedisbackend
0 likes · 11 min read
Building a Scalable Short‑URL Service with Redis and Java
Top Architect
Top Architect
Dec 11, 2020 · Backend Development

Designing a High-Concurrency Ticket‑Spiking System with Load Balancing, Redis, and Go

This article explains how to build a high‑concurrency ticket‑spike system by analyzing 12306's extreme load, introducing multi‑layer load balancing (OSPF, LVS, Nginx), comparing stock‑deduction strategies, and presenting a Go prototype that uses in‑memory stock, Redis centralized inventory, and weighted Nginx routing to achieve scalable, fault‑tolerant performance.

GoRedishigh-concurrency
0 likes · 19 min read
Designing a High-Concurrency Ticket‑Spiking System with Load Balancing, Redis, and Go
IT Architects Alliance
IT Architects Alliance
Dec 10, 2020 · Backend Development

Designing a High‑Concurrency Ticket Spike System: Load Balancing, Stock Deduction, and Go Implementation

This article explores the architecture and implementation of a high‑concurrency ticket‑spike system, covering distributed load‑balancing, Nginx weighted round‑robin configuration, Go‑based local and remote stock deduction with Redis, performance testing, and strategies to avoid overselling and underselling.

GoRedisdistributed system
0 likes · 19 min read
Designing a High‑Concurrency Ticket Spike System: Load Balancing, Stock Deduction, and Go Implementation
Selected Java Interview Questions
Selected Java Interview Questions
Dec 8, 2020 · Backend Development

High‑Concurrency Performance Tuning of a Java SSM E‑commerce Project: Diagnosis, Optimization, and Results

This article details a complete end‑to‑end high‑concurrency tuning process for a Java SSM monolithic e‑commerce system, covering problem identification, root‑cause analysis, a series of JVM, Tomcat, Redis and JDBC optimizations, horizontal scaling, code refactoring, and the resulting stability improvements.

JVMJavaPerformance Tuning
0 likes · 9 min read
High‑Concurrency Performance Tuning of a Java SSM E‑commerce Project: Diagnosis, Optimization, and Results
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Dec 7, 2020 · Backend Development

How to Build a Million-User Ticket Spike System with Go, Nginx, and Redis

This article explores the architecture and implementation of a high‑concurrency ticket‑spike system inspired by China’s 12306 platform, covering load‑balancing strategies, Nginx weighted round‑robin, local and remote inventory deduction, Go concurrency patterns, Redis atomic operations, and performance testing results.

GoRedisticketing system
0 likes · 21 min read
How to Build a Million-User Ticket Spike System with Go, Nginx, and Redis
Programmer DD
Programmer DD
Dec 6, 2020 · Databases

Master Redis Interview: Persistence, Caching Strategies, Clustering & More

This comprehensive guide covers essential Redis interview topics, including persistence mechanisms (RDB and AOF), cache challenges such as avalanche, penetration and pre‑warming, data types and their use cases, internal structures, eviction policies, single‑thread performance, clustering solutions, distributed locking, transactions, and best practices for high‑traffic environments.

ClusteringPerformancePersistence
0 likes · 25 min read
Master Redis Interview: Persistence, Caching Strategies, Clustering & More
Architect
Architect
Dec 5, 2020 · Backend Development

High‑Concurrency Ticket Spike System Architecture and Implementation with Nginx, Redis, and Go

The article analyzes the extreme‑traffic challenges of China’s 12306 ticket‑spike service, presents a layered load‑balancing architecture using OSPF, LVS, and Nginx weighted round‑robin, and demonstrates a Go‑based prototype that combines local in‑memory stock deduction with Redis‑backed global stock control to achieve stable, high‑throughput ticket purchasing without overselling.

GoRedishigh-concurrency
0 likes · 20 min read
High‑Concurrency Ticket Spike System Architecture and Implementation with Nginx, Redis, and Go
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 3, 2020 · Databases

Manual Setup of a Redis Cluster on macOS

This article provides a step‑by‑step guide for manually building a six‑node Redis cluster on macOS, detailing environment setup, configuration changes, node startup, slot allocation, and converting master nodes to slaves, with screenshots and command examples.

ClusterDatabaseRedis
0 likes · 6 min read
Manual Setup of a Redis Cluster on macOS
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Dec 1, 2020 · Databases

Analysis of Redis Master‑Slave Replication and Cluster Working Principles

This article explains the mechanisms of Redis master‑slave data synchronization—including full and partial resynchronization—details the internal workings of Redis clustering, slot assignment, automatic node detection, and failover recovery, and provides practical insights for building reliable Redis deployments.

ClusterData synchronizationDatabase
0 likes · 12 min read
Analysis of Redis Master‑Slave Replication and Cluster Working Principles
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Dec 1, 2020 · Databases

Why Redis Dominates Modern Caching: Features, Architecture, and Best Practices

Redis, an in‑memory C‑language database, offers ultra‑fast read/write speeds, rich data structures, persistence, clustering, and multi‑threaded I/O, making it ideal for distributed caching, locks, queues, and more; this guide explains its fundamentals, comparisons with Memcached, data types, eviction policies, and operational best practices.

CacheData StructuresDatabase
0 likes · 36 min read
Why Redis Dominates Modern Caching: Features, Architecture, and Best Practices
Laravel Tech Community
Laravel Tech Community
Nov 30, 2020 · Databases

Eight Redis Data Types and Their Core Commands

This article introduces Redis's eight fundamental data types—String, List, Set, Hash, Sorted Set, Geospatial, HyperLogLog, and Bitmap—explaining their characteristics, typical use‑cases, and providing concrete command‑line examples that demonstrate creation, manipulation, and querying of each type.

Data TypesDatabaseRedis
0 likes · 22 min read
Eight Redis Data Types and Their Core Commands
System Architect Go
System Architect Go
Nov 30, 2020 · Databases

Five Ways to Sync MySQL Data to Elasticsearch, Redis, MQ, etc.

This article outlines five practical methods for synchronizing MySQL data to external systems such as Elasticsearch, Redis, and message queues, covering business‑layer hooks, middleware integration, scheduled tasks using updated_at, binlog parsing with ROW format, and handling mixed or statement binlog formats, plus open‑source tools.

Data synchronizationElasticsearchKafka
0 likes · 5 min read
Five Ways to Sync MySQL Data to Elasticsearch, Redis, MQ, etc.
New Oriental Technology
New Oriental Technology
Nov 30, 2020 · Backend Development

Five Implementation Approaches for Delayed Messages in Message Queues

This article explains the concept and common use cases of delayed messages and compares five practical implementation methods—using Redis sorted sets, RabbitMQ delayed‑message exchange plugin, ActiveMQ scheduled messages, RocketMQ fixed delay levels, and a custom RocketMQ solution—detailing their workflows, advantages, and drawbacks.

ActiveMQImplementationMessage Queue
0 likes · 19 min read
Five Implementation Approaches for Delayed Messages in Message Queues
Code Ape Tech Column
Code Ape Tech Column
Nov 30, 2020 · Backend Development

Master Redis: Persistence, Caching Pitfalls, Clustering & Performance Tips

This article provides a comprehensive guide to Redis for interview preparation, covering persistence mechanisms, common caching challenges such as avalanche and penetration, data types and their use cases, internal structures, expiration policies, single‑threaded performance, clustering options, distributed locking, and best‑practice solutions.

ClusteringData TypesPerformance
0 likes · 27 min read
Master Redis: Persistence, Caching Pitfalls, Clustering & Performance Tips
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 29, 2020 · Databases

Understanding Redis Expiration Strategies, RDB, and AOF Implementation

This article explains Redis's cache expiration policies—including timed, periodic, and lazy eviction—details the internal structure and parsing of RDB files, and describes the AOF persistence mechanism with its write‑ahead logging, synchronization options, and rewrite process, providing a comprehensive view of Redis data durability.

AOFCacheDatabase
0 likes · 11 min read
Understanding Redis Expiration Strategies, RDB, and AOF Implementation
Ops Development Stories
Ops Development Stories
Nov 27, 2020 · Operations

How to Monitor Redis with Zabbix Agent2: A Complete Guide

This article explains how to use Zabbix Agent2 to monitor Redis, covering the plugin's architecture, configuration priority, methods for retrieving INFO, CONFIG, health status, and slow‑query logs, as well as practical steps to set up the Redis template in Zabbix.

Agent2DevOpsRedis
0 likes · 9 min read
How to Monitor Redis with Zabbix Agent2: A Complete Guide
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 25, 2020 · Databases

Redis Basics: Overview, Installation, and Common Commands

This article introduces Redis as a high‑performance, in‑memory NoSQL database, explains why learning it is valuable, provides step‑by‑step installation instructions, and presents essential commands for keys, strings, lists, sets, sorted sets, and hashes with practical code examples.

DatabaseInstallationNoSQL
0 likes · 10 min read
Redis Basics: Overview, Installation, and Common Commands
Code Ape Tech Column
Code Ape Tech Column
Nov 24, 2020 · Databases

Understanding Redis Persistence: A Deep Dive into AOF and RDB

This article explains Redis's two persistence mechanisms—AOF (Append Only File) and RDB (snapshot)—detailing their concepts, write‑back strategies, rewrite process, performance trade‑offs, snapshot handling, copy‑on‑write technique, incremental snapshots, and the benefits of combining both approaches.

AOFCopy-on-WriteDatabase
0 likes · 14 min read
Understanding Redis Persistence: A Deep Dive into AOF and RDB
macrozheng
macrozheng
Nov 20, 2020 · Operations

How Redis Achieves High Availability: A Story of Replication and Failover

This article narrates how Redis, personified as a character, synchronizes data between master and slave nodes through command propagation, adopts improved sync strategies, and uses Sentinel's INFO and PING checks to detect failures and automatically trigger failover, illustrating a practical high‑availability cache service.

FailoverRedisReplication
0 likes · 4 min read
How Redis Achieves High Availability: A Story of Replication and Failover
Efficient Ops
Efficient Ops
Nov 18, 2020 · Databases

Mastering Redis Persistence: RDB vs AOF Explained

This article provides a comprehensive guide to Redis persistence mechanisms, detailing how RDB snapshots and AOF logs work, how to configure and use them, their advantages and drawbacks, and how to choose the right approach for reliable data storage.

AOFNoSQLPersistence
0 likes · 12 min read
Mastering Redis Persistence: RDB vs AOF Explained
dbaplus Community
dbaplus Community
Nov 16, 2020 · Cloud Native

How Xiaomi Scaled Redis with Kubernetes: Resource Isolation, Automation, and Proxy Design

This article details Xiaomi's migration of tens of thousands of Redis instances from physical servers to Kubernetes, explaining the motivations for containerization, the deployment architecture with StatefulSets and a custom Redis Proxy, performance comparisons of proxy options, operational challenges, and the resulting benefits in resource utilization, automation, and service stability.

AutomationKubernetesRedis
0 likes · 18 min read
How Xiaomi Scaled Redis with Kubernetes: Resource Isolation, Automation, and Proxy Design
Architect's Tech Stack
Architect's Tech Stack
Nov 13, 2020 · Databases

How to Safely Scan Large Redis Keyspaces with the SCAN Command

This article explains why using the KEYS command on massive Redis datasets can cause service blockage, analyzes the underlying O(n) traversal cost, and demonstrates how the incremental SCAN command with cursor, MATCH, and COUNT options provides a non‑blocking alternative for efficiently iterating keys.

PerformanceRedisSCAN
0 likes · 5 min read
How to Safely Scan Large Redis Keyspaces with the SCAN Command
Laravel Tech Community
Laravel Tech Community
Nov 10, 2020 · Backend Development

Implementing User Check‑In Feature: MySQL vs Redis Bitmap Approaches

This article examines common techniques for implementing a user check‑in function in web and mobile applications, comparing a straightforward MySQL table solution with a Redis bitmap approach, detailing the data structures, code examples, workflow, and the advantages and disadvantages of each method.

BitMapMySQLRedis
0 likes · 6 min read
Implementing User Check‑In Feature: MySQL vs Redis Bitmap Approaches
ITPUB
ITPUB
Nov 9, 2020 · Backend Development

Why Distributed Locks Matter: Solving Inventory Oversell with Redis and Zookeeper

The article explains how a single‑machine Java lock can cause inventory oversell in a distributed e‑commerce system, introduces the concept of a global distributed lock, and compares practical implementations using Redis (including RedLock and Redisson) and Zookeeper (with Curator), highlighting their trade‑offs and selection guidelines.

RedisRedissonZookeeper
0 likes · 17 min read
Why Distributed Locks Matter: Solving Inventory Oversell with Redis and Zookeeper
php Courses
php Courses
Nov 5, 2020 · Backend Development

Installing and Configuring the PHP Redis Extension for a Historical Search Queue

This guide walks through checking your PHP configuration, downloading the appropriate Redis extension, installing it, updating php.ini, verifying the installation, starting the Redis service, and shows the core template and PHP server code needed to implement a historical search queue using Redis.

Extension InstallationPHPQueue
0 likes · 2 min read
Installing and Configuring the PHP Redis Extension for a Historical Search Queue
Programmer DD
Programmer DD
Nov 4, 2020 · Databases

7 Essential Linux Tweaks to Supercharge Redis Performance

This guide explains seven critical Linux operating‑system settings—memory overcommit, swappiness, Transparent Huge Pages, OOM killer, NTP synchronization, ulimit, and TCP backlog—that together ensure Redis runs reliably and at peak speed.

DatabaseMemory ManagementOS Tuning
0 likes · 14 min read
7 Essential Linux Tweaks to Supercharge Redis Performance
php Courses
php Courses
Nov 2, 2020 · Backend Development

Implementing a Redis Multi-Database Singleton Wrapper in ThinkPHP

This guide demonstrates how to set up a Redis multi-database singleton wrapper in a ThinkPHP project, covering prerequisite installation, configuration of connection parameters, creation of a custom Redis class with static instance management, and example usage of Redis commands across different databases.

CachePHPRedis
0 likes · 3 min read
Implementing a Redis Multi-Database Singleton Wrapper in ThinkPHP
php Courses
php Courses
Nov 2, 2020 · Backend Development

Using Laravel's RedisLock to Prevent Cache Breakdown

This article explains the cache breakdown problem, introduces Laravel 7's built‑in RedisLock class, details its constructor parameters, and provides a complete code example demonstrating how to acquire and release a Redis lock to safely populate and update cached data.

CacheLockPHP
0 likes · 3 min read
Using Laravel's RedisLock to Prevent Cache Breakdown