Tagged articles

performance

5000 articles · Page 14 of 50
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.

GoML Librariesconcurrency
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.

Gobest practiceserror handling
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.

JavaObject CreationReflection
0 likes · 4 min read
Java Object Creation: New vs Reflection Efficiency Comparison
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 PatternsFrameworks
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
Subtle Storm
Subtle Storm
Mar 28, 2025 · Fundamentals

Why Python’s join() Beats ‘+’ for Fast String Concatenation

The article explains how Python’s join() method provides O(n) performance for concatenating strings, unlike the ‘+’ operator which creates a new string each time, and demonstrates its usage with lists, tuples, characters, numbers, dictionaries, and custom separators.

JOINPythonString
0 likes · 7 min read
Why Python’s join() Beats ‘+’ for Fast String Concatenation
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.

JavaSpring CloudVert.x
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.

Code CacheCompilation LevelsJIT
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.

CI/CDMockingautomation
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.

Background TasksFastAPIGZIP
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.

2025FrameworksPHP
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.

MySQLSpringBootUUID
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.

ContextGoMutex
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.

SPLdata cleaninglog service
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.

JavaScriptMark-and-SweepScavenger
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.

JavaScriptMark‑SweepScavenger
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
Three Knives
Three Knives
Mar 22, 2025 · Fundamentals

Are Java’s New Features from 8 to 24 Leading Us Astray?

The article critically examines Java 24’s new features—highlighting API design flaws, performance regressions, lagging cloud‑native support, and misprioritized innovations—arguing that Java’s recent focus on language novelty overlooks core enterprise development challenges.

API DesignGraalVMJava
0 likes · 6 min read
Are Java’s New Features from 8 to 24 Leading Us Astray?
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.

JDBCMySQLSpring Boot
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++Linux kernelallocation
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
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++GoMicrosoft
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.

BackendCoding PracticesFunctions
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.

Coding Best Practicesbackend developmentcode quality
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.

FastThreadLocalJavaNetty
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+TreeInnoDBMySQL
0 likes · 12 min read
Master MySQL Indexes: From Basics to B+Tree Optimization
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.

JavaKubernetesNative Image
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.

PHPbest practiceserror handling
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.

JavaScriptLoopsforeach
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.

NginxOperationskernel-tuning
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.

Vuefixed heightfrontend
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.

AndroidCrashAnalysisNativeHook
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.

MySQLSQL optimizationdatabase
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
IT Services Circle
IT Services Circle
Mar 10, 2025 · R&D Management

Four Things Leaders Really Care About: Performance, Exceeding Expectations, Methodology, and Responsibility

The article explains that leaders focus on four key aspects—delivering results, surpassing expectations through promise management and first‑principles thinking, applying systematic methodologies, and demonstrating responsibility—while warning against superficial displays of effort and emphasizing genuine value creation in the workplace.

first principlesleadershipperformance
0 likes · 13 min read
Four Things Leaders Really Care About: Performance, Exceeding Expectations, Methodology, and Responsibility
php Courses
php Courses
Mar 10, 2025 · Backend Development

New Major Features in Laravel 12

Laravel 12 introduces a suite of enhancements—including smarter route caching, an improved queue system, optimized database query handling, upgraded Eloquent ORM, tighter default security settings, better testing support, and new Artisan commands—aimed at boosting performance, security, and developer productivity.

LaravelPHPWeb Framework
0 likes · 6 min read
New Major Features in Laravel 12
FunTester
FunTester
Mar 10, 2025 · Backend Development

Avoid These Common Go String Mistakes That Hurt Performance

This article examines six frequent Go string pitfalls—including misuse of rune, incorrect iteration, inefficient concatenation, unnecessary conversions, substring memory leaks, and improper trim functions—explaining their impact, demonstrating flawed code, and providing optimized examples to improve correctness and performance.

BackendGobest practices
0 likes · 13 min read
Avoid These Common Go String Mistakes That Hurt Performance
Code Mala Tang
Code Mala Tang
Mar 9, 2025 · Databases

When Should You Use UUIDs in Databases? Pros, Cons, and Better Alternatives

UUIDs offer global uniqueness for distributed systems but can hurt insertion speed and increase storage, especially with random UUIDv4 keys; this article explains UUID basics, performance drawbacks, and evaluates alternatives like UUIDv7, auto‑increment integers, and ULID to help you choose the right identifier for your database.

