Tagged articles
14 articles
Page 1 of 1
dbaplus Community
dbaplus Community
Jul 7, 2024 · Operations

How Instagram Scales to 2.5B Users: Architecture, Consistency & Performance

Instagram grew from a simple photo‑sharing app to over 2.5 billion users, prompting engineers to adopt horizontal scaling, replace Python code with Cython, use region‑specific Cassandra clusters, employ the Akkio data‑placement service, and optimize PostgreSQL and Memcache handling to improve resource utilization, data consistency, and latency.

asynciocassandrainstagram
0 likes · 11 min read
How Instagram Scales to 2.5B Users: Architecture, Consistency & Performance
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.

Distributed SystemsScale‑Upcache invalidation
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.

PHPmemcache
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.

LaravelPHPbackend-development
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.

PHPWeb Performancebackend-development
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.

File Cachedatabase cacheindex design
0 likes · 5 min read
PHP Data Caching: Structures, Index Design Principles, and Code Examples
Su San Talks Tech
Su San Talks Tech
Jun 14, 2021 · Backend Development

Mastering Cache Design: 7 Common Pitfalls and Proven Solutions

This article explores the evolution from memcache to Redis, explains seven classic cache problems—including stampede, penetration, avalanche, hotspot, large keys, consistency, and concurrent pre‑warming—and provides practical design patterns and mitigation techniques for high‑traffic, large‑scale systems.

memcache
0 likes · 9 min read
Mastering Cache Design: 7 Common Pitfalls and Proven Solutions
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.

DistributedSessionmemcache
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.

BackendPHPconnection timeout
0 likes · 6 min read
Investigating Intermittent Memcache set/add Failures in PHP Memcache Extension 2.2.7
dbaplus Community
dbaplus Community
Feb 4, 2017 · Fundamentals

Mastering Cache Strategies: From CDN to Local Memory for High‑Performance Systems

This comprehensive guide explains cache fundamentals, covering CDN, reverse‑proxy, distributed, and local caches, their design considerations, common pitfalls like consistency, high availability, cache avalanche and penetration, and provides practical architecture examples and mitigation techniques for robust high‑traffic systems.

CDNCache Designmemcache
0 likes · 24 min read
Mastering Cache Strategies: From CDN to Local Memory for High‑Performance Systems
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.

BackendCacheScalability
0 likes · 19 min read
Evolution of Weibo Cache Service: From Bare Memcache to Multi‑Layered Service Architecture
dbaplus Community
dbaplus Community
May 25, 2016 · Backend Development

How Adding a Distributed Memcache Layer Cut Database Load by 30% in a Telecom CRM

A telecom CRM project introduced a horizontally scalable Memcache cache layer to store frequently accessed dictionary and customer data, reducing database queries by 30%, improving response times by 15%, and lowering expansion costs while detailing the architecture, access logic changes, high‑availability measures, and real‑world results.

Backend ArchitectureScalabilitydistributed caching
0 likes · 13 min read
How Adding a Distributed Memcache Layer Cut Database Load by 30% in a Telecom CRM
Java High-Performance Architecture
Java High-Performance Architecture
Jul 19, 2015 · Backend Development

How to Share Sessions Across Multiple Servers: 3 Proven Methods

With growing traffic, single-server sites struggle, so developers must share user sessions across multiple servers; this article explains three popular approaches—cookie-based, database-based, and Memcache-based session sharing—detailing their principles, advantages, and drawbacks to help choose the right solution.

BackendPHPload balancing
0 likes · 4 min read
How to Share Sessions Across Multiple Servers: 3 Proven Methods