Tagged articles
94 articles
Page 1 of 1
Xiao Liu Lab
Xiao Liu Lab
Dec 16, 2025 · Backend Development

Nginx vs OpenResty: When to Choose Each for High‑Performance Web Services

This article explains the fundamental differences between Nginx and OpenResty, compares their features, performance, and programming models, and provides practical guidance on selecting the right tool for static serving, reverse‑proxying, or complex business‑logic workloads.

LuaNGINXOpenResty
0 likes · 11 min read
Nginx vs OpenResty: When to Choose Each for High‑Performance Web Services
Xiao Liu Lab
Xiao Liu Lab
Nov 14, 2025 · Operations

Three Production‑Ready Dynamic IP Blocking Solutions for Nginx (No Manual Reload)

This guide presents three practical, production‑grade methods to dynamically block IP addresses in Nginx—using OpenResty with Redis for millisecond response, fail2ban with log analysis for automated bans, and a pure‑shell file‑watch approach—each with step‑by‑step installation, configuration, and usage instructions.

Fail2banIP blockingOpenResty
0 likes · 8 min read
Three Production‑Ready Dynamic IP Blocking Solutions for Nginx (No Manual Reload)
MaGe Linux Operations
MaGe Linux Operations
Sep 13, 2025 · Information Security

How to Build an Enterprise‑Grade WAF with OpenResty from Scratch

This guide walks through constructing a high‑performance, cost‑effective enterprise‑level Web Application Firewall using OpenResty, covering why OpenResty is ideal, core architecture, modules for request lifecycle management, IP control, rate limiting, SQL injection and XSS detection, intelligent CC protection, monitoring, performance tuning, deployment tips, real‑world case study, and future enhancements.

LuaNGINXOpenResty
0 likes · 24 min read
How to Build an Enterprise‑Grade WAF with OpenResty from Scratch
macrozheng
macrozheng
Sep 10, 2025 · Backend Development

How to Build a Scalable Non‑Intrusive Traffic‑Control System with OpenResty, Lua, and Redis

This article explains how to evaluate system performance bottlenecks, choose between hard and soft rate‑limiting, and implement a non‑intrusive, high‑concurrency traffic‑control solution using OpenResty, Lua scripts, and Redis, covering architecture design, queue management, rate limiting, resource release, and performance testing.

Backend ArchitectureLuaOpenResty
0 likes · 18 min read
How to Build a Scalable Non‑Intrusive Traffic‑Control System with OpenResty, Lua, and Redis
MaGe Linux Operations
MaGe Linux Operations
Aug 30, 2025 · Operations

How to Build a High‑Performance Nginx API Gateway from Scratch

This article walks through designing and implementing an enterprise‑grade API gateway with Nginx and OpenResty, covering architecture, dynamic routing, load balancing, rate limiting, circuit breaking, authentication, request transformation, caching strategies, observability, high‑availability deployment, and real‑world performance results.

LuaMicroservicesNGINX
0 likes · 37 min read
How to Build a High‑Performance Nginx API Gateway from Scratch
Su San Talks Tech
Su San Talks Tech
Aug 25, 2025 · Backend Development

How to Build a High‑Concurrency Queue System with OpenResty, Lua, and Redis

This article analyzes current system performance bottlenecks, compares hard‑rate‑limiting and flexible queuing strategies, and presents a non‑intrusive traffic‑control solution built with OpenResty+Lua and Redis that offers zero‑code changes, high performance, scalability, and real‑time visual feedback for high‑concurrency scenarios.

LuaOpenRestyhigh concurrency
0 likes · 18 min read
How to Build a High‑Concurrency Queue System with OpenResty, Lua, and Redis
Sohu Smart Platform Tech Team
Sohu Smart Platform Tech Team
Aug 9, 2025 · Backend Development

Boost Your API Security and Traffic Management with OpenResty: Real‑World Practices

This article explains how OpenResty, built on Nginx and Lua, can be used in production to implement interface authentication, traffic control, and request logging, detailing practical implementation steps, configuration examples, and code snippets that help improve service reliability and operational efficiency.

API authenticationBackendLua
0 likes · 16 min read
Boost Your API Security and Traffic Management with OpenResty: Real‑World Practices
Liangxu Linux
Liangxu Linux
May 5, 2025 · Backend Development

