Tagged articles
1037 articles
Page 7 of 11
Sohu Tech Products
Sohu Tech Products
Dec 22, 2021 · Fundamentals

The Fastest Way to Loop in Python: Using Built‑in Functions and Math Instead of While/For Loops

This article demonstrates that in Python, plain while and for loops are significantly slower than using built‑in functions like sum or applying a direct mathematical formula, because the former execute extra Python‑level boundary checks and increments, making the latter the most efficient looping alternatives.

Sumbuilt-in functionsfor loop
0 likes · 7 min read
The Fastest Way to Loop in Python: Using Built‑in Functions and Math Instead of While/For Loops
Architecture Digest
Architecture Digest
Dec 16, 2021 · Operations

System Performance Issue Analysis, Diagnosis, and Optimization Process

This article outlines a comprehensive approach to diagnosing and optimizing performance problems in production business systems, covering common causes such as concurrency spikes, data growth, and environment changes, and detailing hardware, middleware, database, JVM, code-level analyses, monitoring tools, and APM strategies.

JVMPerformancedatabase
0 likes · 15 min read
System Performance Issue Analysis, Diagnosis, and Optimization Process
Architect
Architect
Dec 15, 2021 · Backend Development

Cache Optimization Techniques and Design Strategies

This article explains how caching improves application performance and reduces backend load, and it details practical optimization methods such as benefit‑cost analysis, update policies, granularity control, penetration protection, bottomless‑hole mitigation, avalanche prevention, and hot‑key rebuild strategies, primarily using Redis.

Distributed Systemsoptimizationredis
0 likes · 15 min read
Cache Optimization Techniques and Design Strategies
ByteDance Terminal Technology
ByteDance Terminal Technology
Dec 9, 2021 · Mobile Development

Optimizing Flutter List Performance: Element Reuse, Auto‑diff, Placeholder Widgets, Frame‑splitting Rendering, and Bidirectional Loading

This article examines the challenges of fluid list rendering in Flutter mobile apps and presents a series of performance optimizations—including element and RenderObject reuse, an auto‑diff algorithm, placeholder widgets, frame‑splitting rendering, pre‑loading, and bidirectional loading—along with functional extensions and real‑world results.

DARTListViewMobile
0 likes · 13 min read
Optimizing Flutter List Performance: Element Reuse, Auto‑diff, Placeholder Widgets, Frame‑splitting Rendering, and Bidirectional Loading
Architect
Architect
Dec 6, 2021 · Backend Development

Interface Performance Optimization: Indexes, SQL Tuning, Remote Calls, Asynchronous Processing, Caching, and More

This article provides a comprehensive guide for backend developers on improving interface performance through proper indexing, SQL optimization, parallel remote calls, asynchronous handling, lock granularity, transaction management, pagination, caching strategies, and monitoring tools, offering practical code examples and best‑practice recommendations.

optimization
0 likes · 28 min read
Interface Performance Optimization: Indexes, SQL Tuning, Remote Calls, Asynchronous Processing, Caching, and More
Top Architect
Top Architect
Dec 4, 2021 · Backend Development

Cache Usage Techniques and Design Solutions: Benefits, Costs, Update Strategies, Granularity, and Common Optimizations

This article explains how caching can accelerate read/write performance and reduce backend load, analyzes its benefits and costs, discusses update strategies, granularity control, and solutions for common problems such as cache penetration, empty‑hole, avalanche, and hot‑key reconstruction, providing practical guidelines for robust backend design.

Backend PerformanceDistributed Systemscache invalidation
0 likes · 14 min read
Cache Usage Techniques and Design Solutions: Benefits, Costs, Update Strategies, Granularity, and Common Optimizations
NiuNiu MaTe
NiuNiu MaTe
Dec 2, 2021 · Fundamentals

Master the Classic 2‑Egg 100‑Floor Problem: Optimal Strategies Explained

This article explains the classic two‑egg, 100‑floor interview puzzle, analyzes why it became a staple, and walks through four solution approaches—from a naïve linear method to binary search and a balanced partition strategy—culminating in a mathematically derived optimal method that never exceeds fourteen drops.

Binary Searchalgorithmegg-drop
0 likes · 8 min read
Master the Classic 2‑Egg 100‑Floor Problem: Optimal Strategies Explained
Alimama Tech
Alimama Tech
Dec 1, 2021 · Big Data

Optimization Algorithms for Guaranteed Delivery Advertising in Double‑11 Interactive Campaign

During Double‑11, the team created two specialized allocation algorithms—a brand‑score‑driven primal‑dual method for guaranteed‑downline contracts and a guarantee‑and‑balance flow‑re‑ranking approach for guaranteed‑non‑downline contracts—both using near‑line dual adjustments to meet contract volumes while boosting interaction depth, repeat visits, and browsing time.

Allocation AlgorithmBig Datadual programming
0 likes · 14 min read
Optimization Algorithms for Guaranteed Delivery Advertising in Double‑11 Interactive Campaign
Python Programming Learning Circle
Python Programming Learning Circle
Dec 1, 2021 · Fundamentals

The Fastest Way to Loop in Python: Using Built‑in Functions and Formulas Instead of While/For Loops

This article benchmarks Python while and for loops, shows that for loops are faster due to fewer operations, demonstrates how built‑in functions like sum and direct arithmetic formulas can achieve orders‑of‑magnitude speedups, and concludes that the quickest way to "loop" in Python is to avoid loops altogether.

Algorithmic EfficiencyBenchmarkingPython
0 likes · 8 min read
The Fastest Way to Loop in Python: Using Built‑in Functions and Formulas Instead of While/For Loops
Xianyu Technology
Xianyu Technology
Nov 30, 2021 · Mobile Development

Flutter Performance Optimization: Challenges, Tools, and Best Practices

The Xianyu team’s talk outlines Flutter performance challenges—complex list‑item logic, a 16.6 ms frame budget, DynamicX template overhead, and scroll‑curve‑induced offset jumps—and presents best‑practice solutions such as PowerScrollView caching, partial refresh, frame‑splitting, DynamicX caching, isolate offloading, layer merging, plus custom benchmarking, DevTools extensions, and FlutterBlockCanary for measurement, urging developers to prioritize perceived smoothness, monitor raster costs, and leverage multi‑threading and community updates.

