How Buydig.com Scales and Secures Its Microsoft .NET App Without Changing a Single Line of Code

2016-02-27 KENNETH 0

How Buydig.com Scales and Secures Its Microsoft .NET App Without Changing a Single Line of Code Enhancing Security and Performance for a High Traffic E-Commerce Website with NGINX Plus     Situation Buydig.com is a fast growing e-commerce store with nearly 50,000 daily visitors – and even more during its peak shopping season. From photography equipment to computer accessories to home entertainment systems, Buydig.com offers a comprehensive selection of consumer electronics at low prices across several countries. In 2003 – the early days of Buydig.com – the website was built as a two-layer application, with a Microsoft IIS web server and SQL Server as the backend database. But as the number of visitors increased over time, that architecture couldn’t keep up with the traffic. Pages slowed down and eventually stopped responding. Also, without a frontend load balancer and reverse proxy, [ more… ]

Building a Web Frontend with Microservices and NGINX Plus

2016-02-26 KENNETH 0

Building a Web Frontend with Microservices and NGINX Plus Here at NGINX we’ve begun exploring the frontiers of microservices application development through our NGINX Microservices Reference Architecture, with a sample photo storage and sharing site as our prototype. This blog post is the first in a series of articles dedicated to exploring the real-world problems and solutions that developers, architects, and operations engineers deal with on a daily basis in building their web-scale applications. This article addresses an application-delivery component that has been largely ignored in the microservices arena: the web frontend. While many articles and books have been written about service design, there is a paucity of information about how to integrate a rich, user-experience-based web component that overlays onto microservice components. This article attempts to provide a solution to the thorny problem of web development in a microservices [ more… ]

No Image

Service Discovery in NGINX Plus via etcd

2016-02-20 KENNETH 0

Service Discovery in NGINX Plus via etcd Service discovery is one of the big challenges for applications with a microservices architecture and for other distributed or service-oriented systems. The network locations of service instances can change frequently due to autoscaling, failures, or upgrades, so they are usually dynamically assigned. That means applications need a sophisticated service discovery mechanism for tracking the existence and current location of a service instance. This blog post describes how to dynamically add or remove servers in an NGINX Plus upstream group by registering them with etcd, a popular open source tool for service discovery. The solution uses NGINX Plus’ on-the-fly reconfiguration API, which eliminates the need to reload the NGINX Plus configuration when changing the set of load-balanced servers. With NGINX Plus Release 8 (R8), changes you make with the API can be configured to persist across restarts [ more… ]

No Image

Using Free SSL/TLS Certificates from Let’s Encrypt for NGINX

2016-02-18 KENNETH 0

Using Free SSL/TLS Certificates from Let’s Encrypt for NGINX Let’s Encrypt is a new certificate authority (CA) offering free and automated SSL/TLS certificates. Certificates issued by Let’s Encrypt are trusted by most browsers in production today, including Internet Explorer on Windows Vista. Simply download and run the Let’s Encrypt client to generate a certificate (there are a few more steps than that, of course, though not many). Before issuing a certificate, Let’s Encrypt validates ownership of your domain. First, The Let’s Encrypt client running on your host creates a temporary file (a token) with the required information in it. The Let’s Encrypt validation server makes an HTTP request to retrieve the file and validates the token, which serves to verify that the DNS record for your domain resolves to the server running the Let’s Encrypt client. The Let’s Encrypt client does not yet officially support NGINX and NGINX Plus [ more… ]

Maximizing Drupal 8 Performance with NGINX – Part II: Caching and Load Balancing

2016-02-16 KENNETH 0

Maximizing Drupal 8 Performance with NGINX – Part II: Caching and Load Balancing The following is adapted from a webinar hosted on January 20th, 2016 by Floyd Smith and Faisal Memon. This blog post is the second of two parts, and is focused on caching and using NGINX as a load balancer; the first part, focused on site architecture and configuring NGINX for Drupal 8, can be found here. Table of Contents 22:18 Introduction 23:20 Why Cache with NGINX? 24:26 Microcaching with NGINX 26:06 Configuring NGINX for Microcaching 28:00 Optimized Microcaching with NGINX 30:48 Cache Purging with NGINX Plus 32:00 Load Balancing with NGINX 35:23 Session Persistence with NGINX Plus 38:51 SSL Offloading with NGINX 40:57 HTTP/2 With NGINX 42:30 Summary 22:18 Introduction Faisal: Once you have a server running Drupal 8 and NGINX properly, you can start looking at [ more… ]