Tagged articles
81 articles
Page 1 of 1
Code Mala Tang
Code Mala Tang
Apr 28, 2026 · Backend Development

Redis No Longer Dominates: Discover the Best Python Caching Alternatives

A benchmark of Redis, Memcached, DragonflyDB, and Cashews using the same FastAPI workload reveals that Redis falls behind on latency, throughput, and memory efficiency, while DragonflyDB and Cashews offer superior performance and developer experience for Python caching.

CashewsDragonflyDBMemcached
0 likes · 11 min read
Redis No Longer Dominates: Discover the Best Python Caching Alternatives
php Courses
php Courses
Oct 24, 2025 · Backend Development

Boost PHP Database Performance: Persistent Connections, Connection Pools, and Caching

Learn how to accelerate PHP database operations by employing persistent connections, implementing a connection pool, and caching query results, with clear code examples for mysqli, PDO, and Memcached that illustrate each optimization technique and its impact on reducing latency and resource usage.

Connection PoolDatabase OptimizationMemcached
0 likes · 5 min read
Boost PHP Database Performance: Persistent Connections, Connection Pools, and Caching
21CTO
21CTO
May 3, 2025 · Information Security

How I Stopped Bot Floods with a Tiny Zip Bomb on a $6 Server

A $6 DigitalOcean server handling millions of requests survived a Hacker News surge by visualizing traffic, distinguishing bots from real users, and deploying tiny gzip‑compressed zip bombs that explode malicious crawlers' memory, demonstrating low‑cost operations and security tactics for resilient web services.

ApacheGzipMemcached
0 likes · 12 min read
How I Stopped Bot Floods with a Tiny Zip Bomb on a $6 Server
php Courses
php Courses
Apr 29, 2025 · Backend Development

Overview of PHP Caching Mechanisms

This article explains the various PHP caching layers—including OPcode, data, page, and HTTP caching—provides configuration examples, code snippets for file, Memcached, and Redis caches, and outlines best practices and invalidation strategies to improve web application performance.

BackendMemcachedOPcache
0 likes · 7 min read
Overview of PHP Caching Mechanisms
21CTO
21CTO
Jul 7, 2024 · Databases

Choosing the Right In‑Memory Database: Memcached vs Redis vs Aerospike

This article compares Memcached, Redis, and Aerospike across persistence, replication, performance, memory management, and use‑case scenarios to help you select the most suitable in‑memory database for high‑throughput, low‑latency applications.

AerospikeIn-Memory DatabaseMemcached
0 likes · 6 min read
Choosing the Right In‑Memory Database: Memcached vs Redis vs Aerospike
Tencent Cloud Developer
Tencent Cloud Developer
Jul 2, 2024 · Backend Development

Mastering Backend Caching: Strategies, Types, Eviction & Common Pitfalls

An in‑depth guide to backend caching covers read‑through and cache‑aside strategies, local versus distributed caches (including Redis and Memcached), eviction algorithms such as FIFO, LRU and LFU, and tackles consistency, avalanche, penetration and breakdown issues with practical mitigation techniques.

BackendCache StrategiesEviction Policies
0 likes · 12 min read
Mastering Backend Caching: Strategies, Types, Eviction & Common Pitfalls
21CTO
21CTO
Jun 7, 2024 · Backend Development

Boost PHP Performance: Essential Caching Strategies Every Developer Should Know

This article explores fundamental PHP caching techniques—including OPcache, HTTP header client caching, Memcached/Redis object caching, reverse‑proxy page caching, dynamic content caching, and cache invalidation—providing code examples and practical guidance to help developers dramatically improve application performance and scalability.

MemcachedOPcachePHP
0 likes · 5 min read
Boost PHP Performance: Essential Caching Strategies Every Developer Should Know
Laravel Tech Community
Laravel Tech Community
May 16, 2024 · Backend Development

Comprehensive Guide to Full-Page, Partial, and Memory Caching Techniques for PHP Applications

This article explains various server‑side caching strategies—including full‑page static caching, fragment caching, data and query caching, time‑based and content‑change invalidation, as well as memory caches like Memcached and Redis, Apache modules, APC, and opcode caches—providing PHP code examples for each method.

MemcachedOpcode CachePHP
0 likes · 7 min read
Comprehensive Guide to Full-Page, Partial, and Memory Caching Techniques for PHP Applications
php Courses
php Courses
Jan 24, 2024 · Backend Development

