Why You Should Choose a Software-Based Load Balancer

33
Why You Should Choose a Software-Based Load Balancer Rick Nelson Nginx, Inc.

description

The IT world is rapidly moving towards software-based solutions and virtualization in all areas of application performance and delivery. In this webinar, we will talk about why the flexibility and power of a software-based load balancer, like NGINX Plus, is the right choice for the modern IT infrastructure. View full webinar on demand at http://bit.ly/nginxsoftwareloadbalancer

Transcript of Why You Should Choose a Software-Based Load Balancer

Page 1: Why You Should Choose a Software-Based Load Balancer

Why You Should Choose a Software-Based Load Balancer

Rick Nelson

Nginx, Inc.

Page 2: Why You Should Choose a Software-Based Load Balancer

About this webinar

The world is moving to software-based approaches and away from

using proprietary and static hardware. This has been driven first by

server virtualization and more recently by cloud computing. This is

occurring up and down the IT stack, and this includes the Application

Delivery Controller or load balancing layer.

Page 3: Why You Should Choose a Software-Based Load Balancer

The Future is Software

• Server Virtualization

• Cloud Computing

• Software Switches

• Software Routers

• Software Firewalls

• Software Load Balancers

Page 4: Why You Should Choose a Software-Based Load Balancer

DIFFERENT TYPES OF

LOAD BALANCERS

Page 5: Why You Should Choose a Software-Based Load Balancer

Different Types of Load Balancers

Hardware Load Balancers

Proprietary Hardware

Proprietary Operating System

VS 1 VS 2 VS 3 VS 4 VS 5

Load Balancing Software

A Virtual Server (VS) is the configuration and resources needed to load-balance an application.

Page 6: Why You Should Choose a Software-Based Load Balancer

Different Types of Load Balancers

Virtualized Load Balancers

LB Soft

Proprietary/Commodity Hypervisor

Proprietary Hardware

LB Soft LB Soft LB Soft LB Soft

Prop OS Prop OS Prop OS Prop OSProp OS

VS 1 VS 2 VS 3 VS 4 VS 5

Page 7: Why You Should Choose a Software-Based Load Balancer

Different Types of Load Balancers

Virtual Appliance Load Balancers

LB Soft

VMware

Commodity Hardware

LB Soft LB Soft LB Soft LB Soft

Prop OS Prop OS Prop OS Prop OSProp OS

VS 1 VS 2 VS 3 VS 4 VS 5

Page 8: Why You Should Choose a Software-Based Load Balancer

Different Types of Load BalancersSoftware Load Balancers

Commodity Hardware

Linux

NGINX Plus

NGINX+

VMware

Commodity Hardware

NGINX+ NGINX+ NGINX+ NGINX+

Linux Linux Linux LinuxLinux

VS 1 VS 2 VS 3 VS 4 VS 5

VS 1 VS 2 VS 3 VS 4 VS 5

Page 9: Why You Should Choose a Software-Based Load Balancer

What is a Software-Based Load Balancer

• Runs on generic hardware/virtualization

• Available as a software installation

• Virtual load balancer ≠ software load balancer

Page 10: Why You Should Choose a Software-Based Load Balancer

WHY CHOOSE A

SOFTWARE LOAD BALANCER

Page 11: Why You Should Choose a Software-Based Load Balancer

Why Software-Based Load Balancing?

Flexibility

Page 12: Why You Should Choose a Software-Based Load Balancer

Run Anywhere

• Commodity hardware

• Hypervisor

• Containers

• Cloud

• The same software everywhere

Page 13: Why You Should Choose a Software-Based Load Balancer

Right Sizing

• Buy for what you need now

Page 14: Why You Should Choose a Software-Based Load Balancer

Buying a Hardware Load Balancer

0

5

10

15

20

0 1 2 3 4 5

Throughput

Years

Page 15: Why You Should Choose a Software-Based Load Balancer