DevToolsFlutterMobile
0 likes · 18 min read
Flutter Performance Optimization: Challenges, Tools, and Best Practices
Youku Technology
Youku Technology
Nov 29, 2021 · Frontend Development

Free Viewpoint Video Technology Optimization at Youku

Youku’s free‑viewpoint video upgrade introduced a four‑layer client architecture and four key optimizations—pre‑caching, smart‑segment bitrate adaptation, dynamic kernel buffers, and multi‑channel downloading—doubling playback volume, improving smoothness by roughly 70%, and expanding device coverage from 50% to 80% while paving the way for future live‑stream innovations.

SDKYoukuclient architecture
0 likes · 9 min read
Free Viewpoint Video Technology Optimization at Youku
Alibaba Terminal Technology
Alibaba Terminal Technology
Nov 26, 2021 · Mobile Development

Boost Flutter List Performance: Deep Dive into Rendering, Optimization, and Reuse Strategies

This article explores Flutter's rendering pipeline, identifies performance bottlenecks in scrollable list scenarios, and presents a series of low‑level optimizations—including partial refresh, element and RenderObject reuse, load‑more handling, and GC suppression—that raise frame rates above native levels while reducing jank.

DARTRenderingmobile-development
0 likes · 18 min read
Boost Flutter List Performance: Deep Dive into Rendering, Optimization, and Reuse Strategies
Cloud Native Technology Community
Cloud Native Technology Community
Nov 25, 2021 · Databases

Why Is My Redis Slowing Down? A Complete Troubleshooting Guide

This article provides a systematic, step‑by‑step methodology for diagnosing Redis latency spikes, covering baseline performance testing, slow‑log analysis, high‑complexity commands, big‑key handling, expiration patterns, memory limits, fork overhead, huge‑page settings, AOF configurations, CPU binding, swap usage, memory fragmentation, network saturation, and practical monitoring tips.

LatencyPerformancedatabase
0 likes · 42 min read
Why Is My Redis Slowing Down? A Complete Troubleshooting Guide
Top Architect
Top Architect
Nov 20, 2021 · Operations

Analyzing and Optimizing Business System Performance: A Comprehensive Guide

This article presents a thorough analysis of performance problems in production business systems, covering root causes such as concurrency, data growth, hardware limits, database and middleware bottlenecks, JVM tuning, code inefficiencies, and offers practical diagnostic steps, monitoring tools, and optimization strategies.

APMJVMdatabase
0 likes · 15 min read
Analyzing and Optimizing Business System Performance: A Comprehensive Guide
Architect
Architect
Nov 18, 2021 · Operations

Business System Performance Issue Analysis, Diagnosis, and Optimization

This article explains how to analyze, diagnose, and optimize performance problems in production business systems, covering root causes such as high concurrency, data growth, environment changes, hardware limits, database and middleware tuning, JVM settings, code inefficiencies, and the role of monitoring and APM tools.

databasediagnosticsoptimization
0 likes · 16 min read
Business System Performance Issue Analysis, Diagnosis, and Optimization
ITPUB
ITPUB
Nov 9, 2021 · Databases

Essential MySQL Optimization Tips for Faster Queries

This guide presents practical MySQL performance tricks—including choosing minimal field types, using NOT NULL, preferring JOIN over sub‑queries, leveraging UNION, applying proper transaction control, foreign keys, table locking, indexing strategies, and query‑writing best practices—to dramatically speed up data retrieval and reduce resource consumption.

JoinsMySQLQueries
0 likes · 19 min read
Essential MySQL Optimization Tips for Faster Queries
Selected Java Interview Questions
Selected Java Interview Questions
Nov 6, 2021 · Databases

Understanding MySQL Indexes: B+Tree Structure, Engine Implementations, and Optimization Techniques

This article explains the fundamentals of MySQL indexes, focusing on B+Tree structures, differences between MyISAM and InnoDB implementations, practical indexing strategies, configuration and SQL tuning tips, and provides a detailed case study with EXPLAIN analysis to help developers design efficient indexes.

B+TreeInnoDBMySQL
0 likes · 26 min read
Understanding MySQL Indexes: B+Tree Structure, Engine Implementations, and Optimization Techniques
Java Interview Crash Guide
Java Interview Crash Guide
Nov 1, 2021 · Backend Development

How We Doubled Service QPS and Fixed Hystrix Bottlenecks in Two Weeks

In this article we detail a two‑week sprint that identified and eliminated multiple Java backend performance bottlenecks, optimized CPU usage with jtop, re‑engineered Hystrix circuit‑breaker settings, reduced logging overhead, and fixed Spring data‑binding issues, ultimately doubling QPS and stabilizing service recovery.

HystrixPerformancejava
0 likes · 16 min read
How We Doubled Service QPS and Fixed Hystrix Bottlenecks in Two Weeks
StarRocks
StarRocks
Oct 27, 2021 · Databases

How StarRocks 1.19 Boosts Join Performance and Adds Primary Key Support

StarRocks 1.19 introduces a Global Runtime Filter that speeds up joins up to six‑fold, adds BE‑level disk balancing, launches an experimental Primary Key table type with near‑duplicate‑key read performance, enables external‑table writes between clusters, and includes a host of CPU‑cache and query‑optimizations.

External TablePerformanceStarRocks
0 likes · 7 min read
How StarRocks 1.19 Boosts Join Performance and Adds Primary Key Support
Architect
Architect
Oct 15, 2021 · Databases

Performance Analysis and Optimization of Redis Cluster CLUSTER SLOTS Command

This article investigates the high CPU usage and latency observed after expanding a large Redis cluster, analyzes the root cause in the CLUSTER SLOTS implementation and client MOVED handling, proposes an optimized slot‑traversal algorithm, and demonstrates significant performance improvements through benchmarking and profiling.

ClusterPerformancec++
0 likes · 18 min read
Performance Analysis and Optimization of Redis Cluster CLUSTER SLOTS Command
Ops Development Stories
Ops Development Stories
Oct 15, 2021 · Operations