StorageUUIDalternatives
0 likes · 9 min read
When Should You Use UUIDs in Databases? Pros, Cons, and Better Alternatives
Liangxu Linux
Liangxu Linux
Mar 9, 2025 · Backend Development

Mastering Nginx Gzip: Configuration, Tips, and Common Pitfalls

Compressing HTTP responses with Nginx gzip improves user experience by reducing load times and cuts bandwidth costs, while proper directives, static gzip handling, and awareness of common misconfigurations ensure optimal performance in production environments.

BackendCompressionGZIP
0 likes · 6 min read
Mastering Nginx Gzip: Configuration, Tips, and Common Pitfalls
ITPUB
ITPUB
Mar 8, 2025 · Backend Development

Why Does 2.01 Turn Into 2.00? Avoid Double Precision Bugs in Money Calculations

The article explains how using double for monetary values can cause precision loss—turning 2.01 into 2.00—illustrates the binary representation issue, demonstrates failing code, and presents a robust solution using Java's BigDecimal with sample conversion methods and performance tests.

BigDecimalJavaMoney
0 likes · 6 min read
Why Does 2.01 Turn Into 2.00? Avoid Double Precision Bugs in Money Calculations
php Courses
php Courses
Mar 6, 2025 · Databases

10 Essential MySQLi Functions to Boost PHP Development Efficiency and Security

This article introduces ten powerful MySQLi functions—including prepared statements, parameter binding, result retrieval, batch queries, transaction control, charset setting, and connection monitoring—that enhance PHP developers’ ability to write secure, efficient, and maintainable code when interacting with MySQL databases.

PHPdatabaseperformance
0 likes · 6 min read
10 Essential MySQLi Functions to Boost PHP Development Efficiency and Security
Raymond Ops
Raymond Ops
Mar 5, 2025 · Fundamentals

Master Python ThreadPool and ProcessPool: Boost Concurrency and Performance

This article explains Python's multithreading and multiprocessing concepts, compares thread pools and process pools, provides practical code examples for task execution and file downloading, and offers performance tips and best practices for writing efficient concurrent programs.

PythonThreadPoolmultiprocessing
0 likes · 14 min read
Master Python ThreadPool and ProcessPool: Boost Concurrency and Performance
Architecture Digest
Architecture Digest
Mar 5, 2025 · Backend Development

Understanding Java Virtual Threads and Their Performance Benefits in Spring Boot

This article introduces Java 21's virtual threads, explains their lightweight and high‑concurrency advantages, demonstrates basic and delayed usage with code examples, shows how to enable them in Spring Boot, compares performance against traditional threads, and offers additional Java performance‑tuning techniques.

JavaJava 21Spring Boot
0 likes · 7 min read
Understanding Java Virtual Threads and Their Performance Benefits in Spring Boot
ByteDance Web Infra
ByteDance Web Infra
Mar 5, 2025 · Frontend Development

Introducing Lynx: A High‑Performance Cross‑Platform Framework for Native and Web UI

Lynx is an open‑source, high‑performance cross‑platform framework that lets developers write a single codebase to deliver native‑grade experiences on both mobile and web, offering a dual‑thread architecture, modern CSS support, and a flexible ecosystem that scales from TikTok to future IoT devices.

LynxReactLynxcross‑platform
0 likes · 11 min read
Introducing Lynx: A High‑Performance Cross‑Platform Framework for Native and Web UI
Java High-Performance Architecture
Java High-Performance Architecture
Mar 5, 2025 · Backend Development

Unlock Massive Concurrency: How Java 21 Virtual Threads Supercharge Spring Boot

Java 21’s virtual threads provide lightweight, high‑concurrency execution managed by the JVM, enabling developers to create hundreds of thousands of threads with minimal overhead; this article explains their basics, demonstrates Spring Boot integration, compares performance against traditional threads, and shares additional Java optimization techniques.

JavaSpring BootVirtual Threads
0 likes · 8 min read
Unlock Massive Concurrency: How Java 21 Virtual Threads Supercharge Spring Boot
Programmer XiaoFu
Programmer XiaoFu
Mar 5, 2025 · Databases

From 12 s to 200 ms: 6 MySQL Deep‑Pagination Tricks for 20 M Orders

