Tagged articles
3250 articles
Page 28 of 33
Selected Java Interview Questions
Selected Java Interview Questions
Jan 8, 2020 · Backend Development

Compilation of Java Interview Articles (Issues 1‑40)

This article aggregates over forty WeChat posts that cover Java interview topics ranging from Redis and hash structures to Spring lifecycle, multithreading, serialization, and database sharding, providing a valuable reference for developers preparing for technical interviews.

BackendInterviewJava
0 likes · 4 min read
Compilation of Java Interview Articles (Issues 1‑40)
Java Captain
Java Captain
Jan 6, 2020 · Backend Development

Implementing API Idempotency with Redis Token Mechanism in Spring Boot

This article explains how to achieve interface idempotency in a Spring Boot application by generating a unique token for each request, storing it in Redis, validating the token via a custom annotation and interceptor, and provides complete code examples and testing guidance.

IdempotencyInterceptorJava
0 likes · 16 min read
Implementing API Idempotency with Redis Token Mechanism in Spring Boot
Java Architecture Diary
Java Architecture Diary
Jan 6, 2020 · Databases

How to Install and Use the Redis 6.0 Cluster Proxy

This guide explains the new Redis 6.0 cluster proxy feature, its purpose, and provides step‑by‑step instructions for installing, starting, and connecting to the proxy, including required GCC upgrades and example commands for a smooth setup.

BackendCluster‑ProxyDatabase
0 likes · 2 min read
How to Install and Use the Redis 6.0 Cluster Proxy
Didi Tech
Didi Tech
Jan 5, 2020 · Backend Development

Investigation and Optimization of High‑Frequency Go Service Timeout in Containers

The study traced severe Redis latency spikes in an 8‑core container to the Go runtime mistakenly reading the host’s CPU count, which created hundreds of threads and scheduler contention; limiting GOMAXPROCS to the container’s quota eliminated the jitter, while further gains were suggested by reducing HMGET calls, tuning GC, and upgrading Go.

CPUContainerGOMAXPROCS
0 likes · 14 min read
Investigation and Optimization of High‑Frequency Go Service Timeout in Containers
Senior Brother's Insights
Senior Brother's Insights
Jan 4, 2020 · Databases

How iQIYI Chooses, Optimizes, and Manages Its Diverse Database Stack

This article walks through iQIYI's practical approach to database selection, covering key evaluation dimensions, a taxonomy of SQL/NoSQL and OLTP/OLAP workloads, detailed optimizations for MySQL, Redis, Couchbase and the internally built HiKV, as well as multi‑stage operational management and concrete selection recommendations.

CouchbaseHiKVMySQL
0 likes · 21 min read
How iQIYI Chooses, Optimizes, and Manages Its Diverse Database Stack
Top Architect
Top Architect
Jan 2, 2020 · Backend Development

Designing a High‑Concurrency Ticket‑Seckill System with Load Balancing, Pre‑Deduction, and Go Implementation

This article analyzes the challenges of handling millions of simultaneous train‑ticket purchase requests, presents a multi‑layer load‑balancing architecture, introduces a pre‑deduction inventory strategy using Redis and local memory, and demonstrates a complete Go implementation with performance testing and key architectural insights.

Distributed SystemsGoRedis
0 likes · 18 min read
Designing a High‑Concurrency Ticket‑Seckill System with Load Balancing, Pre‑Deduction, and Go Implementation
Programmer DD
Programmer DD
Jan 1, 2020 · Backend Development

How to Build a High‑Performance Flash Sale System: Architecture & Code

This article examines the key challenges of flash‑sale (秒杀) systems—overselling, massive concurrency, URL exposure, and database coupling—and presents a complete backend design featuring dedicated databases, dynamic URLs, static pages, Redis clustering, Nginx proxy, rate‑limiting, token‑bucket control, asynchronous order queues, and service degradation strategies.

Backend ArchitectureRate LimitingRedis
0 likes · 14 min read
How to Build a High‑Performance Flash Sale System: Architecture & Code
ITPUB
ITPUB
Dec 28, 2019 · Backend Development

How to Build a High‑Concurrency Ticket‑Snatching System Like 12306 with Nginx, Redis, and Go

This article dissects the extreme‑load challenges of China’s 12306 train‑ticket service, explains its multi‑layer load‑balancing architecture, and provides a complete Go‑based spike‑system example that uses Nginx weighted round‑robin, Redis atomic stock deduction, and channel‑based locking to safely handle millions of concurrent purchase requests.

GoRedishigh concurrency
0 likes · 20 min read
How to Build a High‑Concurrency Ticket‑Snatching System Like 12306 with Nginx, Redis, and Go
Liangxu Linux
Liangxu Linux
Dec 28, 2019 · Backend Development

How to Build a Million‑User Ticket Spike System: Insights from 12306

During holidays, millions of users scramble for train tickets, overwhelming the 12306 system; this article dissects its high‑concurrency architecture, explains load‑balancing layers, demonstrates Nginx weighted round‑robin configuration, and provides a Go‑based spike simulation with Redis stock management and performance results.

GoRedishigh concurrency
0 likes · 21 min read
How to Build a Million‑User Ticket Spike System: Insights from 12306
Suning Technology
Suning Technology
Dec 25, 2019 · Backend Development

How Suning’s Bargain Group Platform Achieves High Availability and Scalability

This article examines Suning's bargain‑group platform transformation, detailing its strategic shift to a platform model, high‑availability architecture, vertical and horizontal decomposition, data sharding, cache design, dual‑data‑center deployment, and link optimizations for handling massive concurrent traffic.

