Tag

memcache

1 views collected around this technical thread.

NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Jan 2, 2024 · Backend Development

Cache Design and Optimization Practices for High‑Concurrency Music Library Service

The article details NetEase Cloud Music’s high‑concurrency cache architecture—using lazy‑load, hole‑wrapped objects for penetration protection, placeholder values for missing data, horizontal and vertical scaling with consistent hashing, and asynchronous binlog‑driven invalidation—to achieve sub‑millisecond reads for a read‑heavy, write‑light music library.

Cache InvalidationCachingDistributed Systems
0 likes · 12 min read
Cache Design and Optimization Practices for High‑Concurrency Music Library Service
php中文网 Courses
php中文网 Courses
Dec 11, 2023 · Backend Development

Using Memcache in PHP for Efficient Data Storage and Retrieval

This guide explains how to install, configure, and use Memcache in PHP for fast data storage, retrieval, and deletion, including connection setup, key‑value operations, cache miss handling, and optional advanced features to boost backend performance.

Cachingmemcache
0 likes · 4 min read
Using Memcache in PHP for Efficient Data Storage and Retrieval
php中文网 Courses
php中文网 Courses
Nov 8, 2023 · Backend Development

Implementing Caching Strategies in PHP to Improve User Experience

This article explains various PHP caching techniques—including file‑system, memory (Memcache and Redis), and framework (Laravel) caches—providing code examples and configuration steps to reduce database load, speed up page rendering, and enhance overall user experience.

Backend DevelopmentCachingLaravel
0 likes · 5 min read
Implementing Caching Strategies in PHP to Improve User Experience
php中文网 Courses
php中文网 Courses
Oct 27, 2023 · Backend Development

Using Memcache in PHP: Introduction, Functions, and Best Practices

This article explains the fundamentals of Memcache in PHP, covering its purpose as an in‑memory cache, how to connect, store, retrieve, delete, increment, decrement, and flush data, along with important considerations such as data types, memory limits, server failures, and multi‑server sharing.

Backend DevelopmentCachingmemcache
0 likes · 5 min read
Using Memcache in PHP: Introduction, Functions, and Best Practices
php中文网 Courses
php中文网 Courses
Aug 14, 2023 · Backend Development

PHP Data Caching: Structures, Index Design Principles, and Code Examples

This article explains PHP data caching techniques—including memory, file, and database caches—provides practical code samples, and outlines key index design principles such as uniqueness, expiration, hotspot optimization, efficient updates, and hierarchical caching to improve performance.

CachingRedisdatabase cache
0 likes · 5 min read
PHP Data Caching: Structures, Index Design Principles, and Code Examples
Java Architect Essentials
Java Architect Essentials
Oct 2, 2020 · Backend Development

Handling Cache Penetration, Breakdown, and Avalanche in Backend Systems

This article explains the three major cache issues—penetration, breakdown, and avalanche—describes why they occur in high‑traffic systems, and presents four practical mitigation strategies including Bloom filters, short‑lived empty caches, distributed mutex locks with Redis or Memcache, and resource isolation with Hystrix.

BackendCacheCache Breakdown
0 likes · 9 min read
Handling Cache Penetration, Breakdown, and Avalanche in Backend Systems
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 15, 2019 · Backend Development

Distributed Session Consistency and Sharing Solutions

The article explains the concept of distributed session consistency, outlines the role and lifecycle of HTTP sessions, describes the challenges of sharing sessions across server clusters, and evaluates several practical solutions including database, cookie, Memcache, and Redis based approaches.

BackendDistributedRedis
0 likes · 5 min read
Distributed Session Consistency and Sharing Solutions
37 Interactive Technology Team
37 Interactive Technology Team
Aug 16, 2018 · Backend Development

Investigating Intermittent Memcache set/add Failures in PHP Memcache Extension 2.2.7

The intermittent set/add failures observed with PHP’s Memcache extension 2.2.7 are caused by its built‑in 15‑second retry interval (MMC_DEFAULT_RETRY = 15) that marks the connection permanently failed after a poll timeout, and can be resolved by specifying the hidden fourth ‘timeoutms’ parameter, adjusting php.ini, or migrating to the newer Memcached extension.

BackendConnection TimeoutDebugging
0 likes · 6 min read
Investigating Intermittent Memcache set/add Failures in PHP Memcache Extension 2.2.7
High Availability Architecture
High Availability Architecture
Aug 26, 2016 · Backend Development

Evolution of Weibo Cache Service: From Bare Memcache to Multi‑Layered Service Architecture

The article details how Weibo’s cache infrastructure progressed from simple Memcache deployments to a sophisticated, service‑oriented architecture featuring multi‑layer caching, proxy layers, dynamic configuration, monitoring, and automated scaling to meet massive read‑write demands and high availability requirements.

BackendCacheRedis
0 likes · 19 min read
Evolution of Weibo Cache Service: From Bare Memcache to Multi‑Layered Service Architecture