Unlock Docker Image Secrets: From Basics to Advanced Optimization

This article explores Docker images in depth, covering their fundamental concepts, layered storage mechanisms, the relationship with Dockerfiles and containers, practical optimization techniques for size and build speed, and essential security best practices for creating robust, efficient container images.

DockerImageoptimization
0 likes · 20 min read
Unlock Docker Image Secrets: From Basics to Advanced Optimization
vivo Internet Technology
vivo Internet Technology
Oct 13, 2021 · Databases

Performance Analysis and Optimization of Redis Cluster CLUSTER SLOTS Command

In large Redis clusters the original CLUSTER SLOTS implementation traversed every master and all 16,384 slots, causing ~52 % CPU usage and high MGET latency during migrations, but redesigning it to iterate the pre‑built slot array reduced complexity to O(total slots), cutting execution time from 2 ms to 0.17 ms and eliminating the CPU hotspot, a fix now merged into Redis 6.2.2.

ClusterPerformancec++
0 likes · 20 min read
Performance Analysis and Optimization of Redis Cluster CLUSTER SLOTS Command
Alibaba Cloud Native
Alibaba Cloud Native
Oct 4, 2021 · Cloud Native

Master Serverless Debugging: Online, Local, and Optimization Techniques

This guide explains how to debug serverless applications using online console debugging, remote breakpoint debugging, command‑line tools, IDE plugins, web‑framework local testing, event simulation, and offers optimization tips such as resource assessment, code‑package sizing, instance reuse, and advanced platform features like pre‑freeze, pre‑stop, and single‑instance concurrency.

Alibaba CloudCloud FunctionsServerless
0 likes · 15 min read
Master Serverless Debugging: Online, Local, and Optimization Techniques
ByteFE
ByteFE
Sep 30, 2021 · Frontend Development

A Practical Guide to Chrome Performance Tools and the Performance API

This article introduces Chrome's built‑in Performance panel, explains how to use the W3C Performance API for custom metric collection, compares third‑party auditing tools, and demonstrates a real‑world optimization case to help front‑end developers diagnose and improve page load speed.

APIChromemonitoring
0 likes · 16 min read
A Practical Guide to Chrome Performance Tools and the Performance API
Beike Product & Technology
Beike Product & Technology
Sep 30, 2021 · Mobile Development

Flutter List Page Jank Analysis and Frame‑Splitting Optimization

This article examines the cause of jank in a vertically scrolling Flutter list page on low‑end Android devices, explains the rendering pipeline and build‑layout‑paint stages, and presents a frame‑splitting optimization using the keframe package that reduces frame time and improves smoothness, with performance data.

FlutterFrame SplittingMobile Development
0 likes · 8 min read
Flutter List Page Jank Analysis and Frame‑Splitting Optimization
ByteDance Terminal Technology
ByteDance Terminal Technology
Sep 29, 2021 · Mobile Development

Bypassing Android 10+ dex2oat Restrictions for Performance Optimization

This technical article investigates the Android 10+ dex2oat limitation that blocks app‑initiated compilation, analyzes its SELinux enforcement, and presents a practical solution using system commands and binder calls to trigger dex2oat for both primary and secondary APKs, achieving significant load‑time and runtime improvements.

ADBAndroidMobile
0 likes · 20 min read
Bypassing Android 10+ dex2oat Restrictions for Performance Optimization
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 23, 2021 · Frontend Development

Understanding Virtual DOM and Diff Algorithm in Vue.js (Vue2 and Vue3)

This article explains the concept of virtual DOM, its structure, and how Vue's diff (patch) algorithm works, including detailed code walkthroughs, optimization strategies, key usage, and differences between Vue2 and Vue3 implementations, helping readers fully grasp the underlying principles and performance improvements.

Diff AlgorithmKEYVirtual DOM
0 likes · 28 min read
Understanding Virtual DOM and Diff Algorithm in Vue.js (Vue2 and Vue3)
DataFunTalk
DataFunTalk
Sep 21, 2021 · Artificial Intelligence

Text Recognition Techniques for Content Safety: Risks, Workflow, Algorithms, and Deployment Optimization

This article explains how OCR-based text recognition is applied to content safety, detailing common risk categories, a step‑by‑step detection and recognition pipeline, mainstream detection and recognition algorithms such as regression‑based and segmentation‑based methods, and practical deployment and performance optimization strategies.

AIContent SafetyOCR
0 likes · 15 min read
Text Recognition Techniques for Content Safety: Risks, Workflow, Algorithms, and Deployment Optimization
Programmer DD
Programmer DD
Sep 18, 2021 · Backend Development

Boost Java App Performance: 9 Practical Optimization Tips

This article presents nine actionable Java performance‑optimization techniques—from avoiding premature tweaks and profiling bottlenecks to using StringBuilder, primitive types, and caching—complete with code examples and guidance on building a reliable test suite.

PerformanceProfilingbest practices
0 likes · 11 min read
Boost Java App Performance: 9 Practical Optimization Tips
Taobao Frontend Technology
Taobao Frontend Technology
Sep 16, 2021 · Frontend Development

Mastering Rendering Performance: From Hardware Insights to Front‑End Optimization

This article explores rendering performance optimization from a hardware viewpoint through to front‑end rendering, detailing the three stages of perception, healing, and corrosion, the critical rendering path, CRP analysis, and practical strategies such as NEON acceleration, OOPD/OOPR, and Lighthouse tooling to achieve smoother, lower‑power web experiences.

PerformanceRenderingbrowser
0 likes · 27 min read
Mastering Rendering Performance: From Hardware Insights to Front‑End Optimization
Tencent Cloud Developer
Tencent Cloud Developer
Sep 10, 2021 · Frontend Development

Front-End Performance Monitoring (RUM) and Optimization Strategies

The article introduces Tencent Cloud’s Real‑User‑Monitoring platform, explains key performance timing points and metric calculations, links RUM data to Google Web Vitals, and demonstrates a data‑driven optimization case that cut first‑screen load from 4.8 s to 3.2 s, halved resource load time, and dramatically improved CLS.

FrontendRUMoptimization
0 likes · 16 min read
Front-End Performance Monitoring (RUM) and Optimization Strategies
dbaplus Community
dbaplus Community
Sep 6, 2021 · Frontend Development