RedisScalabilitybargain-group
0 likes · 19 min read
How Suning’s Bargain Group Platform Achieves High Availability and Scalability
ITPUB
ITPUB
Dec 24, 2019 · Databases

Why Does Redis Have 16 Databases by Default? Origins and Best Practices

Redis creates 16 logical databases by default, a design inherited from its early architecture; this article explains the origin of that number, how to modify it via configuration, the proper way to view these databases as namespaces, and the limitations when using Redis in cluster mode.

CacheClusterDatabases
0 likes · 6 min read
Why Does Redis Have 16 Databases by Default? Origins and Best Practices
Qunar Tech Salon
Qunar Tech Salon
Dec 24, 2019 · Operations

Cache Governance and High‑Availability Practices for Redis in a Hotel Quoting System

The article describes how a hotel quoting team identified recurring Redis‑related outages, designed a comprehensive cache governance plan—including fast recovery, multi‑replica, manual downgrade, and parameter tuning—and executed a structured process that improved system reliability and operational readiness.

Cache GovernanceRedishigh availability
0 likes · 8 min read
Cache Governance and High‑Availability Practices for Redis in a Hotel Quoting System
ITPUB
ITPUB
Dec 21, 2019 · Databases

How to Count Website Visits with Redis: Hash, Bitset, and HyperLogLog

This article explains three Redis‑based techniques—using hash tables, bitsets, and the HyperLogLog probabilistic algorithm—to accurately count daily page views, detailing the required commands, implementation steps, advantages, and limitations for high‑traffic sites.

BitsetHashHyperLogLog
0 likes · 6 min read
How to Count Website Visits with Redis: Hash, Bitset, and HyperLogLog
Java Captain
Java Captain
Dec 20, 2019 · Backend Development

Using Redisson for Distributed Caching in Java Applications

This article explains why caching is essential for Java distributed applications, introduces Redis and Redisson, and demonstrates how to implement distributed caches using Redisson Maps, Spring Cache integration, and the JCache API with practical code examples.

Distributed CacheJCacheJava
0 likes · 6 min read
Using Redisson for Distributed Caching in Java Applications
Big Data Technology & Architecture
Big Data Technology & Architecture
Dec 17, 2019 · Big Data

Understanding Flink Sliding Windows and Performance Optimizations

This article explains Flink's sliding window mechanism, shows how the WindowAssigner and WindowOperator work with code examples, analyzes the performance impact of fine‑grained sliding windows, and proposes a practical workaround using tumbling windows combined with external storage such as Redis for efficient PV/UV aggregation.

Big DataFlinkPerformance Optimization
0 likes · 8 min read
Understanding Flink Sliding Windows and Performance Optimizations
Architecture Digest
Architecture Digest
Dec 16, 2019 · Databases

iQIYI’s Database Selection, Optimization, and Management Practices

This article discusses iQIYI’s approach to database selection, covering evaluation criteria, the variety of databases used—including MySQL, TiDB, Redis, Couchbase, and the in‑house HiKV—along with detailed optimization, high‑availability, auditing, and operational management techniques for each system.

CouchbaseHiKVMySQL
0 likes · 20 min read
iQIYI’s Database Selection, Optimization, and Management Practices
Architecture Digest
Architecture Digest
Dec 14, 2019 · Databases

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

This article presents comprehensive guidelines for Alibaba Cloud Redis, covering readable and concise key naming, value design to avoid big keys, safe command usage, client connection pooling and circuit‑breaker patterns, appropriate eviction policies, and practical code examples for deleting large hashes, lists, sets, and sorted sets.

Best PracticesJavaKey Design
0 likes · 12 min read
Best Practices for Using Alibaba Cloud Redis: Key Design, Command Usage, Client Configuration, and BigKey Management
Ctrip Technology
Ctrip Technology
Dec 12, 2019 · Backend Development

Improving Load Balancing for a Compute‑Intensive Ticket Query Engine with a Pooling Strategy

The article analyzes why a round‑robin load‑balancing approach caused severe response‑time spikes in Ctrip's compute‑intensive international ticket query engine and demonstrates how switching to a proactive pooling model using a Redis‑backed queue eliminated the spikes and reduced average latency by about 20%.

BackendPoolingRedis
0 likes · 6 min read
Improving Load Balancing for a Compute‑Intensive Ticket Query Engine with a Pooling Strategy
Java Captain
Java Captain
Dec 12, 2019 · Databases

Redis Memory Limits, Configuration, and Eviction Policies (LRU & LFU)

This article explains how to set Redis's maximum memory usage via configuration files or commands, describes the built‑in eviction strategies including noeviction, allkeys‑lru, volatile‑lru, allkeys‑random, volatile‑random, volatile‑ttl, and shows how to query and change these policies, while also covering LRU fundamentals, a Java LRU cache example, Redis's approximate LRU implementation, its 3.0 optimizations, and the newer LFU eviction algorithm.

DatabaseJavaLFU
0 likes · 10 min read
Redis Memory Limits, Configuration, and Eviction Policies (LRU & LFU)
Programmer DD
Programmer DD
Dec 10, 2019 · Databases

Mastering Redis: From Caching Basics to Distributed Locks and Cluster Scaling

This comprehensive guide explores Redis caching fundamentals, data structures, key‑search techniques, distributed lock implementation, asynchronous queues, persistence options (RDB, AOF, hybrid), pipeline usage, replication, Sentinel monitoring, and cluster sharding with consistent hashing to help developers build high‑performance, reliable systems.

