TCP/UDP Load Balancing with NGINX: Overview, Tips, and Tricks

2017-04-15 KENNETH 0

TCP/UDP Load Balancing with NGINX: Overview, Tips, and Tricks td { padding-right: 10px; } This post is adapted from a presentation delivered at nginx.conf 2016 by Konstantin Pavlov of NGINX, Inc. You can view a recording of the complete presentation on YouTube. Introduction 1:00 TCP Load Balancing 1:53 UDP Load Balancing 3:31 TCP/UDP Load Balancer Tuning 6:18 TCP/UDP Active Health Checks 8:53 Access Control and Limiting 9:43 Passing the Client’s IP Address to the Backend 11:46 TLS Termination 12:32 TLS Re-Encryption 13:05 TLS Wrapping 13:20 Logging 14:40 Better Logging 16:25 Variables 19:17 Extending TCP/UDP Load Balancing with nginScript 20:45 TCP/UDP Payload Filtering with nginScript 29:26 TCP/UDP nginScript: Performance 31:48 Future of the TCP/UDP Load Balancer 33:04 Related Reading 33:34 Thank You Introduction Konstantin Pavlov: My name is Konstantin Pavlov. I’m a Systems Engineer at NGINX, Inc. and I work in the Professional Services department. In [ more… ]

Introducing NGINX 1.12 and 1.13

2017-04-13 KENNETH 0

Introducing NGINX 1.12 and 1.13 Today we’re pleased to announce the availability of open source NGINX 1.12 and 1.13. These version numbers define the stable and mainline branches, respectively, of the NGINX open source software. We will focus on developing and improving these two branches for the next 12 months. NGINX version 1.12.0 was released today, and the next feature release of our mainline branch will be numbered 1.13.0. NGINX Version Numbering Overview NGINX, Inc. manages two NGINX source code branches: The even‑numbered version (1.12) is our stable branch. This branch is updated only when critical issues or security vulnerabilities need to be fixed. For example, during the past year only three minor updates were made to the 1.10 stable branch. The odd‑numbered version (1.13) is the mainline branch. This branch is actively developed; new minor releases (1.13.1, 1.13.2, etc.) are made approximately every 4 to 6 weeks, regularly [ more… ]

No Image

NGINX Plus as a Virtual Load Balancer

2017-04-12 KENNETH 0

NGINX Plus as a Virtual Load Balancer Although virtual machines have been overshadowed in recent years by the buzz around containers, their use continues to increase. NGINX and NGINX Plus are widely used as a virtual load balancer in such deployments. In this article we spell out the many advantages of virtual load balancers for many use cases and describe how to quickly and easily implement NGINX Plus as a virtual load balancer. Prebuilt and Build‑It‑Yourself Virtual Machines Virtualized load balancing offers much more flexibility than hardware‑based load balancers or application delivery controllers (ADCs), and so the major hardware vendors have created virtualized offerings, commonly referred to as virtual appliances. These appliances are prebuilt, meaning that the vendor creates a virtual machine image with its proprietary software preinstalled on a particular operating system. As such, a prebuilt virtual appliance is tied to [ more… ]

No Image

nginx.conf 2017: Registration and Call for Proposals Are Now Open!

2017-04-11 KENNETH 0

nginx.conf 2017: Registration and Call for Proposals Are Now Open! We are thrilled to announce that nginx.conf 2017 registration and the Call for Proposals are now open. We’re looking forward to seeing you in Portland, OR this September 6–8. Now in its fourth year, nginx.conf is the place to learn about all the best application development and delivery practices from experts at the most innovative companies in the industry today, with special focus on microservices, DevOps, cloud, and containers. Register today for special early-bird discount pricing. We’re eager to benefit from your expertise as well. Share your story about how you’re using NGINX and NGINX Plus to build and deliver modern applications to your customers – achieving performance, scale, continuous deployment, elasticity, or just a happier, more productive dev team! Check out the nginx.conf 2017 CFP for a list of [ more… ]

NGINX Dynamic Modules: How They Work

2017-04-08 KENNETH 0

NGINX Dynamic Modules: How They Work td { padding-right: 10px; } This post is adapted from a presentation delivered at nginx.conf 2016 by NGINX, Inc. developer Maxim Dounin. You can view a recording of the presentation on YouTube. Introduction 0:17 The Basics 1:42 Are Dynamic Modules Really Needed? 3:00 Main Goals of Dynamic Modules 3:32 Mini How-To 4:07 Implementation Details 4:45 Initial Trivial Solution 5:29 Subtle Parts 5:46 Module Config Scripts 7:28 List of Modules: ngx_modules 8:34 Module Indexes 9:48 Order of Modules 11:01 Signature Checking 12:36 Version Checking 13:14 Filter Chains 16:00 What We Ended Up With 16:41 Conversion 17:15 ngx_count_modules() 17:41 ngx_modules to cycle->modules 17:57 Config Script 18:51 Compatible Config Version 19:20 Parameters of auto/module 20:39 Complex Modules 21:06 How Loading Works 21:20 The load_module Directive 21:35 Configuration Reload 22:36 How to Upgrade a Module? 23:02 Further Improvements 23:14 Compatibility [ more… ]