How to Dynamically Block IPs with Nginx, Lua, and Redis

This guide explains how to use Nginx, Lua (via OpenResty), and Redis to automatically block any IP that exceeds 60 requests per minute, storing the blacklist in Redis with a default one‑day ban and providing performance optimizations and testing steps.

BackendIP blockingLua
0 likes · 7 min read
How to Dynamically Block IPs with Nginx, Lua, and Redis
Ctrip Technology
Ctrip Technology
Mar 6, 2025 · Backend Development

Design and Implementation of Ctrip's Soft Load Balancer: Evolving from Nginx Reverse Proxy to an OpenResty‑Based API Gateway

This article details how Ctrip's Soft Load Balancer (SLB) transitioned from a simple Nginx reverse‑proxy to a multi‑datacenter, dynamic routing gateway using OpenResty, Lua scripts, and a three‑layer architecture that eliminates reloads and supports high‑frequency configuration updates.

Dynamic RoutingLuaOpenResty
0 likes · 14 min read
Design and Implementation of Ctrip's Soft Load Balancer: Evolving from Nginx Reverse Proxy to an OpenResty‑Based API Gateway
Code Ape Tech Column
Code Ape Tech Column
Sep 3, 2024 · Backend Development

Comprehensive Guide to API Gateway Design and Implementation

This article provides an in‑depth overview of API gateway concepts, design principles, key features such as routing, load balancing, security, resilience, and compares popular gateway solutions like OpenResty, Kong, Zuul, and Spring Cloud Gateway for microservice architectures.

Backend ArchitectureKongOpenResty
0 likes · 26 min read
Comprehensive Guide to API Gateway Design and Implementation
Lobster Programming
Lobster Programming
May 9, 2024 · Backend Development

Detect Hot Items in High‑Concurrency Sales Using OpenResty, Kafka & Elasticsearch

During flash‑sale events like JD or Taobao, a tiny fraction of products generate the majority of traffic, causing server overload; this guide explains how to identify and collect hotspot product data in real time using an OpenResty‑Lua front‑end, Kafka for messaging, and Elasticsearch for storage and analysis.

ElasticsearchHot ItemsKafka
0 likes · 5 min read
Detect Hot Items in High‑Concurrency Sales Using OpenResty, Kafka & Elasticsearch
Lobster Programming
Lobster Programming
May 6, 2024 · Backend Development

Scaling Homepage Carousel to Millions of QPS with OpenResty, Lua, Redis, and MQ

This article explains how to design a high‑QPS hotspot data caching and retrieval system for e‑commerce homepages using OpenResty, Lua, Redis, and a message queue, detailing publishing, reading processes, workflow diagrams, and a complete Lua script that can sustain tens of thousands to millions of concurrent requests.

LuaOpenRestyhigh concurrency
0 likes · 6 min read
Scaling Homepage Carousel to Millions of QPS with OpenResty, Lua, Redis, and MQ
37 Interactive Technology Team
37 Interactive Technology Team
Apr 15, 2024 · Backend Development

High-Performance Data Collection and Persistence Using OpenResty, Lua, and Kafka

The article describes a high‑throughput, fault‑tolerant data‑collection pipeline built with OpenResty, Lua, and Kafka that writes incoming records to disk using a cross‑worker mutex and cached file handles, rotates files via Nginx reload, and achieves over 13× performance versus typical online methods.

DataIngestionFileIOHighPerformance
0 likes · 7 min read
High-Performance Data Collection and Persistence Using OpenResty, Lua, and Kafka
Sohu Tech Products
Sohu Tech Products
Mar 13, 2024 · Backend Development

OpenResty‑Based Interface Authentication, Traffic Control, and Request Tracing in Production

The article shows how OpenResty’s Lua‑based extensions can implement lightweight, version‑controlled API authentication, dynamic traffic‑shaping via shared‑memory peer status, and selective request tracing with batch‑sent logs to Elasticsearch, enabling secure, highly available services and rich observability without sacrificing Nginx performance in production.