CachingClusterPersistence
0 likes · 20 min read
Mastering Redis: From Caching Basics to Distributed Locks and Cluster Scaling
JD Retail Technology
JD Retail Technology
Dec 9, 2019 · Databases

Memory Optimization in Redis Using zipList and Hash Bucketing

This article explains how to dramatically reduce Redis memory consumption—by up to 90%—through converting long string keys to integers, leveraging zipList‑encoded hashes, and distributing millions of key‑value pairs across many hash buckets while maintaining query performance.

Data StructuresHashMemory Optimization
0 likes · 11 min read
Memory Optimization in Redis Using zipList and Hash Bucketing
Selected Java Interview Questions
Selected Java Interview Questions
Dec 7, 2019 · Backend Development

Understanding Redis Cache Avalanche, Penetration, and Breakdown: Causes and Mitigation Strategies

The article explains what Redis cache avalanche, penetration, and breakdown are, illustrates real‑world incidents, and provides pre‑, during‑, and post‑incident solutions such as high‑availability setups, local caches with rate limiting, fallback mechanisms, and placeholder writes to prevent database overload.

BackendBreakdownCache
0 likes · 8 min read
Understanding Redis Cache Avalanche, Penetration, and Breakdown: Causes and Mitigation Strategies
Ziru Technology
Ziru Technology
Dec 7, 2019 · Backend Development

How Distributed Delayed Scheduling Guarantees High Availability with Redis and RabbitMQ

This article explains how a distributed delayed‑execution component solves business scenarios that require timed actions, ensuring high availability and data consistency by leveraging Redis sorted sets and RabbitMQ dead‑letter queues, while providing a simple Java API and optional DB‑backed reliability.

Distributed SchedulingJavaRabbitMQ
0 likes · 9 min read
How Distributed Delayed Scheduling Guarantees High Availability with Redis and RabbitMQ
Ops Development Stories
Ops Development Stories
Dec 6, 2019 · Databases

Master Redis: Installation, Commands, and Persistence Explained

An in‑depth guide covering Redis fundamentals, installation steps, daemon configuration, password setup, core commands for strings, lists, hashes, sets and sorted sets, internal encodings, and both RDB and AOF persistence mechanisms, complete with practical code examples and configuration snippets.

Data StructuresInstallationPersistence
0 likes · 38 min read
Master Redis: Installation, Commands, and Persistence Explained
Java Captain
Java Captain
Dec 5, 2019 · Databases

Understanding Redis: From Basic Concepts to Advanced Features and Deployment Strategies

This article provides a comprehensive overview of Redis, explaining its core data structures, caching use cases, persistence mechanisms, high‑availability features like Sentinel and replication, clustering for horizontal scaling, and client‑side capabilities such as transactions, Lua scripting, pipelining, and distributed locks.

CachingClusterDatabase
0 likes · 13 min read
Understanding Redis: From Basic Concepts to Advanced Features and Deployment Strategies
Meitu Technology
Meitu Technology
Dec 4, 2019 · Backend Development

Design and Implementation of lmstfy: A Redis‑Based Task Queue Service

lmstfy is a stateless, Redis‑backed task‑queue service from Meitu that provides delayed execution, automatic retries, priority handling, expiration, and a RESTful HTTP API, while supporting horizontal scaling via namespace‑based token routing, rich Prometheus metrics, and future disk‑based storage extensions.

Distributed SystemsRedisTask Queue
0 likes · 15 min read
Design and Implementation of lmstfy: A Redis‑Based Task Queue Service
dbaplus Community
dbaplus Community
Dec 3, 2019 · Databases

How iQIYI Selects, Optimizes, and Manages Its Diverse Database Stack

This article explains iQIYI's multi‑dimensional approach to database selection, details the practical use and optimization of MySQL, TiDB, Redis, Couchbase, and the internally built HiKV, and offers concrete recommendations for choosing the right database in different scenarios.

CouchbaseDatabasesHiKV
0 likes · 20 min read
How iQIYI Selects, Optimizes, and Manages Its Diverse Database Stack
Java Captain
Java Captain
Dec 2, 2019 · Backend Development

Implementing Interface Rate Limiting in Spring Boot with Annotations and Redis

This article demonstrates how to create a custom @AccessLimit annotation, implement a Spring MVC interceptor that uses Redis to count requests, register the interceptor in a Spring Boot application, and apply the annotation to controller methods to achieve rate‑limiting functionality.

InterceptorJavaRate Limiting
0 likes · 6 min read
Implementing Interface Rate Limiting in Spring Boot with Annotations and Redis
Java High-Performance Architecture
Java High-Performance Architecture
Dec 2, 2019 · Databases

How Redis Sentinel Ensures Automatic Failover and High Availability

Redis Sentinel provides an automated high‑availability solution for Redis by monitoring master health, broadcasting SDOWN/ODOWN messages, electing a new master based on priority, offset and runid, and allowing clients to discover the current master via sentinel commands, all explained with configuration examples and diagrams.

Redisconfigurationhigh availability
0 likes · 6 min read
How Redis Sentinel Ensures Automatic Failover and High Availability
Architecture Digest
Architecture Digest
Nov 28, 2019 · Backend Development

Implementing a Like/Unlike Feature with Redis Caching and Periodic Persistence in Spring Cloud

This article details a complete backend solution for a high‑frequency like/unlike feature using Spring Cloud, Redis as a cache, MySQL for persistence, and Quartz to periodically transfer cached data to the database, covering installation, configuration, data modeling, service design, and scheduled tasks.

