Tagged articles
5000 articles
Page 10 of 50
php Courses
php Courses
Apr 23, 2025 · Backend Development

Key New Features in PHP 9.0 and Their Impact on Modern Web Development

PHP 9.0 introduces a dramatically optimized JIT compiler, native generics and advanced type system, a stabilized fiber‑based async model, numerous developer‑experience enhancements, and strong backward‑compatibility tools, together delivering 15‑25% speed gains, lower memory usage, and better scalability for modern web applications.

AsyncBackendGenerics
0 likes · 7 min read
Key New Features in PHP 9.0 and Their Impact on Modern Web Development
Linux Kernel Journey
Linux Kernel Journey
Apr 23, 2025 · Industry Insights

Highlights from the 3rd eBPF Developer Conference: A Technical Recap

The 3rd eBPF Developer Conference held on April 19, 2025 at Xi'an University of Posts and Telecommunications featured 36 expert talks on eBPF advancements, network and security innovations, observability, performance optimization, a vibrant project marketplace, student projects, and provides video and PPT resources for the community.

Linux kernelObservabilityconference
0 likes · 7 min read
Highlights from the 3rd eBPF Developer Conference: A Technical Recap
Architect's Guide
Architect's Guide
Apr 23, 2025 · Databases

Understanding MySQL Indexes: Types, B+Tree Structure, and Clustered vs. Non‑Clustered Indexes

This article explains MySQL indexes, their purpose and working principle, compares primary, ordinary, composite and full‑text indexes, describes the B+Tree storage structure versus B‑Tree, and clarifies the differences between clustered and non‑clustered (auxiliary) indexes along with their advantages and drawbacks.

B+TreeClustered IndexMySQL
0 likes · 10 min read
Understanding MySQL Indexes: Types, B+Tree Structure, and Clustered vs. Non‑Clustered Indexes
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 23, 2025 · Backend Development

Efficient Large File Processing in Node.js: Stream, Buffer, and Multithreading Techniques

This article explains how to handle massive HDFS‑derived text and CSV files in Node.js by analyzing memory and CPU bottlenecks, comparing client‑side upload strategies, and presenting synchronous, callback, promise, streaming, and multithreaded worker‑thread solutions with complete code examples.

File I/ONode.jsStreams
0 likes · 13 min read
Efficient Large File Processing in Node.js: Stream, Buffer, and Multithreading Techniques
Architecture Digest
Architecture Digest
Apr 21, 2025 · Backend Development

Using Lua Scripts in Spring Boot with Redis for Performance and Atomic Operations

This article explains how to integrate Lua scripts into a Spring Boot application to leverage Redis's atomic execution, reduce network overhead, and improve performance, covering Lua fundamentals, reasons to choose Lua, practical use‑cases, step‑by‑step implementation, error handling, security considerations, and best practices.

LuaSpring Bootperformance
0 likes · 20 min read
Using Lua Scripts in Spring Boot with Redis for Performance and Atomic Operations
Java Tech Enthusiast
Java Tech Enthusiast
Apr 19, 2025 · Fundamentals

Understanding CPU Usage Spikes: Pipeline, Locks, and Optimization

The article explains how CPU pipelines, cache misses, branch‑prediction failures and lock contention cause non‑linear usage spikes, illustrates common pitfalls such as infinite loops, lock‑heavy spinning and catastrophic regex backtracking, and offers practical detection with perf and three rules—avoid busy‑waiting, use cache‑friendly layouts, and limit thread contention.

CPUConcurrencyOptimization
0 likes · 6 min read
Understanding CPU Usage Spikes: Pipeline, Locks, and Optimization
php Courses
php Courses
Apr 18, 2025 · Backend Development

A Historical Overview of PHP: From Personal Home Page Tools to Modern Web Development

This article traces the evolution of PHP from its origins as a personal set of Perl scripts in 1994 through major milestones such as PHP 3, PHP 4, PHP 5, and PHP 7, highlighting the impact of open‑source collaboration, performance improvements, and modern language features on its enduring role in web development.

PHPWeb Historyopen source
0 likes · 6 min read
A Historical Overview of PHP: From Personal Home Page Tools to Modern Web Development
Cognitive Technology Team
Cognitive Technology Team
Apr 17, 2025 · Backend Development

Understanding and Solving NIO Empty Polling in Java with Netty

This article explains the root causes of Java NIO empty polling, its impact on CPU usage, and presents Netty's multi‑layer detection, threshold‑based auto‑rebuild, and selector reconstruction techniques, along with configuration tips and future optimization directions for high‑concurrency backend systems.

EmptyPollingJavaNIO
0 likes · 8 min read
Understanding and Solving NIO Empty Polling in Java with Netty
php Courses
php Courses
Apr 17, 2025 · Backend Development

10 Common Mistakes to Avoid in Laravel Development