API authenticationLuaNGINX
0 likes · 18 min read
OpenResty‑Based Interface Authentication, Traffic Control, and Request Tracing in Production
Open Source Tech Hub
Open Source Tech Hub
Feb 27, 2024 · Backend Development

Build a Live Streaming Server with Nginx, FFmpeg, and OpenResty

This guide walks through selecting streaming protocols, preparing a high‑performance server, installing OpenResty, compiling the nginx‑ts module, configuring Nginx for RTMP/HLS/DASH, pushing streams with FFmpeg or OBS, and applying security and stability best practices.

NGINXOpenRestyRTMP
0 likes · 8 min read
Build a Live Streaming Server with Nginx, FFmpeg, and OpenResty
macrozheng
macrozheng
Oct 31, 2022 · Backend Development

How to Build a High‑Performance API Gateway with OpenResty and Lua

This article explains the role of API gateways, compares access‑layer and application‑layer designs, and provides a step‑by‑step guide to constructing a dynamic, high‑throughput gateway using OpenResty’s Nginx‑Lua architecture, plugin system, and runtime configuration features.

LuaOpenRestyapi-gateway
0 likes · 17 min read
How to Build a High‑Performance API Gateway with OpenResty and Lua
ITPUB
ITPUB
Aug 5, 2022 · Operations

How a Lua Bug Crashed Bilibili’s Load Balancer and What We Learned

On July 13, 2021, Bilibili’s OpenResty‑based SLB suffered a CPU‑100% outage caused by a Lua _gcd function bug triggered when a service’s weight was set to the string “0”, leading to a multi‑hour incident that was resolved by rebuilding SLB clusters and disabling JIT compilation.

Load BalancerOpenRestySRE
0 likes · 17 min read
How a Lua Bug Crashed Bilibili’s Load Balancer and What We Learned
Programmer DD
Programmer DD
Jul 16, 2022 · Operations

How a Lua Bug Crashed Bilibili’s Load Balancer and the Lessons Learned

A detailed post‑mortem of the July 2021 Bilibili outage reveals how a Lua‑induced CPU spike in the OpenResty‑based SLB caused widespread service disruption, the step‑by‑step emergency response, root‑cause analysis, and the subsequent architectural and operational improvements to prevent recurrence.

IncidentResponseLoadBalancingLua
0 likes · 19 min read
How a Lua Bug Crashed Bilibili’s Load Balancer and the Lessons Learned
dbaplus Community
dbaplus Community
Jul 12, 2022 · Operations

How a Lua Bug Crashed Bilibili’s Load Balancer and What We Learned

In July 2021 a sudden CPU‑100% spike in Bilibili's OpenResty‑based SLB caused widespread service outages, prompting an emergency response that rebuilt load‑balancer clusters, traced a Lua _gcd function bug triggered by a zero weight string, and led to extensive operational and architectural improvements.

Cloud NativeLuaOpenResty
0 likes · 17 min read
How a Lua Bug Crashed Bilibili’s Load Balancer and What We Learned
Yiche Technology
Yiche Technology
May 20, 2022 · Cloud Native

APISIX API Gateway: Architecture, Features, Performance Comparison, and Future Outlook

This article introduces the APISIX API gateway, explaining its cloud‑native architecture built on OpenResty and Etcd, the advantages over traditional monolithic service frameworks, detailed feature breakdowns, performance benchmark comparisons with OpenResty, multi‑cluster management practices, usage scenarios, monitoring, logging, and future development directions.

APISIXCloud NativeOpenResty
0 likes · 12 min read
APISIX API Gateway: Architecture, Features, Performance Comparison, and Future Outlook
Top Architect
Top Architect
Dec 30, 2021 · Backend Development

High‑Performance Caching with OpenResty, Nginx, and Redis Using Lua

This article explains how to leverage OpenResty and Lua scripts to integrate Nginx with Redis for direct caching, compression, timed updates, request forwarding, and configurable URL management, thereby improving concurrency, reducing latency, and enhancing the resilience of backend web services.

LuaNGINXOpenResty
0 likes · 7 min read
High‑Performance Caching with OpenResty, Nginx, and Redis Using Lua
TAL Education Technology
TAL Education Technology
Nov 11, 2021 · Backend Development

Optimizing the Qingzhou Business Gateway: Performance Boosts, FFI Integration, and Routing Enhancements

