Tagged articles

Performance

5000 articles · Page 21 of 50
DeWu Technology
DeWu Technology
Dec 18, 2023 · Databases

Elasticsearch Best Practices: Query, Index, and Performance Optimizations

The guide outlines production‑ready Elasticsearch best practices, covering query tuning such as using shard request cache, filter context, size‑0 aggregations and composite aggregations; write strategies like auto‑generated IDs, bulk API sizing and refresh handling; optimal shard counts, explicit mappings with disabled unnecessary features, and general advice to use explicit index names and stored scripts.

CachingElasticsearchIndexing
0 likes · 22 min read
Elasticsearch Best Practices: Query, Index, and Performance Optimizations
Code Ape Tech Column
Code Ape Tech Column
Dec 18, 2023 · Databases

13 Redis Performance Optimization Rules for High‑Throughput Applications

This article presents thirteen practical Redis performance‑optimization rules, covering avoidance of slow commands, proper key expiration handling, data‑structure selection, persistence tuning, hardware considerations, pipeline usage, client‑side improvements, and distributed architectures such as replication, sentinel and Redis Cluster, to help developers achieve significant speed gains.

OptimizationPerformancedatabase
0 likes · 13 min read
13 Redis Performance Optimization Rules for High‑Throughput Applications
dbaplus Community
dbaplus Community
Dec 18, 2023 · Backend Development

How to Prevent Cache Penetration, Avalanche, Breakdown, Inconsistency, and Concurrency Issues

This guide explains common cache problems such as penetration, avalanche, breakdown, data inconsistency, and concurrent access, and provides practical solutions like Bloom filters, multi‑level caching, random expiration, distributed locks, and transaction mechanisms to keep systems stable and performant.

CacheData ConsistencyPerformance
0 likes · 13 min read
How to Prevent Cache Penetration, Avalanche, Breakdown, Inconsistency, and Concurrency Issues
Architect
Architect
Dec 17, 2023 · Backend Development

Flexible Switching Between Monolith and Microservices in Tencent Docs: Architecture, Challenges, and Benefits

This article details how Tencent Docs implements a flexible architecture that can switch between monolithic and microservice deployments, describing the motivations, such as framework diversity, configuration conflicts, global variable management, hidden bugs, the custom 'monolith' tool with its configuration format, and the resulting performance and resource savings.

PerformanceSoftware engineeringarchitecture
0 likes · 15 min read
Flexible Switching Between Monolith and Microservices in Tencent Docs: Architecture, Challenges, and Benefits
Python Programming Learning Circle
Python Programming Learning Circle
Dec 15, 2023 · Backend Development

phpy v2 – A High‑Performance PHP‑Python Bridge: Architecture, Usage, and Benchmarks

The article introduces the second version of phpy, a PHP extension that embeds a Python interpreter, explains its dual‑VM runtime architecture, shows how to use it under PHP‑FPM, presents detailed performance benchmarks, covers exception handling, IDE auto‑completion, compilation options, dynamic‑library troubleshooting, and provides numerous code examples for testing and scientific computing.

ExtensionPerformancePython
0 likes · 12 min read
phpy v2 – A High‑Performance PHP‑Python Bridge: Architecture, Usage, and Benchmarks
Watermelon Video Tech Team
Watermelon Video Tech Team
Dec 14, 2023 · Mobile Development

Why Does Android’s RenderThread Crash on TextureView.getBitmap? A Deep Dive and Fix

This article investigates the Android 5‑6 RenderThread native crash caused by a missing EGL surface when TextureView.getBitmap is called before ThreadedRender initialization, analyzes the root cause through code inspection and runtime logs, and presents a bytecode‑instrumentation fix that dramatically reduces the crash rate.

AndroidCrashAnalysisHooking
0 likes · 21 min read
Why Does Android’s RenderThread Crash on TextureView.getBitmap? A Deep Dive and Fix
DataFunTalk
DataFunTalk
Dec 13, 2023 · Databases

SelectDB Boosts GuanceDB Observability: Architecture Upgrade, Cost Reduction, and Performance Gains

This article details how SelectDB’s inverted‑index, Variant data type, and sampling capabilities were integrated into GuanceDB to replace Elasticsearch, achieving up to 70% storage cost reduction, 2‑4× query speed improvement, and a ten‑fold overall cost‑performance boost for log analytics and observability workloads.

Log AnalyticsObservabilityPerformance
0 likes · 20 min read
SelectDB Boosts GuanceDB Observability: Architecture Upgrade, Cost Reduction, and Performance Gains
Architect's Tech Stack
Architect's Tech Stack
Dec 13, 2023 · Databases

MyBatis-Flex: A Lightweight High‑Performance MyBatis Enhancement Framework – Features, Comparison, and Quick‑Start Guide

This article introduces MyBatis‑Flex, a lightweight and high‑performance MyBatis enhancement framework, outlines its key features, compares it with similar tools, presents benchmark results, lists supported databases, and provides a step‑by‑step quick‑start tutorial with complete code examples for Spring Boot integration.

JavaMyBatis-FlexORM
0 likes · 11 min read
MyBatis-Flex: A Lightweight High‑Performance MyBatis Enhancement Framework – Features, Comparison, and Quick‑Start Guide
Test Development Learning Exchange
Test Development Learning Exchange
Dec 12, 2023 · Fundamentals