Building a Scalable Frontend Performance Monitoring System at 哈啰

This article details 哈啰's front‑end performance monitoring architecture, covering the background of rapid growth, a three‑step optimization workflow, data collection, cleaning, aggregation, visualization, and practical techniques like pre‑rendering and offline packages to dramatically improve page load metrics.

FrontendMetricsdata pipeline
0 likes · 30 min read
Building a Scalable Frontend Performance Monitoring System at 哈啰
21CTO
21CTO
Sep 2, 2021 · Fundamentals

7 Proven Ways to Supercharge Java For‑Loops and Slash Execution Time

Learn how to dramatically improve Java for‑loop performance by applying seven practical techniques—including caching list size, using combined loop variables, iterating backwards, leveraging Iterator, enhanced for‑each syntax, minimizing nested loops, and moving exception handling outside—each with clear pros, cons, and code examples.

Performancecodingfor loop
0 likes · 5 min read
7 Proven Ways to Supercharge Java For‑Loops and Slash Execution Time
Java Interview Crash Guide
Java Interview Crash Guide
Aug 31, 2021 · Backend Development

Mastering Java Thread Pools: Benefits, Workflow, Creation, and Tuning

This article provides a comprehensive guide to Java thread pools, covering their advantages, internal workflow, creation parameters, task submission methods, lifecycle states, shutdown procedures, performance tuning, monitoring metrics, and common pitfalls for developers seeking efficient concurrency management.

PerformanceThreadPoolconcurrency
0 likes · 18 min read
Mastering Java Thread Pools: Benefits, Workflow, Creation, and Tuning
Selected Java Interview Questions
Selected Java Interview Questions
Aug 30, 2021 · Databases

MySQL Interview Questions and Answers: Indexes, InnoDB vs MyISAM, Transactions, Optimization, and Design

This article compiles a comprehensive set of MySQL interview questions covering index types, the differences between MyISAM and InnoDB, the rationale for auto‑increment primary keys, sharding strategies, ACID properties, isolation levels, storage‑engine trade‑offs, normalization, index best practices, data types, performance tuning, locking mechanisms, B+Tree characteristics, and common SQL operations.

Database designInnoDBMySQL
0 likes · 28 min read
MySQL Interview Questions and Answers: Indexes, InnoDB vs MyISAM, Transactions, Optimization, and Design
Kuaishou Large Model
Kuaishou Large Model
Aug 30, 2021 · Artificial Intelligence

How Kuaishou’s Y‑Tech Fixes Background Distortion in Portrait Beautification

This article explains the challenges of background distortion caused by portrait beautification effects, describes Kuaishou Y‑Tech’s line‑segment‑based optimization framework that preserves line slopes and triangle shapes, and demonstrates the algorithm’s effectiveness through before‑and‑after visual results.

Computer VisionImage Processingbackground correction
0 likes · 11 min read
How Kuaishou’s Y‑Tech Fixes Background Distortion in Portrait Beautification
Liangxu Linux
Liangxu Linux
Aug 29, 2021 · Operations

Boosting a Python Service to 50k QPS: My Step‑by‑Step Performance Tuning

Through a detailed case study, the author documents the process of optimizing a Python‑based web module—identifying bottlenecks, redesigning architecture with Redis queues, tuning MySQL, adjusting Linux TCP settings, and iteratively load‑testing until achieving 50,000 QPS with sub‑70 ms latency and zero errors.

BackendOperationsPerformance
0 likes · 9 min read
Boosting a Python Service to 50k QPS: My Step‑by‑Step Performance Tuning
Snowball Engineer Team
Snowball Engineer Team
Aug 26, 2021 · Backend Development

Diagnosing and Optimizing Server CPU Spikes Caused by Excessive DateTime Object Creation in Java

This article explains how to identify and resolve server CPU spikes caused by excessive DateTime object creation in a Java application, detailing step‑by‑step Linux command usage, JStack and JProfiler analysis, and a refactoring solution that replaces DateTime comparisons with string comparisons to reduce GC pressure.

CPULinuxPerformance
0 likes · 4 min read
Diagnosing and Optimizing Server CPU Spikes Caused by Excessive DateTime Object Creation in Java
DeWu Technology
DeWu Technology
Aug 21, 2021 · Databases

Performance Issues of Redis Cluster MGET and Optimization Strategies

In a Redis cluster, bulk MGET calls suffered intermittent latency spikes because keys were distributed across many hash slots, forcing multiple network round‑trips; the issue can be mitigated by grouping keys with a common hash tag (though it reduces HA) or by issuing parallel slot‑wise MGETs with careful tuning, which preserves topology for larger batches.

ClusterMGETPerformance
0 likes · 8 min read
Performance Issues of Redis Cluster MGET and Optimization Strategies
ELab Team
ELab Team
Aug 19, 2021 · Frontend Development

Inside GMTC 2021 Mini‑Program Talks: Cross‑Platform Tricks & Performance Secrets

The article recounts four GMTC 2021 mini‑program talks, detailing Jingxi’s Taro‑based cross‑platform architecture, DCloud’s cloud‑integrated code generation, Didi’s Mpx framework for massive multi‑team projects, and Douyin’s custom rendering engine, while highlighting performance, build, and optimisation strategies.

Frameworkcross‑platformmini-program
0 likes · 38 min read
Inside GMTC 2021 Mini‑Program Talks: Cross‑Platform Tricks & Performance Secrets
Alibaba Terminal Technology
Alibaba Terminal Technology
Aug 16, 2021 · Frontend Development

Unlock Rendering Performance: From Hardware to Frontend Optimization

This article explores the essence of rendering performance optimization by examining hardware trade‑offs, rendering and computation perspectives, the critical rendering path, and practical strategies—including toolchains like Lighthouse and the Navigation Timing API—to systematically improve front‑end speed and efficiency.

Renderingbrowsercritical rendering path
0 likes · 27 min read
Unlock Rendering Performance: From Hardware to Frontend Optimization
Tencent Database Technology
Tencent Database Technology
Jul 29, 2021 · Databases