PHP Caching Techniques: Page Cache, Data Cache, and File Cache

This article explains why PHP caching is essential for web performance and details three main techniques—page caching with output buffering, data caching using extensions like Memcached or APCu, and file caching with file I/O functions—plus best practices for updates, expiration, and avoiding cache penetration.

BackendFile CacheMemcached
0 likes · 6 min read
PHP Caching Techniques: Page Cache, Data Cache, and File Cache
IT Architects Alliance
IT Architects Alliance
Jan 9, 2024 · Backend Development

Design Principles and Best Practices for Distributed Cache Architecture

This article explains the core design goals, sharding strategies, replication models, communication protocols, cache selection, and monitoring techniques needed to build high‑performance, highly available, and scalable distributed cache systems for large‑scale internet applications.

Backend ArchitectureMemcachedcaching
0 likes · 5 min read
Design Principles and Best Practices for Distributed Cache Architecture
Deepin Linux
Deepin Linux
Oct 16, 2023 · Databases

Understanding Redis: Use Cases, Data Types, and Comparison with Memcached

This article provides a comprehensive overview of Redis, covering its common application scenarios, detailed comparisons with Memcached, internal data structures, implementation details, and practical usage patterns such as caching, leaderboards, counters, and real‑time analytics for modern backend systems.

MemcachedNoSQLredis
0 likes · 25 min read
Understanding Redis: Use Cases, Data Types, and Comparison with Memcached
Alibaba Cloud Native
Alibaba Cloud Native
Oct 10, 2023 · Operations

Mastering Memcached: Features, Use Cases, and Prometheus Monitoring

This article explains Memcached’s architecture, key characteristics, suitable and unsuitable scenarios, memory management and LRU mechanisms, version details, and provides a comprehensive guide to monitoring its performance and health using Prometheus and Alibaba Cloud ARMS dashboards.

Cloud NativeMemcachedOperations
0 likes · 26 min read
Mastering Memcached: Features, Use Cases, and Prometheus Monitoring
Top Architect
Top Architect
Feb 22, 2023 · Backend Development

Resolving HTTPS Redirect and Session Consistency Issues with Nginx, Docker, and Memcached

This article explains why an Nginx reverse‑proxy configuration that proxies HTTPS requests to a backend server causes the browser URL to change, how to fix the redirect by using HTTPS in the proxy, and how to achieve session consistency across multiple Tomcat instances by deploying Memcached with Docker and adjusting Tomcat’s session manager.

DockerHTTPSMemcached
0 likes · 8 min read
Resolving HTTPS Redirect and Session Consistency Issues with Nginx, Docker, and Memcached
Selected Java Interview Questions
Selected Java Interview Questions
Sep 25, 2022 · Backend Development

Understanding Component Implementation Principles for Technical Interviews

The article explains why interviewers probe the implementation details of backend components such as Redis, HashMap, and Memcached, illustrates common interview questions, and shows how mastering the underlying data structures, algorithms, and memory‑allocation mechanisms can improve both interview performance and real‑world problem solving.

AlgorithmsBackendData Structures
0 likes · 8 min read
Understanding Component Implementation Principles for Technical Interviews
vivo Internet Technology
vivo Internet Technology
Apr 6, 2022 · Backend Development

Comprehensive Guide to Caching: Concepts, Types, Strategies, and Best Practices

This guide explains caching fundamentals, purposes, and optimal use cases, details hit rates and eviction policies such as FIFO, LRU, LFU, TTL/TTI, compares client‑side (HTTP, browser) and server‑side caches (CDN, Redis, Memcached), explores multi‑level architectures, common pitfalls like avalanche, penetration and breakdown, and best‑practice strategies including pre‑warming, update patterns, and consistency management.

CDNMemcachedMulti-level Cache
0 likes · 28 min read
Comprehensive Guide to Caching: Concepts, Types, Strategies, and Best Practices
Code Ape Tech Column
Code Ape Tech Column
Mar 22, 2022 · Backend Development

Common Pitfalls and Solutions for Distributed Caching with Redis and Memcached

This article examines the characteristics of Redis and Memcached, identifies typical design mistakes such as consistency, cache avalanche, hot‑key, penetration and breakdown issues, and presents practical mitigation strategies—including consistent hashing, binlog‑driven cache invalidation, distributed locking, and multi‑node replication—to help backend engineers build reliable high‑concurrency cache layers.