Python Memory Management and Optimization Techniques

Python automatically manages memory through garbage collection, and this article explains how the garbage collector works and presents ten practical techniques—including manual gc calls, generators, sys.getsizeof, slice copying, del statements, sys.intern, NumPy, pandas, reference counting, and __slots__—to reduce memory usage and improve performance.

Garbage CollectionMemory managementOptimization
0 likes · 5 min read
Python Memory Management and Optimization Techniques
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Dec 12, 2023 · Artificial Intelligence

How LangChain Powers AI Agents: Principles, Debugging, and Real‑World Optimizations

This article explains the concept of AI Agents in the large‑language‑model era, details LangChain's implementation mechanics, shares practical challenges and optimizations encountered by NetEase Cloud Music, and provides step‑by‑step code examples and performance insights for building robust AI Agents.

AI AgentLLMLangChain
0 likes · 20 min read
How LangChain Powers AI Agents: Principles, Debugging, and Real‑World Optimizations
php Courses
php Courses
Dec 12, 2023 · Backend Development

Optimizing PHP Log Recording Performance

This article explains how to improve PHP logging performance by controlling log levels, batching writes, using asynchronous processes, and implementing log rotation, providing clear code examples for each technique in real-world PHP applications.

LoggingPerformancebackend
0 likes · 5 min read
Optimizing PHP Log Recording Performance
Open Source Linux
Open Source Linux
Dec 12, 2023 · Backend Development

Why Microservices May Not Fit Real‑Time Game Servers

In a recent interview with a listed game company, the author explores why microservice architectures, despite their popularity for scalable web applications, often clash with the low‑latency, state‑heavy requirements of real‑time game servers, highlighting technical and team‑size considerations.

PerformanceReal-timebackend-architecture
0 likes · 8 min read
Why Microservices May Not Fit Real‑Time Game Servers
ITPUB
ITPUB
Dec 11, 2023 · Backend Development

Go vs Rust in 2024: Which Language Should Power Your Projects?

This article compares Go and Rust across performance, concurrency, memory safety, development speed, and developer experience, highlighting each language's strengths and weaknesses to help developers decide which language best fits their specific project requirements in 2024.

ConcurrencyMemory safetyPerformance
0 likes · 12 min read
Go vs Rust in 2024: Which Language Should Power Your Projects?
Python Programming Learning Circle
Python Programming Learning Circle
Dec 11, 2023 · Fundamentals

Six Techniques to Improve Python Code Performance

This article introduces six practical techniques—including profiling with timeit, memory and line profilers, using built‑in functions, f‑strings, list comprehensions, and lru_cache—as well as algorithm and data‑structure choices to help Python developers significantly boost the execution speed of their code.

OptimizationPerformanceProfiling
0 likes · 9 min read
Six Techniques to Improve Python Code Performance
21CTO
21CTO
Dec 10, 2023 · Backend Development

Why You Must Upgrade to PHP 8.3 Now: New Features, Security & Performance

The article explains PHP 8.0's end‑of‑life, presents usage statistics, highlights the risks of staying on older versions, and details the new features and improvements in PHP 8.3, urging developers to upgrade promptly for security, compatibility, and performance benefits.

Backend DevelopmentPHPPHP 8.3
0 likes · 5 min read
Why You Must Upgrade to PHP 8.3 Now: New Features, Security & Performance
Senior Brother's Insights
Senior Brother's Insights
Dec 10, 2023 · Backend Development

Why a Veteran Java Developer Chose Rust: Performance, Concurrency, and Ecosystem

A seasoned Java engineer shares his journey transitioning to Rust, highlighting Rust’s advantages for CLI tools, superior resource utilization, easier concurrency and async programming, while also acknowledging Java’s strengths in rapid feature delivery, mature ecosystem, and ease of learning, and discussing practical migration considerations.

JavaPerformanceRust
0 likes · 10 min read
Why a Veteran Java Developer Chose Rust: Performance, Concurrency, and Ecosystem
ITPUB
ITPUB
Dec 10, 2023 · Databases

Do 20‑Million‑Row MySQL Tables Still Slow Down on SSDs? Experimental Results

The article investigates whether the long‑standing rule of avoiding MySQL tables larger than 20 million rows still holds on modern SSD‑backed instances by creating tables of varying sizes, measuring query latency under different InnoDB buffer pool configurations, and analyzing the impact of caching and index usage.

Buffer PoolInnoDBLarge Tables
0 likes · 11 min read
Do 20‑Million‑Row MySQL Tables Still Slow Down on SSDs? Experimental Results
Python Programming Learning Circle
Python Programming Learning Circle
Dec 9, 2023 · Fundamentals

Practical Python Decorators: Timing, Caching, Validation, Logging, and More

This article introduces ten practical Python decorators—including @timer, @memoize, @validate_input, @log_results, @suppress_errors, @validate_output, @retry, @visualize_results, @debug, and @deprecated—explaining their purpose, showing full code implementations, and demonstrating how they can improve performance, reliability, and maintainability of data‑science and general Python projects.

CachingError handlingLogging
0 likes · 9 min read
Practical Python Decorators: Timing, Caching, Validation, Logging, and More
dbaplus Community
dbaplus Community
Dec 9, 2023 · Databases

