Tagged articles
5000 articles
Page 33 of 50
政采云技术
政采云技术
Sep 15, 2021 · Frontend Development

Using React Profiler for Performance Analysis and Optimization

This article explains how to install and use the React Profiler tool to identify performance bottlenecks in React applications, demonstrates analysis of render phases with example code, and discusses optimization techniques such as React.memo, PureComponent, shouldComponentUpdate, and hooks to reduce unnecessary re‑renders.

HooksPerformanceReact
0 likes · 12 min read
Using React Profiler for Performance Analysis and Optimization
IT Xianyu
IT Xianyu
Sep 15, 2021 · Databases

Database Types, Bottlenecks, Optimization Strategies and Scaling Techniques

This article explains the classification of relational and NoSQL databases, analyzes common performance bottlenecks such as query latency, large fields, and write overhead, and presents practical optimization methods including caching, proper indexing, transaction handling, read‑write separation, and sharding for large‑scale systems.

Performancecachingdatabases
0 likes · 17 min read
Database Types, Bottlenecks, Optimization Strategies and Scaling Techniques
MaGe Linux Operations
MaGe Linux Operations
Sep 10, 2021 · Backend Development

10 Common Go Mistakes That Kill Performance and How to Fix Them

This article lists ten typical Go programming pitfalls—from undefined enum values and misleading benchmarks to pointer misuse, slice initialization, error handling, context misuse, and goroutine closures—explaining why they hurt performance or correctness and offering concrete, idiomatic solutions.

Error HandlingGoPerformance
0 likes · 17 min read
10 Common Go Mistakes That Kill Performance and How to Fix Them
ELab Team
ELab Team
Sep 10, 2021 · Frontend Development

How Browser Rendering and React Fiber Work Together to Prevent Frame Drops

This article explains the fundamentals of browser rendering, frame lifecycle, and dropped‑frame issues, then demonstrates how React Fiber and the requestIdleCallback API can be used to split heavy tasks, improve concurrency, and keep UI interactions smooth.

Browser RenderingFiberPerformance
0 likes · 22 min read
How Browser Rendering and React Fiber Work Together to Prevent Frame Drops
Manbang Technology Team
Manbang Technology Team
Sep 10, 2021 · Mobile Development

Upgrading React Native from 0.51 to 0.62: Performance Gains, Migration Strategy, and Deployment Plan

This article details the full migration of a large‑scale mobile app from React Native 0.51 to 0.62, covering background, major improvements such as Hermes engine adoption, extensive performance testing, risk‑controlled batch rollout, API compatibility handling, tooling support, CI/CD integration, and post‑deployment verification.

CI/CDHermesPerformance
0 likes · 20 min read
Upgrading React Native from 0.51 to 0.62: Performance Gains, Migration Strategy, and Deployment Plan
Top Architect
Top Architect
Sep 10, 2021 · Databases

Optimizing MySQL LIMIT Queries by Reducing Unnecessary Row Scans

This article explains why using a large OFFSET with MySQL LIMIT can cause severe performance degradation, demonstrates the problem with a real‑world 9.5 million‑row table, and shows how rewriting the query with a sub‑query that selects only primary keys can cut execution time from seconds to milliseconds.

InnoDBLIMITMySQL
0 likes · 8 min read
Optimizing MySQL LIMIT Queries by Reducing Unnecessary Row Scans
Architecture Digest
Architecture Digest
Sep 8, 2021 · Databases

Why Optimize Slow SQL and Practical MySQL Performance Tuning Techniques

This article explains the impact of slow SQL on database resources and user experience, outlines priority rules for addressing slow queries, details MySQL execution steps, identifies key performance factors, and provides concrete optimization methods including enabling slow‑query logs, indexing, I/O merging, and distributed architecture.

Database OptimizationMySQLPerformance
0 likes · 17 min read
Why Optimize Slow SQL and Practical MySQL Performance Tuning Techniques
Open Source Linux
Open Source Linux
Sep 7, 2021 · Cloud Native

Why Run HAProxy in Docker? Benefits, Performance & Security Explained

This guide explains how and why to run HAProxy inside Docker containers, covering setup steps, performance impact, security considerations, and practical commands for creating networks, deploying web services, configuring HAProxy, and managing the container lifecycle.

ContainerizationHAProxyPerformance
0 likes · 12 min read
Why Run HAProxy in Docker? Benefits, Performance & Security Explained
Java Backend Technology
Java Backend Technology
Sep 5, 2021 · Fundamentals

What’s New in Java 17? A Deep Dive into Its Key Features