BackendCache ConsistencyDistributed Systems
0 likes · 20 min read
Common Pitfalls and Solutions for Distributed Caching with Redis and Memcached
Code Ape Tech Column
Code Ape Tech Column
Aug 25, 2021 · Backend Development

Common Pitfalls and Best Practices of Distributed Caching with Redis and Memcached

This article examines the characteristics of Redis and Memcached as distributed cache solutions, outlines common design pitfalls such as consistency, cache penetration, breakdown, avalanche, and hot‑key issues, and provides practical strategies—including consistent hashing, binlog‑driven invalidation, message‑queue indexing, and lock mechanisms—to build reliable and high‑performance caching layers in backend systems.

Cache ConsistencyMemcachedcache invalidation
0 likes · 18 min read
Common Pitfalls and Best Practices of Distributed Caching with Redis and Memcached
IT Architects Alliance
IT Architects Alliance
Aug 23, 2021 · Backend Development

Mastering Cache Strategies: From CDN to Distributed Systems

This article provides a comprehensive overview of caching in large distributed systems, covering theory, common components, classification, CDN and reverse‑proxy caches, local application caches, popular implementations like Ehcache, Guava, Memcached and Redis, and a detailed comparison of their features and trade‑offs.

BackendDistributed SystemsEhcache
0 likes · 12 min read
Mastering Cache Strategies: From CDN to Distributed Systems
IT Architects Alliance
IT Architects Alliance
Jun 19, 2021 · Backend Development

Mastering Cache Strategies: From CDN to Distributed Systems

This article provides a comprehensive overview of caching in large‑scale distributed systems, covering cache fundamentals, classification, major implementations such as CDN, reverse‑proxy, local, and distributed caches, detailed analyses of Memcached and Redis, common design challenges, and real‑world industry solutions.

BackendCache DesignDistributed Systems
0 likes · 12 min read
Mastering Cache Strategies: From CDN to Distributed Systems
Top Architect
Top Architect
Mar 20, 2021 · Backend Development

Scaling Cache Infrastructure at Pinterest

This article provides an in‑depth technical overview of how Pinterest scales its distributed cache layer using Memcached and Mcrouter on AWS, covering architecture, performance, high availability, load balancing, trade‑offs, and future directions.

AWSDistributed SystemsMemcached
0 likes · 16 min read
Scaling Cache Infrastructure at Pinterest
Open Source Linux
Open Source Linux
Mar 12, 2021 · Backend Development

Redis vs Memcached: Which In‑Memory Database Wins for Your Projects?

This article compares Redis and Memcached across thread model, data structures, eviction policies, pipelining, persistence, high availability, and clustering, helping developers choose the most suitable in‑memory database for their specific performance and feature requirements.

Data StructuresIn-Memory DatabaseMemcached
0 likes · 9 min read
Redis vs Memcached: Which In‑Memory Database Wins for Your Projects?
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 ConsistencyHot KeyMemcached
0 likes · 22 min read
Avoid Common Pitfalls in Distributed Caching with Redis and Memcached
Top Architect
Top Architect
Oct 7, 2020 · Databases

Redis vs Memcached: A Comprehensive Technical Comparison

This article systematically compares Redis and Memcached across thread models, supported data structures, eviction strategies, pipelining, transactions, persistence, high‑availability mechanisms, and clustering, helping developers choose the most suitable in‑memory database for their specific workload requirements.

In-Memory DatabaseMemcachedhigh availability
0 likes · 9 min read
Redis vs Memcached: A Comprehensive Technical Comparison
MaGe Linux Operations
MaGe Linux Operations
Oct 5, 2020 · Backend Development

Redis vs Memcached: Which In‑Memory Database Fits Your Backend?

This article compares Redis and Memcached across thread models, data structures, eviction policies, pipelines, persistence, high availability, and clustering, helping developers choose the most suitable in‑memory database for their specific workload and performance requirements.

In-Memory DatabaseMemcachedcaching
0 likes · 10 min read
Redis vs Memcached: Which In‑Memory Database Fits Your Backend?
Architecture Digest
Architecture Digest
Oct 3, 2020 · Databases

Redis vs Memcached: A Comprehensive Comparison

This article systematically compares Redis and Memcached across thread models, data structures, eviction policies, pipelining and transactions, persistence, high availability, and clustering, helping developers choose the most suitable in‑memory database for their specific business requirements.