BackendCachingLikeFeature
0 likes · 15 min read
Implementing a Like/Unlike Feature with Redis Caching and Periodic Persistence in Spring Cloud
Qunar Tech Salon
Qunar Tech Salon
Nov 28, 2019 · Databases

Qunar Redis High‑Availability Architecture Design, Security Mechanisms, and Automated Operations

This article details the design principles, components, client implementation, data sharding, security mechanisms, high‑risk command blocking, configuration optimizations, and automated operational workflows of Qunar's Redis high‑availability cluster, including code modifications, deployment scripts, and platform‑based management for large‑scale production environments.

Database ArchitectureRedisSecurity
0 likes · 18 min read
Qunar Redis High‑Availability Architecture Design, Security Mechanisms, and Automated Operations
Java Captain
Java Captain
Nov 27, 2019 · Backend Development

Designing a High‑Concurrency Flash Sale System Using Cloud Redis Caching

This article explains how to build a high‑traffic flash‑sale (秒杀) system by leveraging browser and CDN caching, read‑write split Redis for traffic interception, master‑slave Redis for atomic inventory deduction with Lua scripts, and Redis‑based message queues for asynchronous order processing.

CachingLua ScriptRedis
0 likes · 8 min read
Designing a High‑Concurrency Flash Sale System Using Cloud Redis Caching
Huajiao Technology
Huajiao Technology
Nov 26, 2019 · Backend Development

How Pepperbus Unifies Asynchronous Task Management Across Diverse Tech Stacks

This article details the design, requirements, architecture, and operational dashboard of Pepperbus, a unified bus system that standardizes asynchronous task handling for PHP, Java, and Go services at Huajiao, highlighting its storage plug‑in model, Redis‑based protocol, and monitoring capabilities.

AsynchronousPHPQueue
0 likes · 8 min read
How Pepperbus Unifies Asynchronous Task Management Across Diverse Tech Stacks
Programmer DD
Programmer DD
Nov 24, 2019 · Databases

Redis Best Practices: Naming, Size Limits, Expiration, and Command Pitfalls

This guide outlines practical Redis best practices, covering readable key naming with colons, keeping string values under 10 KB, setting expirations, avoiding O(n) commands, disabling risky commands, leveraging batch operations, and responsibly using the monitor command to maintain performance and stability.

Best PracticesKey NamingRedis
0 likes · 7 min read
Redis Best Practices: Naming, Size Limits, Expiration, and Command Pitfalls
Architect's Tech Stack
Architect's Tech Stack
Nov 23, 2019 · Databases

Redis Usage Guidelines and Operational Restrictions

This article provides comprehensive best‑practice guidelines for using Redis, covering data classification, key naming, size and connection limits, cache TTL, recommended client‑hash sharding, and a strict list of prohibited commands and operations to ensure performance, reliability, and maintainability.

CacheOperationsPerformance
0 likes · 9 min read
Redis Usage Guidelines and Operational Restrictions
MaGe Linux Operations
MaGe Linux Operations
Nov 21, 2019 · Backend Development

Surviving a ByteDance Interview: Nginx, Redis, and Data‑Structure Lessons

The author recounts a grueling ByteDance video interview, detailing technical questions on Django deployment, Nginx configuration, uWSGI internals, Redis fundamentals, heap data structures and quick‑sort coding, while sharing hard‑earned career advice for developers preparing for high‑stakes interviews.

BackendData StructuresRedis
0 likes · 12 min read
Surviving a ByteDance Interview: Nginx, Redis, and Data‑Structure Lessons
dbaplus Community
dbaplus Community
Nov 20, 2019 · Backend Development

Designing a High‑Concurrency Ticket‑Spiking System for 1M Users and 10K Tickets

This article explains how to architect a high‑concurrency ticket‑seckill system that can handle one million simultaneous users buying ten thousand tickets, covering load‑balancing strategies, Nginx weighted round‑robin configuration, Go service implementation, Redis‑based inventory management, and performance testing results.

Distributed SystemsGoRedis
0 likes · 20 min read
Designing a High‑Concurrency Ticket‑Spiking System for 1M Users and 10K Tickets
Efficient Ops
Efficient Ops
Nov 20, 2019 · Databases

Mastering Codis: Seamless Redis Scaling and High‑Availability Strategies

This comprehensive guide details how Codis extends Redis with a proxy‑based architecture to achieve transparent horizontal scaling, smooth data migration, high availability, fault tolerance, and operational best‑practices, while also covering common Redis pitfalls and performance tuning.

CodisDistributed SystemsRedis
0 likes · 26 min read
Mastering Codis: Seamless Redis Scaling and High‑Availability Strategies
ITPUB
ITPUB
Nov 20, 2019 · Backend Development

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

This article explains the design of a high‑concurrency train‑ticket flash‑sale system, covering distributed load‑balancing, Nginx weighted round‑robin, local and remote stock deduction, Go implementation, Redis atomic scripts, and performance testing with ApacheBench.

GoRedisSystem Design
0 likes · 20 min read
How to Build a Million‑User Ticket‑Spike System with Nginx, Go, and Redis
Qunar Tech Salon
Qunar Tech Salon
Nov 20, 2019 · Databases

Redis Expiration Mechanisms and Key Deletion Strategies