JDK 17, the upcoming long‑term support release, brings a suite of enhancements—including strict floating‑point semantics, deprecation of the Security Manager, switch pattern matching, sealed classes, a new vector API, and improved pseudo‑random generators—while also removing outdated RMI activation and experimental compilers.

JDK 17LTSPerformance
0 likes · 8 min read
What’s New in Java 17? A Deep Dive into Its Key Features
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
TAL Education Technology
TAL Education Technology
Sep 2, 2021 · Frontend Development

Understanding and Solving Memory Leaks in Vue Single‑Page Applications

This article explains what memory leaks are in JavaScript, how to detect them using Chrome's memory tools, enumerates common causes in Vue SPAs, and provides practical solutions and code examples—including event unbinding and keep‑alive refactoring—to effectively eliminate leaks and improve performance.

FrontendJavaScriptPerformance
0 likes · 7 min read
Understanding and Solving Memory Leaks in Vue Single‑Page Applications
Wukong Talks Architecture
Wukong Talks Architecture
Sep 2, 2021 · Databases

Step-by-Step Guide to Building and Benchmarking a Redis Master‑Slave Architecture

This article provides a comprehensive tutorial on setting up a one‑master‑one‑slave Redis replication environment, configuring read‑write separation, verifying data synchronization, testing read‑only behavior, and performing performance benchmarking with redis‑benchmark, complete with command examples and result analysis.

Performancebenchmarkcaching
0 likes · 9 min read
Step-by-Step Guide to Building and Benchmarking a Redis Master‑Slave Architecture
Ctrip Technology
Ctrip Technology
Sep 2, 2021 · Cloud Native

Migrating Ctrip Hotel Direct Connect Service to AWS: Cloud‑Native Architecture, Cost and Performance Optimizations

This article details Ctrip’s migration of its hotel direct‑connect service to AWS, describing the background challenges, cloud‑native architectural redesign with EKS, bandwidth and latency optimizations, use of spot instances, DNS caching, cross‑AZ traffic reduction, and the resulting performance and cost benefits.

AWSCost OptimizationEKS
0 likes · 15 min read
Migrating Ctrip Hotel Direct Connect Service to AWS: Cloud‑Native Architecture, Cost and Performance Optimizations
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Sep 2, 2021 · Databases

Why Time‑Series Databases Are the Backbone of IoT and Cloud‑Native Ops

The article explains how the explosive growth of IoT data makes high‑performance time‑series databases essential, describes Huawei Cloud's GaussDB for Influx architecture and compression breakthroughs, and shares the engineering challenges and real‑world benefits of building a cloud‑native TSDB for massive monitoring workloads.

GaussDBIoTPerformance
0 likes · 10 min read
Why Time‑Series Databases Are the Backbone of IoT and Cloud‑Native Ops
IT Architects Alliance
IT Architects Alliance
Aug 31, 2021 · Backend Development

Why Resource Isolation Matters: Thread, Process, and Cluster Strategies Explained

This article explores the importance of resource isolation in distributed systems, detailing thread, process, cluster, data‑center, read/write, static, and crawler isolation techniques, with practical code examples from Netty, Dubbo, and Tomcat, and discusses trade‑offs such as thread‑pool versus semaphore isolation.

Backend ArchitectureDistributed SystemsPerformance
0 likes · 13 min read
Why Resource Isolation Matters: Thread, Process, and Cluster Strategies Explained
IT Architects Alliance
IT Architects Alliance
Aug 31, 2021 · Databases

Why Graph Databases Matter: From Basics to Neo4j vs JanusGraph

The article explains the rapid rise of graph databases, outlines their core concepts and advantages, compares them with NoSQL and relational databases, presents performance benchmarks, and reviews leading solutions such as Neo4j and JanusGraph, including their data models and query language.

CypherGraph DatabaseJanusGraph
0 likes · 10 min read
Why Graph Databases Matter: From Basics to Neo4j vs JanusGraph
Amap Tech
Amap Tech
Aug 31, 2021 · Backend Development

Gaode's Go Application Migration: Architecture, Challenges, and Technical Practices

Gaode migrated its high‑traffic rendering gateway from Java to Go to halve machine usage, validate middleware stability, and prepare for cloud‑native transformation, overcoming correctness and availability challenges by creating a real‑time traffic‑comparison tool, sandbox stress tests, and a staged gray‑release, ultimately achieving about 50% cost reduction.

GoPerformancecloud-native
0 likes · 16 min read
Gaode's Go Application Migration: Architecture, Challenges, and Technical Practices
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
dbaplus Community
dbaplus Community
Aug 30, 2021 · Operations

How to Systematically Diagnose High RSS Memory Usage in Java Services