Data StructuresIn-Memory DatabaseMemcached
0 likes · 11 min read
Redis vs Memcached: A Comprehensive Comparison
Programmer DD
Programmer DD
May 31, 2020 · Backend Development

Memcached vs Redis: Which In‑Memory Cache Wins for Your Applications?

This article compares Memcached and Redis, covering their installation, shared features such as sub‑millisecond latency and language support, and key differences in data structures, persistence, replication, transactions, pub/sub, geospatial commands, scripting, and memory efficiency to help you choose the right cache solution.

ComparisonInstallationMemcached
0 likes · 9 min read
Memcached vs Redis: Which In‑Memory Cache Wins for Your Applications?
Big Data Technology & Architecture
Big Data Technology & Architecture
Jul 20, 2019 · Databases

Understanding Redis: Purpose, Usage, Caching Benefits, Differences with Memcached, and Thread Model

This article explains what Redis is, how it is used for caching in projects, the performance and concurrency advantages of caching, common cache pitfalls, key differences between Redis and Memcached, and the internal single‑threaded event‑driven architecture that enables high‑throughput operations.

In-Memory DatabaseMemcachedThread Model
0 likes · 11 min read
Understanding Redis: Purpose, Usage, Caching Benefits, Differences with Memcached, and Thread Model
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.

Data StructuresIn-Memory CacheMemcached
0 likes · 17 min read
Redis vs Memcached: Which In‑Memory Cache Wins for Complex Data?
Python Programming Learning Circle
Python Programming Learning Circle
Oct 27, 2018 · Backend Development

Mastering PHP Page Caching: From Full Static Pages to Opcode and Memcached

This article explains various PHP caching techniques—including full‑page static generation, partial page fragments, data and query caching, time‑based and content‑change strategies, as well as memory caches like Memcached, Apache cache settings, APC extension, and opcode caching—providing code examples and practical guidance to improve web performance.

ApacheBackendMemcached
0 likes · 7 min read
Mastering PHP Page Caching: From Full Static Pages to Opcode and Memcached
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.

MemcachedProxyTwemproxy
0 likes · 12 min read
How Meitu Scaled Twemproxy with Multi‑Process Architecture and Live Reload
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.

Distributed SystemsEhcacheGuava
0 likes · 11 min read
Mastering Cache Architecture: From CDN to Distributed Systems
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 PerformanceMemcachedcaching strategies
0 likes · 8 min read
Understanding Distributed Caching: Use Cases, Memcached vs Redis Comparison, and Common Challenges
Qunar Tech Salon
Qunar Tech Salon
May 25, 2018 · Backend Development

Analysis of Memcached Failure and Consistent Hashing Mechanism in XMemcached Client

This article presents a detailed failure analysis of a memcached service outage, explaining how the XMemcached client uses consistent hashing and heartbeat mechanisms to manage sessions, the impact of server loss on request latency, and the verification steps and solution to reduce session timeout and improve recovery.

BackendHeartbeatMemcached
0 likes · 13 min read
Analysis of Memcached Failure and Consistent Hashing Mechanism in XMemcached Client
Tencent Cloud Developer
Tencent Cloud Developer
Mar 7, 2018 · Information Security

Memcached Reflection DDoS Attacks Set New Traffic Records

Memcached reflection DDoS attacks have surged, breaking terabit‑per‑second records with peaks of 1.35 Tbps and 1.94 Tbps, prompting warnings from Cloudflare and Arbor, targeting online services worldwide, while Tencent Cloud’s Zeus Shield mitigated the traffic and experts advise stronger UDP monitoring, high‑capacity defenses, and regular simulations.

AmplificationDDoSMemcached
0 likes · 7 min read
Memcached Reflection DDoS Attacks Set New Traffic Records
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jan 25, 2018 · Backend Development

Why Modern Web Apps Need Caching: From Basics to Distributed Strategies

This article explains the fundamentals of caching, why it is essential for high‑traffic web services, compares cache components such as Memcached and Redis, and details design patterns, scalability, high‑availability, and operational practices for building robust distributed cache systems.

Memcacheddistributed cacheperformance optimization
0 likes · 18 min read
Why Modern Web Apps Need Caching: From Basics to Distributed Strategies
Efficient Ops
Efficient Ops
Jan 24, 2018 · Databases

Redis vs Memcached: Which In‑Memory Store Wins on Performance and Features?

