Tagged articles
5000 articles
Page 14 of 50
58 Tech
58 Tech
Oct 12, 2024 · Frontend Development

Introducing Astro: Features, Performance Benefits, and Practical Project Implementation

This article introduces the Astro static‑site framework, explains its island architecture and performance advantages, compares Core Web Vitals with other frameworks, and provides detailed code examples and best‑practice guidelines for integrating Astro with React and Vue in real‑world projects.

AstroFrontend DevelopmentIsland Architecture
0 likes · 15 min read
Introducing Astro: Features, Performance Benefits, and Practical Project Implementation
Soul Technical Team
Soul Technical Team
Oct 11, 2024 · Mobile Development

Implementing a Pre‑Ads Initialization Process for Faster Android App Startup

This article explains why a pre‑ads loading step is required for Android apps, analyzes the limitations of the current linear startup flow, and details several technical solutions—including system‑API checks, exclusion rules, handler hooking, and initialization reversal—to reliably detect icon‑click launches and reduce startup latency.

Ad PreloadingAndroidHandler Hook
0 likes · 9 min read
Implementing a Pre‑Ads Initialization Process for Faster Android App Startup
Architecture Development Notes
Architecture Development Notes
Oct 11, 2024 · Artificial Intelligence

Can Rust Replace Python for Data Science? Exploring Performance and Safety

While Python dominates data analysis and machine learning with its ease of use, Rust offers memory safety and near‑C performance; this article examines their respective strengths, the challenges of rewriting the Python interpreter in Rust, and how combining both can boost library speed and reliability.

Data ScienceMemory SafetyPerformance
0 likes · 6 min read
Can Rust Replace Python for Data Science? Exploring Performance and Safety
Alibaba Cloud Developer
Alibaba Cloud Developer
Oct 11, 2024 · Backend Development

Avoid Common Go Middleware Pitfalls: Lessons from Alibaba’s Experience

This article shares the most frequent Go middleware pitfalls encountered at Alibaba, explains their root causes—from uneven request distribution and CPU leaks to transaction mishandling and SQL incompatibilities—and provides concrete solutions and best‑practice recommendations to help developers avoid repeating these errors.

GoPerformanceTransactions
0 likes · 20 min read
Avoid Common Go Middleware Pitfalls: Lessons from Alibaba’s Experience
Sanyou's Java Diary
Sanyou's Java Diary
Oct 10, 2024 · Big Data

Why Kafka Handles Millions of Messages Per Second: Inside Its High‑Performance Architecture

This article explains how Kafka achieves ultra‑high throughput and low latency despite being disk‑based, covering its Reactor I/O network model, zero‑copy techniques, partitioning strategies, segment logs with sparse indexes, sequential disk writes, page cache usage, compression, batch processing, and lock‑free offset management.

KafkaOffset ManagementPerformance
0 likes · 27 min read
Why Kafka Handles Millions of Messages Per Second: Inside Its High‑Performance Architecture
FunTester
FunTester
Oct 10, 2024 · Backend Development

Unlocking Go's Power: How Goja Brings JavaScript to Your Go Apps

This article explores Goja, a pure‑Go JavaScript engine, detailing its features, integration with the K6 load‑testing tool, and practical code examples for embedding scripts, passing values, handling structs, invoking Go functions, error handling, and VM pooling to achieve high performance in Go applications.

EmbeddingGoGoja
0 likes · 14 min read
Unlocking Go's Power: How Goja Brings JavaScript to Your Go Apps
Java Architect Essentials
Java Architect Essentials
Oct 9, 2024 · Backend Development

Investigating and Resolving a Massive Thread Leak in a Java Backend Application

This article details the discovery, analysis, and fix of a severe thread‑leak issue in a Java Spring MVC service caused by unsafe use of a shared CloseableHttpAsyncClient, showing how multithreaded testing reproduced the problem and how refactoring the client to a local variable eliminated the runaway thread growth.

HttpAsyncClientPerformanceThread Leak
0 likes · 12 min read
Investigating and Resolving a Massive Thread Leak in a Java Backend Application
21CTO
21CTO
Oct 8, 2024 · Fundamentals

What’s New in Python 3.13? Exploring Free Threading, JIT, and the Revamped REPL

Python 3.13, released on October 7, introduces experimental free‑threading to bypass the GIL, a new JIT compiler based on a copy‑and‑patch algorithm, an enhanced interactive REPL, incremental garbage collection, broader platform support, and API stability improvements, all aimed at boosting performance and scalability.

Free ThreadingJIT compilerPerformance
0 likes · 11 min read
What’s New in Python 3.13? Exploring Free Threading, JIT, and the Revamped REPL
macrozheng
macrozheng
Oct 8, 2024 · Databases

Why RediSearch Beats Elasticsearch on Low‑End Servers: A Hands‑On Comparison

This article introduces RediSearch, compares its memory usage and query performance with Elasticsearch on modest hardware, shows installation steps, demonstrates core index commands and Java integration, and concludes with practical advice on using RediSearch as a lightweight full‑text search engine.

ElasticsearchFull‑Text SearchJedis
0 likes · 11 min read
Why RediSearch Beats Elasticsearch on Low‑End Servers: A Hands‑On Comparison
Code Mala Tang
Code Mala Tang
Oct 1, 2024 · Frontend Development

