nginScript – A New and Powerful Way to Configure NGINX

2016-03-02 KENNETH 0

nginScript – A New and Powerful Way to Configure NGINX The following is adapted from a presentation given by Igor Sysoev at nginx.conf 2015, held in San Francisco in September. You can view the video of the nginScript talk on YouTube. Table of Contents 0:27 nginScript Beginnings 1:30 The Lua Module 2:23 Choosing JavaScript 3:33 JavaScript VMs 4:04 V8 Issues 6:15 The nginScript VM 7:51 The State of nginScript 9:10 The nginScript Interface 9:58 $r.response 11:34 Questions and Answers 0:27 nginScript Beginnings Since the start of NGINX’s development, I’ve wanted NGINX to have the ability to run scripts inside the server. I first attempted to implement this capability in 2005. At that time I tried to embed Perl – which was, and still is, my favorite language for general scripting. Perl has some drawbacks, however, that make it unsuitable as [ more… ]

No Image

Join NGINX Across the Pond in London at QCon, March 7-9

2016-03-01 KENNETH 0

Join NGINX Across the Pond in London at QCon, March 7-9 NGINX will be in London at QCon on March 7-9. Come meet us! Learn from web performance and DevOps experts why so many of the most innovative developers choose NGINX and NGINX Plus to deliver their websites and applications. We’ll show you how to optimize your websites and build resilient systems at scale. Drop by booth #1 to: Discover how NGINX and NGINX Plus best fits into your app architecture. Chat with our tech experts about the benefits of adopting public, private, and hybrid cloud services. Get some cool NGINX swag – ask us how you can get your very own NGINX t-shirt! See you in London! The post Join NGINX Across the Pond in London at QCon, March 7-9 appeared first on NGINX. Source: Join NGINX Across the [ more… ]

Load Balancing Applications with NGINX Plus in a CoreOS Cluster

2016-03-01 KENNETH 0

Load Balancing Applications with NGINX Plus in a CoreOS Cluster CoreOS is a Linux OS that is designed to run applications across a cluster of machines. There can be multiple running copies of a web application (each in a separate Docker or rkt container), distributed across a cluster. For such a deployment the configuration of the load balancer needs to change frequently in reaction to changes in the cluster, including: A change in the number of running containers, when (for example) you scale the application up or down A change in the IP addresses of the containers, when (for example) one of the machines goes down due to failure or some other reason, and the affected containers get started on another machine NGINX Plus provides an HTTP on-the-fly reconfiguration API, which lets you update the configuration of the load balancer [ more… ]

Maximizing PHP 7 Performance with NGINX, Part I: Web Serving and Caching

2016-02-27 KENNETH 0

Maximizing PHP 7 Performance with NGINX, Part I: Web Serving and Caching Introduction: How NGINX is Used with PHP PHP is the most popular way to create a server-side Web application, with roughly 80% market share. (ASP.net is a distant second, and Java an even more distant third.) The PHP universe includes a multitude of PHP frameworks; the most popular include Laravel, Phalcon, and Symfony 2. PHP is also the basis for popular content management systems (CMSs) such as WordPress and Drupal. (The most recent Drupal release, Drupal 8, includes significant Symfony 2 integration. Now the PHP team is releasing a new version, PHP 7  –  more than a decade after the introduction of PHP 5. During this time, usage of the web and the demands on websites have both increased exponentially. PHP has contributed to that rapid growth  –  [ more… ]

Buydig.com Gets Enhanced Security and Performance with NGINX Plus

2016-02-27 KENNETH 0

Buydig.com Gets Enhanced Security and Performance with NGINX Plus Securing and Simplifying a High Traffic E-Commerce Website     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, Buydig.com was vulnerable to denial-of-service attacks. “Our search for a [ more… ]