Redis and Memcached are compared across network I/O models, supported data structures, memory management, persistence, consistency, and clustering, revealing Redis’s richer feature set and flexibility while highlighting Memcached’s simplicity and speed, helping developers choose the right in‑memory solution for their workloads.

In-Memory DatabaseMemcachedMemory Management
0 likes · 12 min read
Redis vs Memcached: Which In‑Memory Store Wins on Performance and Features?
Vipshop Quality Engineering
Vipshop Quality Engineering
Jan 17, 2018 · Backend Development

Uncovering Hidden Cache Failures: A Robustness Test of Memcached with spymemcached

This article details a comprehensive robustness test of a core public service system's caching layer, exposing how decreasing Memcached (MC) instances dramatically impacts TPS and latency, analyzes the underlying Ketama consistent‑hash algorithm, and proposes concrete improvements to mitigate such failures.

Backend testingMemcachedcache robustness
0 likes · 11 min read
Uncovering Hidden Cache Failures: A Robustness Test of Memcached with spymemcached
ITPUB
ITPUB
Oct 11, 2017 · Databases

Redis vs Memcached: Which In‑Memory Store Wins for Your Needs?

This article compares Redis and Memcached across data‑type support, memory management, persistence mechanisms, and clustering features, highlighting their architectural differences, performance trade‑offs, and suitable use‑cases to help developers choose the right in‑memory storage solution.

ClusterIn-Memory DatabaseMemcached
0 likes · 18 min read
Redis vs Memcached: Which In‑Memory Store Wins for Your Needs?
ITPUB
ITPUB
Apr 28, 2017 · Databases

Redis vs Memcached: In‑Depth Technical Comparison of Features, Performance, and Architecture

This article provides a comprehensive technical comparison between Redis and Memcached, covering server‑side operations, memory efficiency, performance characteristics, supported data types, memory management mechanisms, persistence options, and clustering architectures, illustrated with diagrams and concrete command examples.

Data StructuresIn-Memory DatabaseMemcached
0 likes · 19 min read
Redis vs Memcached: In‑Depth Technical Comparison of Features, Performance, and Architecture
MaGe Linux Operations
MaGe Linux Operations
Apr 28, 2017 · Backend Development

How Nginx Caches Content: Core Principles and Practical Mechanisms

This article explains the fundamental concepts behind Nginx web caching, covering the proxy‑store and resource‑not‑found mechanisms, configuration examples, and how memcached can be integrated to efficiently store and retrieve cached responses, improving performance and resilience.

MemcachedProxy StoreWeb Caching
0 likes · 5 min read
How Nginx Caches Content: Core Principles and Practical Mechanisms
Meituan Technology Team
Meituan Technology Team
Mar 17, 2017 · Fundamentals

Cache Fundamentals, Types, and Practical Applications in Web Development

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

Memcachedjavaredis
0 likes · 36 min read
Cache Fundamentals, Types, and Practical Applications in Web Development
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jan 5, 2017 · Databases

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

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

Data StructuresMemcachedredis
0 likes · 27 min read
Redis vs Memcached: Architecture, Data Types, and Real-World Use Cases
dbaplus Community
dbaplus Community
Dec 14, 2016 · Backend Development

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

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

MemcachedMessage QueuePython
0 likes · 19 min read
Master Memcached, Redis, and RabbitMQ: Install, Configure, and Use with Python
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Nov 6, 2016 · Backend Development

Uncovering Memcached’s Slab Allocator: How Memory Is Managed and Optimized

This article explains Memcached’s slab allocator mechanism—including items, chunks, slab classes, and pages—how memory is allocated, fragmented, and evicted, and then explores master‑slave double‑layer architectures, high‑concurrency challenges, and scaling strategies such as L1 caching for robust, high‑availability deployments.

MemcachedSlab Allocator
0 likes · 11 min read
Uncovering Memcached’s Slab Allocator: How Memory Is Managed and Optimized
dbaplus Community
dbaplus Community
Oct 30, 2016 · Databases

Memcached vs Redis: Architecture, Memory Management & Persistence

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

MemcachedMemory ManagementPersistence
0 likes · 35 min read
Memcached vs Redis: Architecture, Memory Management & Persistence
Nightwalker Tech
Nightwalker Tech
Oct 15, 2016 · Backend Development

Technical Discussion on Cache Hit Rate, AOP, and Performance Optimization