How React Hook Form Cuts Boilerplate and Boosts Performance

This article explains how React Hook Form, a React‑hooks‑based library, reduces form boilerplate, improves readability, and optimizes performance through built‑in validation, smart dependency tracking, and minimal re‑renders, providing code examples and a deep dive into its register implementation.

FrontendPerformanceReact Hook Form
0 likes · 16 min read
How React Hook Form Cuts Boilerplate and Boosts Performance
Python Programming Learning Circle
Python Programming Learning Circle
Sep 29, 2024 · Operations

Resolving Common Jenkins Issues: Plugin Compatibility, CSP, Path Configuration, Clone Timeouts, and More

This guide details eleven frequent Jenkins problems—including Performance plugin incompatibility, CSP restrictions, custom URL paths, Git clone timeouts, jar replacement, CSRF disabling, disk‑space optimization, global environment variables, managed scripts, and lightweight backups—along with step‑by‑step solutions and configuration snippets.

JenkinsPerformanceplugin compatibility
0 likes · 10 min read
Resolving Common Jenkins Issues: Plugin Compatibility, CSP, Path Configuration, Clone Timeouts, and More
Deepin Linux
Deepin Linux
Sep 28, 2024 · Fundamentals

Understanding io_uring: Linux Asynchronous I/O Framework and Its Implementation

This article provides a comprehensive overview of Linux's io_uring, explaining its design goals, shared‑memory mechanism, submission and completion queues, core system calls, performance advantages over traditional I/O models, typical use cases, and includes a complete example of a network server built with io_uring.

Linux kernelPerformanceio_uring
0 likes · 39 min read
Understanding io_uring: Linux Asynchronous I/O Framework and Its Implementation
ITPUB
ITPUB
Sep 28, 2024 · Databases

What’s New in PostgreSQL 17? A Deep Dive into Performance and Feature Boosts

PostgreSQL 17, announced on 2024‑09‑26, brings major performance upgrades, extensive SQL/JSON enhancements, improved logical replication, new security and management options, and a host of developer‑friendly features that position it as the world’s most advanced open‑source database.

Logical ReplicationPerformanceSQL/JSON
0 likes · 14 min read
What’s New in PostgreSQL 17? A Deep Dive into Performance and Feature Boosts
Top Architect
Top Architect
Sep 26, 2024 · Databases

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

This article evaluates MySQL's recommendation to avoid UUID or non‑sequential snowflake IDs by benchmarking three tables—auto‑increment, UUID, and random key—using Spring Boot and JdbcTemplate, then analyzes their index structures, insertion speed, and trade‑offs.

MySQLPerformanceauto_increment
0 likes · 12 min read
Performance Comparison of Auto‑Increment, UUID, and Random Keys in MySQL
Java Architecture Stack
Java Architecture Stack
Sep 25, 2024 · Databases

When to Use NOT NULL vs NULL in Database Design: Practical Guidelines

This article explains when to use NOT NULL versus NULL in relational database schemas, covering required fields, optional columns, unknown‑state representation, foreign keys, performance impact, versioning, data analysis, migration, default values and JSON types, with concrete SQL examples and practical guidance.

JSONPerformancedata integrity
0 likes · 13 min read
When to Use NOT NULL vs NULL in Database Design: Practical Guidelines
JD Tech Talk
JD Tech Talk
Sep 25, 2024 · Frontend Development

Migrating a Webpack Project to Vite Using the Golden Circle Framework

This article explains why and how to migrate a large Vue 2 Webpack codebase to Vite, applying Simon Sinek's Golden Circle model to clarify motivation, method, and concrete steps, and demonstrates the resulting dramatic reduction in build time and bundle size.

PerformanceViteVue2
0 likes · 13 min read
Migrating a Webpack Project to Vite Using the Golden Circle Framework
Efficient Ops
Efficient Ops
Sep 24, 2024 · Operations

Master Linux Performance in 60 Seconds: 10 Essential Commands

When a Linux server shows performance issues, the first minute is critical; this guide walks you through ten standard command‑line tools—uptime, dmesg, vmstat, mpstat, pidstat, iostat, free, sar, and top—explaining what each metric means and how to interpret the output for quick troubleshooting.

LinuxOperationsPerformance
0 likes · 19 min read
Master Linux Performance in 60 Seconds: 10 Essential Commands
Top Architect
Top Architect
Sep 23, 2024 · Backend Development

Understanding Nginx Architecture, Process Model, FastCGI Integration, and Performance Optimization

This article provides a comprehensive overview of Nginx's high‑performance architecture, including its core, basic, and third‑party modules, master‑worker process model, asynchronous non‑blocking I/O mechanisms, FastCGI and PHP‑FPM integration, and practical configuration and tuning tips for optimal server operation.

BackendNGINXOperations
0 likes · 46 min read
Understanding Nginx Architecture, Process Model, FastCGI Integration, and Performance Optimization
Su San Talks Tech
Su San Talks Tech
Sep 23, 2024 · Backend Development

Boost Java Performance: 5 Proven HashMap & Enum Optimizations

This article presents five practical Java performance tweaks—pre‑allocating HashMap capacity, using object keys, caching Enum values, replacing String constants with Enums, and upgrading the JDK—backed by JMH benchmarks that show up to 9.5× speed gains.

