Tagged articles
177 articles
Page 2 of 2
Code Ape Tech Column
Code Ape Tech Column
Feb 17, 2022 · Backend Development

Comprehensive Guide to Java Production Issue Diagnosis and Performance Optimization

This article presents a thorough Java production troubleshooting workflow, covering essential knowledge, tools, and data analysis techniques, with detailed explanations of JVM garbage collection, profiling utilities, and real‑world case studies to help engineers quickly locate and resolve performance and stability problems.

BackendDebuggingJava
0 likes · 10 min read
Comprehensive Guide to Java Production Issue Diagnosis and Performance Optimization
Efficient Ops
Efficient Ops
Feb 10, 2022 · Operations

Why Did a Metaspace Misconfiguration Crash Our Elastic Cloud Service?

A production incident on an elastic‑cloud deployment revealed that setting the JVM Metaspace limit to 64 MiB, while the application required around 76 MiB, triggered continuous Full GC, causing stop‑the‑world pauses, full‑line time‑outs, and a costly rollback.

Elastic CloudJVMMetaspace
0 likes · 9 min read
Why Did a Metaspace Misconfiguration Crash Our Elastic Cloud Service?
政采云技术
政采云技术
Oct 26, 2021 · Backend Development

Analysis and Resolution of Frequent Full GC in an Online Service

The article details a real‑world incident where a Java backend service suffered frequent full garbage collections, describes how the problematic instance was identified and isolated, and presents JVM tuning and MyBatis interceptor code changes that eliminated the issue while sharing key lessons learned.

JVMJavaMyBatis
0 likes · 9 min read
Analysis and Resolution of Frequent Full GC in an Online Service
Programmer DD
Programmer DD
Sep 24, 2021 · Backend Development

Master JVM Startup Flags: Decode GC Logs and Optimize Memory

This guide explains the most common JVM startup flags for controlling garbage collection logging, heap sizing, class loading monitoring, and out‑of‑memory handling, providing sample outputs and detailed interpretations to help developers tune memory usage and diagnose performance issues in large Java applications.

JVMJavaMemory Management
0 likes · 10 min read
Master JVM Startup Flags: Decode GC Logs and Optimize Memory
Snowball Engineer Team
Snowball Engineer Team
Aug 26, 2021 · Backend Development

Diagnosing and Optimizing Server CPU Spikes Caused by Excessive DateTime Object Creation in Java

This article explains how to identify and resolve server CPU spikes caused by excessive DateTime object creation in a Java application, detailing step‑by‑step Linux command usage, JStack and JProfiler analysis, and a refactoring solution that replaces DateTime comparisons with string comparisons to reduce GC pressure.

CPUJavaLinux
0 likes · 4 min read
Diagnosing and Optimizing Server CPU Spikes Caused by Excessive DateTime Object Creation in Java
GrowingIO Tech Team
GrowingIO Tech Team
Jul 22, 2021 · Databases

How to Diagnose and Fix Common HBase RegionServer Crashes

This article examines frequent HBase RegionServer failures caused by long GC pauses, oversized scans, and HDFS decommissioning, outlines step‑by‑step troubleshooting procedures—including log searches, GC tuning, scan size limits, and monitoring strategies—and provides practical solutions to prevent and resolve these issues.

HBaseRegionServergc
0 likes · 14 min read
How to Diagnose and Fix Common HBase RegionServer Crashes
Top Architect
Top Architect
Jun 9, 2021 · Operations

Configuring a Perfect JVM GC Log Printing Strategy

This guide explains how to configure comprehensive JVM garbage-collection logging—including basic GC details, object age distribution, heap snapshots, pause times, safepoint statistics, and reference processing—while using timestamped filenames and JVM log rotation to avoid overwriting and manage file size effectively.

JVMJavagc
0 likes · 12 min read
Configuring a Perfect JVM GC Log Printing Strategy
Tencent Cloud Developer
Tencent Cloud Developer
Jun 3, 2021 · Backend Development