A multi‑person technical discussion explores the reasons behind low cache hit rates, examines memcached LRU mechanisms, proposes AOP‑based caching strategies, and shares practical solutions such as proactive cache invalidation, lock‑based stampede protection, and workload‑aware configuration for backend systems.

BackendCacheMemcached
0 likes · 9 min read
Technical Discussion on Cache Hit Rate, AOP, and Performance Optimization
MaGe Linux Operations
MaGe Linux Operations
Sep 8, 2016 · Backend Development

How Consistent Hashing Powers Distributed Memcached Caching

This article explains how memcached’s client‑side distribution works, illustrates the role of consistent hashing in assigning keys to servers, compares traditional modulo hashing with consistent hashing, discusses hash function choices, and provides complete Java and Python implementations for a scalable distributed cache.

BackendMemcachedconsistent hashing
0 likes · 12 min read
How Consistent Hashing Powers Distributed Memcached Caching
Qunar Tech Salon
Qunar Tech Salon
May 29, 2016 · Backend Development

Understanding Distributed Caching: Principles and Implementation of Memcached

This article explains the fundamentals of caching, the role of distributed caches like memcached in high‑concurrency environments, and details the algorithms—including remainder hashing and consistent hashing with virtual nodes—that enable memcached to distribute data across multiple servers efficiently.

Memcachedcache algorithmsconsistent hashing
0 likes · 10 min read
Understanding Distributed Caching: Principles and Implementation of Memcached
Architecture Digest
Architecture Digest
May 12, 2016 · Backend Development

Understanding Distributed Caching with Memcached: Principles and Algorithms

This article explains the fundamentals of caching, the role of memcached in high‑concurrency environments, and details the distributed implementation methods such as remainder hashing and consistent hashing, including their advantages, drawbacks, and optimization techniques.

Memcachedcaching algorithmsconsistent hashing
0 likes · 11 min read
Understanding Distributed Caching with Memcached: Principles and Algorithms
21CTO
21CTO
May 9, 2016 · Backend Development

Unveiling Memcached’s Distributed Caching: Algorithms and Implementation

Under high‑concurrency loads, disk I/O becomes a bottleneck, prompting the use of caches; this article explains the fundamentals of caching, the role of memcached, and details its distributed implementation, covering simple modulo hashing, consistent hashing, and optimized virtual‑node techniques.

Memcachedbackend-developmentcache algorithms
0 likes · 9 min read
Unveiling Memcached’s Distributed Caching: Algorithms and Implementation
Architect
Architect
May 9, 2016 · Backend Development

Understanding Distributed Caching and the memcached Architecture

This article explains the fundamentals of caching, describes how memcached works as a distributed in‑memory cache, and details the hashing algorithms—including remainder hashing and consistent hashing with virtual nodes—used by clients to achieve scalable cache distribution.

Distributed SystemsMemcachedcaching
0 likes · 7 min read
Understanding Distributed Caching and the memcached Architecture
Qunar Tech Salon
Qunar Tech Salon
May 4, 2016 · Backend Development

Proactive Cache Refresh Strategies for Memcached to Prevent Cache Stampede

This article examines various techniques for proactively refreshing Memcached entries before they expire, including dual‑key schemes, timestamp‑based checks, and lock‑based updates, and presents a preferred Java implementation that minimizes cache‑stampede and reduces memory overhead.

Cache RefreshMemcachedcache invalidation
0 likes · 7 min read
Proactive Cache Refresh Strategies for Memcached to Prevent Cache Stampede
21CTO
21CTO
Apr 25, 2016 · Backend Development

How to Proactively Refresh Memcached Before Expiration and Avoid DB Thundering Herd

This article explores why Memcached expiration can cause sudden DB overload and presents five practical strategies—including periodic DB refresh, lock‑based queries, dual‑key schemes, and time‑embedded values—to proactively update caches and keep backend performance stable.

BackendMemcachedcache expiration
0 likes · 8 min read
How to Proactively Refresh Memcached Before Expiration and Avoid DB Thundering Herd
Qunar Tech Salon
Qunar Tech Salon
Feb 17, 2016 · Databases

Understanding 503 Errors and Database Bottlenecks: From Read‑Write Splitting to Caching, Vertical and Horizontal Sharding