HashMapJDKPerformance
0 likes · 17 min read
Boost Java Performance: 5 Proven HashMap & Enum Optimizations
dbaplus Community
dbaplus Community
Sep 19, 2024 · Databases

How MySQL Implements SQL Flow Control to Protect CPU Resources

This article explains the design and implementation of MySQL's SQL flow‑control feature, covering its purpose, architecture, external commands, rule management, matching logic, data‑access layer, performance considerations, usage guidelines, and known limitations.

MySQLPerformanceSQL flow control
0 likes · 15 min read
How MySQL Implements SQL Flow Control to Protect CPU Resources
Open Source Tech Hub
Open Source Tech Hub
Sep 19, 2024 · Databases

Boost PHP App Speed: Advanced Database Performance Optimization Strategies

Optimizing database performance is crucial for PHP applications, and this comprehensive guide explores advanced strategies—including efficient query design, indexing, caching, connection pooling, batch processing, sharding, and partitioning—to maximize speed, scalability, and user experience while reducing latency and server load.

Database OptimizationPHPPerformance
0 likes · 6 min read
Boost PHP App Speed: Advanced Database Performance Optimization Strategies
Open Source Linux
Open Source Linux
Sep 19, 2024 · Operations

Mastering Linux Performance: From CPU/Memory Profiling to Flame Graphs

This guide explains how to systematically diagnose Linux performance issues using tools such as top, vmstat, perf, and flame graphs, covering CPU, memory, disk I/O, network, and load analysis, and demonstrates a real-world nginx case study with step‑by‑step commands and visualizations.

NGINXPerformanceProfiling
0 likes · 21 min read
Mastering Linux Performance: From CPU/Memory Profiling to Flame Graphs
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 16, 2024 · Frontend Development

Effective Ways to Listen to Route Changes in React

This article explains why monitoring route changes in React single‑page applications is crucial, compares three primary techniques—useLocation, useNavigate, and withRouter—provides practical code examples, evaluates their pros and cons, and offers performance‑optimisation tips for reliable routing handling.

PerformanceReactSPA
0 likes · 15 min read
Effective Ways to Listen to Route Changes in React
ITPUB
ITPUB
Sep 15, 2024 · Databases

Does Varchar Length Affect MySQL Storage and Query Performance? A Practical Test

This article investigates whether defining a VARCHAR column with a larger length (e.g., VARCHAR(500) vs VARCHAR(50)) changes storage consumption and query speed in MySQL by creating two identical tables, inserting one million rows, measuring space usage, and benchmarking various SELECT and ORDER BY operations.

MySQLPerformancesql
0 likes · 10 min read
Does Varchar Length Affect MySQL Storage and Query Performance? A Practical Test
21CTO
21CTO
Sep 14, 2024 · Backend Development

Master Python Logging: Best Practices, Advanced Techniques & Performance Tips

This comprehensive guide explains Python's built‑in logging module, covering basic setup, log levels, handlers, formatters, advanced configurations, performance optimizations, and best‑practice recommendations to help developers create clear, efficient, and maintainable logs for any application.

Performancebest practicesconfiguration
0 likes · 18 min read
Master Python Logging: Best Practices, Advanced Techniques & Performance Tips
Open Source Linux
Open Source Linux
Sep 14, 2024 · Operations

Unlocking Linux Kernel Secrets: A Comprehensive Guide to Debugging Tools

This article provides a thorough overview of Linux kernel debugging techniques, covering pseudo‑filesystems such as procfs, sysfs, debugfs and relayfs, as well as essential tools like printk, ftrace, trace‑cmd, kprobe, systemtap, kgdb, kgtp, perf, and other modern tracers, helping developers diagnose and optimise kernel behavior.

LinuxPerformancedebugging
0 likes · 25 min read
Unlocking Linux Kernel Secrets: A Comprehensive Guide to Debugging Tools
Code Mala Tang
Code Mala Tang
Sep 11, 2024 · Frontend Development

Mastering Deep Cloning in JavaScript with structuredClone()

This article explains how the new global function structuredClone() provides a reliable, fast, and simple way to deep‑clone JavaScript objects—including nested structures, circular references, and undefined values—outperforming traditional JSON or manual recursion methods.

FrontendPerformancedeep cloning
0 likes · 9 min read
Mastering Deep Cloning in JavaScript with structuredClone()
IT Services Circle
IT Services Circle
Sep 10, 2024 · Databases

Understanding MySQL Indexes: Types, Structures, and Optimization Techniques

This article provides a comprehensive overview of MySQL indexing, covering index classifications, B+Tree and Hash structures, primary and secondary (clustered and non‑clustered) indexes, covering index push‑down, index merge, covering indexes, cost‑based index selection, and common pitfalls that cause index inefficiency.

MySQLPerformancedatabase
0 likes · 27 min read
Understanding MySQL Indexes: Types, Structures, and Optimization Techniques
JD Cloud Developers
JD Cloud Developers
Sep 10, 2024 · Mobile Development

How JD Used Taro to Build High‑Performance HarmonyOS Native Apps

The article explains JD's technical solution for developing HarmonyOS native applications with the Taro cross‑platform framework, detailing the chosen architecture, CSS adaptations, performance optimizations, and future enhancement plans that resulted in significant rendering speed gains.

