Scaling MySQL with TCP Load Balancing and Galera Cluster

2016-11-17 KENNETH 0

Scaling MySQL with TCP Load Balancing and Galera Cluster We introduced TCP load balancing in NGINX Plus R5, and have continually added features in subsequent releases, as well as support for UDP load balancing. In this article we explore the key requirements for TCP load balancing and how NGINX Plus addresses them. To explore the features of NGINX Plus we will use a simple test environment that represents the key components of an application with a scaled database backend. For complete instructions on building the test environment, see Appendix 1. The test environment for load balancing MySQL nodes In this environment NGINX Plus acts as a reverse proxy for the database server, listening on the default MySQL port of 3306. This provides a simple interface to the client, while the backend MySQL nodes can be scaled out (and even taken offline) without affecting the client in any [ more… ]

Mitigating the Thundering Herd Problem at PBS with NGINX

2016-11-15 KENNETH 0

Mitigating the Thundering Herd Problem at PBS with NGINX td { padding-right: 10px; } This post is adapted from a presentation delivered at nginx.conf 2016 by Mike Howsden of PBS Digital. You can view a recording of the presentation on YouTube. Introduction 0:56 The proxy_cache_use_stale Directive 1:33 What Is Thundering Herd? 2:48 Two Servers 3:22 The Python Code 3:38 No Cache 4:05 10‑Second Cache 4:55 More Load 5:03 Even More Load 5:49 Let’s Try Using Stale Cache 6:30 Stale Cache Caveats 6:52 The error and timeout Parameters 7:47 More Caveats 8:29 A More Real‑World Example 9:21 Segregate URLS Based on Cacheability 10:51 What Does It All Mean? 11:28 Demo 21:46 What Thundering Herd Really Is 23:54 Business Value 30:57 Future Improvements Recommended Reading Introduction Mike Howsden: My name’s Mike Howsden and I’m the Director of DevOps at PBS Digital. I spend my days writing automation [ more… ]

NGINX Plus Helps Ecommerce Vendors Improve SEO Results

2016-11-12 KENNETH 0

NGINX Plus Helps Ecommerce Vendors Improve SEO Results tl;dr With NGINX and NGINX Plus, you can change your site architecture as needed without suffering SEO penalties. The high performance of NGINX, and its easy‑to‑implement rewrite rules, make it simple to point existing URLs to new page locations. In addition, powerful rewrite rules and other NGINX features make it easy to move to HTTPS, which increases user confidence in your site and gives you an SEO boost. Problem Search engine optimization – SEO – is a concern for all sites. The lessons in this blog post apply, to some extent, to anyone managing a site. But SEO is even more of a “do or die” concern for ecommerce sites, large and small. Showing up on the first page of Google search results for relevant products – preferably at the top – is crucial for all online [ more… ]

MRA, Part 6: Implementing the Circuit Breaker Pattern with NGINX Plus

2016-11-11 KENNETH 0

MRA, Part 6: Implementing the Circuit Breaker Pattern with NGINX Plus Author’s note – This blog post is the sixth in a series: Introducing the Microservices Reference Architecture from NGINX MRA, Part 2: The Proxy Model MRA, Part 3: The Router Mesh Model MRA, Part 4: The Fabric Model MRA, Part 5: Adapting the Twelve‑Factor App for Microservices MRA, Part 6: Implementing the Circuit Breaker Pattern with NGINX Plus (this post) I’ve also written a separate article about web frontends for microservices applications, and check out these other NGINX resources about microservices: A very useful and popular series by Chris Richardson about microservices application design The Chris Richardson articles collected into a free ebook, with additional tips on implementing microservices with NGINX and NGINX Plus Other microservices blog posts Microservices webinars Microservices application design has wrought a wholesale change in the way that applications function. In a microservices architecture, an “application” is now a [ more… ]

Alkami Technology Achieves “A+” Security and Scalability with NGINX Plus

2016-11-03 KENNETH 0

Alkami Technology Achieves “A+” Security and Scalability with NGINX Plus Providing Flexibility to Ensure a Skyrocketing User Base is Protected   Situation In 2009, Alkami Technology set out to transform ordinary online banking into a high-value experience for both financial institutions and their end users. At the time, “Web 2.0” companies like Twitter and Facebook were focusing on delivering superior user experiences, but the online banking experience was lagging behind. The team at Alkami Technology began creating a compelling user interface for online banking that would not only be friendly and intuitive, but also enrich the lives of end users. Beyond traditional online banking activities, Alkami Technology offers features in its platform that help end users become more educated about finance, build long-term wealth, and monitor and improve their spending habits. Alkami’s platform revolutionizes the mobile and online banking experience [ more… ]