Buying a Hardware Load Balancer

0

5

10

15

20

0 1 2 3 4 5

Throughput

Years

Page 16: Why You Should Choose a Software-Based Load Balancer

Buy for what you need now

0

5

10

15

20

0 1 2 3 4 5

Throughput

Years

N N

N N

N N

Page 17: Why You Should Choose a Software-Based Load Balancer

Right Sizing

• Buy for what you need now

• Buy hardware that matches your needs

Page 18: Why You Should Choose a Software-Based Load Balancer

Throughput vs. Features

0

2

4

6

8

10

12

L4 Load Balancing SSL Bulk Encryption Compression L7 Scripting, WAF

Hardware Load Balancer

Page 19: Why You Should Choose a Software-Based Load Balancer

Right Sizing

• Buy for what you need now

• Buy hardware that matches your needs

• Elasticity

Page 20: Why You Should Choose a Software-Based Load Balancer

Elasticity

0

5

10

15

20

Jul Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun

Throughput

N N N N

N N N N N

Page 21: Why You Should Choose a Software-Based Load Balancer

Deployment Flexibility

• Rapid deployment

• Bare metal, VM, container, existing server

• Software is DevOps friendly

Page 22: Why You Should Choose a Software-Based Load Balancer

Deploying a Hardware Load Balancer

Place the order $$$

Wait …

Take delivery

Install & configure

Page 23: Why You Should Choose a Software-Based Load Balancer

Deploying a Software Load Balancer

on HardwarePlace the order $$

Get a server from inventory

Download the software

Install & configure

Internet

Page 24: Why You Should Choose a Software-Based Load Balancer

Multi-Tenancy

• True multi-tenancy is hard

• You can’t get true isolation – noisy neighbor

• Leads to feature restrictions

• Size for max load – under commit resources

Page 25: Why You Should Choose a Software-Based Load Balancer

Multi-Tenancy

Hardware LB

App 1

App 2

App 3

App 4 App 5

App 6

App 7

App 8

Page 26: Why You Should Choose a Software-Based Load Balancer

A Better Multi-Tenancy

• Multi-tenant using multi-instance

• Isolation

• Full feature availability

• Size for each application

Page 27: Why You Should Choose a Software-Based Load Balancer

Multi-Instance

App 1

App 2

App 3

App 4 App 5

App 6

App 7

App 8

N N N N N

N N

N NN N N

N N

N NN N

Page 28: Why You Should Choose a Software-Based Load Balancer

New Hardware Technologies

• Latest chipsets

• New chip architectures (Atom, ARM)

Page 29: Why You Should Choose a Software-Based Load Balancer

Objections

• You can’t get performance out of software

– The H/W ADC has an SSL accelerator card

– The H/W ADC has dedicated network ASICs

• You really can get performance out of software

Page 30: Why You Should Choose a Software-Based Load Balancer

What is NGINX?

Internet

N

Web ServerServe content from disk

Application ServerFastCGI, uWSGI, Passenger…

ProxyCaching, Load Balancing… HTTP traffic

Application Acceleration

SSL and SPDY termination

Performance Monitoring

High Availability

Advanced Features: Bandwidth Management

Content-based Routing

Request Manipulation

Response Rewriting

Authentication

Video Delivery

Mail Proxy

GeoLocation

Page 31: Why You Should Choose a Software-Based Load Balancer

Summary

• What you need

• Where you need it

• When you need it

A software load balancer lets you deploy:

Page 32: Why You Should Choose a Software-Based Load Balancer

Questions and Answers

Page 33: Why You Should Choose a Software-Based Load Balancer

Closing Thoughts

• 40% of the busiest websites use NGINX

• Check out the previous webinar on tuning at nginx.com

• Future webinars: nginx.com/webinars

• Blogs: nginx.com/blog

Try NGINX F/OSS (nginx.org) or NGINX Plus (nginx.com)