Tag

performance

1 views collected around this technical thread.

Java Architect Essentials
Java Architect Essentials
Jun 14, 2025 · Backend Development

Why System.out.println() Can Kill Your MyBatis Performance and How to Fix It

This article explains why MyBatis's default StdOutImpl logging, which relies on System.out.println, blocks threads and creates severe concurrency bottlenecks, and demonstrates how to replace it with asynchronous logging implementations like Slf4jImpl, configure log levels, and even create custom Log classes for optimal performance.

ConcurrencyJavaLogging
0 likes · 8 min read
Why System.out.println() Can Kill Your MyBatis Performance and How to Fix It
Java Tech Enthusiast
Java Tech Enthusiast
Jun 12, 2025 · Backend Development

Why Cloudflare Replaced Nginx with Pingora: Inside the Next‑Gen Rust Proxy

This article explains how Cloudflare built Pingora, a Rust‑based HTTP proxy that outperforms Nginx in speed, efficiency, and security, detailing the architectural limits of Nginx, the decision to create a custom solution, design choices, performance gains, added features, and future plans.

BackendCloudflareHTTP
0 likes · 14 min read
Why Cloudflare Replaced Nginx with Pingora: Inside the Next‑Gen Rust Proxy
Deepin Linux
Deepin Linux
Jun 12, 2025 · Fundamentals

Unlocking Linux Kernel I/O: How the OS Handles High‑Performance Data Transfer

Linux kernel I/O mechanisms, from basic file operations and descriptors to advanced models like blocking, non‑blocking, multiplexed, signal‑driven, and asynchronous I/O, are explained in depth, covering their structures, system calls, caching strategies, and performance optimizations such as io_uring.

I/OKernelLinux
0 likes · 30 min read
Unlocking Linux Kernel I/O: How the OS Handles High‑Performance Data Transfer
Sohu Tech Products
Sohu Tech Products
Jun 11, 2025 · Fundamentals

Mastering iOS Locks: Types, Usage, and Performance Comparison

This article explains the relationship between locks and multithreading on iOS, introduces common lock types such as NSRecursiveLock, NSConditionLock, OSSpinLock, os_unfair_lock, pthread_mutex, and @synchronized, demonstrates resource contention with code examples, discusses lock selection, priority inversion, and provides a performance ranking of various locks.

ConcurrencyLocksiOS
0 likes · 22 min read
Mastering iOS Locks: Types, Usage, and Performance Comparison
IT Services Circle
IT Services Circle
Jun 11, 2025 · Databases

How to Count 100 Million Redis Keys Efficiently Without Crashing the Cluster

This article explains why the KEYS * command is dangerous for large Redis deployments and presents several practical alternatives—including SCAN, multithreaded SCAN, cluster‑wide parallel scans, built‑in counters, and real‑time incremental counting—along with code samples, performance comparisons, and guidance on choosing the right solution.

ClusterKey CountingRedis
0 likes · 10 min read
How to Count 100 Million Redis Keys Efficiently Without Crashing the Cluster
php中文网 Courses
php中文网 Courses
Jun 11, 2025 · Backend Development

Mastering PHP Getters and Setters: Boost Code Structure & Performance

This article explains how using getters and setters in PHP can improve code organization, reduce coupling, and enhance performance through techniques like lazy loading and result caching, illustrated with clear code examples.

Cachinggetterslazy-loading
0 likes · 5 min read
Mastering PHP Getters and Setters: Boost Code Structure & Performance
php中文网 Courses
php中文网 Courses
Jun 11, 2025 · Backend Development

PHP vs WordPress: Which Should Power Your Next Web Project?

An in‑depth comparison of PHP and WordPress examines their strengths, weaknesses, ideal use cases, performance and security considerations, and shows how developers can choose or combine them based on project requirements, team expertise, and long‑term maintenance goals.

BackendCMSPHP
0 likes · 8 min read
PHP vs WordPress: Which Should Power Your Next Web Project?
Code Mala Tang
Code Mala Tang
Jun 10, 2025 · Backend Development

Boost Your FastAPI API Performance with Redis Caching: A Step‑by‑Step Guide

This tutorial explains how to integrate Redis caching into a FastAPI application, covering installation, connection handling, cache expiration, testing, cache clearing, and best‑practice considerations to dramatically improve API response times and scalability.

BackendCachingFastAPI
0 likes · 9 min read
Boost Your FastAPI API Performance with Redis Caching: A Step‑by‑Step Guide
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jun 10, 2025 · Backend Development

Why Is Your Kafka Consumer Slow? Proven Strategies to Boost Throughput

This article explains why Kafka consumers often become bottlenecks—due to complex processing, resource constraints, or sub‑optimal configuration—and provides concrete steps such as profiling Java code, simplifying logic, using background threads, scaling consumer instances, and tuning key consumer parameters.

BackendConsumerDocker Compose
0 likes · 4 min read
Why Is Your Kafka Consumer Slow? Proven Strategies to Boost Throughput
php中文网 Courses
php中文网 Courses
Jun 10, 2025 · Backend Development

Unlock Go’s Power: Master the Most Essential Standard Library Packages

This guide walks through Go’s most powerful standard library packages—fmt, net/http, sync, encoding/json, context, os/io, testing, time, sort, and reflect—showing practical code examples, advanced tips, and best‑practice recommendations to boost development efficiency and write professional Go code.