HarmonyOSPerformanceTaro
0 likes · 12 min read
How JD Used Taro to Build High‑Performance HarmonyOS Native Apps
ByteDance Web Infra
ByteDance Web Infra
Sep 10, 2024 · Frontend Development

Rsbuild 1.0 Release: A Fast, TypeScript‑Friendly Frontend Build Tool Powered by Rspack

Rsbuild 1.0, built on the high‑performance Rspack engine, offers a lightweight, easy‑to‑use TypeScript‑friendly API, dramatically faster dev/startup times, fewer dependencies, and a rich plugin ecosystem, positioning it as the most efficient modern frontend build tool compared to CRA, Vite, and Rspack CLI.

FrontendPerformanceRsbuild
0 likes · 12 min read
Rsbuild 1.0 Release: A Fast, TypeScript‑Friendly Frontend Build Tool Powered by Rspack
Code Mala Tang
Code Mala Tang
Sep 10, 2024 · Frontend Development

Master Deep Cloning in JavaScript with structuredClone()

This article explores the modern JavaScript global function structuredClone() as a robust solution for deep cloning objects, comparing it with traditional spread, JSON methods, and custom recursion, and covering handling of circular references, functions, undefined values, performance benchmarks, supported types, and limitations.

Performancedeep cloningstructuredClone
0 likes · 9 min read
Master Deep Cloning in JavaScript with structuredClone()
Sanyou's Java Diary
Sanyou's Java Diary
Sep 9, 2024 · Databases

Master MySQL Indexes: B+Tree, Hash, Clustering & Optimization

This article provides a comprehensive guide to MySQL indexing, covering index types, data structures, clustering and non‑clustering indexes, hash indexes, B+Tree mechanics, index lookup, covering indexes, index push‑down, index merge, cost‑based index selection, common pitfalls, and best practices for designing effective indexes.

MySQLPerformancedatabase
0 likes · 34 min read
Master MySQL Indexes: B+Tree, Hash, Clustering & Optimization
Python Programming Learning Circle
Python Programming Learning Circle
Sep 9, 2024 · Fundamentals

Advanced Python Techniques: Data Structures, Decorators, Metaprogramming, Concurrency, and Performance Optimization

This article introduces experienced Python developers to advanced techniques and best practices, covering high‑level data structures from the collections module, custom data structures, decorators and context managers, metaclasses, dynamic class creation, concurrent and asynchronous programming, performance tuning, memory management, coding standards, and testing strategies.

Advanced TechniquesPerformanceconcurrency
0 likes · 10 min read
Advanced Python Techniques: Data Structures, Decorators, Metaprogramming, Concurrency, and Performance Optimization
Architecture and Beyond
Architecture and Beyond
Sep 7, 2024 · Backend Development

Six Proven Backend Techniques to Supercharge System Performance

This comprehensive guide walks backend architects through six core optimization methods—caching, batch processing, asynchronous handling, data compression, parallelization, and eliminating unnecessary requests—detailing their problem domains, implementation strategies, real‑world scenarios, benefits, and trade‑offs.

AsynchronousBackendBatch Processing
0 likes · 48 min read
Six Proven Backend Techniques to Supercharge System Performance
Java Tech Enthusiast
Java Tech Enthusiast
Sep 6, 2024 · Mobile Development

Bundle vs HashMap in Android: Memory Efficiency and Performance

In Android, Bundles backed by memory‑efficient ArrayMap use binary search and shrinkable storage, making them far smaller and faster to transmit than HashMaps, whose fixed‑size growth and lack of shrinkage consume more memory; thus Parcelable Bundles are preferred for IPC, while Serializable remains suited only for persistent storage.

AndroidArrayMapHashMap
0 likes · 5 min read
Bundle vs HashMap in Android: Memory Efficiency and Performance
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 6, 2024 · Fundamentals

Understanding Java Garbage Collection Algorithms and Their Use Cases

This article provides a comprehensive overview of Java garbage collection, covering the principles of reference counting and reachability analysis, detailing major GC algorithms such as mark‑sweep, copying, and mark‑compact, explaining object allocation strategies, and reviewing traditional and modern collectors like Serial, CMS, and G1, with practical tuning tips for each.

GC AlgorithmsGarbage CollectionJVM
0 likes · 19 min read
Understanding Java Garbage Collection Algorithms and Their Use Cases
Practical DevOps Architecture
Practical DevOps Architecture
Sep 5, 2024 · Backend Development

Common Cache Issues and Their Solutions

This article explains four typical cache problems—penetration, avalanche, breakdown, and distributed cache efficiency—describing their causes and offering practical mitigation strategies such as top‑level filtering, Bloom filters, staggered expirations, null caching, and locking mechanisms.

BackendCacheDistributed Cache
0 likes · 3 min read
Common Cache Issues and Their Solutions
Zhuanzhuan Tech
Zhuanzhuan Tech
Sep 4, 2024 · Backend Development

Optimization of Serialization in Search Recommendation Service

This report analyzes performance bottlenecks caused by serialization in a search‑recommendation system, presents detailed measurements of request latency, evaluates multiple optimization strategies—including Redis caching, lazy metric handling, and custom byte‑array serialization—and documents the resulting latency reductions and implementation considerations.

