Tag

static variables

0 views collected around this technical thread.

Beike Product & Technology
Beike Product & Technology
Jan 6, 2021 · Backend Development

Optimizing Apollo Configuration Reading in PHP: Reducing CPU and Memory Overhead

This article analyzes the performance bottleneck caused by large Apollo configuration reads in a PHP application and presents multiple optimization strategies—including static variables, Yac/APCu caching, require‑file with opcache, and MessagePack serialization—to significantly lower CPU and memory consumption while maintaining configuration freshness.

APCuApolloMessagePack
0 likes · 11 min read
Optimizing Apollo Configuration Reading in PHP: Reducing CPU and Memory Overhead
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 27, 2020 · Fundamentals

Understanding the Java static Keyword: Variables, Methods, Blocks, and Advanced Uses

This article provides a comprehensive guide to Java's static keyword, covering its use on variables, methods, code blocks, inner classes, static imports, memory placement, lifecycle, serialization, class‑loading order, and common patterns such as logging and the double‑checked‑locking singleton.

Class LoadingJavasingleton
0 likes · 12 min read
Understanding the Java static Keyword: Variables, Methods, Blocks, and Advanced Uses