Understanding Go's Memory Allocation: From Assembly Debugging to Runtime Components

The article walks through Go’s memory allocator by first demonstrating assembly‑level debugging with Delve, then detailing its TCMalloc‑inspired design where tiny, small, and large objects follow distinct paths through per‑P caches, central spans, and the global heap, highlighting the roles of mcache, mcentral, mspan, and mheap.

AssemblyDebuggingGo
0 likes · 28 min read
Understanding Go's Memory Allocation: From Assembly Debugging to Runtime Components
Efficient Ops
Efficient Ops
Apr 27, 2021 · Operations

Diagnosing Common Java Server Issues: CPU, Memory, Disk & Network

This guide walks through systematic troubleshooting of Java server problems—including CPU spikes, memory leaks, disk I/O bottlenecks, and network timeouts—by using native Linux tools and JVM utilities such as ps, top, jstack, jstat, iostat, vmstat, and netstat to pinpoint root causes and apply targeted fixes.

CPUJavaMemory
0 likes · 22 min read
Diagnosing Common Java Server Issues: CPU, Memory, Disk & Network
Big Data Technology & Architecture
Big Data Technology & Architecture
Dec 28, 2020 · Big Data

Optimizing OLAP Data Source Integration with SparkSQL: Cluster and Node Tuning, Profiling, and GC

This article details the end‑to‑end process of connecting an OLAP data source to SparkSQL and presents a comprehensive performance‑tuning guide covering cluster‑level resource allocation, single‑node On‑CPU/Off‑CPU analysis, flame‑graph profiling, Java Flight Recorder usage, and garbage‑collection optimization.

Cluster OptimizationOLAPProfiling
0 likes · 16 min read
Optimizing OLAP Data Source Integration with SparkSQL: Cluster and Node Tuning, Profiling, and GC
Big Data Technology & Architecture
Big Data Technology & Architecture
Oct 25, 2020 · Fundamentals

Analyzing a JVM Crash Caused by Compressed Oops and MemberName vmtarget Mis‑handling

This article walks through a JVM crash that occurs during garbage collection, explains how to use the SA tool CLHSDB to locate the offending object, discusses the role of compressed oops and MemberName vmtarget, and provides concrete fixes such as adjusting field writes or disabling pointer compression.

CLHSDBCompressedOopsCrashAnalysis
0 likes · 9 min read
Analyzing a JVM Crash Caused by Compressed Oops and MemberName vmtarget Mis‑handling
DevOps Coach
DevOps Coach
Oct 19, 2020 · Operations

Why Elasticsearch Query Latency Spikes Occur and How to Diagnose Them

This article examines the common causes of Elasticsearch query latency spikes—especially GC pauses, system cache misses, and I/O overhead—provides step‑by‑step methods to identify the root cause, and offers practical tuning recommendations to mitigate the issue.

ElasticsearchI/OSearch
0 likes · 14 min read
Why Elasticsearch Query Latency Spikes Occur and How to Diagnose Them
Top Architect
Top Architect
Sep 27, 2020 · Operations

Comprehensive Guide to Java Runtime Error Checking and Troubleshooting (CPU, Memory, Disk, Network, GC)

This article provides a systematic, step‑by‑step guide for diagnosing and resolving Java runtime problems—including CPU spikes, memory leaks, disk I/O bottlenecks, network timeouts, and GC inefficiencies—by using native Linux tools and JVM utilities such as top, ps, jstack, jmap, jstat, iostat, vmstat, pidstat, netstat, ss, and tcpdump.

CPUJavaMemory
0 likes · 22 min read
Comprehensive Guide to Java Runtime Error Checking and Troubleshooting (CPU, Memory, Disk, Network, GC)
Programmer DD
Programmer DD
Sep 23, 2020 · Backend Development

Why Did My Java Service’s Response Time Spike? Deep Dive into QPS, GC, and Load