This article outlines ten frequent Laravel pitfalls—from neglecting mass‑assignment protection and overusing query builders to ignoring exception handling and security best practices—providing clear explanations and corrected code examples to help developers write more efficient, secure, and maintainable applications.

Best PracticesEloquentLaravel
0 likes · 8 min read
10 Common Mistakes to Avoid in Laravel Development
Sohu Tech Products
Sohu Tech Products
Apr 16, 2025 · Mobile Development

Unlocking ViewPager2: Deep Dive into Scrolling Mechanics and Custom Transformations

This article dissects ViewPager2's internal scrolling architecture, explains its core classes, orientation handling, PageTransformer workflow, scroll event processing, animation techniques, performance tweaks, and demonstrates how to recreate a complex advertising carousel with custom transformations and layout optimizations.

AndroidCustomAnimationMobile Development
0 likes · 15 min read
Unlocking ViewPager2: Deep Dive into Scrolling Mechanics and Custom Transformations
FunTester
FunTester
Apr 16, 2025 · Backend Development

Common Performance Optimization Pitfalls in Go and How to Avoid Them

This article examines frequent performance optimization mistakes in Go programming—such as misunderstanding CPU cache, false sharing, data alignment, stack vs heap allocation, and inadequate use of profiling tools—provides concrete code examples, and offers practical guidelines to improve efficiency while maintaining code quality.

GoOptimizationProfiling
0 likes · 10 min read
Common Performance Optimization Pitfalls in Go and How to Avoid Them
Baobao Algorithm Notes
Baobao Algorithm Notes
Apr 15, 2025 · Industry Insights

Why GLM‑Z1‑AirX Hits 150‑200 TPS: A Deep Dive into LLM Speed Benchmarking

The article examines the slowdown caused by long‑chain‑of‑thought LLMs, presents a Python benchmarking script, compares token‑per‑second performance of several models—including the ultra‑fast GLM‑Z1‑AirX—and demonstrates a real‑time anti‑fraud use case that benefits from sub‑second response times.

GLM-Z1-AirXLLMPython
0 likes · 13 min read
Why GLM‑Z1‑AirX Hits 150‑200 TPS: A Deep Dive into LLM Speed Benchmarking
Senior Tony
Senior Tony
Apr 15, 2025 · Backend Development

How to Size Java Thread Pools: CPU vs I/O Strategies and Dynamic ThreadPool Solutions

This article explains two common approaches for configuring Java thread pools—static sizing based on CPU‑bound or I/O‑bound workloads and a formula‑driven method—then critiques their limits in real systems and introduces DynamicTp as a flexible, monitoring‑enabled alternative with code examples and architectural details.

BackendCPU BoundDynamicThreadPool
0 likes · 8 min read
How to Size Java Thread Pools: CPU vs I/O Strategies and Dynamic ThreadPool Solutions
JavaScript
JavaScript
Apr 15, 2025 · Frontend Development

Why Set Beats Traditional Array Deduplication in JavaScript

This article explains how using ES6 Set for array deduplication in JavaScript yields dramatically shorter code and up to 300× faster performance compared to traditional indexOf or filter methods, backed by benchmark results and best‑practice patterns combining Set with Array methods.

Array DeduplicationFrontendJavaScript
0 likes · 6 min read
Why Set Beats Traditional Array Deduplication in JavaScript
Java Tech Enthusiast
Java Tech Enthusiast
Apr 14, 2025 · Databases

SQL Optimization Steps and Common Scenarios

To improve MySQL performance, first identify slow queries via logs, then examine their EXPLAIN plans and profiling data, understand optimizer traces, and apply fixes such as proper left‑most indexing, avoiding implicit conversions, large offsets, unsuitable IN/ORDER BY patterns, range‑blocking, NOT‑IN predicates, and consider alternative storage or pagination strategies for complex or massive datasets.

MySQLindexingperformance
0 likes · 10 min read
SQL Optimization Steps and Common Scenarios
macrozheng
macrozheng
Apr 11, 2025 · Databases

Why MySQL count() Slows Down on Large Tables and How to Speed It Up

This article explains how MySQL's count() works across storage engines, why InnoDB scans rows and can time out on massive tables, and presents practical alternatives such as using EXPLAIN rows, a dedicated count table, batch processing, or binlog‑to‑Hive for efficient row‑count estimation.

COUNTInnoDBMyISAM
0 likes · 14 min read
Why MySQL count() Slows Down on Large Tables and How to Speed It Up
Alimama Tech
Alimama Tech
Apr 10, 2025 · Big Data

Performance Optimization of Apache Paimon in Dolphin OLAP Engine

The article details how Apache Paimon, integrated as an external table format in Alibaba’s Dolphin OLAP engine, achieves millisecond‑level query latency and up to 10k QPS through ORC push‑down, manifest conversion, caching, concurrency, and encoding optimizations, outperforming StarRocks and Hologres.