Why MySQL Still Beats PostgreSQL in China: A Deep Dive

An in‑depth analysis shows that MySQL’s early Windows support, lower entry barrier, strong LAMP ecosystem, backing from major Chinese tech firms, and a mature tooling landscape together explain why it remains far more popular than PostgreSQL across China despite global growth trends.

ChinaDatabase PopularityMySQL
0 likes · 9 min read
Why MySQL Still Beats PostgreSQL in China: A Deep Dive
Architect
Architect
Dec 8, 2023 · Frontend Development

How to Build a Reliable, Low‑Latency IM Chat for Customer Service – Front‑End Techniques Revealed

This article dissects the end‑to‑end technical workflow of sending a customer‑service IM message, covering reliability, real‑time delivery, ordering, idempotency, performance bottlenecks, async handling, requestAnimationFrame, protobuf migration, and user‑experience optimizations, while sharing concrete metrics and real‑world solutions.

FrontendIMMessage Ordering
0 likes · 24 min read
How to Build a Reliable, Low‑Latency IM Chat for Customer Service – Front‑End Techniques Revealed
Yunxuetang Frontend Team
Yunxuetang Frontend Team
Dec 8, 2023 · Frontend Development

Key Front-End Trends and Techniques to Watch in 2023

2023 saw rapid evolution in the front‑end ecosystem, highlighted by major events, a controversial Gemini AI demo, SkyWalking‑based performance and error monitoring, innovative text‑overflow handling, CSS techniques that boost long‑list rendering by up to seven times, and an automatic, non‑intrusive skeleton‑screen generation solution.

2023FrontendMonitoring
0 likes · 4 min read
Key Front-End Trends and Techniques to Watch in 2023
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Dec 8, 2023 · Mobile Development

Android Audio Smoothness: Performance Analysis and Optimization Guide

This guide helps Android audio developers understand and eliminate stutter, pop noise, and other glitches by examining audio formats, pipeline components, CPU scheduling, common failure cases, and offering concrete optimization steps such as proper thread priorities, reduced API blocking, and efficient frame‑count configuration.

AndroidOptimizationPerformance
0 likes · 18 min read
Android Audio Smoothness: Performance Analysis and Optimization Guide
DaTaobao Tech
DaTaobao Tech
Dec 8, 2023 · Backend Development

ZSTD Compression and GC Optimization in Java Netty Backend

Switching a Java Netty gateway from GZIP to ZSTD compression using zstd‑jni doubled GC time and introduced heap and Netty off‑heap memory leaks, which were resolved by employing the library’s direct off‑heap API with a NoFinalizer compressor, promptly releasing ByteBufs, avoiding finalize(), and adopting jemalloc to reduce fragmentation.

GCJavaMemoryLeak
0 likes · 19 min read
ZSTD Compression and GC Optimization in Java Netty Backend
360 Smart Cloud
360 Smart Cloud
Dec 7, 2023 · Databases

Pika v3.5.2 Release Highlights and Upcoming v3.5.3 Roadmap

The Pika community announced version 3.5.2, fixing long‑standing bugs and adding features such as Redis transaction support, a cache layer for hot‑cold data separation, dynamic Codis‑Proxy configuration, and performance improvements, while also outlining the planned enhancements for the upcoming 3.5.3 release.

Bug FixesPerformancePika
0 likes · 6 min read
Pika v3.5.2 Release Highlights and Upcoming v3.5.3 Roadmap
IT Niuke
IT Niuke
Dec 6, 2023 · Fundamentals

Can Java Streams Replace For Loops? Code and Performance Comparison

This article compares Java 8 Streams with traditional for‑loops through concrete code examples, benchmark results, parallel‑stream speedups, and discusses scenarios where Streams excel or fall short, helping developers decide when to prefer Streams over loops.

JavaPerformanceStreams
0 likes · 10 min read
Can Java Streams Replace For Loops? Code and Performance Comparison
转转QA
转转QA
Dec 6, 2023 · Backend Development

Store System Refactoring Types, Challenges, and Testing Strategies

This article analyzes the current store system issues, outlines various refactoring types and their difficulties, presents common efficiency measures, and details testing schemes for both unchanged‑business and changed‑business refactoring cases, highlighting objectives, challenges, processes, and overall effectiveness.

PerformanceTestingbackend
0 likes · 8 min read
Store System Refactoring Types, Challenges, and Testing Strategies
Huolala Tech
Huolala Tech
Dec 5, 2023 · Frontend Development

How to Cut Duplicate Loading in Mini‑Program Order Details with Preload‑JS

This article explains how to reduce the double loading of order‑detail pages in a Huolala mini‑program by pre‑fetching API data using the preload‑js library, detailing implementation steps, caching strategies, and advanced goals such as dependency tracking and offline persistence.

CachingPerformancepreload
0 likes · 8 min read
How to Cut Duplicate Loading in Mini‑Program Order Details with Preload‑JS
Liangxu Linux
Liangxu Linux
Dec 4, 2023 · Fundamentals

Why Row‑Major Access Beats Column‑Major in C: A Cache‑Level Deep Dive

