Tagged articles

NGINX

1261 articles · Page 13 of 13
ITPUB
ITPUB
Apr 3, 2016 · Operations

Why Nginx Proxy Stops Accepting New Connections with fastsocket – A Full Diagnosis

The article walks through a real‑world investigation of an Nginx HTTP forward proxy on an Alibaba Cloud server that stops accepting new connections after a while, detailing hypothesis testing, strace analysis, fastsocket feature toggles, accept_mutex behavior, and the final fix by adjusting the NIC's RPS settings.

NGINXRPSaccept_mutex
0 likes · 9 min read
Why Nginx Proxy Stops Accepting New Connections with fastsocket – A Full Diagnosis
21CTO
21CTO
Mar 28, 2016 · Frontend Development

How Dangdang Boosted Page Speed: Componentization, Lazy Loading, and Nginx Caching

This article details Dangdang Marketplace's comprehensive performance optimization—including component-based design, proactive data generation, asynchronous loading, lazy rendering, multi‑domain and CDN strategies, GZIP compression, and Nginx fastcgi/proxy caching—showing how these measures reduced first‑screen time to under three seconds and dramatically lowered CPU and load during high‑traffic events.

CachingNGINXPHP
0 likes · 17 min read
How Dangdang Boosted Page Speed: Componentization, Lazy Loading, and Nginx Caching
Architecture Digest
Architecture Digest
Mar 27, 2016 · Frontend Development

Dangdang Marketplace Page Performance Optimization Practices and Results

This article details the comprehensive performance optimization strategies applied to Dangdang's marketplace, covering componentization, data generation and loading improvements, front‑end techniques such as lazy loading and script placement, network enhancements like DNS prefetch and CDN, and server‑side caching with Nginx and PHP asynchronous requests, along with measured CPU and load reductions.

CachingNGINXperformance
0 likes · 17 min read
Dangdang Marketplace Page Performance Optimization Practices and Results
21CTO
21CTO
Mar 26, 2016 · Backend Development

Why Does Nginx Use a Multi‑Process, Asynchronous Event Model?

This article explains nginx’s high‑performance architecture, detailing its daemon mode with a master process and multiple worker processes, the multi‑process model advantages, signal‑based control, the asynchronous non‑blocking event handling using epoll, and includes a representative pseudo‑code of its event loop.

AsynchronousNGINXProcess Model
0 likes · 13 min read
Why Does Nginx Use a Multi‑Process, Asynchronous Event Model?
Architecture Digest
Architecture Digest
Mar 19, 2016 · Backend Development

Using Nginx + Lua (ngx_lua) for High‑Performance Web Applications

This article introduces the advantages of Nginx and Lua, explains the ngx_lua module and OpenResty ecosystem, describes common architectural patterns such as load balancing and caching, and provides a step‑by‑step guide to building, configuring, and deploying a Lua‑based web application on Nginx.

CachingLuaNGINX
0 likes · 23 min read
Using Nginx + Lua (ngx_lua) for High‑Performance Web Applications
ITPUB
ITPUB
Mar 16, 2016 · Backend Development

Implementing Gray Release for HTTP Read APIs with Nginx and Gateway Layers

This article explains how to design a gray‑release solution for HTTP read interfaces by using either Nginx with embedded Lua scripts or a version‑aware gateway layer, detailing rule design, configuration handling, and the trade‑offs of each approach.

HTTPLuaNGINX
0 likes · 8 min read
Implementing Gray Release for HTTP Read APIs with Nginx and Gateway Layers
MaGe Linux Operations
MaGe Linux Operations
Mar 10, 2016 · Cloud Native

Docker in the Real World: Lessons, Pitfalls, and the Quest for a Perfect Container Architecture

After experimenting with Docker to isolate PHP‑FPM and Nginx services, a small startup shares the challenges they faced—from link networking quirks and service discovery with Consul, to CI image builds, log handling, monitoring, and the hidden costs of container restarts—offering practical insights for anyone adopting containerization.