DolphinJavaMetadata
0 likes · 17 min read
Performance Optimization of Apache Paimon in Dolphin OLAP Engine
IT Services Circle
IT Services Circle
Apr 10, 2025 · Databases

Choosing the Right Date/Time Storage Type in MySQL: DATETIME vs TIMESTAMP vs Unix Timestamp

This article explains why storing dates as strings is problematic, compares MySQL's DATETIME and TIMESTAMP types—including their storage size, range, and timezone behavior—provides practical SQL examples, discusses numeric Unix timestamps, and offers guidance on selecting the most suitable type for different scenarios.

MySQLperformancetimestamp
0 likes · 12 min read
Choosing the Right Date/Time Storage Type in MySQL: DATETIME vs TIMESTAMP vs Unix Timestamp
Sohu Tech Products
Sohu Tech Products
Apr 9, 2025 · Databases

Six Critical MySQL Index Pitfalls and How to Fix Them

This article analyzes six common MySQL query performance traps—type conversion, function usage, left‑most prefix, implicit charset conversion, left‑most match, and optimizer mis‑selection—illustrates each with real‑world SQL examples, explains why they degrade performance, and provides concrete remediation steps and verification tools.

DatabaseMySQLTroubleshooting
0 likes · 5 min read
Six Critical MySQL Index Pitfalls and How to Fix Them
DeWu Technology
DeWu Technology
Apr 9, 2025 · Databases

Understanding Elasticsearch Indexes, Mappings, and Shard Architecture

The article explains Elasticsearch indexes as logical namespaces for JSON documents, details how mappings define immutable field types such as text, keyword, and numeric, describes primary and replica shard roles, and offers practical guidance on alias usage, shard sizing, replica settings, and performance optimizations to ensure cluster stability.

ElasticsearchMappingSharding
0 likes · 20 min read
Understanding Elasticsearch Indexes, Mappings, and Shard Architecture
Su San Talks Tech
Su San Talks Tech
Apr 9, 2025 · Backend Development

Avoid These 7 Common Java Stream Mistakes for Cleaner, Faster Code

Learn the seven most frequent Java Stream pitfalls—from missing terminal operations and modifying source data to overusing intermediate steps and thread‑safety issues—and discover practical fixes that ensure your streams execute correctly, efficiently, and safely.

JavaStream APIcommon mistakes
0 likes · 11 min read
Avoid These 7 Common Java Stream Mistakes for Cleaner, Faster Code
php Courses
php Courses
Apr 8, 2025 · Backend Development

Applying Prefix Sum Technique in PHP for Efficient Subarray Sum Queries

This article explains the concept of prefix sums, demonstrates how to build and use a prefix‑sum array in PHP with clear code examples, and discusses when the technique is advantageous and its limitations, enabling O(1) interval sum queries after an O(n) preprocessing step.

BackendPHPPrefix Sum
0 likes · 10 min read
Applying Prefix Sum Technique in PHP for Efficient Subarray Sum Queries
JD Tech Talk
JD Tech Talk
Apr 8, 2025 · Fundamentals

Performance Comparison of String Replacement Algorithms in Java

The article analyzes various Java string‑replacement techniques—including simple String.replace, compiled regular expressions, Aho‑Corasick automaton, and custom Trie implementations—by presenting their designs, object sizes, and benchmark results to guide developers in choosing the most efficient solution for large keyword sets.

Aho-CorasickJavaTrie
0 likes · 13 min read
Performance Comparison of String Replacement Algorithms in Java
Architect's Guide
Architect's Guide
Apr 6, 2025 · Databases

Analyzing MySQL Connection Latency in Java Applications

This article investigates the time cost of establishing and closing MySQL connections in Java web applications, using Wireshark packet captures and code examples to demonstrate that a single connection can take over 200 ms, highlighting the importance of connection pooling and performance optimizations.

Connection PoolingDatabase ConnectionJava
0 likes · 7 min read
Analyzing MySQL Connection Latency in Java Applications
Cognitive Technology Team
Cognitive Technology Team
Apr 5, 2025 · Fundamentals

Understanding Java ClassLoader.loadClass() API and Its Performance Impact

This article explains how the java.lang.ClassLoader#loadClass() API works, why frequent concurrent calls can cause thread blocking due to internal synchronization, demonstrates the issue with a sample multithreaded program, analyzes thread‑dump data, and provides practical solutions to mitigate the performance problem.

JVMJavaThreadBlocking
0 likes · 12 min read
Understanding Java ClassLoader.loadClass() API and Its Performance Impact
21CTO
21CTO
Apr 3, 2025 · Artificial Intelligence

Can Go Outperform Python in Machine Learning? Discover Its Hidden Advantages

While Python dominates the machine learning ecosystem, Go offers compelling performance, concurrency, and static typing advantages, making it a strong contender for high‑throughput prediction services, large data pipelines, resource‑constrained environments, and custom ML components, especially when teams already leverage Go in production.