The article explains why iterating a two‑dimensional array by rows runs dramatically faster than by columns, covering memory‑hierarchy basics, locality principles, cache behavior, cache‑line mechanics, and Linux perf measurements that reveal a 20‑fold speed gap caused by cache‑miss rates.

C ProgrammingCacheMemory Hierarchy
0 likes · 11 min read
Why Row‑Major Access Beats Column‑Major in C: A Cache‑Level Deep Dive
FunTester
FunTester
Dec 3, 2023 · Backend Development

Why Your Java App’s CPU Spikes: Mastering C1/C2 JIT Threads

This article explains how HotSpot's C1 and C2 JIT compiler threads work, why they can consume excessive CPU, and provides practical JVM tuning options—including tiered compilation, code‑cache sizing, and compiler‑thread adjustments—to mitigate performance issues.

C1C2HotSpot
0 likes · 11 min read
Why Your Java App’s CPU Spikes: Mastering C1/C2 JIT Threads
Efficient Ops
Efficient Ops
Dec 3, 2023 · Backend Development

Why Our Redis Cluster Pipeline Deadlocked: Thread Locks Explained

This article walks through a production incident where a Redis Cluster pipeline caused Dubbo threads to block and eventually deadlock, detailing the root‑cause analysis, code inspection, and verification steps using jstack, jmap, and MAT to confirm the deadlock and propose fixes.

DeadlockJavaJedis
0 likes · 13 min read
Why Our Redis Cluster Pipeline Deadlocked: Thread Locks Explained
21CTO
21CTO
Dec 3, 2023 · Fundamentals

Why MoonBit’s Small WASM Binaries and Fast Performance Matter

MoonBit is a new open‑source programming language from China that delivers tiny WebAssembly binaries, high runtime speed, advanced compile‑time performance, and a modern toolchain, while sparking community debate over adding Chinese keywords to its syntax.

Chinese keywordsMoonBitPerformance
0 likes · 8 min read
Why MoonBit’s Small WASM Binaries and Fast Performance Matter
Architect's Tech Stack
Architect's Tech Stack
Dec 2, 2023 · Backend Development

Drawbacks of the Spring Framework: Performance, Configuration Complexity, Learning Curve, and More

This article examines several drawbacks of the Spring framework—including performance overhead from reflection and proxies, complex configuration, steep learning curve, over‑reliance on the Spring ecosystem, hidden “magic” features, version compatibility challenges, and misuse of dependency injection—illustrated with Java code examples.

Dependency InjectionJavaPerformance
0 likes · 8 min read
Drawbacks of the Spring Framework: Performance, Configuration Complexity, Learning Curve, and More
Selected Java Interview Questions
Selected Java Interview Questions
Dec 2, 2023 · Backend Development

Understanding HashMap Resize Behavior and the Revision from Expansion Count to Resize Count in Alibaba's Developer Manual

This article explains the recent correction in Alibaba's developer manual that replaces the ambiguous "expansion count" of HashMap with the precise "resize count", details the conditions under which HashMap triggers resize during the first put operation, and shows why storing 1024 elements in JDK 1.8 results in eight resize calls.

Data StructuresJDK8Java
0 likes · 9 min read
Understanding HashMap Resize Behavior and the Revision from Expansion Count to Resize Count in Alibaba's Developer Manual
ITPUB
ITPUB
Dec 1, 2023 · Backend Development

Turning tRPC‑Go Microservices into a High‑Performance Monolith

This article explains how a large‑scale recommendation system built with tRPC‑Go microservices was refactored into a single‑process monolith to cut network overhead, reduce CPU usage by over 60%, and retain the benefits of microservice development while minimizing code changes.

Performancegomicroservices
0 likes · 14 min read
Turning tRPC‑Go Microservices into a High‑Performance Monolith
IT Services Circle
IT Services Circle
Nov 30, 2023 · Fundamentals

China's Loongson 3A6000 CPU Reaches Intel‑Level Performance with Independent LoongArch Architecture

The newly released Loongson 3A6000 processor, built on the domestically designed LoongArch instruction set, delivers performance comparable to Intel's 10th‑gen i3‑10100F, features four high‑performance cores, advanced vector extensions, DDR4‑3200 memory support, and a secure trusted module, marking a major milestone for China's independent CPU development.

CPUChinaLoongson
0 likes · 7 min read
China's Loongson 3A6000 CPU Reaches Intel‑Level Performance with Independent LoongArch Architecture
Architect's Tech Stack
Architect's Tech Stack
Nov 30, 2023 · Backend Development

Spring Boot Startup Optimization Practices

This article presents a comprehensive set of techniques—including lazy initialization, deferred database connections, selective auto‑configuration, logging level tuning, JVM parameter tweaks, dependency pruning, bean optimization, JIT settings, class‑path scanning reduction, and DevTools restart—to significantly shorten Spring Boot application startup time, each illustrated with clear code examples.

JavaPerformanceStartup Optimization
0 likes · 7 min read
Spring Boot Startup Optimization Practices
Code Ape Tech Column
Code Ape Tech Column
Nov 30, 2023 · Backend Development

Performance Comparison of Spring Boot on JVM vs GraalVM Native Image