This article presents a step‑by‑step methodology for troubleshooting high RSS memory consumption in Java applications, covering heap size assessment, ARENA region analysis, native memory tracking, off‑heap memory checks, and automation tools to streamline the entire diagnostic process.

JVMNativeMemoryTrackingPerformance
0 likes · 15 min read
How to Systematically Diagnose High RSS Memory Usage in Java Services
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
DataFunTalk
DataFunTalk
Aug 28, 2021 · Databases

ClickHouse Projection: Concepts, Use Cases, Implementation and Production Benefits

This article presents an in‑depth overview of ClickHouse's Projection feature, covering its background, definition, storage and query mechanisms, practical use‑case demonstrations, performance comparisons with competing OLAP systems, and real‑world production results that highlight its advantages and limitations.

ClickHouseDataWarehouseMaterializedView
0 likes · 20 min read
ClickHouse Projection: Concepts, Use Cases, Implementation and Production Benefits
IT Architects Alliance
IT Architects Alliance
Aug 28, 2021 · Backend Development

Understanding Message Queues: Sync vs Async, Decoupling, Performance, and Reliability

This article explains the fundamentals of message queues, compares synchronous and asynchronous communication, discusses the benefits of sender‑receiver decoupling, outlines performance and reliability considerations, and provides practical guidance for designing robust distributed messaging architectures.

DecouplingMessage QueuePerformance
0 likes · 9 min read
Understanding Message Queues: Sync vs Async, Decoupling, Performance, and Reliability
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Aug 27, 2021 · Mobile Development

Analysis of Android ANR (Application Not Responding) Causes and Diagnosis

The article explains that Android ANR (Application Not Responding) arises when the UI thread is blocked beyond defined timeouts, classifies the various timeout types, details common root causes such as slow I/O, heavy computation, binder delays, deadlocks, CPU or memory pressure, and outlines a systematic log‑and‑systrace analysis process to pinpoint and resolve these issues.

ANRAndroidPerformance
0 likes · 8 min read
Analysis of Android ANR (Application Not Responding) Causes and Diagnosis
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
Tencent Cloud Developer
Tencent Cloud Developer
Aug 25, 2021 · Fundamentals

A Comprehensive Guide to JavaScript/TypeScript Decorators and Their Practical Use

The guide explains JavaScript/TypeScript decorators—an ECMAScript stage‑2 proposal used in frameworks like Angular, Nest.js, and TypeORM—by distinguishing the decorator pattern, function, and @syntax, demonstrating a four‑step manual implementation that logs execution time, and linking decorators to AOP, IoC, and DI concepts.

DecoratorIoCJavaScript
0 likes · 10 min read
A Comprehensive Guide to JavaScript/TypeScript Decorators and Their Practical Use
Java High-Performance Architecture
Java High-Performance Architecture
Aug 25, 2021 · Backend Development

13 Essential Java Coding Practices to Boost Performance and Cleanliness

This article presents a comprehensive guide to writing more standardized Java code, covering topics such as avoiding "1=1" in MyBatis, iterating Map entrySet, pre‑sizing collections, using StringBuilder, preferring Set for contains checks, proper static initialization, removing unused variables, shielding utility constructors, eliminating redundant exception handling, using String.valueOf, avoiding BigDecimal(double), returning empty collections instead of null, safe equals usage, immutable enum fields, and correctly escaping regex in String.split, each illustrated with clear code examples.

ExceptionsPerformancecoding standards
0 likes · 15 min read
13 Essential Java Coding Practices to Boost Performance and Cleanliness
Programmer DD
Programmer DD
Aug 25, 2021 · Databases

Understanding Redis Virtual Memory (VM): Mechanism, Config & Best Practices

This article explains Redis's virtual memory (VM) feature, how it swaps cold data to disk while keeping keys in memory, details configuration parameters, describes the two threading models for data swap-in/out, and highlights why Redis's custom VM implementation boosts performance.

CachePerformanceVirtual Memory
0 likes · 8 min read
Understanding Redis Virtual Memory (VM): Mechanism, Config & Best Practices
IT Architects Alliance
IT Architects Alliance
Aug 24, 2021 · Backend Development

Distributed ID Generation Schemes and the rpcxio/did Service

This article reviews common ID generation strategies—including UUID/GUID, auto‑increment integers, random numbers, short strings, Twitter's Snowflake, and MongoDB ObjectID—compares their advantages and drawbacks, and introduces the rpcxio/did distributed ID service with performance benchmarks.

ID generationPerformancesnowflake
0 likes · 12 min read
Distributed ID Generation Schemes and the rpcxio/did Service
IT Architects Alliance
IT Architects Alliance
Aug 23, 2021 · Backend Development