Performance Optimization of MongoDB for Million‑Scale Collections Using Shared Table Space Architecture

The Tencent CMongo team analyzed severe memory consumption, slow queries, and hour‑long startup caused by millions of MongoDB collections, identified bottlenecks in WiredTiger’s data‑handle management and schema‑lock handling, and introduced a shared‑table‑space architecture that reduces WT tables to a handful, achieving 1‑2 order‑of‑magnitude speedups and eliminating OOM failures.

MongoDBPerformanceShared Table Space
0 likes · 19 min read
Performance Optimization of MongoDB for Million‑Scale Collections Using Shared Table Space Architecture
Xianyu Technology
Xianyu Technology
Jul 29, 2021 · Mobile Development

How Xianyu Tackles Android ANR: Monitoring, Diagnosis, and Optimization Strategies

This article explains how Xianyu identifies, monitors, and resolves Android ANR issues by analyzing root causes, implementing SIGQUIT‑based detection, inspecting thread stacks, and applying concrete optimizations such as SharedPreferences replacement, network broadcast caching, and delayed component registration, ultimately cutting ANR rates by more than half.

ANRAndroidMobile Development
0 likes · 11 min read
How Xianyu Tackles Android ANR: Monitoring, Diagnosis, and Optimization Strategies
ByteDance Terminal Technology
ByteDance Terminal Technology
Jul 28, 2021 · Backend Development

Investigating a Clang -Oz Optimization Bug that Triggers Memory Bloat in a Video Component

The article describes how enabling the aggressive size‑optimisation flag -Oz in Clang caused a video component to create numerous GLFramebuffer and CVPixelBuffer objects, leading to OOM crashes, and explains the underlying ARC and Machine Outliner interactions that exposed a compiler bug which was later fixed in LLVM.

ClangLLVMmachine-outliner
0 likes · 11 min read
Investigating a Clang -Oz Optimization Bug that Triggers Memory Bloat in a Video Component
Liangxu Linux
Liangxu Linux
Jul 27, 2021 · Fundamentals

Finding the Poison Bottle with Minimum Rabbits: Binary Encoding Explained

This article explores how to identify a single poisonous bottle among 1,000 using the fewest rabbits and the shortest time by analyzing pure‑time, pure‑space, balanced strategies, and finally applying binary encoding to solve the classic interview puzzle in just one day.

Binaryalgorithminterview
0 likes · 5 min read
Finding the Poison Bottle with Minimum Rabbits: Binary Encoding Explained
Code Ape Tech Column
Code Ape Tech Column
Jul 16, 2021 · Databases

How to Recover Disk Space from MySQL Fragmentation: A Step‑by‑Step Guide

This article walks through diagnosing MySQL disk‑usage spikes caused by data fragmentation, explains why common cleanup commands may fail, and provides a detailed, repeatable procedure—including stopping the service, removing InnoDB files, and restoring the database—to finally free up the occupied space.

BackupDatabase MaintenanceMySQL
0 likes · 8 min read
How to Recover Disk Space from MySQL Fragmentation: A Step‑by‑Step Guide
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jul 7, 2021 · Frontend Development

Mastering Webpack: From Zero to Advanced Configuration for Faster Development

This comprehensive tutorial walks you through setting up a minimal Webpack project, adding Babel, configuring dev‑server with hot reload, optimizing source maps, splitting environments, handling CSS/LESS, extracting and minifying assets, managing static resources, and applying advanced performance tricks such as caching, code splitting, and multi‑threaded loaders.

Frontendbuilddev-server
0 likes · 24 min read
Mastering Webpack: From Zero to Advanced Configuration for Faster Development
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jun 30, 2021 · Frontend Development

Mastering Webpack Code Splitting: From Entry Points to Magic Comments

This article explains how to use Webpack's code splitting techniques—including multiple entry points, the SplitChunksPlugin, dynamic imports, and magic comments—to break large bundles into smaller chunks, reduce duplicate dependencies, and improve loading performance in modern frontend applications.

FrontendJavaScriptcode-splitting
0 likes · 13 min read
Mastering Webpack Code Splitting: From Entry Points to Magic Comments
Top Architect
Top Architect
Jun 30, 2021 · Databases

Analyzing and Optimizing MySQL Pagination Performance with Large Offsets

This article investigates why MySQL queries with large LIMIT offsets become extremely slow, demonstrates the issue with simulated millions‑of‑row datasets, and presents three optimization strategies—including index‑covering subqueries, remembering the last primary‑key position, and applying offset throttling—to achieve consistent, fast pagination performance.

MySQLPerformanceindexing
0 likes · 12 min read
Analyzing and Optimizing MySQL Pagination Performance with Large Offsets
JD Retail Technology
JD Retail Technology
Jun 28, 2021 · Frontend Development

Understanding Flutter Image Loading, Caching, and Memory Optimization

This article explains how Flutter loads and caches images, analyzes the underlying source code of key classes such as PaintingBinding, ImageCache, ImageProvider, and RenderImage, and provides practical techniques for reducing memory usage and preventing OOM in large Flutter applications.

FlutterImage Loadingcaching
0 likes · 13 min read
Understanding Flutter Image Loading, Caching, and Memory Optimization
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 28, 2021 · Databases

How to Check and Optimize MySQL Table Space Fragmentation

This article explains how to detect table‑space fragmentation in MySQL, demonstrates the performance impact of deleted rows, and provides step‑by‑step commands—including ALTER TABLE FORCE, OPTIMIZE TABLE, and mysqlcheck—to reclaim space and improve query speed.

Database MaintenanceMySQLfragmentation
0 likes · 8 min read
How to Check and Optimize MySQL Table Space Fragmentation
NiuNiu MaTe
NiuNiu MaTe
Jun 25, 2021 · Fundamentals

How to Identify a Poisoned Bottle with Minimal Rabbits Using Binary Logic

This article explores a classic puzzle where one must locate a single poisonous bottle among 1000 using rabbits as testers, comparing time‑focused, space‑focused, and balanced strategies before revealing an optimal binary‑encoding solution that finds the poison in one day with just ten rabbits.