PerformanceRPCcustom serialization
0 likes · 29 min read
Optimization of Serialization in Search Recommendation Service
Python Programming Learning Circle
Python Programming Learning Circle
Sep 3, 2024 · Fundamentals

Simplifying Python Parallelism with map and ThreadPool

This article explains why traditional Python multithreading tutorials are often overly complex, introduces the concise map‑based approach using multiprocessing and multiprocessing.dummy ThreadPool, demonstrates performance gains with real‑world examples, and provides ready‑to‑run code snippets for efficient parallel execution.

MAPParallelismPerformance
0 likes · 10 min read
Simplifying Python Parallelism with map and ThreadPool
php Courses
php Courses
Sep 3, 2024 · Backend Development

Using Laravel’s Benchmark Tool to Measure and Optimize Code Performance

Laravel’s Benchmark tool enables developers to measure execution time of code snippets, compare multiple scenarios, run iterative tests for accuracy, retrieve results with execution duration, and apply these insights to optimize queries and improve overall application performance.

LaravelPerformancebenchmark
0 likes · 5 min read
Using Laravel’s Benchmark Tool to Measure and Optimize Code Performance
macrozheng
macrozheng
Sep 3, 2024 · Backend Development

Maven vs Gradle: Which Build Tool Wins for Java Projects?

This article compares Maven and Gradle, outlining their core concepts, build performance, flexibility, learning curve, and stability to help Java developers choose the most suitable build tool for their projects.

GradleJava Build ToolsLearning Curve
0 likes · 8 min read
Maven vs Gradle: Which Build Tool Wins for Java Projects?
DaTaobao Tech
DaTaobao Tech
Sep 2, 2024 · Frontend Development

Evolution and Architecture of the Daily Must‑Grab Mini‑Program Order System

The Daily Must‑Grab mini‑program order system evolved from a DX XML‑based UI to a React‑like Rax framework and finally to a native Ao Chuang solution, delivering cross‑platform support, smaller bundles, faster launches, better async handling, and extensible plug‑in architecture while leveraging Taobao’s transaction core.

DXFrontendMini Program
0 likes · 13 min read
Evolution and Architecture of the Daily Must‑Grab Mini‑Program Order System
JD Tech Talk
JD Tech Talk
Sep 2, 2024 · Frontend Development

Optimizing HarmonyOS Cross‑Platform UI Rendering with a C Interface Integration

This article analyzes four major performance problems of UI rendering on HarmonyOS—excessive view hierarchy, long communication pipelines, poor list rendering, and secondary layout—and presents a C‑based native component solution with code examples to improve cross‑platform UI performance.

C interfaceHarmonyOSPerformance
0 likes · 14 min read
Optimizing HarmonyOS Cross‑Platform UI Rendering with a C Interface Integration
Efficient Ops
Efficient Ops
Sep 1, 2024 · Backend Development

Master Elasticsearch: From Basics to Advanced Performance Tuning

This article walks through Elasticsearch’s licensing history, version selection, installation, cluster health monitoring, shard routing, storage mechanisms, refresh and translog processes, segment merging, and practical performance optimizations such as disk choices, index settings, and JVM tuning.

ClusterElasticsearchPerformance
0 likes · 21 min read
Master Elasticsearch: From Basics to Advanced Performance Tuning
IT Services Circle
IT Services Circle
Sep 1, 2024 · Backend Development

Maven vs Gradle: A Comparative Guide for Java Build Tools

The article compares Maven and Gradle, detailing their histories, core concepts, advantages, disadvantages, and performance differences, and offers practical advice for Java developers on choosing the most suitable build tool for their projects.

GradlePerformancebuild tools
0 likes · 8 min read
Maven vs Gradle: A Comparative Guide for Java Build Tools
Java Architect Essentials
Java Architect Essentials
Aug 31, 2024 · Backend Development

Java Backend Performance Optimization: Parallel Processing, Transaction Scope, Caching, Thread Pools, and Concurrency

This article provides a comprehensive guide to improving Java backend performance by explaining parallel processing with CompletableFuture, minimizing transaction scope, effective caching strategies, proper thread‑pool configuration, cache‑line alignment, reducing object creation, lock granularity, copy‑on‑write collections, asynchronous patterns, loop optimizations, network payload reduction, and minimizing inter‑service dependencies.

PerformanceThreadPoolcaching
0 likes · 33 min read
Java Backend Performance Optimization: Parallel Processing, Transaction Scope, Caching, Thread Pools, and Concurrency
Java Tech Enthusiast
Java Tech Enthusiast
Aug 30, 2024 · Operations

Performance Comparison of Major Public DNS Services in China

Testing 150 popular domains from four Chinese cities shows OneDNS public version consistently leads with 9‑19 ms latency, followed closely by Alibaba DNS, while 114DNS, Tencent DNSPod and 360DNS lag behind, prompting users to seek free alternatives as Alibaba’s unlimited service becomes paid.

ChinaDNSPerformance
0 likes · 5 min read
Performance Comparison of Major Public DNS Services in China
StarRocks
StarRocks
Aug 30, 2024 · Databases

How Cloud‑Native Persistent Index Boosts StarRocks Performance 10× in Elastic Scheduling

StarRocks 3.3.1 introduces a cloud‑native persistent index that moves index files to object storage, eliminates local‑disk constraints, and supports elastic scaling, delivering up to ten‑fold latency improvement over local‑disk indexes in elastic scheduling while matching performance in batch and real‑time imports.