A high‑traffic Java backend service suddenly suffered seconds‑long response times, prompting a systematic investigation that traced the issue from unexpected QPS spikes through database checks, local call delays, CPU load, and frequent ParNew GC, ultimately revealing oversized responses and memory pressure as the root cause.

BackendDockergc
0 likes · 8 min read
Why Did My Java Service’s Response Time Spike? Deep Dive into QPS, GC, and Load
Java Captain
Java Captain
Sep 1, 2020 · Operations

Comprehensive Guide to Java Online Fault Diagnosis: CPU, Disk, Memory, GC, and Network Issues

This article provides a detailed, step‑by‑step methodology for diagnosing and resolving common Java production problems—including CPU spikes, disk bottlenecks, memory leaks, garbage‑collection anomalies, and network timeouts—by leveraging native Linux tools and JVM utilities such as ps, top, jstack, jmap, jstat, iostat, vmstat, pidstat, and netstat.

CPUJavaMemory
0 likes · 19 min read
Comprehensive Guide to Java Online Fault Diagnosis: CPU, Disk, Memory, GC, and Network Issues
Sohu Tech Products
Sohu Tech Products
Aug 26, 2020 · Operations

Production Environment Optimization: Deep Dive into GC, Tracing, and Connection‑Pool Issues

This article walks through a real‑world production incident involving intermittent interface timeouts, demonstrates how tracing with SkyWalking and log analysis revealed a downstream service problem, explores GC log diagnostics, uncovers misconfigured c3p0 connection‑pool settings, and shares practical lessons for Java backend performance tuning.

Connection PoolJavagc
0 likes · 21 min read
Production Environment Optimization: Deep Dive into GC, Tracing, and Connection‑Pool Issues
Liangxu Linux
Liangxu Linux
May 25, 2020 · Operations

Diagnosing Java Runtime Problems: CPU, Memory, Disk, and Network Tips

This guide walks through systematic troubleshooting of Java runtime issues—including CPU spikes, frequent garbage collection, memory leaks, disk bottlenecks, and network anomalies—by using Linux tools such as top, jstack, jstat, iostat, vmstat, and netstat, with concrete command examples and analysis steps.

Javagcjstack
0 likes · 18 min read
Diagnosing Java Runtime Problems: CPU, Memory, Disk, and Network Tips
dbaplus Community
dbaplus Community
May 25, 2020 · Operations

Scaling CAT Monitoring at Ctrip: Thread Model, Client Computation & Memory Tweaks

This article details how Ctrip optimized the CAT monitoring system—covering its large‑scale deployment, thread‑model redesign, offloading calculations to clients, double‑buffered reporting, and string handling improvements—to dramatically cut CPU usage, GC pressure, and memory consumption while handling billions of messages daily.

Distributed SystemsJavaPerformance Optimization
0 likes · 25 min read
Scaling CAT Monitoring at Ctrip: Thread Model, Client Computation & Memory Tweaks
Top Architect
Top Architect
May 21, 2020 · Backend Development

Comprehensive Guide to Java Application Performance Optimization and Diagnosis

This article provides an in‑depth overview of Java application performance optimization, covering a four‑layer model (application, database, framework, JVM), on‑site and post‑mortem analysis methods, OS and JVM diagnostic tools, common code and GC issues, database deadlock handling, and practical tuning recommendations.

Database TuningJVMJava
0 likes · 23 min read
Comprehensive Guide to Java Application Performance Optimization and Diagnosis
Efficient Ops
Efficient Ops
May 12, 2020 · Operations

Master Java Server Troubleshooting: CPU, Memory, Disk, GC & Network Issues

This guide walks you through systematic troubleshooting of Java server incidents covering CPU, memory, disk, garbage collection, and network problems, offering step‑by‑step command‑line techniques, analysis of thread stacks, GC logs, native memory tracking, and TCP diagnostics to pinpoint root causes efficiently.