Choosing the Right Distributed Cache: Redis Cluster Deep Dive

This article examines the landscape of cache systems, compares four major categories, evaluates popular distributed caches such as Redis, Memcached, Tair and EvCache, explains Redis Cluster architectures and sharding strategies, and outlines common cache pitfalls with practical mitigation techniques.

BackendCache ClusterDistributed Cache
0 likes · 13 min read
Choosing the Right Distributed Cache: Redis Cluster Deep Dive
dbaplus Community
dbaplus Community
Aug 22, 2021 · Operations

Master Elasticsearch Performance: Memory, CPU, Shards, and Cluster Tuning

This guide presents practical best‑practice configurations for Elasticsearch clusters in production, covering JVM heap sizing, CPU thread‑pool tuning, optimal shard counts, replica strategies, hot‑warm node architecture, node role settings, common troubleshooting tips, cache handling, refresh intervals, and essential monitoring APIs.

ClusterElasticsearchMonitoring
0 likes · 14 min read
Master Elasticsearch Performance: Memory, CPU, Shards, and Cluster Tuning
Top Architect
Top Architect
Aug 22, 2021 · Databases

Why Using Stored Procedures for Simple Existence Checks Can Be Problematic

The article examines a real‑world scenario where a developer tried to reuse existing stored procedures to merely check the presence of Job, Certification, and Disclosure records, discusses the pitfalls of such an approach, and explains why storing this logic in T‑SQL is often fragile and hard to maintain.

PerformanceStored Procedurescode-reuse
0 likes · 6 min read
Why Using Stored Procedures for Simple Existence Checks Can Be Problematic
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
ByteDance Web Infra
ByteDance Web Infra
Aug 20, 2021 · Frontend Development

Next.js 11.1 Release: New Features, Rust‑Based Toolchain, and Performance Boosts

The Next.js 11.1 release introduces a security patch, experimental ES Modules support, a Rust‑based SWC toolchain, faster data fetching and builds, improved source maps, enhanced ESLint rules, and numerous next/image optimizations, all driven by contributions from SWC author DongYong Kang and Parcel contributor Maia Teegarden.

ESModulesImageOptimizationNext.js
0 likes · 14 min read
Next.js 11.1 Release: New Features, Rust‑Based Toolchain, and Performance Boosts
Tencent Music Tech Team
Tencent Music Tech Team
Aug 20, 2021 · Mobile Development

How to Slash Flutter App Memory Usage: Practical Image Optimization Strategies

This article details concrete techniques for reducing Flutter app memory consumption, focusing on image cache sizing, resource cropping, local caching, asset compression, cache thresholds, and page‑stack management, while providing step‑by‑step experiments, code snippets, and visual illustrations to guide developers.

FlutterMemory OptimizationMobile Development
0 likes · 9 min read
How to Slash Flutter App Memory Usage: Practical Image Optimization Strategies
macrozheng
macrozheng
Aug 20, 2021 · Databases

Beyond Caching: How Redis Can Serve as a Full‑Featured Database

Redis, traditionally seen as a high‑performance cache, also offers rich data structures, persistence options, and clustering modes that enable it to function as a primary database for many internet services, supporting use cases such as user profiles, counters, leaderboards, friend relationships, distributed locks, rate limiting, and more.

Performancecachingdatabase
0 likes · 19 min read
Beyond Caching: How Redis Can Serve as a Full‑Featured Database
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 19, 2021 · Databases

Understanding Redis 6.0 Multithreading Model and Configuration

The article explains Redis 6.0's new features—especially the multithreaded network I/O model—why earlier versions were single‑threaded, how the IO threads cooperate with the main thread, configuration steps, thread‑count recommendations, and the model's limitations and performance implications.

Performanceconfigurationdatabase
0 likes · 9 min read
Understanding Redis 6.0 Multithreading Model and Configuration
Sohu Tech Products
Sohu Tech Products
Aug 18, 2021 · Databases

Understanding Slow Queries, Index Optimization, and Search Solutions with MySQL, Elasticsearch, and HBase

This article explains why MySQL queries become slow, how proper indexing and index‑pushdown can improve performance, discusses common index‑failure causes, and then introduces Elasticsearch and HBase as complementary search and storage solutions for large‑scale data, including practical usage tips and architectural considerations.

ElasticsearchHBaseMySQL
0 likes · 18 min read
Understanding Slow Queries, Index Optimization, and Search Solutions with MySQL, Elasticsearch, and HBase
MaGe Linux Operations
MaGe Linux Operations
Aug 18, 2021 · Backend Development