Binaryalgorithmlogic
0 likes · 5 min read
How to Identify a Poisoned Bottle with Minimal Rabbits Using Binary Logic
Laravel Tech Community
Laravel Tech Community
Jun 24, 2021 · Backend Development

Performance‑Optimized Alternatives to Common PHP Functions

This article presents faster PHP 7.4 alternatives for typical array and string operations—removing duplicates, picking random elements, alphanumeric checks, and substring replacement—backed by benchmark results and additional coding tips for production performance.

ArrayPerformanceString
0 likes · 6 min read
Performance‑Optimized Alternatives to Common PHP Functions
Meituan Technology Team
Meituan Technology Team
Jun 17, 2021 · Artificial Intelligence

Intelligent Compute Allocation for Meituan Takeaway Advertising: Design, Implementation, and Experiments

The paper introduces an intelligent compute framework for Meituan Takeaway’s ad platform that dynamically allocates CPU/GPU resources to traffic based on quantified business value, using elastic queues, models, channels and links, optimizing tiers via offline λ search and online PID‑controlled decisions, achieving a 2.3 % revenue lift with unchanged resources and a 40 % resource cut while preserving revenue.

ad servingintelligent computeoptimization
0 likes · 18 min read
Intelligent Compute Allocation for Meituan Takeaway Advertising: Design, Implementation, and Experiments
Big Data Technology & Architecture
Big Data Technology & Architecture
Jun 17, 2021 · Big Data

Comprehensive Guide to Presto: Origins, Architecture, Optimization, and Real‑World Applications

This article provides an in‑depth overview of Presto, covering its history, core principles, architectural components, query optimization techniques, resource management, tuning tips, data model, and case studies from companies like Didi and Youzan, offering practical guidance for deploying and operating the distributed SQL engine at scale.

PrestoQuery EngineResource Management
0 likes · 33 min read
Comprehensive Guide to Presto: Origins, Architecture, Optimization, and Real‑World Applications
IT Xianyu
IT Xianyu
Jun 15, 2021 · Databases

How to Size Database Connection Pools: Insights from HikariCP Performance Tests

The article explains how to determine the optimal size of a database connection pool by analyzing performance tests, presenting a simple formula based on CPU cores and disk count, and demonstrating that a much smaller pool can dramatically improve response times for high‑concurrency workloads.

HikariCPPerformanceoptimization
0 likes · 11 min read
How to Size Database Connection Pools: Insights from HikariCP Performance Tests
Kuaishou Tech
Kuaishou Tech
Jun 8, 2021 · Mobile Development

Flutter Audio-Video Practice and Optimization in Kuaishou

This article details Kuaishou's Flutter audio-video implementation, optimization practices, and engineering support, covering video playback via external textures, data communication strategies, FFI integration, and performance tuning.

FFIFlutterKuaishou
0 likes · 17 min read
Flutter Audio-Video Practice and Optimization in Kuaishou
IT Architects Alliance
IT Architects Alliance
Jun 7, 2021 · Databases

Analyzing and Optimizing MySQL Pagination Performance with Large Offsets

The article examines a production MySQL query that suffers severe slowdown due to large LIMIT offsets, demonstrates how to reproduce the issue with massive test data, analyzes the root cause, and presents three optimization strategies—including index covering, keyset pagination, and offset limiting—to dramatically improve query performance.

MySQLPerformanceindexing
0 likes · 13 min read
Analyzing and Optimizing MySQL Pagination Performance with Large Offsets
Python Programming Learning Circle
Python Programming Learning Circle
Jun 7, 2021 · Fundamentals

6 Tips to Make Python Code Run Incredibly Faster

This article presents six practical techniques—including choosing optimal data structures, leveraging built‑in functions and libraries, employing multiple assignment, using list comprehensions, importing modules efficiently, and preferring join for string concatenation—to significantly improve Python code execution speed.

optimization
0 likes · 6 min read
6 Tips to Make Python Code Run Incredibly Faster
Big Data Technology & Architecture
Big Data Technology & Architecture
Jun 4, 2021 · Big Data

Comprehensive Spark Interview Questions and Answers

This article provides a detailed collection of Spark interview questions covering deployment modes, performance advantages over MapReduce, shuffle mechanisms, RDD characteristics, optimization techniques, resource management, and various practical aspects of Spark on YARN, Mesos, and Kubernetes.

RDDShuffleSpark
0 likes · 21 min read
Comprehensive Spark Interview Questions and Answers
ELab Team
ELab Team
Jun 3, 2021 · Frontend Development

How We Cut Course Editor Lag by 90%: Frontend Performance Hacks with Vue & React

This article details a front‑end team's systematic performance optimization of a large‑scale education editor, covering root‑cause analysis of list lag, memory leaks, iframe blocking, and animation stalls, and presenting practical solutions such as IntersectionObserver lazy loading, dynamic rendering, virtual lists, and progressive animation rendering to dramatically improve user experience.

Vuelazy-loadingmemory-leak
0 likes · 32 min read
How We Cut Course Editor Lag by 90%: Frontend Performance Hacks with Vue & React
IT Architects Alliance
IT Architects Alliance
May 30, 2021 · Big Data

NetEase Game Streaming ETL Architecture and Practices Based on Flink

This article presents NetEase Game's Flink‑based streaming ETL system, detailing business background, log classifications, specialized and generic ETL services, Python UDF integration, runtime optimizations, HDFS write tuning, SLA metrics, fault‑tolerance mechanisms, and future roadmap for unified data lakes and PyFlink support.

Big DataData IntegrationETL
0 likes · 19 min read
NetEase Game Streaming ETL Architecture and Practices Based on Flink
dbaplus Community
dbaplus Community
May 9, 2021 · Databases

Why MySQL Index Merge Triggers Deadlocks and How to Fix Them

This article examines a real‑world MySQL deadlock caused by the Index Merge optimizer, explains InnoDB's lock‑on‑index mechanism, walks through the deadlock logs, and presents four practical solutions including force‑index hints, disabling Index Merge, creating a composite index, and a two‑step update approach.

InnoDBMySQLPerformance
0 likes · 15 min read
Why MySQL Index Merge Triggers Deadlocks and How to Fix Them
Python Programming Learning Circle
Python Programming Learning Circle
May 7, 2021 · Fundamentals