CI/CDConsulNGINX
0 likes · 8 min read
Docker in the Real World: Lessons, Pitfalls, and the Quest for a Perfect Container Architecture
21CTO
21CTO
Mar 8, 2016 · Backend Development

How to Build a High‑Performance, Secure Nginx Web Server on CentOS

This guide walks through why Nginx is preferred over Apache for high‑traffic sites, provides step‑by‑step instructions for compiling and installing Nginx on CentOS, and details extensive performance tuning and security hardening techniques to support tens of thousands of concurrent connections.

CentOSHigh concurrencyLinux
0 likes · 18 min read
How to Build a High‑Performance, Secure Nginx Web Server on CentOS
Qunar Tech Salon
Qunar Tech Salon
Mar 8, 2016 · Backend Development

Practices for Handling High Traffic on JD.com Product Detail Pages

The article details JD.com's technical strategies for scaling product detail pages under massive traffic, covering service decomposition, KV‑based dynamic rendering with Nginx+Lua, unified service gateways, isolation, caching, monitoring, degradation, and performance testing to achieve sub‑50 ms response times.

CachingJD.comLua
0 likes · 16 min read
Practices for Handling High Traffic on JD.com Product Detail Pages
Efficient Ops
Efficient Ops
Mar 7, 2016 · Operations

How to Build a High‑Performance, Secure Nginx Web Server on CentOS

This guide walks through why Nginx is preferred over Apache, detailed steps to compile and install it on CentOS, and extensive configuration tweaks—including worker processes, kernel parameters, SELinux policies, and request‑filtering rules—to achieve high concurrency and robust security for production web services.

LinuxNGINXWeb Server
0 likes · 17 min read
How to Build a High‑Performance, Secure Nginx Web Server on CentOS
Efficient Ops
Efficient Ops
Mar 1, 2016 · Backend Development

Build a Mini CDN with Nginx in 3 Simple Steps

This guide walks you through creating a lightweight CDN using Nginx on Ubuntu, covering installation, virtual host configuration, cache settings, and testing, while explaining core concepts like origin pull, proxy caching, and header management for educational purposes.

CDNLinuxNGINX
0 likes · 9 min read
Build a Mini CDN with Nginx in 3 Simple Steps
21CTO
21CTO
Feb 27, 2016 · Backend Development

Mastering Software Load Balancing: Nginx, LVS, and HAProxy Deep Dive

This article provides a comprehensive overview of software load balancing, detailing the architecture, features, performance characteristics, and various load‑balancing strategies of Nginx, LVS, and HAProxy, and explains how to choose and deploy them in different scenarios.

HAProxyLVSNGINX
0 likes · 21 min read
Mastering Software Load Balancing: Nginx, LVS, and HAProxy Deep Dive
Aotu Lab
Aotu Lab
Jan 13, 2016 · Operations

Automate Website Deployment with GitHub Webhooks and Shell Scripts

This guide explains how to use GitHub Webhooks together with a shell deployment script, a Node.js listener, and Nginx reverse proxy to achieve fully automated website deployment, covering setup, code examples, and practical considerations.

GitHubNGINXNode.js
0 likes · 8 min read
Automate Website Deployment with GitHub Webhooks and Shell Scripts
21CTO
21CTO
Dec 21, 2015 · Backend Development

How JD.com Scaled Its Product Detail Pages to Billions of Views

This article details JD.com's evolution of product detail page architecture—from early IIS/C# monoliths to a distributed, cache‑heavy, Nginx+Lua system—covering front‑end dimensions, performance metrics, design principles, scaling challenges, storage engine choices, multi‑datacenter deployment, and the lessons learned from numerous production pitfalls.

LuaNGINXProduct Detail Page
0 likes · 24 min read
How JD.com Scaled Its Product Detail Pages to Billions of Views
MaGe Linux Operations
MaGe Linux Operations
Dec 18, 2015 · Backend Development

Mastering Reverse Proxy with Nginx: Windows Load‑Balancing for IIS Sites

This article explains reverse proxy concepts, introduces Nginx’s core features and architecture, and provides a step‑by‑step guide to set up Nginx on Windows as a reverse‑proxy and load‑balancer for IIS‑hosted ASP.NET sites, including service registration, configuration tuning, static‑file caching, and testing.