What’s New in Go 1.17? Performance Boosts, ARM Support, and Unsafe Enhancements

Go 1.17, now officially released, brings roughly a 5% performance uplift, a 2% reduction in amd64 binary size, adds native Windows ARM64 support, introduces pruned module graphs to streamline dependencies, and expands unsafe package capabilities with slice‑to‑array pointer conversion, unsafe.Add, and unsafe.Slice.

ARM supportGo 1.17Performance
0 likes · 3 min read
What’s New in Go 1.17? Performance Boosts, ARM Support, and Unsafe Enhancements
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 18, 2021 · Databases

Anti‑Normalization in MySQL: Reducing Joins with Redundant Columns

The article explains the drawbacks of strict relational normalization, introduces the concept of anti‑normalization (controlled redundancy) to simplify queries, demonstrates it with a set of employee, department, salary tables and four typical query scenarios, and shows how denormalizing the schema can dramatically improve MySQL query performance.

Anti-NormalizationDatabase designDenormalization
0 likes · 11 min read
Anti‑Normalization in MySQL: Reducing Joins with Redundant Columns
Amap Tech
Amap Tech
Aug 18, 2021 · Frontend Development

Investigating and Preventing Memory Leaks in Web Pages Using Chrome DevTools

The article shows how to detect and stop memory leaks in web pages with Chrome DevTools—using heap snapshots, allocation‑instrumentation timelines, and the Performance panel—to expose leaks from globals, closures, detached DOM nodes, excess elements, or console logging, and offers practical coding guidelines to avoid them.

Chrome DevToolsPerformancememory leak
0 likes · 20 min read
Investigating and Preventing Memory Leaks in Web Pages Using Chrome DevTools
FunTester
FunTester
Aug 17, 2021 · Backend Development

Boost HTTP Client Performance with Java NIO and Async Callbacks

This article explains how Java NIO's non‑blocking I/O can accelerate HTTP interface testing by offloading response handling to separate threads, presents a simple request‑time model, and provides concrete async HttpClient code examples with logging and JSON parsing.

AsyncBackendHTTP
0 likes · 9 min read
Boost HTTP Client Performance with Java NIO and Async Callbacks
Efficient Ops
Efficient Ops
Aug 16, 2021 · Operations

Master Linux Server Monitoring: top, vmstat, pidstat, iostat, netstat & More

An in‑depth guide walks through essential Linux server monitoring tools—top, vmstat, pidstat, iostat, netstat, tcpdump and others—explaining each command’s output, key metrics, and how to interpret CPU, memory, disk and network statistics for effective troubleshooting and performance tuning.

LinuxLinux toolsPerformance
0 likes · 16 min read
Master Linux Server Monitoring: top, vmstat, pidstat, iostat, netstat & More
FunTester
FunTester
Aug 15, 2021 · Mobile Development

Mastering Android Testing: Architecture, ADB Commands, and a Complete Test Checklist

This guide provides a comprehensive overview of Android system architecture, explains the ADB communication mechanism, presents a detailed Android app testing checklist covering UI, compatibility, installation, OTA, interaction, concurrency, database, interface, performance, security, and other tests, and lists essential ADB commands and monitoring principles.

ADBAndroidMobile Development
0 likes · 14 min read
Mastering Android Testing: Architecture, ADB Commands, and a Complete Test Checklist
Aotu Lab
Aotu Lab
Aug 12, 2021 · Frontend Development

How to Optimize glTF/.glb Files for Faster 3D Loading in Web Projects

This article explains the glTF format, compares .gltf and .glb, shows how to split and compress glTF assets using tools like gltf‑pipeline, Draco, mesh quantization and meshopt, and presents performance tests across various devices to guide efficient 3D model delivery in web applications.

3D OptimizationPerformanceThree.js
0 likes · 14 min read
How to Optimize glTF/.glb Files for Faster 3D Loading in Web Projects
Python Programming Learning Circle
Python Programming Learning Circle
Aug 11, 2021 · Databases

Generating One Billion SQLite Rows in Under a Minute: Python, PyPy, and Rust Performance Comparison

A programmer needed to create a billion‑row SQLite test database within a minute, found a naïve Python script unbearably slow, applied batch inserts and SQLite PRAGMA tweaks, then compared CPython, PyPy, and Rust implementations, ultimately achieving sub‑minute runtimes with Rust and highlighting best‑practice optimizations.

BenchmarkingPerformancePyPy
0 likes · 6 min read
Generating One Billion SQLite Rows in Under a Minute: Python, PyPy, and Rust Performance Comparison
HelloTech
HelloTech
Aug 11, 2021 · Backend Development