CPUJavaMemory
0 likes · 19 min read
Master Java Server Troubleshooting: CPU, Memory, Disk, GC & Network Issues
Big Data Technology Architecture
Big Data Technology Architecture
Apr 16, 2020 · Databases

Memory Management Optimizations in HBase MemStore: SkipList, MemStoreLAB, ChunkPool, Off‑heap and CCSMap

The article systematically explains how HBase's MemStore uses a SkipList‑based model and introduces successive memory‑management optimizations—MemStoreLAB, ChunkPool, off‑heap chunks, CompactingMemStore and the CCSMap data structure—to reduce object overhead, GC pressure and improve throughput.

HBaseJavaMemStore
0 likes · 20 min read
Memory Management Optimizations in HBase MemStore: SkipList, MemStoreLAB, ChunkPool, Off‑heap and CCSMap
Ctrip Technology
Ctrip Technology
Mar 19, 2020 · Backend Development

Performance Optimization Practices for Ctrip's CAT Monitoring System

This article details Ctrip's implementation and performance optimization of the CAT application monitoring system, covering its deployment, thread‑model redesign, client‑side computation offloading, double‑buffered reporting, and string handling improvements that reduced CPU usage and GC pressure.

CATJavaPerformance Optimization
0 likes · 23 min read
Performance Optimization Practices for Ctrip's CAT Monitoring System
Big Data Technology & Architecture
Big Data Technology & Architecture
Feb 13, 2020 · Big Data

Optimizing Hadoop MapReduce Jobs for eBay CAL System to Reduce Execution Time and Resource Usage

This article describes how eBay's Central Application Logging (CAL) system generates massive daily logs, the challenges of Hadoop MapReduce job performance and resource consumption, and the step‑by‑step optimizations—reducing GC time, mitigating data skew, and improving algorithms—that cut execution time by over 60%, lowered cluster resource usage, and raised job success rates to nearly 100%.

Big DataData SkewHadoop
0 likes · 11 min read
Optimizing Hadoop MapReduce Jobs for eBay CAL System to Reduce Execution Time and Resource Usage
JD Retail Technology
JD Retail Technology
Dec 31, 2019 · Mobile Development

Android Memory Optimization: Impact Analysis, Leak Detection, and Image Optimization

This article examines how memory usage affects Android app performance, analyzes system and process-level impacts, discusses GC behavior, identifies common memory issues such as leaks, image loading, and memory churn, and provides practical optimization techniques and tool-based solutions to reduce memory consumption and prevent OOM and lag.

AndroidImageLoadingLeakDetection
0 likes · 26 min read
Android Memory Optimization: Impact Analysis, Leak Detection, and Image Optimization
58 Tech
58 Tech
Dec 27, 2019 · Backend Development

Optimizing Recommendation Service Response Time via Log Level Configuration and Code Refactoring

This article describes how to reduce recommendation service response time by refactoring code, configuring log levels per deployment group, using environment variables, and diagnosing performance issues through GC analysis, thread monitoring, and memory leak detection, achieving an average latency reduction of over 30 ms.

JavaPerformance OptimizationSCF
0 likes · 14 min read
Optimizing Recommendation Service Response Time via Log Level Configuration and Code Refactoring
Efficient Ops
Efficient Ops
Dec 15, 2019 · Backend Development

How a Hidden Java Memory Leak Crashed Our Service and the Steps We Took to Fix It

During a weekend on‑call shift a Java detection service repeatedly timed out due to network packet loss, leading to massive CPU usage and full GC cycles caused by a memory leak in a Map that stored request results, which was finally diagnosed and resolved using JVM tools like jstat, jstack, and MAT.

JVM Monitoringgcmemory leak
0 likes · 11 min read
How a Hidden Java Memory Leak Crashed Our Service and the Steps We Took to Fix It
Architect's Tech Stack
Architect's Tech Stack
Jul 10, 2019 · Backend Development

Common Java OutOfMemoryError Causes and Their Solutions