When a MySQL order table with 20 million rows is paginated using a large OFFSET, query latency can explode from seconds to minutes, but applying six concrete techniques—cursor pagination, deferred join, covering index, table partitioning, precomputed pages, and Elasticsearch integration—can shrink response time to a few hundred milliseconds.

Cursor PaginationElasticsearchMySQL
0 likes · 9 min read
From 12 s to 200 ms: 6 MySQL Deep‑Pagination Tricks for 20 M Orders
Java Tech Enthusiast
Java Tech Enthusiast
Mar 3, 2025 · Fundamentals

Choosing Between int and String for Storing Phone Numbers in Java

Because phone numbers are identifiers that can contain symbols and exceed the numeric range of an int, storing them as a String—despite higher memory use—is semantically correct, avoids overflow, preserves formatting, and benefits from JVM string pooling, making String the preferred type in most Java applications.

Data TypesJVMJava
0 likes · 7 min read
Choosing Between int and String for Storing Phone Numbers in Java
大转转FE
大转转FE
Mar 3, 2025 · Frontend Development

Zhuanzhuan Frontend Weekly – Curated Technical Articles

This issue of Zhuanzhuan Frontend Weekly curates five insightful technical articles covering React UI paradigm shifts, a Rust beginner’s journey to production, performance improvements in a mini‑program simulator, integration of the Qwen‑2.5‑VL model with Midscene.js, and Didi’s experience in managing technical debt for internationalization.

AIReactRust
0 likes · 5 min read
Zhuanzhuan Frontend Weekly – Curated Technical Articles
Su San Talks Tech
Su San Talks Tech
Mar 3, 2025 · Backend Development

Mastering Java Thread Pools: Architecture, Parameters, and Customization

This article provides a comprehensive guide to Java thread pools, explaining their purpose, construction parameters, execution flow, worker reuse, task retrieval with timeout, lifecycle states, shutdown mechanisms, monitoring methods, and best practices for customizing pools in real-world projects.

ExecutorServiceJavaThreadPool
0 likes · 17 min read
Mastering Java Thread Pools: Architecture, Parameters, and Customization
Cognitive Technology Team
Cognitive Technology Team
Mar 3, 2025 · Fundamentals

Fundamentals of I/O Read/Write: Kernel and Process Buffers

This article explains the core principles of I/O read/write operations, detailing the data preparation and copying stages, the roles of kernel and user buffers, synchronization models, and performance optimizations such as double buffering, circular buffers, zero‑copy, read‑ahead, and delayed write.

BuffersI/OKernel
0 likes · 7 min read
Fundamentals of I/O Read/Write: Kernel and Process Buffers
FunTester
FunTester
Mar 3, 2025 · Backend Development

Avoid These Hidden Go Pitfalls: Octal Literals, Integer Overflow, Float Comparison, Slices & Maps

This article reveals thirteen subtle Go programming mistakes—from octal literals and integer overflow to floating‑point comparison, slice length vs. capacity, map initialization, and value copying—providing clear explanations, real‑world analogies, and concrete best‑practice code fixes to prevent bugs and performance issues.

Gobest practicesfloating-point
0 likes · 14 min read
Avoid These Hidden Go Pitfalls: Octal Literals, Integer Overflow, Float Comparison, Slices & Maps
21CTO
21CTO
Mar 2, 2025 · Backend Development

How Swift on Kubernetes Boosted Performance 4× and Cut Costs by 66%

Cultured Code’s case study shows that replacing a Python 2 application with a Swift‑based service running on AWS‑hosted Kubernetes increased average response speed fourfold while reducing compute costs to one‑third, highlighting the appeal and challenges of using Swift for backend development.

KubernetesServer-SideSwift
0 likes · 4 min read
How Swift on Kubernetes Boosted Performance 4× and Cut Costs by 66%
DataFunSummit
DataFunSummit
Mar 1, 2025 · Databases

Innovations and Breakthroughs of ClickHouse in Real‑Time OLAP

This article introduces ClickHouse as an open‑source column‑store OLAP database, outlines its core features, explains its distributed and cloud‑native architectures—including SharedMergeTree for serverless operation—presents benchmark results, compares community and enterprise editions, and answers common questions about its future direction.

ClickHouseReal-time OLAPcloud native
0 likes · 15 min read
Innovations and Breakthroughs of ClickHouse in Real‑Time OLAP
Cognitive Technology Team
Cognitive Technology Team
Mar 1, 2025 · Databases