Root Cause Analysis and Optimization of Long Young GC Times in gRPC/Netty Services

Long Young GC pauses in gRPC/Netty services were traced to Netty’s default thread‑local cache creating many MpscArrayQueue objects, and disabling the cache with the JVM options ‑Dio.netty.allocator.useCacheForAllThreads=false and ‑Dio.grpc.netty.shaded.io.netty.allocator.useCacheForAllThreads=false reduced GC time from up to 900 ms to about 100 ms, stabilizing the service.

GC optimizationNettyPerformance
0 likes · 6 min read
Root Cause Analysis and Optimization of Long Young GC Times in gRPC/Netty Services
Open Source Linux
Open Source Linux
Aug 10, 2021 · Backend Development

40 Essential Java Code Optimization Tips for Faster, Safer Applications

This article explains why code optimization is crucial for preventing unexpected runtime errors, outlines the main goals of reducing code size and improving execution efficiency, and provides a comprehensive list of practical Java optimization techniques—from using final modifiers and reusing objects to proper resource handling and avoiding common pitfalls—complete with code examples and performance explanations.

Code OptimizationJVMPerformance
0 likes · 29 min read
40 Essential Java Code Optimization Tips for Faster, Safer Applications
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Aug 9, 2021 · Frontend Development

How We Cut H5 Page Load Time by 50%: A Deep Dive into Performance Optimization

This article details the systematic performance optimization of Penguin Tutor's H5 core pages, covering metric collection, analysis methods, environment setup, and concrete practices such as network tuning, code splitting, lazy loading, resource hints, and server‑side improvements that reduced total bundle size by 50% and cut onload time from over 6 seconds to around 1.2 seconds.

FrontendH5Performance
0 likes · 22 min read
How We Cut H5 Page Load Time by 50%: A Deep Dive into Performance Optimization
Tencent Cloud Developer
Tencent Cloud Developer
Aug 9, 2021 · Fundamentals

Performance Evaluation and Implementation Overview of C++ Exceptions

Benchmarking C++ exceptions against error‑code handling reveals that frequent throws incur more than tenfold slowdown due to libc++ runtime functions like __cxa_allocate_exception and stack unwinding, while rare exceptions and empty try blocks add negligible overhead, highlighting the trade‑off between safety and performance.

AssemblyC++Exception
0 likes · 13 min read
Performance Evaluation and Implementation Overview of C++ Exceptions
Python Programming Learning Circle
Python Programming Learning Circle
Aug 9, 2021 · Backend Development

How to Choose the Fastest JSON Library for Python: A Practical Benchmarking Guide

This article explains a systematic process for evaluating and selecting the most suitable high‑performance JSON library for Python, covering the need assessment, benchmark definition, filtering by additional requirements, and detailed benchmark results that highlight orjson as the fastest option for small‑message encoding while discussing trade‑offs such as safety, customizability, and ecosystem support.

BenchmarkingJSONPerformance
0 likes · 5 min read
How to Choose the Fastest JSON Library for Python: A Practical Benchmarking Guide
Selected Java Interview Questions
Selected Java Interview Questions
Aug 8, 2021 · Backend Development

Understanding Java NIO Buffers: Creation, Core Properties, and Operations

This article explains Java NIO buffers, covering how to create them with allocate() and allocateDirect(), describing their four core properties (position, limit, capacity, mark), and detailing essential methods such as put(), get(), flip(), rewind(), clear(), mark(), reset(), hasRemaining() and remaining() with code examples.

BackendByteBufferPerformance
0 likes · 12 min read
Understanding Java NIO Buffers: Creation, Core Properties, and Operations
Wukong Talks Architecture
Wukong Talks Architecture
Aug 6, 2021 · Databases

Redis Operational Best Practices and Guidelines

This guide presents a comprehensive set of mandatory, reference, and recommended Redis usage standards—including command restrictions, key naming, data sizing, persistence configurations, monitoring, and deployment strategies—to improve performance, reliability, and operational efficiency for production environments.

OperationsPerformancePersistence
0 likes · 9 min read
Redis Operational Best Practices and Guidelines
Java Architect Essentials
Java Architect Essentials
Aug 5, 2021 · Backend Development

Various Methods for Measuring Code Execution Time in Java

This article introduces four practical approaches for measuring code execution time in Java—including simple time‑difference calculation, StopWatch‑style utilities, functional interfaces with Supplier/IntConsumer, and AutoCloseable‑based tracing—providing code examples, usage patterns, and enhancements such as chainable start methods.

PerformanceStopwatchautocloseable
0 likes · 10 min read
Various Methods for Measuring Code Execution Time in Java
DataFunTalk
DataFunTalk
Aug 5, 2021 · Big Data