NGINXReverse ProxyWeb Server
0 likes · 16 min read
Mastering Reverse Proxy with Nginx: Windows Load‑Balancing for IIS Sites
High Availability Architecture
High Availability Architecture
Dec 8, 2015 · Backend Development

OpenResty Best Practices and Adoption in High‑Performance Backend Development

The article presents a comprehensive overview of OpenResty, describing its architecture, suitable scenarios, selection criteria, real‑world adoption at Qihoo 360 and Sina Mobile, onboarding challenges, future roadmap, and community efforts, illustrating why it is a powerful backend solution for high‑throughput services.

LuaNGINXbackend
0 likes · 19 min read
OpenResty Best Practices and Adoption in High‑Performance Backend Development
ITPUB
ITPUB
Dec 4, 2015 · Backend Development

How to Measure and Optimize System Load Capacity for High‑Concurrency Backends

This guide explains key metrics, influencing factors, and practical tuning steps—including bandwidth, hardware, OS limits, TCP parameters, and server configurations—to assess and improve a backend system's maximum request handling capacity under high concurrency.

Linux TuningNGINXRedis
0 likes · 19 min read
How to Measure and Optimize System Load Capacity for High‑Concurrency Backends
High Availability Architecture
High Availability Architecture
Nov 25, 2015 · Backend Development

Unified Service Architecture for JD’s Billion-Scale Product Detail Page during Double Eleven

This article describes JD’s unified service architecture for the product detail page that handled tens of billions of requests during Double Eleven, detailing the multi‑level caching strategy, Nginx+Lua access layer, service isolation, degradation mechanisms, and front‑end logic offloading.

CachingHigh AvailabilityLua
0 likes · 22 min read
Unified Service Architecture for JD’s Billion-Scale Product Detail Page during Double Eleven
21CTO
21CTO
Nov 14, 2015 · Backend Development

How Nginx Lua Enables Aspect‑Oriented Backend Design with Low Coupling

This article explains how aspect‑oriented programming can be applied to a backend system by separating cross‑cutting concerns such as request encryption, authentication, and permission handling using Sinatra extensions and Nginx Lua scripts, resulting in a modular, low‑coupling architecture.

AOPLuaNGINX
0 likes · 10 min read
How Nginx Lua Enables Aspect‑Oriented Backend Design with Low Coupling
21CTO
21CTO
Nov 13, 2015 · Backend Development

How to Leverage Nginx Lua for Aspect‑Oriented Backend Architecture

This article explains how to apply aspect‑oriented programming principles to a Ruby‑based API service by extracting cross‑cutting concerns such as request encryption, authentication, and permission checks into Nginx Lua middleware, enabling low‑coupling, scalable backend modules.

AOPLuaNGINX
0 likes · 11 min read
How to Leverage Nginx Lua for Aspect‑Oriented Backend Architecture
Architect
Architect
Nov 4, 2015 · Backend Development

Optimizing Web Server Performance: Reducing Concurrency Pressure, Memory and CPU Usage

The article explains why modern web systems face ever‑increasing concurrent connections, analyzes how front‑end techniques and server‑side configurations such as Apache MPM modes, Nginx, sendfile, and epoll can reduce memory and CPU consumption, and offers practical recommendations for efficient backend architecture.

CPU optimizationMemory ManagementNGINX
0 likes · 17 min read
Optimizing Web Server Performance: Reducing Concurrency Pressure, Memory and CPU Usage
Node Underground
Node Underground
Nov 3, 2015 · Backend Development

Unlocking Node.js Multi‑Process Power: How Cluster and Fork Boost Performance

This article examines Node.js’s early criticisms about reliability and single‑threaded limits, then explains how the built‑in cluster module and fork() enable multi‑process deployment, load balancing, and communication, illustrated with code demos, performance insights, and a look at nginx proxy integration.

ForkNGINXNode.js
0 likes · 9 min read
Unlocking Node.js Multi‑Process Power: How Cluster and Fork Boost Performance
Qunar Tech Salon
Qunar Tech Salon
Oct 18, 2015 · Operations