Cloud NativePerformanceStarRocks
0 likes · 11 min read
How Cloud‑Native Persistent Index Boosts StarRocks Performance 10× in Elastic Scheduling
macrozheng
macrozheng
Aug 29, 2024 · Databases

How to Safely Perform Billion-Row MySQL Updates Without Overloading Replication

This article explains why a direct full‑table UPDATE on a massive MySQL table can overwhelm binlog replication, explores the pitfalls of deep pagination and IN‑clauses, and presents a batch‑processing strategy using NO_CACHE and FORCE INDEX to achieve efficient, low‑impact updates.

Batch UpdateBinlogDatabase Optimization
0 likes · 8 min read
How to Safely Perform Billion-Row MySQL Updates Without Overloading Replication
Alibaba Cloud Developer
Alibaba Cloud Developer
Aug 29, 2024 · Fundamentals

How Java’s String Concatenation Evolved: From '+' to Hidden Classes

This article traces the evolution of Java string concatenation from the simple '+' operator through JDK 8’s StringBuilder implementation, the JDK 9+ StringConcatFactory with invokedynamic, and Alibaba’s PR 20273 that introduces hidden‑class bytecode generation, highlighting performance gains and startup‑time improvements.

JDKMethodHandlesOpenJDK
0 likes · 17 min read
How Java’s String Concatenation Evolved: From '+' to Hidden Classes
BirdNest Tech Talk
BirdNest Tech Talk
Aug 28, 2024 · Backend Development

Why Go Channels Slow Down on More CPUs and How to Fix It

A Fastly engineer discovered that increasing CPU cores can degrade Go channel performance due to lock contention, and this article reproduces the benchmarks, explains why goroutine count—not CPU count—is the real culprit, and offers practical optimization techniques.

ChannelsGOMAXPROCSGo
0 likes · 10 min read
Why Go Channels Slow Down on More CPUs and How to Fix It
ByteDance Web Infra
ByteDance Web Infra
Aug 28, 2024 · Frontend Development

Rspack 1.0 Released: A Rust‑Based JavaScript Bundler with 10× Webpack Performance

Rspack 1.0, the Rust‑implemented next‑generation JavaScript bundler compatible with webpack APIs, launches with major performance gains, broader plugin compatibility, smaller bundle sizes, Module Federation 2.0 support, and a roadmap that includes faster HMR, portable caches, and deeper TypeScript integration.

BundlerFrontend DevelopmentJavaScript
0 likes · 16 min read
Rspack 1.0 Released: A Rust‑Based JavaScript Bundler with 10× Webpack Performance
Test Development Learning Exchange
Test Development Learning Exchange
Aug 28, 2024 · Fundamentals

Python Decorators for API Testing: Retry, Timeout, Logging, Caching, Validation, and More

This article introduces Python decorators—such as retry, timeout, logging, caching, response validation, parameterization, exception handling, performance monitoring, permission checking, and composite usage—and provides complete code examples showing how they simplify and strengthen automated API testing.

DecoratorPerformanceRetry
0 likes · 10 min read
Python Decorators for API Testing: Retry, Timeout, Logging, Caching, Validation, and More
Tencent Cloud Developer
Tencent Cloud Developer
Aug 28, 2024 · Fundamentals

Uncovering the 50,000‑Line TypeScript checker.ts: Design Choices and Performance Impacts

This article dissects the massive 5‑万‑line checker.ts file in the TypeScript compiler, explaining why the team packed the entire type‑system logic into a single file, how low‑level decisions like named‑parameter comments, heavy use of const enum, ESM/CJS export patterns, var usage, and lack of try‑catch affect V8 performance, and what these choices reveal about TypeScript’s evolution.

ESMPerformanceTypeScript
0 likes · 13 min read
Uncovering the 50,000‑Line TypeScript checker.ts: Design Choices and Performance Impacts
Python Programming Learning Circle
Python Programming Learning Circle
Aug 26, 2024 · Fundamentals

Six Techniques to Improve Python Code Performance

This article explains why Python may run slower than compiled languages, introduces methods for detecting performance bottlenecks, and presents six practical techniques—including using timeit, memory_profiler, line_profiler, built‑in functions, f‑strings, list comprehensions, and lru_cache—to significantly speed up Python programs.

PerformanceProfilingbest-practices
0 likes · 9 min read
Six Techniques to Improve Python Code Performance
Alibaba Cloud Big Data AI Platform
Alibaba Cloud Big Data AI Platform
Aug 23, 2024 · Artificial Intelligence

How Elasticsearch Evolved into a Hybrid AI-Powered Search Engine

This article traces Elasticsearch's transformation from a pure text search engine to a versatile hybrid platform that integrates structured, geospatial, aggregation, and vector search capabilities, highlighting its AI-driven innovations, performance optimizations, and growing adoption across enterprises and academia.

AI searchElasticsearchHybrid Search
0 likes · 13 min read
How Elasticsearch Evolved into a Hybrid AI-Powered Search Engine
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 21, 2024 · Backend Development

Mastering Caffeine Cache in Spring Boot 3.2: Performance, Eviction & Async Usage