This article details the architecture of the Qingzhou Business Gateway, identifies its granular control, data‑loss, and performance issues, and explains a series of optimizations—including FFI usage, table‑pool reuse, coroutine caching, radixtree routing, and connection‑pool tuning—that raise single‑node QPS to 80 k while preserving functional capabilities.

FFILuaOpenResty
0 likes · 13 min read
Optimizing the Qingzhou Business Gateway: Performance Boosts, FFI Integration, and Routing Enhancements
DataFunTalk
DataFunTalk
Sep 26, 2021 · Backend Development

DataVisor Risk‑Control Architecture and the Application of OpenResty

This article explains DataVisor's risk‑control system architecture, outlines the business challenges such as complex logic, massive data, high QPS and low latency, and demonstrates how OpenResty (Nginx + Lua) is used for high‑performance gateways, micro‑service style calls, hot‑loaded scripts, automatic circuit‑breakers, and progressive architectural evolution toward service‑mesh designs.

Backend ArchitectureMicroservicesOpenResty
0 likes · 9 min read
DataVisor Risk‑Control Architecture and the Application of OpenResty
Open Source Linux
Open Source Linux
Aug 11, 2021 · Backend Development

Boost Web Performance with OpenResty: Caching, Compression, and Dynamic Updates

This article explains how to use OpenResty with Lua to build a high‑performance caching layer that directly accesses Redis, compresses large responses, schedules periodic updates, forwards requests intelligently, and provides configurable URL caching, thereby improving concurrency, reducing latency, and optimizing bandwidth usage.

LuaOpenRestybackend-development
0 likes · 6 min read
Boost Web Performance with OpenResty: Caching, Compression, and Dynamic Updates
Architect
Architect
Jul 15, 2021 · Backend Development

Designing a High‑Performance Short URL System

This article explains the benefits of short URLs and presents a comprehensive, interview‑friendly design for a high‑performance short‑link service, covering redirect mechanics, hash‑based and auto‑increment generation methods, database schema, collision handling, and an OpenResty‑based architecture for massive concurrency.

HashingOpenRestySystem Design
0 likes · 14 min read
Designing a High‑Performance Short URL System
21CTO
21CTO
Jun 15, 2021 · Backend Development

Master High‑Performance Linux Servers with OpenResty, Epoll, and Lua

Learn how Linux’s non‑blocking I/O mechanisms such as select, poll, and epoll enable high‑concurrency servers, explore OpenResty’s Lua‑based architecture, and follow step‑by‑step instructions for installing, configuring, and troubleshooting a performant OpenResty/Nginx environment on Linux.

LinuxLuaNGINX
0 likes · 11 min read
Master High‑Performance Linux Servers with OpenResty, Epoll, and Lua
Full-Stack DevOps & Kubernetes
Full-Stack DevOps & Kubernetes
Jan 6, 2021 · Backend Development

Master Kong API Gateway with OpenResty: Installation, Features, and Plugin Guide

This article provides a comprehensive guide to the open‑source Kong API gateway, covering its architecture built on OpenResty, step‑by‑step installation on CentOS, core components, key features, plugin ecosystem, authentication, traffic control, logging, and a comparison with other gateways, while also showing how to set up the Kong Dashboard UI.

InstallationKongMicroservices
0 likes · 23 min read
Master Kong API Gateway with OpenResty: Installation, Features, and Plugin Guide
Efficient Ops
Efficient Ops
Dec 9, 2020 · Backend Development

Master High‑Performance Backend with Linux Sockets, epoll, and OpenResty

This guide explains how Linux socket I/O multiplexing (select, poll, epoll) powers high‑concurrency servers, why caching and asynchronous non‑blocking are crucial, and provides step‑by‑step instructions to install, configure, and develop with OpenResty, Nginx, and Lua for scalable backend applications.

LinuxLuaNGINX
0 likes · 12 min read
Master High‑Performance Backend with Linux Sockets, epoll, and OpenResty
IT Architects Alliance
IT Architects Alliance
Oct 22, 2020 · Backend Development

Designing a High‑Performance API Gateway with OpenResty: Choices & Best Practices