This article explains how Redis manages key expiration using EXPIRE, PEXPIRE, EXPIREAT, and PEXPIREAT commands, details the internal expires dictionary, demonstrates code examples for setting, retrieving, and removing TTL, and discusses the lazy and periodic deletion strategies along with their impact on persistence and replication.

DatabaseExpirationKey Deletion
0 likes · 22 min read
Redis Expiration Mechanisms and Key Deletion Strategies
21CTO
21CTO
Nov 18, 2019 · Backend Development

Building a Scalable Like System with Spring Cloud, Redis, and Quartz

This article explains how to design and implement a high‑frequency like/unlike feature for large social platforms using Spring Cloud, Redis caching, MySQL persistence, and Quartz scheduled jobs, covering Redis setup, data modeling, service interfaces, database schema, and periodic data synchronization.

DatabaseLike SystemQuartz
0 likes · 19 min read
Building a Scalable Like System with Spring Cloud, Redis, and Quartz
Mafengwo Technology
Mafengwo Technology
Nov 14, 2019 · Backend Development

How MaFengWo Built a Scalable Marketing Platform for Double‑11: Architecture Insights

This article details the design and implementation of MaFengWo's marketing platform for the Double‑11 travel promotion, covering its modular architecture, data layer, flexible development model, reliability mechanisms, and future roadmap to support high‑traffic, secure, and maintainable marketing activities.

MarketingRedishigh concurrency
0 likes · 17 min read
How MaFengWo Built a Scalable Marketing Platform for Double‑11: Architecture Insights
58 Tech
58 Tech
Nov 13, 2019 · Backend Development

Using Bull Queue in Node.js to Handle Asynchronous Calls, Traffic Shaping, and Distributed Scheduled Tasks for Frontend Applications

This article explains how front‑end teams can leverage the Node.js Bull queue to implement lightweight asynchronous calls, rate‑limiting traffic spikes, and distributed scheduled jobs, detailing the selection rationale, architectural changes, core Redis‑based mechanisms, and practical deployment tips.

BullDistributed TasksFrontend Infrastructure
0 likes · 9 min read
Using Bull Queue in Node.js to Handle Asynchronous Calls, Traffic Shaping, and Distributed Scheduled Tasks for Frontend Applications
dbaplus Community
dbaplus Community
Nov 10, 2019 · Backend Development

Mastering Redis at Scale: Real‑World Use Cases, Performance Tweaks, and High‑Availability Strategies

This technical guide compiled by Tencent engineers explores common Redis data‑structure use cases, latency and memory considerations, compares distributed deployment options, and provides practical optimization, high‑availability, and troubleshooting techniques for large‑scale Redis (Codis) deployments.

CodisRedishigh availability
0 likes · 15 min read
Mastering Redis at Scale: Real‑World Use Cases, Performance Tweaks, and High‑Availability Strategies
21CTO
21CTO
Nov 8, 2019 · Backend Development

How to Build a Million‑User Ticket Spike System with Nginx Load Balancing and Redis

This article explores the design of a high‑concurrency ticket‑spike system, covering multi‑layer load balancing, weighted Nginx routing, pre‑deduction inventory strategies using Redis, Go implementation details, and performance testing that demonstrates handling millions of requests while preventing oversell and ensuring high availability.

GoRedisload balancing
0 likes · 19 min read
How to Build a Million‑User Ticket Spike System with Nginx Load Balancing and Redis
Big Data Technology & Architecture
Big Data Technology & Architecture
Nov 7, 2019 · Big Data

Real‑time Dashboard with Flink: Streaming Order Data, Site Metrics, and Top‑N Merchandise Rankings

This article demonstrates how to build a one‑second‑refresh real‑time dashboard for e‑commerce order data using Apache Flink, Kafka, and Redis, covering JSON message parsing, processing‑time windows, stateful aggregation for site‑level KPIs, and efficient top‑N product ranking via Redis sorted sets.

FlinkKafkaRedis
0 likes · 11 min read
Real‑time Dashboard with Flink: Streaming Order Data, Site Metrics, and Top‑N Merchandise Rankings
Big Data Technology & Architecture
Big Data Technology & Architecture
Nov 6, 2019 · Databases

Understanding Hash Functions, Hash Tables, and Their Implementation in Redis

This article explains the concept of hash functions and hash tables, illustrates how they map data to array indices, discusses collision resolution methods, and details Redis's internal dictionary implementation, including zipmap optimization, operation complexities, and practical usage differences between hashes and sets.

Data StructuresHashMemory Optimization
0 likes · 8 min read
Understanding Hash Functions, Hash Tables, and Their Implementation in Redis
Architect's Tech Stack
Architect's Tech Stack
Nov 4, 2019 · Backend Development

Design and Implementation of a High‑Concurrency Ticket Seckill System Using Go, Nginx, and Redis

This article explains how to build a high‑concurrency train‑ticket flash‑sale system that can handle millions of requests by combining layered load‑balancing, Nginx weighted round‑robin, in‑memory stock deduction, Redis atomic Lua scripts, and a Go HTTP service with channel‑based concurrency control, and it provides performance test results and source code.

GoRedisSeckill
0 likes · 18 min read
Design and Implementation of a High‑Concurrency Ticket Seckill System Using Go, Nginx, and Redis
Selected Java Interview Questions
Selected Java Interview Questions
Nov 4, 2019 · Databases

Redis Expiration Strategies and Memory Eviction Mechanisms

This article explains how Redis removes expired keys using periodic and lazy deletion, describes the slave expiration handling, details the asynchronous memory reclamation commands like UNLINK and FLUSHALL ASYNC, and outlines the various maxmemory eviction policies including LRU, LFU, and their implementations.