This article introduces the high‑performance Caffeine caching library for Spring Boot 3.2, explains its core features, demonstrates detailed performance benchmarks, and provides practical code examples covering synchronous and asynchronous operations, eviction policies, removal listeners, refresh mechanisms, and statistics collection.

AsyncCacheCaffeine
0 likes · 12 min read
Mastering Caffeine Cache in Spring Boot 3.2: Performance, Eviction & Async Usage
ByteDance Web Infra
ByteDance Web Infra
Aug 20, 2024 · Frontend Development

Lessons Learned Switching to Rspack: Migration Experience, Configuration Tips, and Performance Results

The article shares a developer’s experience migrating two large Webpack projects to Rspack, covering why Rspack was chosen, detailed lessons on TypeScript handling, CSS extraction, service‑worker support, plugin compatibility, CLI differences, performance benchmarks, and future expectations for the Rust‑based bundler.

Frontend DevelopmentPerformanceRspack
0 likes · 15 min read
Lessons Learned Switching to Rspack: Migration Experience, Configuration Tips, and Performance Results
Tencent Cloud Developer
Tencent Cloud Developer
Aug 20, 2024 · Backend Development

Why Caching Is the Secret Weapon for High‑Performance Search Engines

This article analyzes real‑world search query characteristics, breaks down a typical search system architecture, classifies cacheable data, compares result‑level, intermediate‑value and multi‑layer caches, discusses update, prefetch and placement strategies, and highlights common pitfalls such as cache miss, consistency, and resource overhead.

BackendCache StrategiesOperations
0 likes · 19 min read
Why Caching Is the Secret Weapon for High‑Performance Search Engines
Bin's Tech Cabin
Bin's Tech Cabin
Aug 20, 2024 · Backend Development

How Netty’s ByteBuf Reference Counting Evolved: From Simple Counters to Parity‑Based Concurrency Safety

This article examines Netty 4.1.x’s ByteBuf reference‑counting mechanism, explains why reference counting was introduced, traces its original design, shows instruction‑level optimizations, reveals concurrency bugs in version 4.1.17, and details the clever even‑odd redesign that guarantees thread‑safe memory release while preserving high performance.

ByteBufNettyPerformance
0 likes · 34 min read
How Netty’s ByteBuf Reference Counting Evolved: From Simple Counters to Parity‑Based Concurrency Safety
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Aug 18, 2024 · Frontend Development

Understanding ESLint: Core Concepts, Configuration Complexity, and Debugging Techniques

This article explains ESLint's highly configurable static analysis architecture, clarifies the roles of parsers, processors, configs and plugins, explores the intricacies of its configuration system, and provides practical debugging methods—including performance profiling and a real‑world import/no-cycle case study.

ESLintJavaScriptPerformance
0 likes · 13 min read
Understanding ESLint: Core Concepts, Configuration Complexity, and Debugging Techniques
Su San Talks Tech
Su San Talks Tech
Aug 18, 2024 · Big Data

How to Crush the One Billion Row Java Challenge: From 14 Minutes to Sub‑2‑Second Runtime

This article walks through the One Billion Row Challenge, explaining the problem, baseline solution, and a series of performance optimizations—from JVM selection and parallel I/O to custom hash tables, unsafe memory access, and SIMD techniques—that shrink execution time from minutes to under two seconds.

Big DataOne Billion Row ChallengePerformance
0 likes · 20 min read
How to Crush the One Billion Row Java Challenge: From 14 Minutes to Sub‑2‑Second Runtime
Test Development Learning Exchange
Test Development Learning Exchange
Aug 17, 2024 · Backend Development

Python Decorator Examples for API Testing

This article presents ten practical Python decorator patterns—such as logging, performance measurement, exception handling, retry, status‑code validation, parameter checking, rate limiting, data‑driven testing, environment configuration, and concurrent execution—each illustrated with clear use‑case descriptions and complete code snippets for API testing.

DecoratorError HandlingPerformance
0 likes · 9 min read
Python Decorator Examples for API Testing
Top Architect
Top Architect
Aug 15, 2024 · Backend Development

Understanding Nginx Architecture, Process Model, FastCGI Integration, and Performance Optimization

This article provides a comprehensive overview of Nginx's high‑performance architecture, including its core, basic and third‑party modules, master‑worker process model, asynchronous event handling with epoll, FastCGI and PHP‑FPM integration, as well as detailed configuration and optimization techniques for production deployments.

BackendNGINXPerformance
0 likes · 47 min read
Understanding Nginx Architecture, Process Model, FastCGI Integration, and Performance Optimization
Tencent Cloud Developer
Tencent Cloud Developer
Aug 15, 2024 · Databases

Architecture Upgrade Challenges and Atomic Write Solutions for Cloud-native Databases

Collaborating across TencentOS and database kernel teams, the article details how architecture upgrades—moving to TKE HouseKeeper, switching to AMD CPUs, and adding a portable 16 KB atomic‑write feature—combined with kernel optimizations like huge‑page support, NUMA‑aware qspinlocks, speculative page‑fault handling, and ORC unwinding to deliver up to 30 % mixed workload and over 100 % write‑only performance gains while reducing memory usage.

NUMAORC unwinderPerformance
0 likes · 16 min read
Architecture Upgrade Challenges and Atomic Write Solutions for Cloud-native Databases
macrozheng
macrozheng
Aug 14, 2024 · Backend Development

