Tagged articles
performance-optimization
26 articles · Page 1 of 1
This article walks through the architectural bottlenecks of scaling Dify AI applications, explains how Alibaba Cloud Serverless Application Engine (SAE) and Log Service (SLS) jointly provide a fully managed, elastic compute base and storage‑separated logging layer, and offers step‑by‑step deployment, performance‑tuning, and analytics guidance for achieving up to 500 QPS with low cost.
Log ServiceSAEai-infrastructure
0 likes · 19 min read

In a JD senior Java architect interview, a Kafka consumer‑group rebalance storm caused QPS to drop from 120k to zero, triggering massive message loss and latency spikes, and the article walks through the rebalance fundamentals, failure causes, impact analysis, cooperative sticky assignor migration, and comprehensive monitoring and mitigation strategies.
Consumer GroupKafkaRebalance
0 likes · 28 min read

This guide walks you through advanced integration of AgentRun Browser Sandbox with BrowserUse, covering architecture, dependency setup, environment configuration, multi‑step task orchestration, VNC monitoring, sandbox lifecycle management patterns, security hardening, observability, cost‑optimization strategies, and production deployment with health checks and troubleshooting tips.
ai-agentbrowser automationcloud-native
0 likes · 26 min read


ITPUBSep 3, 2025 · Backend Development
This case study details how a high‑traffic Kafka logging cluster was optimized by analyzing low compression ratios, tuning Filebeat parameters, adjusting memory queues and round‑robin settings, and validating the changes through gray‑scale tests, resulting in up to 35% higher throughput and significant resource savings.
CompressionKafkafilebeat
0 likes · 10 min read

After migrating thousands of Java cores to Rust, the team used jemalloc and pprof profiling to pinpoint why a few services only improved 10%, refactored the OSS client for reuse, and achieved up to 20% CPU reduction and significant memory savings, demonstrating the power of deep performance analysis in production Rust services.
Rustasyncjemalloc
0 likes · 14 min read

Learn how hidden memory leaks, inefficient data structures, and poor import practices can slow Python scripts, and apply practical techniques—such as using weakref, generators, __slots__, lazy imports, and profiling tools—to dramatically reduce memory usage and speed up execution.
best-practicesmemory-managementperformance-optimization
0 likes · 11 min read

This article examines the rapid adoption of cloud‑native architectures and presents a comprehensive guide to identifying performance bottlenecks and applying architectural, resource‑management, caching, networking, and tooling techniques—such as Kubernetes, Prometheus, Grafana, and JMeter—to achieve high‑performance, scalable cloud‑native systems.
Cachingcloud-nativemonitoring
0 likes · 22 min read

This article presents a comprehensive collection of Python coding principles, conventions, library usage tips, internal mechanisms, tooling recommendations, and performance‑optimization strategies to help developers write clean, efficient, and maintainable Python code.
best-practicescoding standardsperformance-optimization
0 likes · 11 min read

This article details how ICBU's core communication pages were accelerated by applying HTTP chunked transfer, streaming HTML rendering, Nginx tweaks, ThreadLocal handling, and caching strategies, resulting in FCP dropping from 2.6 s to 1.9 s and LCP from 2.8 s to 2 s.
BackendCachingNginx
0 likes · 15 min read

This article details Qunar's systematic approach to reducing service complexity and code volume by half, covering background challenges, two‑phase planning, criteria for merging or deleting services, tooling such as Serviceability Agent for method‑level analysis, automated and semi‑automated deletion workflows, verification steps, and the measurable performance gains achieved.
BackendJVMServiceabilityAgent
0 likes · 23 min read

The QQ image storage platform was fully migrated from VM‑based servers to Tencent Cloud’s Kubernetes Engine, consolidating services into containers, adding health checks, anti‑affinity, and autoscaling, which cut costs by 26%, reduced ops effort 30%, and improved scalability and reliability.
AVIFHPAKubernetes
0 likes · 15 min read

This article explains how the Promise time‑control system replaces a naïve exponential rule‑matching approach with a column‑wise inverted index and bitmap bitwise operations, reducing computational complexity from 2ⁿ to n while also addressing space efficiency through RoaringBitmap compression.
BackendBitmapinverted index
0 likes · 9 min read

This article explains how Spark can be effectively deployed on Kubernetes, covering its advantages over traditional Hadoop clusters, the principles of Spark on K8s, dynamic allocation, reuse PVC enhancements, scheduling optimizations, and real‑world performance results from Eggplant Technology's production use.
Schedulingbig dataperformance-optimization
0 likes · 21 min read