This article evaluates the startup speed, memory consumption, and request‑handling performance of a simple Spring Boot "Hello World" service when run on the traditional JVM compared with a GraalVM‑compiled native binary, using a MacBook M1 and Bombardier for load testing.

BenchmarkJavaNative Image
0 likes · 9 min read
Performance Comparison of Spring Boot on JVM vs GraalVM Native Image
Java Architect Essentials
Java Architect Essentials
Nov 29, 2023 · Backend Development

Performance Tuning of a Java Backend Service: From 50/s to 500/s Through Profiling, Thread‑Pool, and SQL Optimization

The article details a step‑by‑step investigation and optimization of a Java backend service that initially delivered only 50 requests per second under load, covering profiling, slow‑SQL fixes, thread‑pool tuning, JVM memory adjustments, and Spring bean creation overhead to approach the target 500 req/s.

JavaPerformanceProfiling
0 likes · 14 min read
Performance Tuning of a Java Backend Service: From 50/s to 500/s Through Profiling, Thread‑Pool, and SQL Optimization
Baidu Geek Talk
Baidu Geek Talk
Nov 29, 2023 · Databases

How Baidu Built an HTAP Table Storage System to Tackle Massive Data Analytics

This article examines Baidu Search's content storage team's HTAP table storage system, detailing the challenges of supporting massive OLAP workloads on an OLTP‑oriented backend, the architectural split into Neptune and Saturn, storage‑engine optimizations such as row partitioning and dynamic columns, and a SQL‑like KQL framework for compute and scheduling.

HTAPKQLOLAP
0 likes · 13 min read
How Baidu Built an HTAP Table Storage System to Tackle Massive Data Analytics
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 29, 2023 · Frontend Development

Advanced Next.js Techniques to Optimize Performance

This article presents advanced Next.js techniques—including dynamic imports, CDN asset publishing, server‑side caching, Incremental Static Regeneration, and custom server integration for WebSockets—to help developers build faster, more scalable, and performance‑optimized web applications.

CDNISRNext.js
0 likes · 8 min read
Advanced Next.js Techniques to Optimize Performance
Architects' Tech Alliance
Architects' Tech Alliance
Nov 28, 2023 · Fundamentals

CPU Overclocking: Feasibility, Hardware Requirements, Frequency Calculations, and Risks

The article explains CPU overclocking, covering its feasibility, required high‑quality motherboard, memory and cooling, the relationship between external frequency, multiplier and core speed, and the potential hazards such as increased heat, system instability, reduced component lifespan, and voltage considerations.

CPUPerformanceoverclocking
0 likes · 7 min read
CPU Overclocking: Feasibility, Hardware Requirements, Frequency Calculations, and Risks
Efficient Ops
Efficient Ops
Nov 28, 2023 · Databases

Mastering Redis: Core Features, Caching Strategies, and High Availability

This article provides a comprehensive overview of Redis, covering its architecture, key features, data types, caching use cases, common pitfalls such as consistency, avalanche, penetration and breakdown, as well as performance reasons, eviction policies, persistence options, replication, and Sentinel high‑availability mechanisms.

CachingHigh AvailabilityPerformance
0 likes · 13 min read
Mastering Redis: Core Features, Caching Strategies, and High Availability
Top Architect
Top Architect
Nov 28, 2023 · Databases

Performance Comparison of JOIN vs IN in MySQL Queries

This article experimentally compares the performance of JOIN and IN approaches for retrieving order and user data in MySQL, showing that JOIN is faster on small datasets while IN may become costly with large data volumes, and discusses code implementations and practical conclusions.

INJOINMySQL
0 likes · 10 min read
Performance Comparison of JOIN vs IN in MySQL Queries
Big Data Technology & Architecture
Big Data Technology & Architecture
Nov 28, 2023 · Big Data

Apache Paimon for CDC: Low‑Cost, Low‑Latency Data Lake Ingestion and Performance Comparison with Hive and Hudi

This article explains how Apache Paimon simplifies CDC data lake ingestion with one‑click, low‑cost, low‑latency pipelines, details its architecture and tag‑based Hive compatibility, provides best‑practice configurations, and presents benchmark results showing Paimon outperforming Hive and Hudi in both write and query performance.

Apache PaimonCDCData Lake
0 likes · 14 min read
Apache Paimon for CDC: Low‑Cost, Low‑Latency Data Lake Ingestion and Performance Comparison with Hive and Hudi
Architect
Architect
Nov 27, 2023 · Backend Development

Why 500 req/s Became 50 req/s: A Deep Dive into Spring Bean Creation Bottlenecks

A ToB system that seemed able to handle 500 requests per second stalled at 50 req/s due to hidden lock contention in prototype‑scoped Spring beans, slow SQL updates, excessive logging, and thread‑pool misconfiguration, prompting a step‑by‑step performance investigation and multiple optimizations.

JavaOptimizationPerformance
0 likes · 16 min read
Why 500 req/s Became 50 req/s: A Deep Dive into Spring Bean Creation Bottlenecks
Top Architect
Top Architect
Nov 27, 2023 · Backend Development

Performance Comparison of String Concatenation Using '+' vs StringBuilder in Java

This article evaluates the execution time and bytecode differences of simple and looped string concatenation in Java, comparing the '+' operator with explicit StringBuilder usage, and concludes that '+' is fine for single concatenations while StringBuilder dramatically outperforms '+' in iterative scenarios.

