Using DNS for Service Discovery with NGINX and NGINX Plus

2016-04-28 KENNETH 0

Using DNS for Service Discovery with NGINX and NGINX Plus One of the great advantages of a microservices architecture is how quickly and easily you can scale service instances. With multiple service instances you need a load balancer and some way to quickly inform it of changes to the set of available service instances. This is known as service discovery. NGINX Plus provides two options for integrating with service discovery systems: the on-the-fly reconfiguration API and Domain Name System (DNS) re-resolution. This blog post focuses on the latter. When you scale service instances (we’ll call them backends in this blog post) by adding or removing virtual machines (VMs) or containers, the configuration of the load balancer must be changed to reflect every change to the set of backends. Scaling can occur multiple times per day, per hour, or even per minute, depending [ more… ]

Introducing NGINX 1.10 and 1.11

2016-04-27 KENNETH 0

Introducing NGINX 1.10 and 1.11 Today we’re pleased to announce NGINX 1.10 and 1.11. These version numbers define our stable and mainline branches – the open source releases that we will focus on developing and improving for the next 12 months. NGINX version 1.10.0 was released today, and the next feature release of our mainline branch will be numbered 1.11.0. Explaining NGINX’s Version Numbering NGINX, Inc. manages two branches of the well-known open source NGINX web server and accelerating proxy: The odd-numbered version (1.11) is the mainline branch. This branch is actively developed; new minor releases (1.11.1, 1.11.2, etc.) are made approximately every 4 to 6 weeks, regularly introducing new features. The even-numbered version (1.10) is our stable branch. This branch is provided for users who don’t want to stay at the forefront of NGINX development, and is updated only when critical issues need to be fixed. For example, [ more… ]

Connecting Your Applications Part I: NGINX and Microservices

2016-04-26 KENNETH 0

Connecting Your Applications Part I: NGINX and Microservices This post is adapted from a webinar hosted on April 7th, 2016 by Floyd Smith and Michael Hausenblas. This blog post is the first of three parts, and is focused on microservices; the second part, focused on container orchestration, is coming soon. You can watch a replay of the webinar here. Table of Contents 0:00 Introduction 1:48 The Way it Was 3:02 The Monolithic Architecture 3:43 Microservices Benefits 4:40 The Microservices Architecture 4:50 NGINX Plus with Monoliths 6:37 Microservices Architecture Continued 6:55 NGINX Plus and Microservices 7:56 Microservices Architecture with NGINX Plus 0:00 Introduction Floyd: Good morning, good afternoon, and good evening to everybody signed onto this webinar around the world. I’m Floyd Smith from NGINX, and I’m here in San Francisco with Michael Hausenblas, a technical expert at Mesosphere and author [ more… ]

No Image

NGINX Plus vs. F5 BIG-IP: A Price-Performance Comparison

2016-04-26 KENNETH 0

NGINX Plus vs. F5 BIG-IP: A Price-Performance Comparison table, th, td { border: 1px solid black; } th { background-color: #d3d3d3; align: left; padding-left: 5px; padding-bottom: 2px; padding-top: 2px; line-height: 120%; } td { padding-left: 5px; padding-bottom: 5px; padding-top: 5px; line-height: 120%; } Recently a number of our customers, including AppNexus and IgnitionOne, have replaced leading hardware application delivery controller (ADC) appliances with NGINX Plus, and have seen both large cost savings and significant performance gains. They are not alone – other massive web properties have found that software implementations of ADC functions (including historically hardware‑intensive capabilities like SSL/TLS cryptography) have proven to be more than fast enough for their workloads. We recently published an NGINX Sizing Guide based on the results from a range of tests measuring the performance of NGINX Plus on bare-metal servers. In this article, we compare those [ more… ]

No Image

Service Discovery for NGINX Plus Using DNS SRV Records from Consul

2016-04-23 KENNETH 0

Service Discovery for NGINX Plus Using DNS SRV Records from Consul Our previous blog post on service discovery with Consul discussed the importance of service discovery in distributed systems, including service-oriented and microservices architectures. It described how to use NGINX Plus’ on‑the‑fly reconfiguration API to dynamically add or remove load‑balanced servers that are registered with Consul. In this blog post, we will go over another method to dynamically reconfigure your upstream servers in NGINX Plus using Consul’s DNS interface. With this method, NGINX Plus periodically re‑resolves the service name using Consul DNS. If the list of IP addresses associated with the service has changed, NGINX Plus immediately starts load balancing across the updated group of servers. To make it easier to combine upstream reconfiguration in NGINX Plus with Consul DNS, we’ve created a sample demo, consul-dns-srv-demo, with step‑by‑step instructions for creating the configuration described in [ more… ]