The article explains that 503 errors under high concurrency are usually caused by database bottlenecks and outlines a systematic approach—including read‑write separation, caching with memcached, consistent hashing, vertical partitioning, and horizontal sharding—to improve website scalability and reliability.

503 errorMemcachedVertical Partitioning
0 likes · 11 min read
Understanding 503 Errors and Database Bottlenecks: From Read‑Write Splitting to Caching, Vertical and Horizontal Sharding
dbaplus Community
dbaplus Community
Dec 12, 2015 · Backend Development

How Memcached and Redis Work: Architecture, Protocols, and Memory Management

This article breaks down the core architecture, request protocols, and memory management mechanisms of Memcached and Redis, comparing their server models, highlighting their strengths and trade‑offs, and offering practical guidance for selecting and tuning these distributed caching solutions.

BackendMemcacheddistributed cache
0 likes · 8 min read
How Memcached and Redis Work: Architecture, Protocols, and Memory Management
Architect
Architect
Dec 2, 2015 · Databases

Redis vs Memcached: Clarifications and Comparative Analysis

This article critically examines common claims that Memcached is superior for caching by comparing its design, threading, disk I/O, memory efficiency, LRU behavior, smart caching features, persistence, replication, observability, and Lua scripting capabilities against Redis, concluding that the two systems have distinct trade‑offs depending on use case.

Lua scriptingMemcachedPersistence
0 likes · 9 min read
Redis vs Memcached: Clarifications and Comparative Analysis
Java High-Performance Architecture
Java High-Performance Architecture
Oct 27, 2015 · Backend Development

How Consistent Hashing Powers Scalable Memcached Clusters

Caching dramatically improves website performance by storing data in memory for faster responses and reducing database load, with Memcached and Redis as popular solutions; proper routing algorithms like consistent hashing are essential to scale clusters without causing cache misses or service disruption.

Backend PerformanceMemcachedcaching
0 likes · 2 min read
How Consistent Hashing Powers Scalable Memcached Clusters
21CTO
21CTO
Sep 16, 2015 · Backend Development

9 Essential PHP Caching Techniques to Boost Web Performance

This article outlines nine practical PHP caching methods—including full-page static caching, partial page fragments, data and query caching, time‑based invalidation, Memcached, Apache modules, and opcode caches—to dramatically improve website speed and scalability.

BackendMemcachedcaching
0 likes · 7 min read
9 Essential PHP Caching Techniques to Boost Web Performance
MaGe Linux Operations
MaGe Linux Operations
Jul 3, 2015 · Backend Development

How to Share Tomcat Sessions Across a Cluster Using MSM and Memcached

This guide explains how to achieve high‑availability Tomcat session sharing in a clustered environment by installing and configuring MSM (Memcached Session Manager) with Memcached, setting up Nginx as a load balancer, and demonstrating failover handling for both Tomcat and Memcached nodes.

MSMMemcachedTomcat
0 likes · 18 min read
How to Share Tomcat Sessions Across a Cluster Using MSM and Memcached
Qunar Tech Salon
Qunar Tech Salon
Jun 20, 2015 · Backend Development

Understanding Memcached Slab Allocation and LRU Behavior

This article explains how to start Memcached with specific parameters, describes the resulting slab class configuration, illustrates memory allocation with pages, chunks, and slabs, and discusses item placement, waste, and the per‑slab LRU eviction policy in detail.

LRUMemcachedSlab Allocation
0 likes · 7 min read
Understanding Memcached Slab Allocation and LRU Behavior
Qunar Tech Salon
Qunar Tech Salon
May 29, 2015 · Information Security

Implementing Network ACL for Memcached Using iptables

This article explains how to use Linux iptables to create network-level ACLs that block non-production IP ranges from accessing a Memcached server, providing command examples for adding, listing, and clearing firewall rules, and discusses future considerations such as IPv6 support.

ACLLinuxMemcached
0 likes · 5 min read
Implementing Network ACL for Memcached Using iptables

Designing a High‑Availability, Auto‑Scaling KV Storage System Based on Memcached and Redis

This article examines common NoSQL key‑value stores such as Memcached and Redis, compares their strengths and limitations, and proposes a distributed architecture with routing, storage, management, and migration nodes that achieves high availability, automatic fault‑tolerance, load balancing, and elastic scaling.

KV StoreMemcachedelastic scaling
0 likes · 15 min read
Designing a High‑Availability, Auto‑Scaling KV Storage System Based on Memcached and Redis