Async IO Thread in Redis 8.0 M3: Design, Implementation, and Performance Evaluation

The article explains why Redis needs asynchronous IO threading, describes the shortcomings of previous IO‑thread models, details the design of the new async IO thread architecture with event‑notified client queues and thread‑safety mechanisms, and presents performance test results showing up to double the QPS and significantly lower latency.

IO threadsRedisasync IO
0 likes · 15 min read
Async IO Thread in Redis 8.0 M3: Design, Implementation, and Performance Evaluation
Code Mala Tang
Code Mala Tang
Mar 1, 2025 · Fundamentals

Why Python’s deque Beats Lists for Fast Insertions: A Practical Guide

This article explains why Python lists are slow for head insertions and deletions, introduces the deque data structure from the collections module, compares their time complexities, and shows practical scenarios and code examples where deque provides superior performance and thread‑safety.

Data StructuresListPython
0 likes · 7 min read
Why Python’s deque Beats Lists for Fast Insertions: A Practical Guide
Cognitive Technology Team
Cognitive Technology Team
Mar 1, 2025 · Databases

Understanding and Mitigating Redis Large‑Key Issues

The article explains what constitutes a Redis large key, outlines its performance and stability risks, describes common scenarios and root causes, and provides practical detection commands, mitigation techniques such as splitting, compression, proper data modeling, and monitoring strategies to prevent future issues.

Large KeyMemory OptimizationMonitoring
0 likes · 6 min read
Understanding and Mitigating Redis Large‑Key Issues
Python Programming Learning Circle
Python Programming Learning Circle
Feb 28, 2025 · Fundamentals

Techniques for Efficient Large File Processing in Python

Processing large files efficiently in Python requires techniques such as line-by-line iteration, chunked reads, generators, buffered I/O, and streaming, which help avoid memory errors, improve speed, and optimize resources for tasks like log analysis, data scraping, and real-time API handling.

Large Filesfile I/Operformance
0 likes · 5 min read
Techniques for Efficient Large File Processing in Python
Java Tech Enthusiast
Java Tech Enthusiast
Feb 28, 2025 · Fundamentals

Does Adding More RAM Speed Up a Computer?

Adding more RAM only speeds up a computer when the existing memory is insufficient, because RAM supplies data to the CPU and serves as cache; with ample RAM the CPU remains the bottleneck, so extra memory mainly enables more simultaneous programs rather than increasing raw processing speed.

RAMVirtual Memorymemory management
0 likes · 6 min read
Does Adding More RAM Speed Up a Computer?
BirdNest Tech Talk
BirdNest Tech Talk
Feb 28, 2025 · Fundamentals

How Go’s New Swiss Table Map Boosts Performance: A Deep Dive

This article traces the evolution of hash tables from early chain‑based designs to modern open‑addressing Swiss Table implementations, explains Go 1.24’s map redesign with groups, control words, and SIMD tricks, and examines the challenges of incremental growth, iteration semantics, and future performance improvements.

Go maphash tableopen-addressing
0 likes · 17 min read
How Go’s New Swiss Table Map Boosts Performance: A Deep Dive
Cognitive Technology Team
Cognitive Technology Team
Feb 28, 2025 · Databases

Why Redis Is So Fast: An In‑Depth Analysis of Its High‑Performance Design

Redis achieves exceptional speed by storing all data in memory, using a single‑threaded event‑driven architecture with epoll/kqueue, employing efficient I/O multiplexing, optimizing data structures such as strings, hashes and sorted sets, and providing flexible persistence and high‑availability options, all of which are detailed in this article.

CachingIn-MemoryRedis
0 likes · 7 min read
Why Redis Is So Fast: An In‑Depth Analysis of Its High‑Performance Design
php Courses
php Courses
Feb 26, 2025 · Backend Development

Best Practices for PHP Developers to Enhance User Experience (UX)

This article outlines essential PHP development best practices—including performance optimization, framework utilization, clean coding, security, mobile responsiveness, accessibility, template engines, testing, media optimization, and continuous monitoring—to help businesses build fast, secure, and user‑friendly web applications that drive better engagement and business outcomes.

PHPaccessibilityperformance
0 likes · 20 min read
Best Practices for PHP Developers to Enhance User Experience (UX)