ConcurrencyGoML Libraries
0 likes · 13 min read
Can Go Outperform Python in Machine Learning? Discover Its Hidden Advantages
FunTester
FunTester
Apr 3, 2025 · Backend Development

Avoid These 5 Common Go Standard Library Pitfalls and Write Safer Code

This article examines frequent mistakes developers make when using Go’s standard library—such as misusing time.Duration, causing memory leaks with time.After, JSON serialization quirks, improper SQL handling, and HTTP response errors—providing concrete code examples and best‑practice solutions to write more reliable, efficient Go programs.

Best PracticesError HandlingGo
0 likes · 14 min read
Avoid These 5 Common Go Standard Library Pitfalls and Write Safer Code
Java Tech Enthusiast
Java Tech Enthusiast
Apr 2, 2025 · Backend Development

Java Object Creation: New vs Reflection Efficiency Comparison

The article compares Java object creation using the 'new' operator versus reflection, showing through timed code examples that reflection incurs a substantial overhead—approximately thirty times slower for 100 million instances—due to dynamic type resolution and limited JIT optimization, while also outlining typical reflection use cases such as Spring IoC and JDBC driver loading.

Backend DevelopmentJavaObject Creation
0 likes · 4 min read
Java Object Creation: New vs Reflection Efficiency Comparison
Architect's Tech Stack
Architect's Tech Stack
Mar 31, 2025 · Databases

Performance Comparison of Auto‑Increment, UUID, and Random Keys in MySQL

This article investigates MySQL's recommendation to avoid UUIDs and non‑sequential keys by benchmarking insert performance of auto‑increment, UUID, and random (snowflake) primary keys, analyzing their index structures, drawbacks, and concluding that sequential auto‑increment keys provide the best overall efficiency.

JavaMySQLauto_increment
0 likes · 9 min read
Performance Comparison of Auto‑Increment, UUID, and Random Keys in MySQL
php Courses
php Courses
Mar 31, 2025 · Backend Development

PHP Ecosystem in 2025: New Language Features, Framework Trends, Design Patterns, and Emerging Applications

The 2025 PHP ecosystem overview details the language’s new features such as enhanced generics and fibers, performance improvements via JIT and OPcache, evolving best practices, the latest trends in major and micro frameworks, modern design pattern implementations, cloud‑native deployment, AI integration, and future directions.

BackendDesign PatternsPHP
0 likes · 17 min read
PHP Ecosystem in 2025: New Language Features, Framework Trends, Design Patterns, and Emerging Applications
ByteDance Web Infra
ByteDance Web Infra
Mar 31, 2025 · Frontend Development

Rspack 1.3 Release: New Features, Performance Optimizations, Rstack Progress, Ecosystem Updates, and Upgrade Guide

Rspack 1.3 introduces circular‑dependency detection, HTTP imports, lazy‑compilation middleware, AMD module support, 25% faster code splitting, output size reductions, macOS memory optimizations, updates to the Rstack ecosystem (Rsdoctor 1.0, Rsbuild 1.3, Rslib 0.6, Rspress 2.0, Rstest), plus detailed upgrade instructions for module types and SWC plugins.

AMD supportFrontend BuildLazy Compilation
0 likes · 12 min read
Rspack 1.3 Release: New Features, Performance Optimizations, Rstack Progress, Ecosystem Updates, and Upgrade Guide
Architecture Digest
Architecture Digest
Mar 27, 2025 · Backend Development

Comparison of Java Microservice Frameworks and a Free Programmer Book Giveaway

This article introduces a free collection of programmer books and provides a detailed comparison of several Java microservice frameworks—including Spring Cloud, Vert.x, SparkJava, Micronaut, Javalin, and Quarkus—covering their resource consumption, startup times, memory usage, and suitability for lightweight or heavy‑weight applications.

JavaVert.xperformance
0 likes · 6 min read
Comparison of Java Microservice Frameworks and a Free Programmer Book Giveaway
Cognitive Technology Team
Cognitive Technology Team
Mar 27, 2025 · Fundamentals

Understanding Tiered Compilation in the JVM

This article explains the JVM's tiered compilation mechanism, detailing the client (C1) and server (C2) JIT compilers, the five compilation levels, code cache organization, relevant JVM flags, and demonstrates method compilation lifecycle through illustrative Java code examples and log analysis.

Compilation LevelsJITJVM
0 likes · 13 min read
Understanding Tiered Compilation in the JVM
FunTester
FunTester
Mar 27, 2025 · Fundamentals

What Makes a Great Test Framework? Core Skills and Key Features Explained

Designing an excellent test framework demands solid programming expertise, architectural thinking, and meticulous attention to detail, covering core capabilities such as coding standards, design patterns, extensibility, automation, CI/CD integration, reporting, performance, and continuous feedback to ensure usability, maintainability, and scalability.

Mockingautomationci/cd
0 likes · 13 min read
What Makes a Great Test Framework? Core Skills and Key Features Explained
Code Mala Tang
Code Mala Tang
Mar 26, 2025 · Backend Development