Nginx Plus TCP Load Balancing: Configuration, Principles, and Monitoring

This article explains how Nginx Plus’s commercial stream module enables TCP load balancing, detailing configuration steps, underlying routing algorithms, health monitoring, connection handling, and performance considerations, while comparing it to HTTP load balancing and other layer‑4 solutions.

NGINXOperationsStream Module
0 likes · 8 min read
Nginx Plus TCP Load Balancing: Configuration, Principles, and Monitoring
Java High-Performance Architecture
Java High-Performance Architecture
Oct 7, 2015 · Operations

Understanding Nginx’s Three Process Types: Master, Worker, and Cache

This article explains the three types of Nginx processes—master, worker, and cache—detailing each one's responsibilities, from configuration loading and socket management to request handling, cache indexing, and inter‑process communication, while also covering smooth reloads, upgrades, and cache index management.

Cache ManagementMaster ProcessNGINX
0 likes · 3 min read
Understanding Nginx’s Three Process Types: Master, Worker, and Cache
21CTO
21CTO
Sep 21, 2015 · Operations

How to Enable and Configure TCP Load Balancing with Nginx Plus

This article explains how Nginx Plus adds TCP load‑balancing via the stream module, compares it with HTTP load‑balancing, provides configuration examples, describes the routing algorithm, health‑check mechanisms, and performance considerations for high‑concurrency environments.

ConfigurationNGINXStream Module
0 likes · 8 min read
How to Enable and Configure TCP Load Balancing with Nginx Plus
21CTO
21CTO
Sep 16, 2015 · Operations

Master Nginx: From Installation to Load Balancing and Service Scripts

This guide walks through testing Nginx configuration, starting the server, understanding its load‑balancing architecture, installing from source with required dependencies, handling common build errors, reviewing the final configuration summary, and creating a Linux init script for reliable service management.

ConfigurationInstallationNGINX
0 likes · 10 min read
Master Nginx: From Installation to Load Balancing and Service Scripts
21CTO
21CTO
Aug 23, 2015 · Backend Development

How to Enable HTTP/2 in Nginx with the Early Alpha Patch – Step‑by‑Step Guide

This guide explains how to apply Nginx's early‑alpha HTTP/2 patch, covering required source versions, OpenSSL/LibreSSL preparation, patch application, configuration flags, compilation, and enabling HTTP/2 in the server block, while noting the patch's production limitations.

ConfigurationNGINXPATCH
0 likes · 4 min read
How to Enable HTTP/2 in Nginx with the Early Alpha Patch – Step‑by‑Step Guide
MaGe Linux Operations
MaGe Linux Operations
Jul 13, 2015 · Operations

Deploy MogileFS with Nginx Reverse Proxy for Scalable File Storage

This step‑by‑step guide shows how to build a MogileFS distributed file system cluster on CentOS, configure MariaDB, set up trackers, storage nodes and domains, compile Nginx with the MogileFS module, create init scripts, and verify fault‑tolerant file access through Nginx reverse proxy.

Distributed File SystemLinuxMogileFS
0 likes · 15 min read
Deploy MogileFS with Nginx Reverse Proxy for Scalable File Storage

Design and Implementation of a Two‑Node High Availability Architecture Using Keepalived, Nginx, MySQL, and Atlas

This article describes a complete two‑machine high‑availability solution that uses keepalived to manage virtual IPs, Nginx for load‑balancing, MySQL GTID replication with Atlas as a proxy, and detailed configuration and fail‑over testing steps to ensure seamless service continuity.

ATLASKeepalivedLinux
0 likes · 16 min read
Design and Implementation of a Two‑Node High Availability Architecture Using Keepalived, Nginx, MySQL, and Atlas
MaGe Linux Operations
MaGe Linux Operations
Jun 15, 2015 · Backend Development

How to Tune Nginx for Over 900k Requests per Second on Linux