JavaPerformancestring concatenation
0 likes · 9 min read
Performance Comparison of String Concatenation Using '+' vs StringBuilder in Java
Architecture Digest
Architecture Digest
Nov 27, 2023 · Databases

Fast Import of 1 Billion Records into MySQL: Design, Performance, and Reliability Considerations

To import one billion 1 KB log records into MySQL efficiently, the article examines data size constraints, B‑tree index limits, batch insertion strategies, storage engine choices, file‑reading techniques, task coordination with Redis, Redisson semaphores, and distributed lock handling to ensure ordered, reliable, high‑throughput loading.

Batch InsertBig DataMySQL
0 likes · 18 min read
Fast Import of 1 Billion Records into MySQL: Design, Performance, and Reliability Considerations
php Courses
php Courses
Nov 27, 2023 · Backend Development

Performance Improvements and Optimization Strategies in PHP 8.3

PHP 8.3 introduces a JIT compiler, enhanced array and string handling, OPcache improvements, and Match expressions, delivering significant performance gains and offering optimization strategies while highlighting common pitfalls to ensure efficient, maintainable backend development.

JITOPcachePerformance
0 likes · 6 min read
Performance Improvements and Optimization Strategies in PHP 8.3
Baidu Intelligent Cloud Tech Hub
Baidu Intelligent Cloud Tech Hub
Nov 27, 2023 · Databases

How GaiaDB Redefines Cloud‑Native Databases with Fusion Architecture

GaiaDB, Baidu’s cloud‑native database, combines compute‑storage separation with a fused, log‑service architecture to boost performance, simplify consistency, and deliver multi‑level high availability across zones and regions, while supporting new features such as parallel query, HTAP replicas, and serverless scaling.

Performancecloud-nativedistributed-systems
0 likes · 17 min read
How GaiaDB Redefines Cloud‑Native Databases with Fusion Architecture
dbaplus Community
dbaplus Community
Nov 23, 2023 · Databases

MySQL vs MongoDB: Which Database Fits Your Needs?

This article compares MySQL and MongoDB, outlining their core concepts, shared features such as open‑source licensing and indexing, and key differences in data model, scalability, performance, flexibility, and security, while summarizing pros and cons and recommending suitable application scenarios for each database.

Database ComparisonMongoDBMySQL
0 likes · 12 min read
MySQL vs MongoDB: Which Database Fits Your Needs?
21CTO
21CTO
Nov 23, 2023 · Backend Development

How YouTube Scaled to 100M Daily Views with a Tiny Engineering Team

This article examines how YouTube achieved massive scalability using a simple tech stack, a "flywheel" process, strategic outsourcing, caching layers, and three core pillars—statelessness, replication, and partitioning—while keeping the engineering team lean and adaptable.

PerformanceYouTubebackend-architecture
0 likes · 9 min read
How YouTube Scaled to 100M Daily Views with a Tiny Engineering Team
Architect
Architect
Nov 22, 2023 · Backend Development

Mastering CompletableFuture: Boosting Asynchronous Performance in Java

This article walks through the limitations of Java's Future, introduces CompletableFuture's richer asynchronous API, and demonstrates step‑by‑step how to refactor a shop‑detail page using parallel tasks, custom thread pools, and composition patterns to cut response time from seconds to under two.

CompletableFutureConcurrencyJava
0 likes · 14 min read
Mastering CompletableFuture: Boosting Asynchronous Performance in Java
vivo Internet Technology
vivo Internet Technology
Nov 22, 2023 · Operations

Investigation and Resolution of Elasticsearch node_concurrent_recoveries Performance Issue

The team traced read‑request timeouts to a single overloaded Elasticsearch node where an excessively high node_concurrent_recoveries setting caused many simultaneous shard recoveries and disk‑watermark‑driven relocations, and resolved the issue by lowering concurrent recoveries, enabling adaptive replica selection, and adjusting allocation settings.

CPUDisk WatermarkElasticsearch
0 likes · 16 min read
Investigation and Resolution of Elasticsearch node_concurrent_recoveries Performance Issue
Architect
Architect
Nov 21, 2023 · Backend Development

Why Large Database Transactions Slow Your API and How to Fix Them

The article explains how bundling many business‑logic steps into a single large transaction harms API performance, outlines the resulting concurrency, locking, undo‑log, and DB‑pressure issues, and then presents practical techniques—programmatic transactions, batch processing, transaction splitting, and asynchronous parallelism—to optimize and speed up backend services.

PerformanceTransactionasynchronous
0 likes · 10 min read
Why Large Database Transactions Slow Your API and How to Fix Them
Didi Tech
Didi Tech
Nov 21, 2023 · Databases

Investigation and Root Cause Analysis of a Redis Memory Leak in Production

An in‑depth, timeline‑driven investigation of a production Redis memory leak revealed that the custom 3.2.8 build’s getKeysInSlot function failed to free a temporary key‑array after traversing the radix‑tree, causing hundreds of megabytes of leaked SDS strings, which was fixed by adding a single free call and highlighted the need for functional code reviews and early leak detection.