Boost FastAPI Performance: 9 Proven Techniques with Code Samples

Learn how to dramatically improve FastAPI application speed by implementing asynchronous endpoints, database connection pooling, Redis caching, query optimization, Gzip compression, background tasks, performance monitoring, CDN static file serving, and faster JSON serialization with ujson, each illustrated with practical code examples.

AsyncDatabaseFastAPI
0 likes · 7 min read
Boost FastAPI Performance: 9 Proven Techniques with Code Samples
php Courses
php Courses
Mar 26, 2025 · Backend Development

Why Choose PHP in 2025: Advantages, Limitations, and Recommendations

The article evaluates PHP's continued relevance in 2025, highlighting its strong market share, open‑source benefits, modern language features, mature frameworks, and deployment ease, while also discussing type‑system weaknesses, performance constraints, ecosystem aging, and recommending alternative technologies for high‑concurrency or cutting‑edge projects.

2025PHPframeworks
0 likes · 7 min read
Why Choose PHP in 2025: Advantages, Limitations, and Recommendations
Java Backend Technology
Java Backend Technology
Mar 26, 2025 · Databases

Why UUID Primary Keys Slow Down MySQL Inserts: A Performance Deep Dive

This article investigates why MySQL discourages UUID or non‑sequential Snowflake IDs as primary keys, compares auto_increment, UUID, and random‑key tables through SpringBoot‑JdbcTemplate benchmarks, analyzes their index structures, and explains the performance trade‑offs and security considerations.

MySQLSpringBootauto_increment
0 likes · 10 min read
Why UUID Primary Keys Slow Down MySQL Inserts: A Performance Deep Dive
FunTester
FunTester
Mar 26, 2025 · Backend Development

Common Go Concurrency Errors and Best Practices

This article examines frequent mistakes in Go's concurrent programming—such as confusing concurrency with parallelism, assuming concurrency always speeds up execution, misusing channels versus mutexes, overlooking workload types, and misunderstanding contexts—provides detailed explanations, potential impacts, and best‑practice solutions with improved code examples.

ChannelGoGoroutine
0 likes · 27 min read
Common Go Concurrency Errors and Best Practices
Alibaba Cloud Native
Alibaba Cloud Native
Mar 25, 2025 · Cloud Native

Shift Data Cleaning Server‑Side with SPL: Boost Real‑Time Log Processing

Alibaba Cloud Log Service’s new SPL‑based rule consumption lets users move complex data‑cleaning logic from client code to the server, offering low‑code configuration, high performance, precise filtering, and significant reductions in latency, bandwidth, and compute resources across typical scenarios such as Python SDK processing and Flink integration.

Data cleaningLog ServiceLow‑code
0 likes · 11 min read
Shift Data Cleaning Server‑Side with SPL: Boost Real‑Time Log Processing
Sanyou's Java Diary
Sanyou's Java Diary
Mar 24, 2025 · Databases

Boost High‑Concurrency Performance with Redis Batch Query Techniques

This article explores why batch execution in Redis improves command efficiency, simplifies client logic, and enhances transaction performance, and then details four core batch query methods—MGET, HMGET, Pipeline, and Lua scripting—along with practical SpringBoot examples and best‑practice considerations.

Lua ScriptMGETRedis
0 likes · 10 min read
Boost High‑Concurrency Performance with Redis Batch Query Techniques
JD Tech
JD Tech
Mar 24, 2025 · Backend Development

SQL Coloring Plugin for MyBatis: Design, Implementation, and Usage Guide

This article describes a lightweight, non‑intrusive MyBatis plugin that adds identifiable coloring comments to SQL statements—embedding statementId, pFinderId, and optional custom data—to simplify SQL source tracing, improve slow‑SQL analysis, and support SELECT, INSERT, UPDATE, DELETE operations with minimal performance overhead.

BackendJavaMyBatis
0 likes · 12 min read
SQL Coloring Plugin for MyBatis: Design, Implementation, and Usage Guide
Tencent Technical Engineering
Tencent Technical Engineering
Mar 24, 2025 · Fundamentals

Understanding V8 Garbage Collection: Scavenger and Mark‑and‑Sweep Algorithms

V8’s garbage collector splits memory into young and old generations, using a fast Scavenger minor‑GC that marks live objects, evacuates them via semi‑space copying, and updates pointers with write barriers, while a concurrent mark‑and‑sweep major‑GC employs three‑color marking, black allocation, sweeping and optional parallel compaction, with adaptive triggering based on heap usage.

Garbage CollectionJavaScriptMark-and-Sweep
0 likes · 30 min read
Understanding V8 Garbage Collection: Scavenger and Mark‑and‑Sweep Algorithms
Tencent Docs Tech Team
Tencent Docs Tech Team
Mar 24, 2025 · Fundamentals