Building a Unified High‑Performance OLAP Platform with DorisDB at Beike Real Estate

The article describes how Beike Real Estate consolidated multiple OLAP engines into a single DorisDB‑based platform, detailing the business challenges, DorisDB’s technical advantages, extensive performance and concurrency benchmarks, and the resulting improvements in stability, query speed, and operational simplicity across various business scenarios.

AnalyticsBig DataDorisDB
0 likes · 14 min read
Building a Unified High‑Performance OLAP Platform with DorisDB at Beike Real Estate
ByteFE
ByteFE
Aug 5, 2021 · Frontend Development

Performance Thinking in Front‑End Applications: A ReactJS Perspective

The article discusses how to approach performance for entire front‑end applications—especially ReactJS—by considering real‑world data flow, state management, caching strategies, and the limitations of benchmark‑driven choices, while offering practical references and future topics.

Data FlowFrontendPerformance
0 likes · 5 min read
Performance Thinking in Front‑End Applications: A ReactJS Perspective
Ctrip Technology
Ctrip Technology
Aug 5, 2021 · Frontend Development

Understanding React Server Components: Concepts, Usage, and Implementation

This article explains the motivation, component types, naming conventions, runtime mechanism, streaming protocol, design goals, and practical considerations of React Server Components, illustrating how they reduce client bundle size and enable progressive server‑side rendering with code examples.

Code SplittingPerformanceReact
0 likes · 15 min read
Understanding React Server Components: Concepts, Usage, and Implementation
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Aug 5, 2021 · Mobile Development

Design and Implementation of a Lightweight Startup Information Collection and Visualization Framework

This article presents a lightweight framework for constructing, collecting, and visualizing Android startup task information, replacing heavy systrace data with concise logs, Kotlin data structures, AspectJ instrumentation, and Python scripts that generate readable timelines and discrete charts to aid performance analysis.

AndroidPerformanceProfiling
0 likes · 10 min read
Design and Implementation of a Lightweight Startup Information Collection and Visualization Framework
ByteFE
ByteFE
Aug 3, 2021 · Frontend Development

Effective Debugging Techniques with Chrome DevTools

This article presents a collection of practical Chrome DevTools debugging techniques—including various breakpoint types, logpoints, performance profiling, event tracing, setTimeout tricks, SSR inspection, and a binary-search style approach—to help frontend developers locate and resolve bugs more efficiently.

Chrome DevToolsFrontendPerformance
0 likes · 7 min read
Effective Debugging Techniques with Chrome DevTools
Top Architect
Top Architect
Aug 3, 2021 · Backend Development

Java Serialization vs Binary Encoding: Size and Performance Comparison

The article examines Java's built‑in Serializable interface, highlights its cross‑language incompatibility, large payload size, and low efficiency, then presents benchmark code comparing it with a custom binary encoding, showing significant reductions in data size and processing time, and recommends modern frameworks such as Protobuf or Thrift.

PerformanceProtobufThrift
0 likes · 6 min read
Java Serialization vs Binary Encoding: Size and Performance Comparison
Code Ape Tech Column
Code Ape Tech Column
Aug 3, 2021 · Backend Development

Why Does Java Leak Memory? Deep Dive into Causes and Prevention

This article explains what memory leaks are in Java, compares them with C++ leaks, describes the garbage collection mechanism, lists common leak sources such as static collections, listeners, and singletons, and provides practical guidelines and tools to detect and prevent them.

Garbage CollectionPerformancebest practices
0 likes · 18 min read
Why Does Java Leak Memory? Deep Dive into Causes and Prevention
Java High-Performance Architecture
Java High-Performance Architecture
Aug 3, 2021 · Frontend Development

Which JavaScript Loop Wins? A Speed and Use‑Case Battle of for, forEach, map, for…in and for…of

This article compares five JavaScript iteration constructs—classic for, forEach, map, for...in and for...of—explaining their origins, semantics, performance characteristics, and appropriate use‑cases, while providing concrete code examples and guidance on breaking, continuing, and avoiding common pitfalls.

JavaScriptMAPPerformance
0 likes · 12 min read
Which JavaScript Loop Wins? A Speed and Use‑Case Battle of for, forEach, map, for…in and for…of
DeWu Technology
DeWu Technology
Aug 1, 2021 · Backend Development

Understanding Service Jitter and JVM JIT Compilation

The article explains how intermittent latency spikes (jitter) in a high‑throughput service can be triggered when the JVM’s Just‑In‑Time compiler activates, detailing interpreter vs. JIT, C1/C2 tiered compilation, hot‑spot detection thresholds and compilation stages, and recommends pre‑warming code, disabling tiered compilation, or tuning thresholds and JVM flags to eliminate jitter.