Discover a comprehensive set of practical techniques—including batch processing, asynchronous handling, caching, pre‑processing, pooling, parallel execution, indexing, transaction optimization, code refactoring, pagination, and lock granularity—to dramatically reduce API latency and improve backend efficiency, illustrated with Java code examples and diagrams.
Backendperformance-optimization
0 likes · 11 min read

Shopee’s off‑platform ads delay service combines Redis Zsets for expiration tracking, HBase for payload storage, and Kafka for queuing to reliably process up to 6 million tasks per minute with minute‑level delays ranging from one minute to thirty days, achieving horizontal scalability, fault tolerance, and a 75 % reduction in Kubernetes resource usage.
Kafkaarchitecturedelay-service
0 likes · 17 min read

The Baidu Aifanfan lead list page evolved through six versions—from rapid MySQL‑based delivery to a metadata‑driven, ES‑backed architecture with Redis synchronization—culminating in a high‑availability, high‑performance system that slashed server latency from 25 seconds to under one second and cut frontend load times and static asset sizes dramatically.
APM monitoringDatabase MigrationFrontend Optimization
0 likes · 21 min read

The T7 browser kernel’s ResourceScheduler lets developers assign importance=high to IMG tags and CSS background images (as well as JS and link resources), adjusting sub‑resource loading priority so critical images load faster on the first screen, especially when many concurrent requests compete for the same domain.
ChromiumT7-kernelbrowser-kernel
0 likes · 9 min read

Baidu's T7 browser kernel introduces a ResourceScheduler tuning mechanism that lets front‑end developers set image loading priority via an importance attribute or CSS property, enabling high‑priority above‑fold images to load faster while low‑priority resources are throttled under heavy domain request competition.
ChromiumT7-kernelbrowser-kernel
0 likes · 9 min read

This article details Youku’s first “Free Viewpoint” technology optimization, explaining its underlying principles, client architecture, performance‑boosting strategies such as smart bitrate, multi‑channel downloading, pre‑caching, and the resulting improvements in playback smoothness and device coverage.
AlgorithmMobile Streamingfree-viewpoint
0 likes · 9 min read

The case study walks through debugging a Go production service that regularly spiked to over 6 GB of resident memory, revealing that unbuffered channel leaks, mis‑configured HTTP client timeouts, and ultimately a cgo‑based image‑processing library spawning unmanaged threads caused the leaks, and outlines a systematic troubleshooting workflow.
Memory Leakcgodebugging
0 likes · 12 min read

An overview of Baidu's Smart Mini‑Program framework evolution describes its dual‑stack SWAN architecture, open‑host extensions, and native‑web integration, while the second part details performance‑boosting practices such as sub‑packaging, resource compression, early data fetching, and efficient setData usage to approach native app startup speeds.
Baidu-SWANframework-architecturefront-end development
0 likes · 16 min read

This article presents a comprehensive Java architecture roadmap for developers with two to five years of experience, covering design patterns, engineering tools, distributed systems, micro‑services, performance tuning, low‑level fundamentals, and practical project experience while advising against side‑project distractions.
DevOpsarchitecturedistributed-systems
0 likes · 6 min read

Ant Financial’s Kubernetes team built one of the world’s largest clusters—hundreds of thousands of nodes—by applying cloud‑native operators, GitOps, and extensive performance optimizations to achieve rapid, automated, and reliable large‑scale workloads during the 2019 Tmall 618 promotion.
GitOpsOperatorcloud-native
0 likes · 16 min read

This article introduces Electron, explains its architecture, development workflow, performance and security considerations, and demonstrates its practical use in the NFES DevTools platform, providing guidance for developers who want to build cross‑platform desktop applications with web technologies.
DevToolsElectronIPC
0 likes · 13 min read

This article details the preparation of the development environment, choice of Go and gopacket, MongoDB integration, the multi‑threaded architecture for real‑time packet capture, and a series of performance optimizations addressing slow logs, packet loss, and CPU usage.
BackendConcurrencyGo
0 likes · 6 min read

This article details the architecture, chunked upload strategy, event handling, Redis caching, database sharding, and performance optimizations of a cloud‑based video surveillance storage system that evolved through versions 2.0, 3.0, and 4.0 to handle high‑concurrency alarm video uploads.
AWS S3architecturecloud storage
0 likes · 17 min read