How V8’s Scavenger and Mark‑Sweep Algorithms Optimize JavaScript Memory Management

This article explains V8’s generational heap layout, the Scavenger minor‑GC algorithm with its marking, evacuation and pointer‑updating steps, the parallel Scavenger enhancements, the major mark‑and‑sweep collector with optional compaction, and the various triggers that decide when each garbage‑collection phase runs.

Garbage CollectionJavaScriptMark‑Sweep
0 likes · 30 min read
How V8’s Scavenger and Mark‑Sweep Algorithms Optimize JavaScript Memory Management
Architect's Tech Stack
Architect's Tech Stack
Mar 24, 2025 · Backend Development

Replacing Tomcat with Undertow in Spring Boot: Configuration and Performance Comparison

This article explains how to replace Spring Boot's default embedded Tomcat with the Undertow container, details the configuration steps, and presents benchmark results showing Undertow's superior throughput and lower memory usage under high‑concurrency workloads, making it a better choice for performance‑critical applications.

JavaSpring BootTomcat
0 likes · 6 min read
Replacing Tomcat with Undertow in Spring Boot: Configuration and Performance Comparison
Java Captain
Java Captain
Mar 22, 2025 · Databases

Performance Comparison of UUID, Auto‑Increment, and Random Keys in MySQL

This article investigates MySQL's recommendation against using UUID or random Snowflake IDs as primary keys by creating three tables with different key strategies, running Spring Boot/JDBC performance tests, analyzing index structures, and concluding that auto‑increment keys offer superior insertion efficiency and fewer drawbacks.

Database IndexJDBCMySQL
0 likes · 10 min read
Performance Comparison of UUID, Auto‑Increment, and Random Keys in MySQL
Deepin Linux
Deepin Linux
Mar 21, 2025 · Fundamentals

Understanding Memory Pools: Concepts, Implementations, and Practical Use Cases

This article explains the concept of memory pools, how they reduce allocation overhead and fragmentation compared to traditional malloc/new, describes various pool designs and Linux kernel APIs, provides multiple C and C++ implementations, and discusses performance benefits and typical application scenarios such as servers, real‑time and embedded systems.

C++ConcurrencyLinux kernel
0 likes · 40 min read
Understanding Memory Pools: Concepts, Implementations, and Practical Use Cases
Raymond Ops
Raymond Ops
Mar 20, 2025 · Operations

Mastering Disk I/O: Types, Metrics, and Linux Monitoring Tools

This article explains what disks are, compares mechanical HDDs and SSDs, outlines disk classification by interface and architecture, defines key I/O performance metrics such as IOPS, throughput, utilization, and latency, and introduces Linux tools like iostat, iotop, and sar for monitoring and analysis.

I/OLinuxdisk
0 likes · 24 min read
Mastering Disk I/O: Types, Metrics, and Linux Monitoring Tools
Java Web Project
Java Web Project
Mar 19, 2025 · Databases

Why MySQL Auto‑Increment Beats UUID: A Deep Dive into Insertion Performance and Index Structure

This article experimentally compares MySQL auto_increment, UUID, and random Snowflake keys by measuring insert and query speeds, analyzing InnoDB index behavior, and discussing the trade‑offs of each primary‑key strategy, ultimately showing why auto_increment generally outperforms UUID in large‑scale workloads.

InnoDBMySQLauto_increment
0 likes · 11 min read
Why MySQL Auto‑Increment Beats UUID: A Deep Dive into Insertion Performance and Index Structure
vivo Internet Technology
vivo Internet Technology
Mar 19, 2025 · Operations

Cache Monitoring Practices for Redis and Caffeine in High‑Traffic Game Services

The article details practical monitoring strategies for both remote Redis and local Caffeine caches in high‑traffic game services, including prefix‑based Redis key tracking, Aspect‑oriented instrumentation, Caffeine statistics collection, and real‑world case studies that illustrate how these metrics identify hot‑keys, cache‑miss spikes, and reduce system load.

AspectJCache MonitoringCaffeine
0 likes · 19 min read
Cache Monitoring Practices for Redis and Caffeine in High‑Traffic Game Services
Python Programming Learning Circle
Python Programming Learning Circle
Mar 19, 2025 · Fundamentals

Python Code Optimization Techniques to Improve Execution Speed

This article presents a collection of Python performance optimization strategies, including avoiding global variables, minimizing attribute access, reducing unnecessary abstractions, eliminating data copying, leveraging short‑circuit logic, optimizing loops, using JIT compilation with numba, and selecting appropriate data structures to significantly speed up code execution.

Best Practicescodeperformance
0 likes · 20 min read
Python Code Optimization Techniques to Improve Execution Speed
Java Tech Enthusiast
Java Tech Enthusiast
Mar 19, 2025 · Industry Insights

Why Microsoft Switched to Go for the TypeScript Compiler – 10× Faster