Why Python Is Perceived as Slow and How to Make It Faster

The article explains that Python’s reputation for slowness stems more from algorithmic choices and costly import patterns than the language itself, and it offers practical measurements, tooling insights, and optimization suggestions to improve Python’s performance in real‑world projects.

BenchmarkingToolingimports
0 likes · 8 min read
Why Python Is Perceived as Slow and How to Make It Faster
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 6, 2021 · Databases

Understanding MySQL Query Execution Process and Architecture

This article explains MySQL’s internal architecture—including server and storage engine layers—and walks through each stage of query processing from connection and authentication, through query cache, parsing, optimization, and execution, illustrated with a concrete SELECT example.

Database ArchitectureMySQLQuery Execution
0 likes · 9 min read
Understanding MySQL Query Execution Process and Architecture
DataFunTalk
DataFunTalk
May 2, 2021 · Big Data

Continuous Optimization and Practice of Flink at Kuaishou

This article presents Kuaishou's comprehensive engineering practices for improving Flink's stability, task startup latency, and SQL performance, including high‑availability Kafka connectors, fault‑recovery mechanisms, I/O reductions, asynchronous job upgrades, aggregation optimizations, and future resource‑utilization plans.

Big DataFlinkKafka
0 likes · 10 min read
Continuous Optimization and Practice of Flink at Kuaishou
Open Source Linux
Open Source Linux
Apr 30, 2021 · Backend Development

How to Cut Nginx HTTPS Latency by 30% with TLS Tweaks

This article explains why optimizing Nginx HTTPS latency matters for instant search, describes how TLS handshakes add round‑trip delays, and provides step‑by‑step Nginx TLS configuration changes—such as enabling HTTP/2, adjusting ciphers, enabling OCSP stapling, tuning buffer sizes and session cache—that together reduced request latency by about 30% in a real‑world search service.

BackendHTTPSLatency
0 likes · 13 min read
How to Cut Nginx HTTPS Latency by 30% with TLS Tweaks
Programmer DD
Programmer DD
Apr 26, 2021 · Databases

Why MySQL Subqueries Slow Down and How to Optimize Them

This article explains why MySQL subqueries often cause performance bottlenecks, describes the underlying execution mechanism, and presents practical optimization strategies—including semi‑join, materialization, and EXISTS—plus a real‑world case study showing how to rewrite a slow query into a fast join.

MySQLPerformanceSubquery
0 likes · 7 min read
Why MySQL Subqueries Slow Down and How to Optimize Them
ByteFE
ByteFE
Apr 20, 2021 · Frontend Development

Implementing a Virtual Scrolling List in Ant Design Modal for Performance Optimization

This article explains how to replace a sluggish, long list inside an Ant Design Modal with a custom virtual scrolling component, covering fixed‑height and variable‑height implementations, buffer optimization, binary search for index lookup, and includes full React code examples.

Performanceantdlist rendering
0 likes · 14 min read
Implementing a Virtual Scrolling List in Ant Design Modal for Performance Optimization
Python Programming Learning Circle
Python Programming Learning Circle
Apr 16, 2021 · Backend Development

Optimizing a Slow Settings Page: Profiling, Threading, and MySQL Improvements in a Python Flask Backend

This article details how a Python Flask backend with a 36‑second settings page was diagnosed using Chrome Network and flame‑graph profiling, then optimized by redesigning UI interactions, eliminating per‑gid threading, and batching MySQL queries, ultimately reducing response time to 1.47 seconds.

BackendFlaskMySQL
0 likes · 8 min read
Optimizing a Slow Settings Page: Profiling, Threading, and MySQL Improvements in a Python Flask Backend
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 10, 2021 · Databases

Comprehensive MySQL Knowledge Points and Optimization Guide

This article provides a thorough overview of MySQL fundamentals—including schema design, storage engines, transaction mechanisms, logging, indexing, and performance tuning—along with practical SQL examples, code snippets, and optimization strategies for both hardware and database configuration.

MySQLPerformanceTransactions
0 likes · 34 min read
Comprehensive MySQL Knowledge Points and Optimization Guide
HelloTech
HelloTech
Apr 9, 2021 · Mobile Development

Optimizing First-Page Rendering Performance in the Hello Travel iOS App

By instrumenting the full launch chain, profiling startup tasks, and applying targeted fixes such as staged task scheduling, Lottie and image caching, and reducing heavy +load logic, the Hello Travel iOS app cut its first‑screen rendering time from over one second to under one second for 90 % of users, achieving roughly a 40 % performance gain.

CocoaServiceLottiePerformance
0 likes · 17 min read
Optimizing First-Page Rendering Performance in the Hello Travel iOS App
Liangxu Linux
Liangxu Linux
Apr 8, 2021 · Fundamentals

How Linux Jump Labels Eliminate Branches for Faster Kernel Execution

The article explains the Linux kernel jump‑label mechanism, showing how it removes conditional branches by patching code at runtime, detailing the static‑branch logic, the __jump_table section, and providing a step‑by‑step C example with assembly illustrations.

jump-labellow-leveloptimization
0 likes · 5 min read
How Linux Jump Labels Eliminate Branches for Faster Kernel Execution
ITPUB
ITPUB
Apr 8, 2021 · Fundamentals

Why Ordered Arrays Run 10× Faster: CPU Pipelines and Branch Prediction Explained

This article explains how the invention of assembly‑line manufacturing parallels modern CPU pipelines, why processing an ordered array can be nearly ten times faster than an unordered one, and shows a practical bit‑wise optimization to eliminate costly if‑statements for high‑performance code.

CPUPipelineassembly line
0 likes · 10 min read
Why Ordered Arrays Run 10× Faster: CPU Pipelines and Branch Prediction Explained
37 Mobile Game Tech Team
37 Mobile Game Tech Team
Apr 8, 2021 · Frontend Development

Boost Vue App Speed: Proven Frontend Optimization Techniques

This article walks through practical Vue performance enhancements—including basic web rendering tweaks, webpack configuration tricks, Vue‑specific code optimizations, and auxiliary measures like GZIP compression, HTTP caching, CDN usage, image handling, and lazy loading—to dramatically improve first‑screen load times and overall user experience.

