Tag

backend performance

0 views collected around this technical thread.

Selected Java Interview Questions
Selected Java Interview Questions
Jun 12, 2025 · Backend Development

Why Cloudflare Replaced Nginx with Pingora: Inside Its High‑Performance Rust Proxy

Cloudflare built Pingora, a Rust‑based HTTP proxy that processes over a trillion daily requests, to overcome Nginx's architectural limits, achieve higher performance, lower resource usage, and add features unavailable in the legacy stack.

CloudflareHTTP proxyPingora
0 likes · 13 min read
Why Cloudflare Replaced Nginx with Pingora: Inside Its High‑Performance Rust Proxy
37 Interactive Technology Team
37 Interactive Technology Team
Jun 6, 2025 · Backend Development

Why Your Golang Service Misses System DNS Cache and How to Fix It

This article explains why a Golang service running on AWS EC2 failed to use the system‑level DNS cache provided by nscd, causing excessive DNS queries that triggered request timeouts, and describes the investigation and optimization steps that resolved the issue.

AWSDNSbackend performance
0 likes · 6 min read
Why Your Golang Service Misses System DNS Cache and How to Fix It
macrozheng
macrozheng
May 27, 2025 · Backend Development

Scaling Username Uniqueness: DB, Redis Cache & Bloom Filter

This article examines three strategies for checking username uniqueness at massive scale—direct database queries, Redis caching, and Bloom filter techniques—detailing their implementations, performance trade‑offs, memory consumption, and suitability for billions of users.

Bloom FilterCachingRedis
0 likes · 11 min read
Scaling Username Uniqueness: DB, Redis Cache & Bloom Filter
macrozheng
macrozheng
Apr 29, 2025 · Backend Development

How to Tame a 100× Traffic Surge: Practical Strategies for Backend Engineers

This guide walks backend developers through a step‑by‑step approach to handle sudden 100‑fold traffic spikes, covering emergency response, traffic analysis, robust system design, scaling techniques, circuit breaking, message queuing, and stress testing to keep services resilient and performant.

MicroservicesScalingbackend performance
0 likes · 12 min read
How to Tame a 100× Traffic Surge: Practical Strategies for Backend Engineers
Java Captain
Java Captain
Apr 4, 2025 · Backend Development

High Concurrency: Principles, Impacts, and Practical Solutions for Backend Systems

This comprehensive guide explains the nature of high concurrency, distinguishes it from parallelism, outlines its potential consequences across application, database, and service layers, and presents a systematic set of mitigation strategies—including rate limiting, asynchronous processing, redundancy, caching, and queue‑based designs—supported by real‑world case studies and code examples.

CachingDatabase OptimizationHigh Concurrency
0 likes · 27 min read
High Concurrency: Principles, Impacts, and Practical Solutions for Backend Systems
macrozheng
macrozheng
Mar 28, 2025 · Backend Development

Boost API Performance: 12 Proven Backend Optimization Techniques

This article presents a comprehensive set of backend optimization strategies—including batch processing, asynchronous execution, caching, pre‑processing, pooling, parallelism, indexing, transaction management, program refactoring, pagination, SQL tuning, and fine‑grained locking—to dramatically reduce API latency and improve system efficiency.

API optimizationCachingSQL indexing
0 likes · 10 min read
Boost API Performance: 12 Proven Backend Optimization Techniques
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Dec 10, 2024 · Backend Development

Understanding High Concurrency in Nginx: Configuration Tips and Best Practices

This article explains what constitutes high concurrency for Nginx, outlines the hardware and software factors that affect its performance, and provides concrete configuration examples such as worker_processes, worker_connections, and other tuning directives to help achieve stable high‑traffic handling.

High ConcurrencyNginxWeb Server
0 likes · 4 min read
Understanding High Concurrency in Nginx: Configuration Tips and Best Practices
Selected Java Interview Questions
Selected Java Interview Questions
Sep 6, 2024 · Backend Development

Understanding TLS Handshake Overhead and Bandwidth Impact in High‑Concurrency Services

The article explains how TLS handshakes significantly increase request size and upstream bandwidth consumption in high‑concurrency services, demonstrates the bandwidth calculations, and proposes using plain HTTP or Keep‑Alive connections to reduce overhead and server load.

BandwidthHTTPHTTPS
0 likes · 4 min read
Understanding TLS Handshake Overhead and Bandwidth Impact in High‑Concurrency Services
IT Services Circle
IT Services Circle
Jan 16, 2024 · Backend Development

Cache Prewarming Techniques and Implementation in Spring Boot and Redis

This article explains cache prewarming—its purpose, benefits, and various strategies such as startup loading, scheduled tasks, manual triggers, and cache loaders—while providing concrete Spring Boot and Redis examples, including code snippets for ApplicationReadyEvent, CommandLineRunner, InitializingBean, @PostConstruct, @Scheduled, and Caffeine cache loader.

CacheRedisSpring Boot
0 likes · 9 min read
Cache Prewarming Techniques and Implementation in Spring Boot and Redis
Architect's Guide
Architect's Guide
Oct 31, 2023 · Backend Development

Understanding Distributed Tracing and the Principles of SkyWalking

Distributed tracing helps reconstruct the call chain of a request across multiple services and machines, providing insights into latency, errors, and performance; this article explains tracing concepts, OpenTracing standards, and how SkyWalking implements automatic span collection, context propagation, unique trace IDs, sampling, and its architecture and performance advantages.