Microsoft rewrote the TypeScript compiler in Go, achieving a nine‑to‑tenfold speed boost, and explains that Go’s low‑level design, built‑in garbage collection, cross‑platform compilation, and functional‑style compatibility made it a better fit than C#, reflecting both technical advantages and Microsoft’s internal “Eat Dog Food” culture.

C++CompilerGo
0 likes · 5 min read
Why Microsoft Switched to Go for the TypeScript Compiler – 10× Faster
php Courses
php Courses
Mar 19, 2025 · Backend Development

PHP Performance Optimization: Faster Alternatives to Common Functions

This article presents a series of PHP function replacements—such as using isset() instead of array_key_exists(), strpos() over strstr(), pre‑increment ++$i, foreach over for, json_encode()/json_decode() instead of serialize()/unserialize(), strict === over ==, and implode() rather than string concatenation—to boost code speed without altering business logic.

BackendFunctionsOptimization
0 likes · 6 min read
PHP Performance Optimization: Faster Alternatives to Common Functions
Code Ape Tech Column
Code Ape Tech Column
Mar 18, 2025 · Backend Development

20 Essential Coding Habits for Backend Developers

This article presents twenty essential coding habits for backend developers, covering self‑testing, parameter validation, interface compatibility, clear comments, proper resource handling, runtime error avoidance, avoiding remote calls in loops, concurrency safety, null checks, thread‑pool usage, SQL testing, third‑party API handling, idempotency, thread‑safe collections, master‑slave latency, cache consistency, refactoring, version control, testing, and performance monitoring.

Backend Developmentcode qualitycoding best practices
0 likes · 15 min read
20 Essential Coding Habits for Backend Developers
Architect's Must-Have
Architect's Must-Have
Mar 18, 2025 · Backend Development

Why Netty Uses FastThreadLocal and How It Outperforms JDK ThreadLocal

This article explains the motivation behind Netty's FastThreadLocal, details its internal design using an indexed array to avoid hash collisions, analyzes the core source code of InternalThreadLocalMap, FastThreadLocalThread, and FastThreadLocal, and discusses performance implications and reclamation strategies.

ConcurrencyFastThreadLocalJava
0 likes · 10 min read
Why Netty Uses FastThreadLocal and How It Outperforms JDK ThreadLocal
Architect's Must-Have
Architect's Must-Have
Mar 18, 2025 · Databases

Master MySQL Indexes: From Basics to B+Tree Optimization

This article explains what MySQL indexes are, how they work, their advantages and drawbacks, the different index types—including primary, ordinary, composite, full‑text, clustered and non‑clustered—and compares B‑Tree with B+Tree structures to help you design faster, more efficient queries.

B+TreeClustered IndexDatabase
0 likes · 12 min read
Master MySQL Indexes: From Basics to B+Tree Optimization
IT Architects Alliance
IT Architects Alliance
Mar 16, 2025 · Cloud Native

Why Does Scaling a Kubernetes Cluster Slow Down? Uncover the Hidden Bottlenecks

When a Kubernetes cluster grows, many teams expect faster performance, yet scaling often becomes slower due to hardware limits, network congestion, data‑sync overhead, load‑balancing misconfigurations, and component bottlenecks, and this article explains each cause and offers concrete optimization strategies.

Optimizationcloud-nativecluster scaling
0 likes · 27 min read
Why Does Scaling a Kubernetes Cluster Slow Down? Uncover the Hidden Bottlenecks
Java Tech Enthusiast
Java Tech Enthusiast
Mar 15, 2025 · Cloud Native

Comparative Analysis of Spring Boot and Quarkus for Cloud‑Native Java Applications

The article compares Spring Boot and Quarkus for cloud‑native Java apps, showing Quarkus’s faster startup, smaller builds and lower memory usage (especially in native mode) while Spring Boot slightly leads latency, and outlines migration paths leveraging Quarkus’s Spring‑compatible extensions and native‑image advantages.

JavaQuarkusSpring Boot
0 likes · 14 min read
Comparative Analysis of Spring Boot and Quarkus for Cloud‑Native Java Applications
Architecture Digest
Architecture Digest
Mar 14, 2025 · Backend Development

Spring Boot vs Quarkus: Performance Comparison, Migration Guide, and Practical Code Samples

This article compares Spring Boot and Quarkus across architecture, startup speed, memory usage, and native image support, presents a JMeter‑based performance test suite, shares migration tips for Spring developers, and provides concrete Java code examples for building reactive microservices on both frameworks.

JavaQuarkusSpring Boot
0 likes · 13 min read
Spring Boot vs Quarkus: Performance Comparison, Migration Guide, and Practical Code Samples
php Courses
php Courses
Mar 14, 2025 · Backend Development

10 Common PHP Development Mistakes That Could Crash Applications in 2025 and How to Avoid Them

This article outlines ten frequent PHP development errors—such as outdated versions, insecure practices, overreliance on third‑party libraries, poor error handling, performance neglect, insufficient testing, maintainability issues, resource mismanagement, ignored user feedback, and flawed scaling strategies—and provides concrete code examples and solutions to prevent application crashes by 2025.