This article examines the challenges of microservice communication and explains how to transform an Nginx+Lua layer into an OpenResty‑based API gateway, covering core concepts, usage scenarios, security, performance, high‑availability, extensibility, and a comparative review of popular open‑source gateway solutions such as Nginx, Spring Cloud Zuul, Kong, Tyk and others.

Backend ArchitectureMicroservicesOpenResty
0 likes · 21 min read
Designing a High‑Performance API Gateway with OpenResty: Choices & Best Practices
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Oct 11, 2020 · Backend Development

Master OpenResty: Install, Hello World, and Real‑World Lua Routing

This tutorial walks through installing OpenResty, creating a simple hello‑world service, and implementing a practical Lua‑based request routing example that distinguishes single‑ versus multiple‑UID POST bodies, complete with Nginx configuration, Go backend code, and testing steps.

DockerLuaOpenResty
0 likes · 9 min read
Master OpenResty: Install, Hello World, and Real‑World Lua Routing
Architecture Digest
Architecture Digest
Sep 30, 2020 · Backend Development

Introduction to Linux Socket Programming and OpenResty Deployment

This article explains Linux socket programming techniques such as non‑blocking I/O and epoll, discusses caching and asynchronous design for high‑performance servers, and provides a step‑by‑step guide to installing, configuring, and developing with OpenResty (Nginx + Lua) on Linux and Windows environments.

LuaOpenRestyhigh concurrency
0 likes · 12 min read
Introduction to Linux Socket Programming and OpenResty Deployment
Efficient Ops
Efficient Ops
Aug 16, 2020 · Backend Development

Build High‑Performance Web Services with OpenResty and Linux Socket I/O

This guide explains how to use Linux non‑blocking socket APIs (select, poll, epoll) and the OpenResty platform (Nginx + LuaJIT) to create scalable, high‑concurrency web services, covering architecture, caching strategies, and step‑by‑step installation and configuration.

LinuxLuaNGINX
0 likes · 11 min read
Build High‑Performance Web Services with OpenResty and Linux Socket I/O
HomeTech
HomeTech
Aug 12, 2020 · Backend Development

Design and Implementation of a High‑Concurrency Flash Sale System for Automotive E‑Commerce

This article presents a comprehensive design of a flash‑sale (seckill) system for an automotive e‑commerce platform, covering business requirements, model selection, stock‑deduction strategies, high‑performance and high‑availability architecture, security mechanisms, and future optimization directions, all built on cloud‑native backend technologies.

Backend ArchitectureOpenRestyflash sale
0 likes · 17 min read
Design and Implementation of a High‑Concurrency Flash Sale System for Automotive E‑Commerce
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 29, 2020 · Backend Development

Design and Implementation of an Access‑Layer API Gateway with OpenResty

This article explains the role of an access‑layer gateway, presents its architecture and implementation using OpenResty, discusses technical selection, details OpenResty’s underlying Nginx/Lua mechanisms, and shows how to achieve dynamic routing, plugin‑based policies, shared data, and upstream configuration without service reloads.

Dynamic ConfigurationLuaNGINX
0 likes · 16 min read
Design and Implementation of an Access‑Layer API Gateway with OpenResty
MaGe Linux Operations
MaGe Linux Operations
Jul 26, 2020 · Backend Development

Mastering High‑Performance Socket Programming with OpenResty and Nginx

This guide explains Linux socket programming concepts such as non‑blocking I/O and epoll, introduces the OpenResty web platform built on Nginx and Lua, walks through environment setup, configuration, Lua scripting, and common troubleshooting steps for building high‑concurrency backend services.

BackendLuaOpenResty
0 likes · 11 min read
Mastering High‑Performance Socket Programming with OpenResty and Nginx
37 Interactive Technology Team
37 Interactive Technology Team
Jun 12, 2020 · Cloud Native

Implementing Dynamic Rate Limiting with the APISIX API Gateway

This tutorial shows how to use the open‑source APISIX API gateway—built on OpenResty and etcd—to create a dynamic rate‑limiting plugin in Lua, configure route matching with a radix tree, and demonstrate the feature with a test endpoint that enforces one request per second and returns HTTP 503 when exceeded.