CacheExpirationLFU
0 likes · 13 min read
Redis Expiration Strategies and Memory Eviction Mechanisms
Big Data Technology & Architecture
Big Data Technology & Architecture
Oct 31, 2019 · Backend Development

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

This article explains how to design a high‑concurrency flash‑sale (秒杀) system by leveraging browser and CDN caching, read‑write split Redis for traffic filtering, Lua scripts for atomic stock deduction, master‑slave Redis for fast inventory updates, and Redis‑based message queues for asynchronous order processing.

Backend ArchitectureLuaMessage queue
0 likes · 8 min read
Designing a High-Concurrency Flash Sale System Using Redis Caching and Lua Scripts
21CTO
21CTO
Oct 31, 2019 · Backend Development

Master Distributed Rate Limiting with Token Buckets, Redis, and Code

This article explains why rate limiting is essential for microservice stability, compares leaky‑bucket and token‑bucket algorithms, shows how to implement local and distributed throttling with Java's AtomicLong, Redis, and a control‑server architecture, and points to an open‑source project for practical use.

Distributed SystemsJavaRate Limiting
0 likes · 9 min read
Master Distributed Rate Limiting with Token Buckets, Redis, and Code
Big Data Technology & Architecture
Big Data Technology & Architecture
Oct 29, 2019 · Databases

Overview of Alibaba Cloud Redis Architecture and Optimizations

This article summarizes Alibaba Cloud Redis’s architecture, including single-node, high‑availability, cluster, read‑write separation, disaster‑recovery options, and hybrid storage, and details its kernel optimizations such as AOF/Binlog enhancements, multi‑threaded I/O, Memcache compatibility, and performance improvements.

Alibaba CloudPerformance OptimizationRedis
0 likes · 8 min read
Overview of Alibaba Cloud Redis Architecture and Optimizations
Java Backend Technology
Java Backend Technology
Oct 29, 2019 · Backend Development

How to Build a Million‑User Ticket‑Spiking System with Nginx, Go, and Redis

This article explores the architecture and implementation of a high‑concurrency train‑ticket flash‑sale system, covering load‑balancing strategies, weighted round‑robin Nginx configuration, local and remote stock deduction using Go and Redis, performance testing, and key lessons for building reliable, scalable services.

GoRedishigh concurrency
0 likes · 20 min read
How to Build a Million‑User Ticket‑Spiking System with Nginx, Go, and Redis
dbaplus Community
dbaplus Community
Oct 27, 2019 · Databases

How Weibo Scales Redis: Architecture, Optimizations, and Future Plans

This article details how Weibo leverages Redis across billions of requests, describing its massive scale, the challenges of trillion‑level reads/writes, the technical choices and customizations made—including LongSet, HA solutions, multi‑level caching, RocksDB integration—and outlines ongoing capacity and future development strategies.

Cache OptimizationRedisRocksDB
0 likes · 18 min read
How Weibo Scales Redis: Architecture, Optimizations, and Future Plans
Big Data Technology & Architecture
Big Data Technology & Architecture
Oct 26, 2019 · Databases

KeyDB Multithreaded Architecture and Design Overview

KeyDB is a high‑performance, multithreaded fork of Redis that retains full Redis compatibility while delivering up to twice the query throughput and 60 % lower latency, and the article explains its thread model, connection management, fastlock mechanism, and active‑replica features in detail.

DatabaseKeyDBLock
0 likes · 7 min read
KeyDB Multithreaded Architecture and Design Overview
Selected Java Interview Questions
Selected Java Interview Questions
Oct 24, 2019 · Backend Development

Implementing Distributed Locks with Redis: Principles, Code Samples, Redlock Algorithm and Redisson Usage

This article explains the three common distributed‑lock implementations, details the requirements for a Redis‑based lock, provides Java code for acquiring and releasing the lock with Lua scripts, discusses the Redlock algorithm, and shows how to use Redisson’s reentrant and RedLock implementations in production.

BackendJavaRedis
0 likes · 8 min read
Implementing Distributed Locks with Redis: Principles, Code Samples, Redlock Algorithm and Redisson Usage
macrozheng
macrozheng
Oct 22, 2019 · Databases

Mastering Redis Persistence: RDB, AOF, and Hybrid Strategies Explained

This article provides a comprehensive guide to Redis persistence mechanisms, covering the internal database structure, detailed operations of RDB snapshotting and AOF command logging, their configurations, advantages, drawbacks, hybrid persistence, and practical strategy recommendations for various deployment scenarios.

AOFDatabaseHybrid
0 likes · 34 min read
Mastering Redis Persistence: RDB, AOF, and Hybrid Strategies Explained
Java Backend Technology
Java Backend Technology
Oct 20, 2019 · Databases

How KeyDB Transforms Redis into a Multi‑Threaded Database

This article explains how KeyDB, a Redis fork, redesigns the single‑threaded architecture into a multi‑threaded model with worker threads, per‑thread connection management, a custom fastlock mechanism, and an active‑replica mode that enables writable replicas and conflict‑resolution using timestamps.

Connection ManagementKeyDBLock
0 likes · 7 min read
How KeyDB Transforms Redis into a Multi‑Threaded Database
Big Data Technology Architecture
Big Data Technology Architecture
Oct 17, 2019 · Backend Development

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