BackendHotSpotJIT
0 likes · 12 min read
Understanding Service Jitter and JVM JIT Compilation
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 30, 2021 · Databases

Migrating from MariaDB 10.3 to MySQL 5.7.25: Common Issues and Solutions

This article details the practical challenges encountered when migrating a MariaDB 10.3 database to MySQL 5.7.25, explains why certain defaults and engine-specific options cause import errors, and provides step‑by‑step fixes such as adjusting default expressions, removing Aria‑specific parameters, and configuring sql_mode.

CompatibilityMariaDBMySQL
0 likes · 5 min read
Migrating from MariaDB 10.3 to MySQL 5.7.25: Common Issues and Solutions
FunTester
FunTester
Jul 30, 2021 · Operations

Distributed QPS Amplifier Design in DCS_FunTester Framework

The article describes the concept, architecture, and Java implementation of a distributed request amplifier in the DCS_FunTester framework that multiplies local QPS to achieve high‑throughput performance testing without affecting the tested service's load.

Load TestingPerformancedistributed system
0 likes · 6 min read
Distributed QPS Amplifier Design in DCS_FunTester Framework
360 Tech Engineering
360 Tech Engineering
Jul 29, 2021 · Backend Development

Understanding HTTP/2: History, Features, and Protocol Mechanics

HTTP/2, now widely supported by browsers and major sites, replaces HTTP/1.1 by introducing a binary framing layer, header compression, stream prioritization, server push, and flow control, addressing head-of-line blocking and inefficiencies while maintaining HTTP semantics, with detailed discussion of its evolution, structure, and deployment considerations.

HTTP/2Header CompressionPerformance
0 likes · 22 min read
Understanding HTTP/2: History, Features, and Protocol Mechanics
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
vivo Internet Technology
vivo Internet Technology
Jul 28, 2021 · Backend Development

Using Groovy as a Script Engine in Java Projects: Integration, Performance Optimization, and Security

By adopting Groovy as a JSR‑223 script engine, the Vivo Internet Server team streamlined dynamic query and rule processing in their Java content platform, demonstrating integration via ScriptEngineManager, GroovyShell, and GroovyClassLoader, while optimizing performance through caching and static typing and enforcing security with SecureASTCustomizer and isolated execution.

Dynamic ScriptingGroovyPerformance
0 likes · 17 min read
Using Groovy as a Script Engine in Java Projects: Integration, Performance Optimization, and Security
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 28, 2021 · Operations

Common Open‑Source Tools for MySQL Operations and Maintenance

This article introduces a curated list of open‑source MySQL operational tools—including online DDL changers, backup and restore utilities, load‑testing frameworks, flashback solutions, slow‑query analyzers, replication consistency checkers, audit platforms, and graphical clients—explaining their principles, usage scenarios, and visual references.

BackupMonitoringMySQL
0 likes · 8 min read
Common Open‑Source Tools for MySQL Operations and Maintenance
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Jul 28, 2021 · Frontend Development

Advanced Techniques and Best Practices for Using styled-components in React

This article shares practical tips, patterns, and mental models for mastering styled-components in React, covering CSS variables, context styling, component encapsulation, inheritance, margin handling, z-index management, the "as" prop, priority tricks, and related tooling to write cleaner, more maintainable UI code.

CSS VariablesComponent StylingPerformance
0 likes · 19 min read
Advanced Techniques and Best Practices for Using styled-components in React
Programmer DD
Programmer DD
Jul 27, 2021 · Databases

How Facebook Overcame the Challenges of Migrating to MySQL 8.0

Facebook’s engineering team detailed a multi‑year, complex migration from MySQL 5.6 to 8.0, highlighting custom‑feature porting, replication compatibility, query changes, performance regressions, and documentation gaps, and explaining how they finally achieved a successful upgrade.

Custom FeaturesFacebookMySQL 8.0
0 likes · 5 min read
How Facebook Overcame the Challenges of Migrating to MySQL 8.0
IT Architects Alliance
IT Architects Alliance
Jul 26, 2021 · Databases

How to Diagnose and Fix Database IO/CPU Bottlenecks with Sharding

The article explains how IO and CPU bottlenecks increase active database connections, then details horizontal and vertical sharding techniques, practical tools, step‑by‑step implementation, and common pitfalls to help engineers relieve pressure on database resources.

CPU BottleneckHorizontal PartitionIO Bottleneck
0 likes · 10 min read
How to Diagnose and Fix Database IO/CPU Bottlenecks with Sharding