APISIXDynamic Rate LimitingLua
0 likes · 14 min read
Implementing Dynamic Rate Limiting with the APISIX API Gateway
macrozheng
macrozheng
Mar 26, 2020 · Backend Development

How to Build a High‑Performance URL Shortening Service: Architecture & Algorithms

This article explores the design of a high‑performance short‑link system, covering its benefits, redirection mechanics, hash‑based and auto‑increment generation methods, database schema, Bloom filter optimization, and a scalable OpenResty‑based architecture for handling massive traffic.

Backend ArchitectureHashingMySQL
0 likes · 15 min read
How to Build a High‑Performance URL Shortening Service: Architecture & Algorithms
Programmer DD
Programmer DD
Mar 26, 2020 · Backend Development

How Zhihu Built a Scalable Long‑Connection Gateway for Real‑Time Messaging

Zhihu’s infrastructure team designed a high‑performance, scalable long‑connection gateway that decouples business logic via publish‑subscribe, leverages OpenResty, Kafka, and Redis, implements fine‑grained ACL, sliding‑window flow control, and ensures message reliability and horizontal scalability for millions of concurrent devices.

KafkaMessage ReliabilityOpenResty
0 likes · 15 min read
How Zhihu Built a Scalable Long‑Connection Gateway for Real‑Time Messaging
JD Retail Technology
JD Retail Technology
Mar 12, 2020 · Backend Development

Understanding OpenResty: Architecture, Core Principles, and Real‑World Application in High‑Concurrency Systems

This article explains what OpenResty is, details its underlying Nginx‑Lua architecture—including Lua coroutines, cosocket, and multi‑stage processing—compares its performance with other web platforms, and describes its practical deployment and multi‑level caching strategy in JD.com's high‑traffic Jshop sale system.

LuaNGINXOpenResty
0 likes · 12 min read
Understanding OpenResty: Architecture, Core Principles, and Real‑World Application in High‑Concurrency Systems
JD Retail Technology
JD Retail Technology
Mar 5, 2020 · Backend Development

Technical Implementation and Resilience Practices of JD.com PC Homepage

This article details the architectural redesign, fault‑tolerance mechanisms, performance optimizations, and monitoring strategies employed in JD.com’s PC homepage, illustrating how backend technologies such as OpenResty, Lua, Redis, and NGINX are orchestrated to achieve high availability and sub‑30 ms page loads.

LuaOpenRestyResilience
0 likes · 12 min read
Technical Implementation and Resilience Practices of JD.com PC Homepage
Jike Tech Team
Jike Tech Team
Jan 16, 2020 · Cloud Native

How We Built a High‑Performance OpenResty API Gateway on Kubernetes

This article details the design and implementation of a Kubernetes‑native API Gateway built with OpenResty, covering its architecture, controller logic, HTTP/gRPC load balancing, custom ingress handling, rate‑limiting, service proxying, and future plans for service‑mesh integration.

IngressKubernetesOpenResty
0 likes · 16 min read
How We Built a High‑Performance OpenResty API Gateway on Kubernetes
Architecture Digest
Architecture Digest
Sep 17, 2019 · Backend Development

Evolution and Refactoring of the Mafengwo IM System: From PHP 1.0 to Go‑Based Microservices

The article details the step‑by‑step architectural evolution of Mafengwo's instant‑messaging platform—from an initial PHP‑based monolith, through polling optimizations with OpenResty, to a Go‑implemented, micro‑service‑oriented design that improves scalability, reliability, and multi‑device synchronization.

GoIMMessaging
0 likes · 14 min read
Evolution and Refactoring of the Mafengwo IM System: From PHP 1.0 to Go‑Based Microservices
GF Securities FinTech
GF Securities FinTech
Aug 22, 2019 · Backend Development

Mastering Health Checks in OpenResty: Compare Three Backend Modules

This article examines three OpenResty-based backend health‑check solutions—ngx_http_upstream_module, lua‑resty‑upstream‑healthcheck, and nginx_upstream_check_module—detailing their implementation principles, configuration examples, node status monitoring, and practical Docker integration, helping developers choose the optimal approach for reliable service availability.

DockerLuaOpenResty
0 likes · 9 min read
Mastering Health Checks in OpenResty: Compare Three Backend Modules
Efficient Ops
Efficient Ops
Aug 13, 2019 · Backend Development