This article explores the design of a high‑concurrency train‑ticket flash‑sale system, covering distributed load‑balancing architectures, OSPF/LVS/Nginx strategies, pre‑deduction inventory techniques, Go‑based HTTP services, Redis Lua scripts, and performance testing with AB, demonstrating how to achieve stable, scalable ticket‑purchasing under massive traffic.

GoRedishigh concurrency
0 likes · 19 min read
Designing a High‑Concurrency Ticket Spike System: Architecture, Load Balancing, and Go Implementation
Java Captain
Java Captain
Oct 17, 2019 · Backend Development

Implementing Shared Session in Spring Boot with Shiro and Redis Using CrazyCake Plugin

This tutorial demonstrates how to enable shared HTTP sessions across multiple Spring Boot instances by integrating Apache Shiro with Redis via the CrazyCake plugin, configuring Maven dependencies, Redis and Shiro settings, building service and controller layers, and deploying the applications behind an Nginx load balancer for seamless session persistence.

JavaRedisShiro
0 likes · 12 min read
Implementing Shared Session in Spring Boot with Shiro and Redis Using CrazyCake Plugin
21CTO
21CTO
Oct 14, 2019 · Backend Development

How to Build a Million‑User Ticket‑Snatching System with Nginx, Go, and Redis

This article explores the design of a high‑concurrency train‑ticket flash‑sale system, covering load‑balancing strategies, weighted Nginx configuration, in‑memory pre‑deduction, Redis Lua scripts, and Go implementation, and demonstrates its performance with real‑world stress testing.

GoRedishigh concurrency
0 likes · 18 min read
How to Build a Million‑User Ticket‑Snatching System with Nginx, Go, and Redis
Architect's Tech Stack
Architect's Tech Stack
Oct 14, 2019 · Databases

Redis Expiration Strategies and Command Effects on Key TTL

This article explains Redis's expiration policies, detailing how commands like DEL, SET, INCR, LPUSH, PERSIST, RENAME, EXPIRE, and EXPIREAT affect key TTLs, and describes the lazy and periodic deletion mechanisms used by Redis to manage expired keys.

ExpirationLazy DeletionPeriodic Deletion
0 likes · 9 min read
Redis Expiration Strategies and Command Effects on Key TTL
21CTO
21CTO
Sep 28, 2019 · Backend Development

What I Learned From a Tough ByteDance Backend Interview: Nginx, Redis, and More

A candid recount of a ByteDance backend interview reveals how superficial preparation, gaps in Nginx, uWSGI, Redis, and data‑structure knowledge, and nervousness can derail even experienced developers, while offering concrete advice on early preparation, resume framing, and tackling tough technical questions.

BackendInterviewRedis
0 likes · 12 min read
What I Learned From a Tough ByteDance Backend Interview: Nginx, Redis, and More
Java Captain
Java Captain
Sep 24, 2019 · Databases

Redis Overview: Features, Data Types, Commands, Persistence, Replication, Pub/Sub and Transactions

This article provides a comprehensive introduction to Redis, covering its high‑performance key‑value architecture, supported data structures (string, hash, list, set, sorted set), core commands, persistence mechanisms, replication, sentinel monitoring, sharding, pub/sub messaging and transaction handling, with practical command‑line examples.

Data TypesRedisTransactions
0 likes · 16 min read
Redis Overview: Features, Data Types, Commands, Persistence, Replication, Pub/Sub and Transactions
dbaplus Community
dbaplus Community
Sep 23, 2019 · Databases

Why Short Connections, Frequent INFO Calls, and Pipelines Hurt Redis Performance (and How to Fix It)

This article examines three common Redis performance pitfalls—short-lived connections, frequent INFO commands, and misuse of pipelines—by presenting real‑world experiments, profiling data, and source‑level analysis, then offers concrete code changes and best‑practice recommendations to reduce CPU and memory overhead.

CPUMemoryOptimization
0 likes · 15 min read
Why Short Connections, Frequent INFO Calls, and Pipelines Hurt Redis Performance (and How to Fix It)
UCloud Tech
UCloud Tech
Sep 19, 2019 · Cloud Native

How KUN’s Kubernetes Operator Simplifies Stateful Service Deployment

This article explains how UCloud’s KUN platform leverages Kubernetes Operators to simplify deployment and management of stateful distributed services like Redis, covering Operator fundamentals, design choices, Redis Operator features, scope handling, persistence, monitoring, and the overall benefits for DevOps efficiency.

DevOpsKubernetesOperator
0 likes · 16 min read
How KUN’s Kubernetes Operator Simplifies Stateful Service Deployment
Architect's Tech Stack
Architect's Tech Stack
Sep 12, 2019 · Backend Development

Design and Implementation of a Short URL Service in Java

This article explains the benefits of short URLs, outlines the basic workflow of generating and resolving them, and presents a complete Java implementation that uses Redis for fast storage, MySQL for persistence, and various techniques for high concurrency and distributed deployment.

BackendRedishigh concurrency
0 likes · 8 min read
Design and Implementation of a Short URL Service in Java
Sohu Tech Products
Sohu Tech Products
Sep 11, 2019 · Backend Development

Design and Implementation of a High‑Concurrency Flash‑Sale System for Online Real‑Estate Opening

The article explains how to handle massive simultaneous user requests in a flash‑sale scenario by using rate limiting, caching, asynchronous processing, distributed locks, load balancing, and anti‑cheat mechanisms, illustrated with the Sohu Focus online opening system architecture.

Backend ArchitectureCachingDistributed Systems
0 likes · 12 min read
Design and Implementation of a High‑Concurrency Flash‑Sale System for Online Real‑Estate Opening
ITPUB
ITPUB
Sep 9, 2019 · Databases