This guide walks you through installing and configuring Nginx for extreme request rates, optimizing kernel TCP settings, and using Tsung to benchmark a server that can sustain more than 900,000 requests per second, with detailed command examples and configuration snippets.

NGINXTCP Tuninghigh performance
0 likes · 10 min read
How to Tune Nginx for Over 900k Requests per Second on Linux
MaGe Linux Operations
MaGe Linux Operations
May 12, 2015 · Backend Development

How to Compile and Install Nginx from Source on Linux

This guide explains key concepts of open source, compilation, and executables, then details the configure‑make‑install workflow and provides a step‑by‑step tutorial for compiling, installing, configuring, and testing Nginx from source on a Linux system.

CompilationConfigurationInstallation
0 likes · 5 min read
How to Compile and Install Nginx from Source on Linux
MaGe Linux Operations
MaGe Linux Operations
Apr 17, 2015 · Backend Development

Boost Nginx Performance: Essential Tuning Tips for High Traffic

Learn how to fine‑tune Nginx by adjusting key global, events, and HTTP settings—such as worker processes, connection limits, gzip compression, and file caching—to maximize throughput and reduce latency under heavy client loads, with a complete example configuration and restart instructions.

ConfigurationNGINXPerformance Tuning
0 likes · 13 min read
Boost Nginx Performance: Essential Tuning Tips for High Traffic
Practical DevOps Architecture
Practical DevOps Architecture
Apr 14, 2015 · Backend Development

How to Block Unwanted User Agents in Nginx

This guide explains how to create an Nginx configuration file that denies access from unwanted user agents, empty agents, and non‑GET/HEAD/POST requests, shows how to include the file in the server block, reload Nginx, and test the rules with curl.

ConfigurationHTTPNGINX
0 likes · 3 min read
How to Block Unwanted User Agents in Nginx
Qunar Tech Salon
Qunar Tech Salon
Mar 18, 2015 · Backend Development

Optimizing Web Server Performance for High Concurrency: Front‑end Techniques and Server‑side Strategies

The article examines the rise of high‑concurrency web connections, explains how richer front‑end interactions increase load, and presents a range of optimization techniques—from caching and request merging to server‑side memory and CPU reductions using Apache MPM modes, Nginx, and sendfile—to improve web service efficiency.

CPU optimizationFrontend OptimizationHigh concurrency
0 likes · 19 min read
Optimizing Web Server Performance for High Concurrency: Front‑end Techniques and Server‑side Strategies
MaGe Linux Operations
MaGe Linux Operations
Feb 4, 2015 · Operations

How to Block Scrapers with Nginx: Simple IP Deny Rules

This guide explains how to identify high‑frequency visitor IPs from Nginx logs and configure Nginx to deny those IPs—or entire ranges—using block files, includes, and reload commands, providing both basic and advanced blocking techniques.

IP blockingNGINXOperations
0 likes · 4 min read
How to Block Scrapers with Nginx: Simple IP Deny Rules
MaGe Linux Operations
MaGe Linux Operations
Jul 7, 2014 · Backend Development

Apache vs Tomcat vs Jetty vs Nginx vs JBoss: Key Differences Explained

This article compares the core features, use cases, and performance characteristics of popular web and application servers—Apache, Tomcat, Jetty, Nginx, and JBoss—highlighting their distinctions in handling static versus dynamic content, scalability, and integration with Java and other technologies.

Application ServerJBossJetty
0 likes · 5 min read
Apache vs Tomcat vs Jetty vs Nginx vs JBoss: Key Differences Explained
MaGe Linux Operations
MaGe Linux Operations
Jun 28, 2014 · Operations

Mastering High‑Availability Load Balancing: LVS, Nginx, F5 and Beyond

This article examines common website architecture layers, compares hardware (F5) and software (LVS, Nginx) load‑balancing solutions, discusses high‑availability setups with Keepalived/Heartbeat, evaluates their network dependencies, and offers practical recommendations for choosing and monitoring load‑balancers, file servers, and databases in high‑traffic environments.

F5LVSNGINX
0 likes · 10 min read
Mastering High‑Availability Load Balancing: LVS, Nginx, F5 and Beyond