Mastering Nginx: How to Build Scalable, High‑Performance Web Services

This article systematically explains Nginx's architecture, module design, scalability, caching, TLS handling, and OpenResty integration, providing practical guidance for building high‑availability, high‑performance services in large‑scale distributed environments.

LuaOpenRestyScalability
0 likes · 17 min read
Mastering Nginx: How to Build Scalable, High‑Performance Web Services
Mafengwo Technology
Mafengwo Technology
Jul 18, 2019 · Backend Development

How MaFengWo Scaled Its IM System: From PHP to Go and Service Splitting

This article chronicles the evolution of MaFengWo's instant‑messaging platform, detailing the transition from a simple PHP implementation to OpenResty optimizations, the introduction of multi‑mode routing in IM 2.0, and a complete service‑oriented redesign in Go for IM 3.0, while addressing scalability, multi‑device synchronization, and message reliability.

ArchitectureGoIM
0 likes · 14 min read
How MaFengWo Scaled Its IM System: From PHP to Go and Service Splitting
Architecture Digest
Architecture Digest
Jun 10, 2019 · Backend Development

Design and Implementation of Zhihu's Long Connection Gateway

This article explains how Zhihu designed a scalable long‑connection gateway that decouples business logic via a publish‑subscribe model, implements ACL‑based authorization, ensures message reliability with acknowledgments and sliding windows, and leverages OpenResty, Redis, and Kafka for load‑balanced, fault‑tolerant backend services.

KafkaOpenRestyScalability
0 likes · 13 min read
Design and Implementation of Zhihu's Long Connection Gateway
JD Tech
JD Tech
Jan 7, 2019 · Backend Development

Using OpenResty for a High‑Performance Logistics Gateway

This article explains how OpenResty, built on Nginx and Lua, powers JD Logistics' high‑throughput, extensible gateway by leveraging non‑blocking I/O, plugin architecture, multi‑level caching, dynamic load balancing, and custom JSON handling to achieve stable, scalable performance.

LogisticsLuaNGINX
0 likes · 6 min read
Using OpenResty for a High‑Performance Logistics Gateway
37 Interactive Technology Team
37 Interactive Technology Team
Sep 7, 2018 · Backend Development

Mastering Lua and OpenResty: From Basics to Real-World Deployment

This guide introduces Lua’s concise syntax, tiny footprint, and performance strengths, explores typical use cases such as security, web APIs, and game servers, then walks through core language features, OpenResty integration, deployment steps, and a hands‑on exercise for building a redirect service.

DeploymentLuaOpenResty
0 likes · 10 min read
Mastering Lua and OpenResty: From Basics to Real-World Deployment
Architecture Digest
Architecture Digest
Jul 25, 2018 · Backend Development

OpenResty and API Gateway Learning Guide

This guide compiles resources and key concepts on OpenResty, Lua‑based Nginx development, asynchronous programming models, microservice API gateways, and related plugins, providing a structured roadmap for backend engineers to deepen their understanding and practical skills.

LuaMicroservicesOpenResty
0 likes · 6 min read
OpenResty and API Gateway Learning Guide
dbaplus Community
dbaplus Community
Jun 25, 2018 · Backend Development

Mastering Rate Limiting for High‑Traffic Flash‑Sale Systems

This article explains why rate limiting is essential for flash‑sale (seckill) systems, compares token‑bucket and leaky‑bucket algorithms, and provides concrete Tomcat, Nginx, OpenResty, and Guava configurations along with code snippets and load‑testing results to help engineers implement robust throttling.

NGINXOpenRestySeckill
0 likes · 14 min read
Mastering Rate Limiting for High‑Traffic Flash‑Sale Systems
Java Backend Technology
Java Backend Technology
Jun 21, 2018 · Backend Development

Mastering Rate Limiting for High‑Traffic Flash Sale Systems

This article explains why rate limiting is essential for flash‑sale (seckill) services, compares token‑bucket and leaky‑bucket algorithms, and provides practical configuration examples for Tomcat, Nginx, and OpenResty, along with testing methods and code snippets.