Redis Interview Essentials: Top Questions & Expert Answers

This article compiles essential Redis interview questions covering its advantages over Memcached, performance pitfalls, data structures, persistence options, clustering, scaling strategies, and practical usage patterns such as distributed locks and asynchronous queues, providing concise answers and best‑practice recommendations for each topic.

CachingDatabasePerformance
0 likes · 18 min read
Redis Interview Essentials: Top Questions & Expert Answers
Sohu Tech Products
Sohu Tech Products
Sep 4, 2019 · Frontend Development

Building a Real‑Time Video Chat Application with Vue, WebRTC, Socket.io, Node.js and Redis

This tutorial walks through creating a full‑stack video‑chat app that supports multiple chat rooms, private messaging, user status, and peer‑to‑peer video calls by combining Vue.js for the frontend, Vuex for state management, Socket.io for real‑time communication, a Node/Express backend, Redis for scaling, and Docker for deployment.

DockerNode.jsRedis
0 likes · 26 min read
Building a Real‑Time Video Chat Application with Vue, WebRTC, Socket.io, Node.js and Redis
Java Captain
Java Captain
Sep 1, 2019 · Information Security

Integrating Apache Shiro with Spring Boot: Configuration, Session Management, and Permission Control

This tutorial demonstrates how to integrate the lightweight Apache Shiro security framework into a Spring Boot 2.1.5 project, covering environment setup, Maven dependencies, Redis session storage, custom utilities, Shiro configuration, permission annotations, test controllers, and Postman verification.

AuthenticationAuthorizationJava
0 likes · 27 min read
Integrating Apache Shiro with Spring Boot: Configuration, Session Management, and Permission Control
Ziru Technology
Ziru Technology
Aug 29, 2019 · Backend Development

Inside Redis: How Initialization and Event Loop Power the Server

This article explains Redis's startup sequence, detailing server initialization, configuration loading, event‑loop creation, supported I/O multiplexing mechanisms, timer and I/O callbacks, and the complete request‑response flow from client command to server reply.

Backend DevelopmentI/O MultiplexingRedis
0 likes · 13 min read
Inside Redis: How Initialization and Event Loop Power the Server
MXPlayer Technical Team
MXPlayer Technical Team
Aug 22, 2019 · Backend Development

How MX Player Cut Memory Use by 96% with Bloom Filters

This article explains how MX Player replaced a Redis‑based user‑history list with per‑user Bloom Filters, dramatically reducing memory consumption and improving filtering efficiency for its recommendation system.

Memory OptimizationRedisbloom-filter
0 likes · 9 min read
How MX Player Cut Memory Use by 96% with Bloom Filters
Java Captain
Java Captain
Aug 22, 2019 · Databases

Redis Data Structures and Common Commands Overview

This article introduces Redis's fundamental and advanced data structures, explains how each is represented internally, and provides detailed examples of essential commands such as KEYS, EXISTS, DEL, EXPIRE, TTL, and TYPE, highlighting their usage, complexity, and best‑practice considerations.

Data StructuresDatabaseRedis
0 likes · 10 min read
Redis Data Structures and Common Commands Overview
Programmer DD
Programmer DD
Aug 15, 2019 · Databases

Why Is Redis So Fast? Uncover the Secrets Behind Its Performance

Redis achieves exceptional speed by combining a C‑based implementation, pure in‑memory data storage, a single‑threaded event loop, and non‑blocking epoll I/O multiplexing, while supporting rich data structures and advanced features such as transactions, Lua scripting, and clustering.

DatabasesI/O MultiplexingIn-Memory
0 likes · 6 min read
Why Is Redis So Fast? Uncover the Secrets Behind Its Performance
Amap Tech
Amap Tech
Aug 13, 2019 · Backend Development

Cache Strategies and Framework Selection for High‑Performance Systems

To achieve low‑latency, high‑throughput data access in systems like Gaode’s navigation service, the article advises evaluating CPU and I/O bottlenecks, choosing between local (HashMap/ConcurrentHashMap or Caffeine) and distributed caches (Redis preferred), applying appropriate eviction, TTL, and consistency patterns, and mitigating cache penetration, breakdown, and avalanche risks.

Cache StrategiesCachingDistributed Cache
0 likes · 26 min read
Cache Strategies and Framework Selection for High‑Performance Systems
Programmer DD
Programmer DD
Aug 10, 2019 · Information Security

Secure Your Spring Boot App with Apache Shiro: Auth, Authz, and Redis

This article walks through integrating Apache Shiro into a Spring Boot project to handle authentication, authorization, session management, and caching, including custom realms, Redis-backed sessions, and cache managers, while providing detailed code examples and configuration guidance.

Apache ShiroAuthenticationAuthorization
0 likes · 20 min read
Secure Your Spring Boot App with Apache Shiro: Auth, Authz, and Redis
Meitu Technology
Meitu Technology
Aug 9, 2019 · Databases

Redis 6 Multithreaded I/O Implementation and Performance Evaluation

The article details Redis 6’s new multithreaded I/O feature—motivated by network‑I/O bottlenecks, implemented with lock‑free pending‑read queues that offload reads, writes, and protocol parsing to worker threads while keeping command execution single‑threaded—and demonstrates through a simple benchmark that using four I/O threads roughly doubles GET/SET throughput compared with Redis 5.

BenchmarkC++Database
0 likes · 11 min read
Redis 6 Multithreaded I/O Implementation and Performance Evaluation