FrontendVueoptimization
0 likes · 22 min read
Boost Vue App Speed: Proven Frontend Optimization Techniques
Youzan Coder
Youzan Coder
Apr 7, 2021 · Mobile Development

Design and Implementation of a Mobile App Performance Monitoring System

The article describes a two‑part mobile app performance monitoring system that automatically instruments code to capture method execution times, ANR and frame stalls, then processes, cleans, aggregates, and visualizes the data on a backend platform to generate alerts, trend reports, and guide optimization across versions.

APMdata-processingmobile app
0 likes · 11 min read
Design and Implementation of a Mobile App Performance Monitoring System
Architect
Architect
Apr 2, 2021 · Big Data

Spark Performance Optimization Guide: Development and Resource Tuning

This article provides a comprehensive guide to Spark performance optimization, covering development‑level tuning principles, resource configuration parameters, practical code examples, and best‑practice recommendations to achieve high‑throughput big‑data processing.

Big DataPerformanceRDD
0 likes · 33 min read
Spark Performance Optimization Guide: Development and Resource Tuning
Sohu Tech Products
Sohu Tech Products
Mar 31, 2021 · Frontend Development

Front‑End Performance Optimization: Loading‑Time and Runtime Techniques

This article explains why front‑end performance optimization is crucial for user retention and conversion, outlines loading‑time and runtime optimization categories, and provides practical techniques such as DNS prefetching, HTTP/2 adoption, resource compression, lazy loading, virtual lists, event delegation, and code‑level best practices with concrete code examples.

FrontendJavaScriptRuntime
0 likes · 24 min read
Front‑End Performance Optimization: Loading‑Time and Runtime Techniques
Liangxu Linux
Liangxu Linux
Mar 29, 2021 · Fundamentals

Discover Classic Source Code Masterpieces Every Developer Should Explore

This article showcases remarkable historical source code—from the Apollo 11 guidance computer and Quake III Arena's graphics tricks to the massive GNU compiler, Chromium's modular architecture, and the compact Gitk GUI—highlighting how developers achieved extraordinary efficiency and innovation with limited resources.

Game Developmentcompileroptimization
0 likes · 6 min read
Discover Classic Source Code Masterpieces Every Developer Should Explore
Open Source Linux
Open Source Linux
Mar 18, 2021 · Backend Development

How to Optimize Nginx for High Concurrency, Custom Errors, and Better Caching

This guide walks through customizing Nginx's 404 page, enabling the stub_status module to monitor server metrics, tuning worker processes and connection limits for higher concurrency, expanding client header buffers, and configuring static file caching to improve overall web performance.

Error HandlingPerformancecaching
0 likes · 8 min read
How to Optimize Nginx for High Concurrency, Custom Errors, and Better Caching
MaGe Linux Operations
MaGe Linux Operations
Mar 16, 2021 · Fundamentals

Top 8 Essential Python Tools Every Developer Should Know

This article introduces eight essential Python tools—including IDLE, scikit-learn, Theano, Selenium, TestComplete, Beautiful Soup, Pandas, and PuLP—highlighting their key features, typical use cases, and why they are valuable for developers across web development, data science, testing, and automation.

PythonWeb Automationlibraries
0 likes · 6 min read
Top 8 Essential Python Tools Every Developer Should Know
JD Cloud Developers
JD Cloud Developers
Mar 15, 2021 · Operations

Performance Testing Essentials: Metrics, Bottlenecks, and Real-World Optimizations

This article explains what performance testing is, introduces the four core system metrics—response time, throughput, resource utilization, and concurrency—illustrates their relationships, details how request latency is composed, and presents practical tuning techniques and real‑world case studies to improve system performance.

Load TestingPerformance Testingcase study
0 likes · 11 min read
Performance Testing Essentials: Metrics, Bottlenecks, and Real-World Optimizations
Baidu Geek Talk
Baidu Geek Talk
Mar 15, 2021 · Frontend Development

Progressive Front-End Rendering: Route Separation, Pre‑Static Generation, and WebView Pre‑Creation for H5 Performance Optimization

The article describes a progressive front‑end rendering strategy that replaces synchronous template rendering with route separation, build‑time pre‑static HTML generation, and WebView pre‑creation, using skeleton components to cut first‑paint time, lower TTFB and JavaScript delays, and improve H5 performance, scalability and maintenance.

FrontendH5Performance
0 likes · 12 min read
Progressive Front-End Rendering: Route Separation, Pre‑Static Generation, and WebView Pre‑Creation for H5 Performance Optimization
DataFunTalk
DataFunTalk
Mar 10, 2021 · Big Data

Hive MetaStore Challenges and Optimizations at Kuaishou

At Kuaishou, the Hive MetaStore service, which stores metadata for Hive, faced scalability and performance challenges due to massive dynamic partitions and high query volume, leading to a series of architectural optimizations—including read‑write separation, API enhancements, traffic control, and federation—to improve stability and efficiency.

Big DataKuaishouMetaStore
0 likes · 15 min read
Hive MetaStore Challenges and Optimizations at Kuaishou
Top Architect
Top Architect
Feb 26, 2021 · Databases

52 Practical SQL Query Performance Optimization Strategies

This article compiles fifty‑two actionable tips for improving SQL query performance, covering index creation, query rewriting, use of temporary tables, proper data types, server configuration, and best practices for MySQL and other relational databases.

Performanceindexesoptimization
0 likes · 18 min read
52 Practical SQL Query Performance Optimization Strategies
Alibaba Cloud Developer
Alibaba Cloud Developer
Feb 24, 2021 · Artificial Intelligence

How Alibaba’s ICBU Algorithm Team Transformed E‑Commerce in 2020

This article reviews the 2020 achievements of Alibaba.com’s ICBU algorithm team, explaining the evolving role of algorithm engineers, the fundamentals of e‑commerce algorithms, the team’s three‑pillar workflow of Understanding, Growth, and Matching, and the technical breakthroughs that drove business impact and future directions.

Alibabaalgorithme‑commerce
0 likes · 28 min read
How Alibaba’s ICBU Algorithm Team Transformed E‑Commerce in 2020