Distributed TracingMicroservicesOpenTracing
0 likes · 11 min read
Understanding Distributed Tracing and the Principles of SkyWalking
Didi Tech
Didi Tech
Jul 27, 2023 · Backend Development

Improving Service Startup Latency with a Warmup Mechanism for Dubbo Services

To eliminate the brief latency spike that occurs when new Dubbo services start, the authors introduce a @Warmup annotation and early‑startup listeners that generate mock traffic and trigger a forced GC before publishing, cutting initial response times from seconds to tens of milliseconds and improving reliability for latency‑sensitive applications.

DubboJavaMicroservices
0 likes · 13 min read
Improving Service Startup Latency with a Warmup Mechanism for Dubbo Services
Code Ape Tech Column
Code Ape Tech Column
Jun 9, 2023 · Backend Development

Understanding Cache Usage and Enterprise Cases: Types, Problems, and Architecture

This article explains what caching is, outlines various cache types, analyzes common high‑traffic cache issues such as penetration, breakdown, avalanche, and hot‑key handling, and presents real‑world architectures from Weibo and Zhihu to illustrate effective cache design and operation.

CachingHigh ConcurrencyRedis
0 likes · 16 min read
Understanding Cache Usage and Enterprise Cases: Types, Problems, and Architecture
Ctrip Technology
Ctrip Technology
Jun 1, 2023 · Backend Development

Optimizing Microservice Timeout Issues: Analysis and Practical Solutions

This article examines common timeout problems in microservice architectures, identifies root causes such as connection and socket timeouts, and presents ten practical optimization techniques—including setting appropriate timeouts, rate limiting, cache improvements, thread‑pool tuning, GC and JIT adjustments, NIO async programming, host migration, and network checks—to enhance system stability and performance.

CachingGC TuningMicroservices
0 likes · 21 min read
Optimizing Microservice Timeout Issues: Analysis and Practical Solutions
政采云技术
政采云技术
Apr 25, 2023 · Backend Development

Cache System Overview, Architecture Evolution, Pain Points, and Best Practices

This article explains the fundamentals of cache systems, describes the evolution from no‑cache to distributed and local caches, analyzes common challenges such as consistency, hot‑key detection, and cache avalanche, and provides practical guidelines and real‑world lessons for designing effective backend caching solutions.

CachingRedisarchitecture
0 likes · 14 min read
Cache System Overview, Architecture Evolution, Pain Points, and Best Practices
Architect
Architect
Apr 20, 2023 · Backend Development

Common Interface Performance Optimization Strategies

This article summarizes practical techniques for reducing API latency, including batch processing, asynchronous execution, caching, pre‑processing, pooling, parallelization, indexing, transaction size control, program structure refactoring, deep pagination handling, SQL tuning, and proper lock granularity.

API optimizationCachingIndexing
0 likes · 9 min read
Common Interface Performance Optimization Strategies
macrozheng
macrozheng
Apr 3, 2023 · Backend Development

Boost API Performance: 11 Proven Backend Optimization Techniques

This article presents a comprehensive set of backend API optimization strategies—including batch processing, asynchronous execution, caching, pre‑processing, pooling, parallelization, indexing, transaction management, code restructuring, deep pagination, SQL tuning, and lock granularity—to dramatically reduce response times and improve system efficiency.

API optimizationCachingIndexing
0 likes · 10 min read
Boost API Performance: 11 Proven Backend Optimization Techniques
Ctrip Technology
Ctrip Technology
Mar 9, 2023 · Backend Development

Optimizing Hotel Query Service Memory Usage: GC Tuning, Native Memory Management, and Migration to jemalloc

This article details the systematic reduction of memory consumption for Ctrip's hotel query service by halving container memory, evaluating and tuning modern garbage collectors, diagnosing off‑heap leaks, and ultimately replacing the default ptmalloc allocator with jemalloc to achieve stable performance and lower resource costs.

ContainerizationGarbage CollectionJVM
0 likes · 22 min read
Optimizing Hotel Query Service Memory Usage: GC Tuning, Native Memory Management, and Migration to jemalloc
Architecture Digest
Architecture Digest
Jan 10, 2023 · Backend Development

Understanding Distributed Link Tracing, OpenTracing Standards, and SkyWalking Architecture

This article explains the concept of distributed link tracing, its importance for visualizing microservice call chains, introduces the OpenTracing standard, and details how SkyWalking implements automatic span collection, context propagation, unique trace IDs, sampling strategies, and performance advantages over other tracing tools.

Distributed TracingMicroservicesObservability
0 likes · 12 min read
Understanding Distributed Link Tracing, OpenTracing Standards, and SkyWalking Architecture
Selected Java Interview Questions
Selected Java Interview Questions
Aug 30, 2022 · Backend Development

Understanding QPS, TPS, RT, Concurrency, and Throughput in Backend Systems

This article explains the key performance metrics of backend systems—including QPS, TPS, response time, concurrency, and throughput—provides their definitions, relationships, practical calculation examples, and guidance on optimal thread counts for achieving balanced performance.

QPSTPSThread Optimization
0 likes · 7 min read
Understanding QPS, TPS, RT, Concurrency, and Throughput in Backend Systems