BackendConcurrencyGo
0 likes · 20 min read
Unlock Go’s Power: Master the Most Essential Standard Library Packages
JD Tech
JD Tech
Jun 9, 2025 · Frontend Development

How Taro on Harmony C‑API Delivers Native‑Level Performance for Cross‑Platform Apps

This article introduces Taro's open‑source Harmony C‑API solution, detailing its architecture, rich component and CSS support, performance optimizations, and step‑by‑step installation guide that enable developers to build native‑grade Harmony OS applications using familiar web technologies.

C-APICross‑PlatformHarmonyOS
0 likes · 10 min read
How Taro on Harmony C‑API Delivers Native‑Level Performance for Cross‑Platform Apps
macrozheng
macrozheng
Jun 9, 2025 · Backend Development

Mastering Redis Hotspot Keys: Detection, Risks, and Solutions

This article explains what Redis hotspot keys are, the performance and stability issues they cause, common causes, how to monitor and identify them, and practical mitigation strategies such as cluster scaling, key sharding, and multi‑level caching.

BackendCachingRedis
0 likes · 10 min read
Mastering Redis Hotspot Keys: Detection, Risks, and Solutions
php中文网 Courses
php中文网 Courses
Jun 9, 2025 · Backend Development

Master Go Testing and Performance: Advanced Techniques & Real‑World Optimizations

Learn how to write robust Go tests, leverage table‑driven and mock techniques, conduct precise benchmarks, profile with pprof, and apply advanced memory and concurrency optimizations—including sync.Pool and buffer reuse—to build high‑performance, maintainable Go applications.

BenchmarkGoOptimization
0 likes · 7 min read
Master Go Testing and Performance: Advanced Techniques & Real‑World Optimizations
php中文网 Courses
php中文网 Courses
Jun 9, 2025 · Backend Development

Master Advanced Dependency Injection Techniques in Modern PHP

This article explores the core concepts, benefits, and advanced implementations of Dependency Injection in modern PHP, covering constructor, setter, and interface injection, autowiring, contextual and lazy injection, container patterns like factories, decorators, conditional registration, and best practices for performance, testing, and integration with other design patterns.

PHPbackend developmentdependency injection
0 likes · 6 min read
Master Advanced Dependency Injection Techniques in Modern PHP
Code Mala Tang
Code Mala Tang
Jun 8, 2025 · Fundamentals

Why Python’s a, b = b, a Isn’t Magic – The Real Mechanics Explained

This article demystifies Python’s a, b = b, a idiom by detailing how tuple packing and unpacking work, the exact evaluation order, the CPython bytecode implementation, comparisons with C, C++, Java, JavaScript, and the performance and memory implications of the technique.

BytecodePythonperformance
0 likes · 17 min read
Why Python’s a, b = b, a Isn’t Magic – The Real Mechanics Explained
Code Mala Tang
Code Mala Tang
Jun 8, 2025 · Backend Development

Why Overusing try/catch Can Kill Your Node.js Performance (And How to Fix It)

Overusing generic try/catch blocks in Node.js can silently swallow errors, degrade performance by up to 26%, and create debugging nightmares, while strategic error handling—targeted catches, proper resource cleanup, and error boundaries—offers faster, more maintainable code and prevents memory leaks.

BackendError HandlingExpress.js
0 likes · 6 min read
Why Overusing try/catch Can Kill Your Node.js Performance (And How to Fix It)
Cognitive Technology Team
Cognitive Technology Team
Jun 7, 2025 · Databases

Mastering MySQL Locks: Types, Mechanisms, and Best Practices

This article explains MySQL’s locking mechanisms, categorizing locks by performance, operation type, data granularity, and finer‑grained levels such as gap and next‑key locks, and offers guidance on selecting the appropriate lock strategy for reliable concurrent database operations.

Concurrency ControlInnoDBMySQL
0 likes · 9 min read
Mastering MySQL Locks: Types, Mechanisms, and Best Practices
php中文网 Courses
php中文网 Courses
Jun 6, 2025 · Backend Development

Why Native PHP Beats Frameworks: Performance, Simplicity, and Real‑World Use Cases

This article explains why writing native PHP code can outperform full‑stack frameworks by offering superior performance, a gentler learning curve, and easier maintenance, and it provides practical examples such as simple output, form handling, PDO database queries, and file uploads.

BackendNative PHPPHP
0 likes · 4 min read
Why Native PHP Beats Frameworks: Performance, Simplicity, and Real‑World Use Cases
Cognitive Technology Team
Cognitive Technology Team
Jun 5, 2025 · Backend Development

Why BeanUtils.copyProperties Is a Hidden Performance Killer and What to Use Instead

BeanUtils.copyProperties, a convenient Apache Commons utility for Java bean copying, harbors multiple hidden pitfalls—including reflection overhead, unsafe type conversion, null‑value overwrites, shallow copy issues, and limited depth—so developers should evaluate modern alternatives like MapStruct, Dozer, or manual mapping for better performance and safety.

BeanUtilsJavaMapStruct
0 likes · 7 min read
Why BeanUtils.copyProperties Is a Hidden Performance Killer and What to Use Instead