LinuxPerformanceRedis
0 likes · 10 min read
Investigation and Root Cause Analysis of a Redis Memory Leak in Production
Efficient Ops
Efficient Ops
Nov 20, 2023 · Databases

Why Is My Redis Slowing Down? 10 Common Causes and How to Fix Them

This article explains why Redis may become slower, covering benchmark testing, high‑complexity commands, big keys, concentrated expirations, memory limits, fork overhead, huge pages, AOF settings, CPU binding, swap usage, memory fragmentation, and lazy‑free mechanisms, and provides practical optimization steps.

OptimizationPerformanceRedis
0 likes · 34 min read
Why Is My Redis Slowing Down? 10 Common Causes and How to Fix Them
DataFunTalk
DataFunTalk
Nov 20, 2023 · Big Data

Automated Data Governance and Optimization with Volcano Engine DataLeap: Challenges, Solutions, and Benefits

This article examines the challenges faced by Volcano Engine's DataLeap in computational governance, outlines automated solutions such as real‑time rule engines and monitoring, and presents concrete performance and cost benefits achieved through resource optimization across large‑scale Spark and Hadoop workloads.

Big DataData GovernancePerformance
0 likes · 13 min read
Automated Data Governance and Optimization with Volcano Engine DataLeap: Challenges, Solutions, and Benefits
Advanced AI Application Practice
Advanced AI Application Practice
Nov 20, 2023 · Fundamentals

What Exactly Is Testability in Software Development?

The article defines testability as the precondition for conducting testing at each software lifecycle stage, explains its manifestations during requirements, design, development, and release phases, and illustrates the concept with a performance‑impact example from an e‑commerce order‑detail scenario.

PerformanceReleaseTestability
0 likes · 7 min read
What Exactly Is Testability in Software Development?
Top Architecture Tech Stack
Top Architecture Tech Stack
Nov 20, 2023 · Databases

Design and Application of High‑Performance Database Clusters: Read/Write Separation, Sharding, and NoSQL

This article explains the principles and practical designs of high‑performance database clusters, covering read/write separation, master‑slave replication lag, distribution mechanisms, sharding (both vertical and horizontal), business‑level partitioning, and the role of NoSQL technologies such as key‑value stores, document databases, columnar databases, and full‑text search engines.

NoSQLPerformanceRead‑Write Separation
0 likes · 33 min read
Design and Application of High‑Performance Database Clusters: Read/Write Separation, Sharding, and NoSQL
Architect
Architect
Nov 18, 2023 · Databases

JOIN vs IN: Choosing the Faster MySQL Query Method

Through a series of local experiments on MySQL tables with varying data volumes, this article analyzes the performance trade‑offs between JOIN queries and IN‑list queries, detailing execution plans, PHP benchmarking, and the impact of large IN lists on query speed and reliability.

INJOINMySQL
0 likes · 10 min read
JOIN vs IN: Choosing the Faster MySQL Query Method
MaGe Linux Operations
MaGe Linux Operations
Nov 18, 2023 · Databases

Understanding SQL Server Deadlocks: Causes, Detection, and Prevention

This article explains the principle of deadlocks, the four necessary conditions, how they manifest in SQL Server resources, methods for investigating deadlocks with system procedures and Profiler, and practical techniques—including isolation level changes, lock timeouts, and bound sessions—to avoid and resolve them.

DeadlockLockingPerformance
0 likes · 17 min read
Understanding SQL Server Deadlocks: Causes, Detection, and Prevention
php Courses
php Courses
Nov 18, 2023 · Backend Development

Implementing Caching in PHP: File, Database, and Memory Cache Examples

This article explains how caching improves website performance by reducing server load and response time, and provides PHP code examples for file‑based, database‑based, and memory‑based caches, guiding developers on selecting the appropriate cache type for their needs.

CachingDatabaseCacheFileCache
0 likes · 4 min read
Implementing Caching in PHP: File, Database, and Memory Cache Examples
Java Architect Essentials
Java Architect Essentials
Nov 17, 2023 · Backend Development

10 Java Stream API Best Practices Every Backend Developer Should Know

This article presents ten essential best‑practice guidelines for using Java’s Stream API—covering primitive streams, avoiding nested streams, cautious parallelism, lazy evaluation, side‑effect avoidance, immutability, filter‑before‑map, method references, distinct, and sorted—to help developers write more efficient, readable, and reliable functional code.

Best PracticesFunctional ProgrammingPerformance
0 likes · 8 min read
10 Java Stream API Best Practices Every Backend Developer Should Know
JD Retail Technology
JD Retail Technology
Nov 17, 2023 · Backend Development

How JaCoCo Can Reveal and Eliminate Zombie Code to Boost Backend Efficiency

By instrumenting Java services with JaCoCo’s agent and analyzing runtime coverage data, teams can identify unused (“zombie”) code, safely remove or deactivate it, and consequently reduce maintenance costs, shorten delivery cycles, and improve overall system performance and developer productivity.

JaCoCoJavaPerformance
0 likes · 12 min read
How JaCoCo Can Reveal and Eliminate Zombie Code to Boost Backend Efficiency
Deepin Linux
Deepin Linux
Nov 17, 2023 · Backend Development

Understanding Coroutines: Principles, Implementations, and Performance in C/C++