When to Put try‑catch Inside or Outside a for Loop? Practical Insights

This article explains the different effects of placing a try‑catch block inside versus outside a for loop in Java, covering usage scenarios, performance impact, memory consumption, and practical recommendations for choosing the appropriate approach during development.

Exception HandlingPerformancebackend-development
0 likes · 6 min read
When to Put try‑catch Inside or Outside a for Loop? Practical Insights
BirdNest Tech Talk
BirdNest Tech Talk
Aug 13, 2024 · Backend Development

Why Go 1.22’s []byte(str) Conversion Beats Unsafe: Benchmarks and Deep Dive

The article investigates Go 1.22’s claim that simple type casting []byte(str) can replace unsafe‑based string‑to‑byte conversions, presents four implementation variants, runs detailed benchmarks on macOS M2 and Linux amd64, analyses compiler inlining and escape behavior, and explains the hidden pitfalls of capacity and mutability in the k8s shortcut.

GoPerformancebenchmark
0 likes · 16 min read
Why Go 1.22’s []byte(str) Conversion Beats Unsafe: Benchmarks and Deep Dive
Python Programming Learning Circle
Python Programming Learning Circle
Aug 13, 2024 · Big Data

What’s New in pandas 2.0: Arrow Backend, Copy‑On‑Write, and Performance Improvements

The article reviews pandas 2.0’s major upgrades—including an Apache Arrow backend that speeds up CSV reads by over 30×, new Arrow dtypes, a nullable‑numpy dtype for missing values, a copy‑on‑write memory model, optional dependencies, and benchmark comparisons with ydata‑profiling—highlighting the library’s enhanced performance, flexibility, and interoperability for data‑intensive Python workflows.

Apache ArrowCopy-on-WritePerformance
0 likes · 15 min read
What’s New in pandas 2.0: Arrow Backend, Copy‑On‑Write, and Performance Improvements
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 13, 2024 · Backend Development

Understanding Java Atomic Variables and Their Applications in Concurrent Programming

This article provides a comprehensive guide to Java atomic variables, explaining their core concepts, underlying CAS mechanism, key classes such as AtomicInteger, AtomicLong, AtomicReference, and AtomicBoolean, and demonstrating practical code examples, use‑cases, performance benefits, limitations, and comparisons with traditional lock‑based synchronization.

Atomic VariablesCASPerformance
0 likes · 21 min read
Understanding Java Atomic Variables and Their Applications in Concurrent Programming
Top Architect
Top Architect
Aug 11, 2024 · Backend Development

Efficient Insertion of 300,000 Records Using MyBatis and JDBC

This article demonstrates how to efficiently insert 300,000 rows into a MySQL table by using MyBatis batch operations, JDBC batch processing, and various performance optimizations such as batch size tuning, transaction management, and connection pooling.

Batch InsertJDBCPerformance
0 likes · 17 min read
Efficient Insertion of 300,000 Records Using MyBatis and JDBC
Deepin Linux
Deepin Linux
Aug 8, 2024 · Databases

Understanding Database Connection Pools: Principles, Mechanisms, and Popular Implementations

This article explains the concept of database connection pools, why they are needed, their core principles and runtime mechanisms, compares traditional direct connections with pooled connections, and reviews major Java pool implementations such as DBCP, C3P0, Druid and HikariCP along with configuration tips and best‑practice considerations.

C3P0Connection PoolDBCP
0 likes · 27 min read
Understanding Database Connection Pools: Principles, Mechanisms, and Popular Implementations
Open Source Tech Hub
Open Source Tech Hub
Aug 7, 2024 · Backend Development

Boost PHP Excel Performance with the High‑Speed xlswriter Extension

The article introduces xlswriter, a high‑performance PHP C extension for reading and writing Excel 2007+ XLSX files across major operating systems, compares it with PHPExcel, presents benchmark results, explains PECL installation, and provides detailed code examples for exporting, importing, and chart generation.

Data ExportExcelPECL
0 likes · 7 min read
Boost PHP Excel Performance with the High‑Speed xlswriter Extension
Radish, Keep Going!
Radish, Keep Going!
Aug 7, 2024 · Backend Development

Boost Go Performance: Mastering GC with go trace, GOGC & GOMEMLIMIT

This article demonstrates how to analyze and optimize Go's garbage collection using go trace, comparing single‑threaded and concurrent implementations, and shows how tuning GOGC and GOMEMLIMIT can dramatically improve runtime and memory usage, with detailed code samples and performance metrics.

GOGCGOMEMLIMITGarbage Collection
0 likes · 13 min read
Boost Go Performance: Mastering GC with go trace, GOGC & GOMEMLIMIT
macrozheng
macrozheng
Aug 7, 2024 · Fundamentals

Why ‘+’ Can Beat StringBuilder in Java: Benchmarks and Best Practices

This article investigates the performance differences between Java’s ‘+’ operator and StringBuilder for both simple and looped string concatenations, presenting JUnit benchmark results that show ‘+’ is comparable for single concatenations but significantly slower in loops, and recommends using the appropriate method based on context.

PerformanceString concatenationbenchmark
0 likes · 6 min read
Why ‘+’ Can Beat StringBuilder in Java: Benchmarks and Best Practices