Load TestingNGINXOpenResty
0 likes · 14 min read
Mastering Rate Limiting for High‑Traffic Flash Sale Systems
21CTO
21CTO
Jun 16, 2018 · Backend Development

Master Rate Limiting: Token & Leaky Buckets, Tomcat, Nginx & OpenResty

This article explains why high‑traffic scenarios like flash‑sale systems need rate limiting, compares token‑bucket and leaky‑bucket algorithms, and shows practical configurations for Tomcat, Nginx, and OpenResty to protect APIs and ensure system stability.

NGINXOpenRestyToken Bucket
0 likes · 10 min read
Master Rate Limiting: Token & Leaky Buckets, Tomcat, Nginx & OpenResty
37 Interactive Technology Team
37 Interactive Technology Team
Apr 23, 2018 · Backend Development

API Gateway Overview and Practical Implementation Using OpenResty/Nginx

The article explains how an API gateway serves as a unified, secure entry point for services, outlines the limitations of manual NGINX configurations, and describes a practical implementation using OpenResty/Nginx with the open‑source Orange framework—enhanced with dynamic routing, header‑based authentication, encryption, and high‑availability design, dubbed the Aegis gateway.

OpenRestyapi-gatewaytraffic routing
0 likes · 7 min read
API Gateway Overview and Practical Implementation Using OpenResty/Nginx
21CTO
21CTO
Dec 13, 2017 · Backend Development

Why API Gateways Are Essential for Microservice Architectures

This article explains the role of API gateways in microservice systems, discusses challenges of aggregating data across services, compares single‑node and BFF gateway patterns, evaluates open‑source gateway projects, and proposes a double‑gateway solution for high‑performance, scalable backend integration.

MicroservicesOcelotOpenResty
0 likes · 12 min read
Why API Gateways Are Essential for Microservice Architectures
High Availability Architecture
High Availability Architecture
Apr 13, 2017 · Backend Development

Designing a High‑Availability Advertising System: Architecture, Scaling, and Real‑Time Monitoring at Weibo

This article examines the architecture of Weibo's high‑availability advertising platform, covering match service design with OpenResty, index sharding, business logic optimization, dynamic auto‑scaling, and a real‑time monitoring pipeline to ensure stable, high‑performance ad delivery at massive scale.

AdvertisingBackend ArchitectureOpenResty
0 likes · 11 min read
Designing a High‑Availability Advertising System: Architecture, Scaling, and Real‑Time Monitoring at Weibo
Efficient Ops
Efficient Ops
Jan 9, 2017 · Backend Development

How JD’s New Asynchronous Rendering Cut Latency from 1000ms to 15ms

This article examines how JD’s activity system evolved its web architecture—introducing full‑page Redis and disk caching, asynchronous rendering, and OpenResty—resulting in a latency drop from around 1000 ms to under 15 ms and dramatically lower CPU usage.

BackendNGINXOpenResty
0 likes · 10 min read
How JD’s New Asynchronous Rendering Cut Latency from 1000ms to 15ms
21CTO
21CTO
Jun 14, 2016 · Backend Development

Mastering Nginx Access Layer Rate Limiting: Practical Configurations and Code Samples

This article explains how to implement access‑layer rate limiting in Nginx using built‑in modules, OpenResty Lua extensions, and token‑bucket or leaky‑bucket algorithms, with detailed configuration snippets, execution flow, testing procedures, and log analysis for robust traffic control.

LuaNGINXOpenResty
0 likes · 21 min read
Mastering Nginx Access Layer Rate Limiting: Practical Configurations and Code Samples
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.

LuaNGINXOpenResty
0 likes · 23 min read
Using Nginx + Lua (ngx_lua) for High‑Performance Web Applications
Architect
Architect
Nov 28, 2015 · Backend Development

Implementing a Fastest‑First Load‑Balancing Strategy for NGINX with Lua and OpenResty

This article describes how to create a “fastest‑first” load‑balancing algorithm for NGINX using OpenResty and Lua, including the design principles, modifications to lua‑upstream‑nginx‑module, weight‑adjustment logic, Docker build steps, and practical considerations for handling latency‑based server weighting.

LuaOpenRestybackend-development
0 likes · 11 min read
Implementing a Fastest‑First Load‑Balancing Strategy for NGINX with Lua and OpenResty