This article enumerates the most frequent Java OutOfMemoryError scenarios—including heap space exhaustion, GC overhead limits, oversized array allocations, PermGen/Metaspace depletion, thread creation failures, and native method errors—detailing their causes and practical JVM flag or code fixes to resolve them.

HeapJVMOutOfMemoryError
0 likes · 7 min read
Common Java OutOfMemoryError Causes and Their Solutions
MaGe Linux Operations
MaGe Linux Operations
Jun 28, 2019 · Operations

Diagnosing Java App Slowdowns: CPU Spikes, Full GC, and Deadlocks

This article explains how to identify and resolve common causes of Java application performance degradation—including excessive CPU usage, frequent Full GC events, thread blocking, and deadlocks—by using Linux tools such as top, jstat, jstack, and memory‑dump analysis with Eclipse MAT.

JavaThread Dumpgc
0 likes · 19 min read
Diagnosing Java App Slowdowns: CPU Spikes, Full GC, and Deadlocks
Efficient Ops
Efficient Ops
Jun 23, 2019 · Operations

How to Diagnose and Fix Java Application Slowdowns: CPU, GC, and Thread Issues

This guide explains how to identify and resolve common Java production problems such as sudden CPU spikes, excessive Full GC, thread blocking, waiting states, and deadlocks by using tools like top, jstack, jstat, and memory‑dump analysis to pinpoint the root cause and apply appropriate fixes.

OperationsThread Dumpgc
0 likes · 18 min read
How to Diagnose and Fix Java Application Slowdowns: CPU, GC, and Thread Issues
Efficient Ops
Efficient Ops
Apr 9, 2019 · Backend Development

Why Is My Java Service Stalling? Uncovering GC, Safepoint, and Log4j2 Bottlenecks

After weeks of investigation, this post details how intermittent request timeouts in a high‑concurrency Java service were traced to frequent JVM stop‑the‑world pauses caused by GC, safepoint logging, biased lock revocation, and Log4j2’s synchronous logging, and outlines the steps taken to diagnose and resolve the issue.

BTraceJavaSafepoint
0 likes · 10 min read
Why Is My Java Service Stalling? Uncovering GC, Safepoint, and Log4j2 Bottlenecks
Didi Tech
Didi Tech
Mar 28, 2019 · Mobile Development

Analysis and Mitigation of Android finalize() TimeoutException Crashes

The article examines Android crashes caused by the finalize() method exceeding its watchdog timeout, explains the underlying daemon implementation and typical causes such as long‑running finalizers, lock contention and low‑priority threads, and recommends avoiding finalize, reducing finalizable objects, or suppressing the watchdog exception as practical mitigations.

AndroidCrashTimeoutException
0 likes · 15 min read
Analysis and Mitigation of Android finalize() TimeoutException Crashes
Java Captain
Java Captain
Feb 15, 2019 · Backend Development

Key JVM Performance Tuning Parameters (2016 Winter Edition)

This article summarizes essential JVM tuning flags—including AutoBoxCacheMax, AlwaysPreTouch, CMSInitiatingOccupancyFraction, MaxTenuringThreshold, ExplicitGCInvokesConcurrent, and memory settings—explaining their effects on object caching, memory allocation, garbage‑collection behavior, and overall Java application performance.

BackendTuninggc
0 likes · 7 min read
Key JVM Performance Tuning Parameters (2016 Winter Edition)
Node Underground
Node Underground
Jan 14, 2016 · Backend Development

Why Node.js VM Contextify Causes Memory Bloat and How to Fix It

This article analyzes how improper use of Node.js's VM module leads to high CPU and memory consumption, explains the underlying contextify and Persistent handle mechanisms, and presents three practical solutions plus diagnostic tools to prevent and troubleshoot such performance issues.

Node.jsVM modulecontextify
0 likes · 13 min read
Why Node.js VM Contextify Causes Memory Bloat and How to Fix It