Best PracticesError HandlingPHP
0 likes · 9 min read
10 Common PHP Development Mistakes That Could Crash Applications in 2025 and How to Avoid Them
JavaScript
JavaScript
Mar 14, 2025 · Frontend Development

Why Array.forEach Is Slower Than Classic Loops and When to Use It

This article explains why the JavaScript Array.forEach method is often slower than traditional for or for...of loops, outlines its performance drawbacks, compares it with other iteration techniques, and shows when its simplicity might still make it a suitable choice.

FrontendJavaScriptLoops
0 likes · 5 min read
Why Array.forEach Is Slower Than Classic Loops and When to Use It
Java Tech Enthusiast
Java Tech Enthusiast
Mar 13, 2025 · Databases

Performance Comparison of UUID vs Auto-Increment IDs in MySQL

Benchmarking three MySQL tables—auto_increment, UUID, and random long keys—shows that sequential auto_increment inserts are fastest, random keys are slower, and UUIDs dramatically lag due to random I/O and fragmentation, so use auto_increment for most workloads and reserve UUIDs only for required global uniqueness.

JDBCMySQLSpringBoot
0 likes · 10 min read
Performance Comparison of UUID vs Auto-Increment IDs in MySQL
Raymond Ops
Raymond Ops
Mar 13, 2025 · Operations

Boost Nginx Performance: Essential Linux Kernel Tweaks for High Concurrency

This guide explains why default Linux kernel settings are insufficient for high‑traffic Nginx servers and provides a curated list of sysctl parameters—such as file‑max, tcp_tw_reuse, and net.core buffers—along with explanations and tuning tips to maximize concurrent connections and overall performance.

Kernel TuningOperationsnginx
0 likes · 8 min read
Boost Nginx Performance: Essential Linux Kernel Tweaks for High Concurrency
Python Programming Learning Circle
Python Programming Learning Circle
Mar 13, 2025 · Fundamentals

Planned Enhancements and Performance Goals for Python 3.13

The upcoming Python 3.13 release, slated for October 2024, aims to boost interpreter performance by at least 50% through a Tier‑2 optimizer, subinterpreter support, and revamped memory management, building on groundwork completed in Python 3.12 such as low‑impact monitoring and improved bytecode compilation.

Tier-2 Optimizerinterpretermemory management
0 likes · 5 min read
Planned Enhancements and Performance Goals for Python 3.13
Sohu Tech Products
Sohu Tech Products
Mar 12, 2025 · Frontend Development

How to Build a High‑Performance Fixed‑Height Virtual List in Vue

This article explains why rendering massive lists can freeze devices, introduces the concept of a fixed‑height virtual list that renders only visible items, and provides step‑by‑step Vue code to calculate visible ranges, handle scrolling, and fix off‑by‑one glitches.

FrontendVuefixed height
0 likes · 11 min read
How to Build a High‑Performance Fixed‑Height Virtual List in Vue
DeWu Technology
DeWu Technology
Mar 12, 2025 · Mobile Development

Android Crash Analysis and Fixes: DNS, MediaCodec, BIO, and Focus Issues

The article details four native DeWu Android client crashes—DNS resolution, MediaCodec state‑exception, BIO multi‑thread, and Xiaomi Android 15 focus null‑pointer—explains their root causes, and demonstrates inline‑hook, PLT‑hook, and JNI‑hook fixes that lowered the crash rate from 2/10 000 to about 1.2/10 000.

AndroidCrashAnalysisDebugging
0 likes · 20 min read
Android Crash Analysis and Fixes: DNS, MediaCodec, BIO, and Focus Issues
Java Tech Enthusiast
Java Tech Enthusiast
Mar 11, 2025 · Databases

Performance Analysis of MySQL 5.7 to 8.0 Upgrade and ORDER BY Optimization

After upgrading from MySQL 5.7 to 8.0, a client observed that ORDER BY queries on wide SELECTs became dramatically slower because MySQL 8.0 deprecated the max_length_for_sort_data setting, causing the optimizer to perform full‑field sorting instead of index‑based sorting; adding an index on the ordered column restores performance.

DatabaseMySQLSQL optimization
0 likes · 6 min read
Performance Analysis of MySQL 5.7 to 8.0 Upgrade and ORDER BY Optimization
macrozheng
macrozheng
Mar 11, 2025 · Backend Development

Boost Java Loop Performance: Replace Nested Loops with Map Lookups

This article demonstrates how to dramatically speed up Java data‑matching operations that use nested for‑loops by breaking early when a match is found and by converting the inner list into a HashMap for O(1) lookups, showing code examples, performance measurements, and practical tips for backend developers.

HashMapJavaNested Loop
0 likes · 7 min read
Boost Java Loop Performance: Replace Nested Loops with Map Lookups