This article explains the concept of coroutines as lightweight user‑level threads, compares them with traditional threads, details various implementation mechanisms in C/C++ (including libco and NtyCo), and demonstrates how they improve I/O‑bound server performance through examples and code snippets.

C++NtyCoPerformance
0 likes · 45 min read
Understanding Coroutines: Principles, Implementations, and Performance in C/C++
Java Architect Essentials
Java Architect Essentials
Nov 16, 2023 · Backend Development

Why Does HashMap.keySet() Iterate Twice? Uncovering Java’s Internal Iterator Mechanics

This article explains why iterating a Java HashMap with keySet() results in two traversals, detailing the internal iterator creation, the role of KeyIterator and HashIterator classes, and how the do‑while loop in HashIterator’s constructor locates the first entry, with code examples and bytecode analysis.

HashIteratorHashMapIterator
0 likes · 9 min read
Why Does HashMap.keySet() Iterate Twice? Uncovering Java’s Internal Iterator Mechanics
Python Programming Learning Circle
Python Programming Learning Circle
Nov 16, 2023 · Fundamentals

Key New Features and Improvements in Python 3.12

Python 3.12 introduces enhanced error messages, expanded f‑string capabilities, inline collection optimizations, new buffer protocol support, refined type‑annotation syntax, additional language tweaks, and performance‑focused garbage‑collector changes, providing developers with clearer diagnostics and more expressive, efficient code constructs.

3.12Performanceerror-messages
0 likes · 10 min read
Key New Features and Improvements in Python 3.12
php Courses
php Courses
Nov 16, 2023 · Backend Development

Using PHP Caching (APC) to Improve Website Performance and Security

This article explains why caching is essential for web applications, introduces PHP caching options such as APC, Memcache, and Redis, and provides step‑by‑step installation and code examples showing how to implement APC caching to boost speed and protect site security.

CachingPHPPerformance
0 likes · 6 min read
Using PHP Caching (APC) to Improve Website Performance and Security
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 15, 2023 · Databases

Understanding Redis Hotkeys: Issues, Detection Methods, and Mitigation Strategies

This article explains what Redis hotkeys are, the performance and replication problems they cause, various techniques for detecting them—including client statistics, MONITOR, the HOTKEYS command, and TCP packet capture—and practical mitigation approaches such as sharding, multi‑level caching, and monitoring optimization.

HotKeyMonitoringPerformance
0 likes · 9 min read
Understanding Redis Hotkeys: Issues, Detection Methods, and Mitigation Strategies
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Nov 14, 2023 · Fundamentals

Recap of the 2023 CLSF (China Linux Storage, Memory Management & File System) Workshop

The 2023 China Linux Storage, Memory Management and File System Workshop, held on October 26‑27 and organized by OPPO, gathered leading Linux kernel developers from firms such as SUSE, Intel, AMD, Huawei and academic institutions to present keynotes and talks on memory reclamation, scalability, storage, BPF, container images, and future kernel innovations, fostering collaborative advancement of Chinese kernel development.

2023File SystemPerformance
0 likes · 6 min read
Recap of the 2023 CLSF (China Linux Storage, Memory Management & File System) Workshop
Java Captain
Java Captain
Nov 11, 2023 · Backend Development

Analyzing and Reproducing OutOfMemoryError in MyBatis-based Java Services

This article examines the causes of Java OutOfMemoryError in a distributed backend service, analyzes MyBatis-related memory leaks, demonstrates a reproducible scenario with large SQL concatenations and multithreading, and offers practical mitigation strategies to prevent heap and metaspace overflow.

JavaMyBatisOutOfMemoryError
0 likes · 6 min read
Analyzing and Reproducing OutOfMemoryError in MyBatis-based Java Services
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 11, 2023 · Backend Development

Performance Comparison of List.sort() vs Stream.sorted() in Java and Optimization Techniques

The article analyzes why a Java API endpoint took eight seconds, demonstrates through benchmarks that List.sort() outperforms Stream.sorted(), shows how sorting on computed columns and using BigDecimal can drastically slow execution, and presents three practical optimizations that reduce the response time to under a second.

BigDecimalJavaPerformance
0 likes · 8 min read
Performance Comparison of List.sort() vs Stream.sorted() in Java and Optimization Techniques
ITPUB
ITPUB
Nov 10, 2023 · Databases

Why Does MySQL Replication Lag? Causes and Practical Fixes

This article explains what MySQL master‑slave replication lag is, walks through the replication workflow, identifies the main technical reasons for delay such as single‑threaded replay and lock contention, and provides concrete configuration and architectural solutions to reduce or eliminate the lag.

DatabasesLagMySQL
0 likes · 8 min read
Why Does MySQL Replication Lag? Causes and Practical Fixes
dbaplus Community
dbaplus Community
Nov 9, 2023 · Fundamentals

Mastering Java Locks: From Pessimistic to Distributed and Optimizations

This article explains the full spectrum of Java locking mechanisms—including pessimistic, optimistic, distributed, reentrant, spin, read/write, fair vs. non‑fair, JVM lock states, and optimization techniques—detailing their principles, use‑cases, SQL/Redis examples, and performance trade‑offs.

ConcurrencyJVMLocks
0 likes · 16 min read
Mastering Java Locks: From Pessimistic to Distributed and Optimizations