SlideShare una empresa de Scribd logo
1 de 26
7 Ways to Accelerate Your
Website Using NGINX
Andrew Hutchings, Technical Product Manager, NGINX
What is NGINX?
Internet
Webserver
Serve content from disk
Application Gateway
FastCGI, uWSGI, Passenger…
Reverse Proxy
Caching, Load Balancing…
HTTP traffic
163 milliontotal sites
running on NGINX
3Source: Netcraft May 2016 Web Server Survey
51%of the Top 10,000
most visited websites
4Source: W3Techs Web Technology Survey
NGINX has become
the heart of the modern web
5
MORE INFORMATION AT NGINX.COM
• First OSS release in 2004
• Company founded in 2011
• VC-backed by industry leaders
• 500+ Customers
• 100+ Employees
Igor Sysoev, NGINX creator and founder
MORE INFORMATION AT NGINX.COM
OPEN SOURCE
PLUS
FEATURES
REQUEST ROUTING COMPRESSION LOAD BALANCING APP HEALTH MONITORING GUI VISUALIZATION
SSL EMBEDDED SCRIPT LANGUAGE EDGE CACHE MEDIA STREAMING MONITORING ANALYTICS CONFIGURATION RESTFUL API
What’s inside NGINX Plus?
7
App Delivery
ControllerStorage
App Servers
Web
Servers
N
N
N
You can add us to your current stack today
Application delivery for microservices
NGINX is in each microservice,
ensuring they are:
• Connected
• Served
• Authenticated
• Secured
• Cached
• Load Balanced
• Scaled
9
nginScript
• First preview announced at nginx.conf 2015
• Custom JS engine
• One VM for each request
• JS snippets embedded in NGINX configuration
• Evaluated at runtime
Dynamic modules
• Easy distribution of 3rd party modules to end users
• Migration of existing modules (rebuild)
• Only certified modules loadable in NGINX Plus
• Dynatrace is certified NGINX partner
• Dynatrace 6.2 offers NGINX web server agent
• Full coverage of transactions
• Part of browser-to-database visibility of business
logic in operation
“Once you’ve decided to welcome NGINX as a new member in your enterprise
environment, you have to care for proper monitoring. The more complex your
environment becomes, the more important it is to get full end-to-end visibility of
your transactions.”
Harald Zeitlhofer
Performance Advocate, Dynatrace
Dynatrace for NGINX
NGINX in Dynatrace
Transaction Flow
Performance Monitoring in
Dynatrace Transaction Trace
7 Ways to Accelerate Your
Website Using NGINX
(with a little help from our
friends at Dynatrace)
15
0
10,000
20,000
30,000
40,000
50,000
60,000
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
IP Traffic (PB/month)
0
500
1,000
1,500
2,000
2,500
3,000
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
Online users (millions)
0
20
40
60
80
100
120
0
200
400
600
800
1,000
1,200
1,400
1,600
1,800
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
Web Page Weight
Weight (kB) Weight (objects)
0
2
4
6
8
10
12
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
Typical user wait time (seconds)
MORE INFORMATION AT
NGINX.COM
1. Event-Driven Reverse Proxies
MORE INFORMATION AT
NGINX.COM
2. Scale horizontally with Load Balancing
Internet
3. Cache all the things...
MORE INFORMATION AT
NGINX.COM
4. Use compression
gzip on;
gzip_min_length 1000;
gzip_comp_level 1;
gzip_proxied any;
gzip_types text/plain text/xml text/css application/x-javascript;
gzip_vary on;
gzip_disable "MSIE [1-6].(?!.*SV1)";
Content-Encoding: gzip
MORE INFORMATION AT
NGINX.COM
5. Optimize your SSL and TLS settings
HTTPS to upstreamHTTPS to client
Remote client’s
certificate
NGINX’s client
certificate
Upstream server’s
certificate
NGINX’s server
certificate
ssl_protocols TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers
"ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:EC
DH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS";
MORE INFORMATION AT
NGINX.COM
6. Enable HTTP/2
Up to 4x
performance
improvement
for complex
sites on high-
latency
networks
7. Monitor, Improve, Iterate
Harald Zeitlhofer‘s favorite performance
tools
• Load Generator
(Apache Benchmark, Selenium, JMeter)
• Firebug, Google Developer Tools
Dynatrace Ajax Edition
• Dynatrace Application Monitoring Free Trial
– Free trial license for 30 days
– Free personal license for developers
• Dynatrace Ruxit
– 2016 free hours for monitoring
http://bit.ly/monitoring-2016
http://bit.ly/dttrial
Our joint further information resources
1. about:performance site
2. NGINX performance blog post – Harald Z
3. PHP on NGINX performance post – Harald Z
4. NGINX performance presentations
5. Application Performance Management with NGINX
6. NGINX Plus description
7. NGINX vs. F5 price/performance comparison
8. NGINX Microservices Reference Architecture – Proxy Model
9. NGINX Plus R9 features
10. NGINX documentation
11. Introduction to Microservices blog post
12. Microservices ebook – free download
Thank You
nginx.com | @nginx

Más contenido relacionado

Destacado

A-key IoT for Security at Work
A-key IoT for Security at WorkA-key IoT for Security at Work
A-key IoT for Security at WorkSabino Giglio
 
Spanish Blog Presentation Mi Instituto Ideal Kg
Spanish Blog Presentation  Mi Instituto Ideal KgSpanish Blog Presentation  Mi Instituto Ideal Kg
Spanish Blog Presentation Mi Instituto Ideal Kgroydsmfl01
 
Retos mentales 01 JORGE LUIS
Retos mentales 01 JORGE LUISRetos mentales 01 JORGE LUIS
Retos mentales 01 JORGE LUISWuicho XD
 
Geração de ideias inovadoras aplicadas no seu dia a dia
Geração de ideias inovadoras aplicadas no seu dia a diaGeração de ideias inovadoras aplicadas no seu dia a dia
Geração de ideias inovadoras aplicadas no seu dia a diaAlessandro Saade
 
Nginx conference 2015
Nginx conference 2015Nginx conference 2015
Nginx conference 2015ING-IT
 
Comunicacao interna endomarketing 24x7
Comunicacao interna endomarketing 24x7Comunicacao interna endomarketing 24x7
Comunicacao interna endomarketing 24x724x7 COMUNICAÇÃO
 
Yahoo 10-Q SEC filing reveals data breach was known for two years
Yahoo 10-Q SEC filing reveals data breach was known for two yearsYahoo 10-Q SEC filing reveals data breach was known for two years
Yahoo 10-Q SEC filing reveals data breach was known for two yearsDavid Sweigert
 
Aula 6 Modelos Mentais: conceito e análise
Aula 6  Modelos Mentais: conceito e análiseAula 6  Modelos Mentais: conceito e análise
Aula 6 Modelos Mentais: conceito e análiseCarlos Alves
 
Present perfect
Present perfectPresent perfect
Present perfectmluisavm
 
Trace and Heavy Metals in Wastewater
Trace and Heavy Metals in WastewaterTrace and Heavy Metals in Wastewater
Trace and Heavy Metals in WastewaterIlyana Causing
 

Destacado (12)

A-key IoT for Security at Work
A-key IoT for Security at WorkA-key IoT for Security at Work
A-key IoT for Security at Work
 
Spanish Blog Presentation Mi Instituto Ideal Kg
Spanish Blog Presentation  Mi Instituto Ideal KgSpanish Blog Presentation  Mi Instituto Ideal Kg
Spanish Blog Presentation Mi Instituto Ideal Kg
 
impress tic
impress ticimpress tic
impress tic
 
Retos mentales 01 JORGE LUIS
Retos mentales 01 JORGE LUISRetos mentales 01 JORGE LUIS
Retos mentales 01 JORGE LUIS
 
Geração de ideias inovadoras aplicadas no seu dia a dia
Geração de ideias inovadoras aplicadas no seu dia a diaGeração de ideias inovadoras aplicadas no seu dia a dia
Geração de ideias inovadoras aplicadas no seu dia a dia
 
Startup - O Caminho das Pedras...
Startup - O Caminho das Pedras...Startup - O Caminho das Pedras...
Startup - O Caminho das Pedras...
 
Nginx conference 2015
Nginx conference 2015Nginx conference 2015
Nginx conference 2015
 
Comunicacao interna endomarketing 24x7
Comunicacao interna endomarketing 24x7Comunicacao interna endomarketing 24x7
Comunicacao interna endomarketing 24x7
 
Yahoo 10-Q SEC filing reveals data breach was known for two years
Yahoo 10-Q SEC filing reveals data breach was known for two yearsYahoo 10-Q SEC filing reveals data breach was known for two years
Yahoo 10-Q SEC filing reveals data breach was known for two years
 
Aula 6 Modelos Mentais: conceito e análise
Aula 6  Modelos Mentais: conceito e análiseAula 6  Modelos Mentais: conceito e análise
Aula 6 Modelos Mentais: conceito e análise
 
Present perfect
Present perfectPresent perfect
Present perfect
 
Trace and Heavy Metals in Wastewater
Trace and Heavy Metals in WastewaterTrace and Heavy Metals in Wastewater
Trace and Heavy Metals in Wastewater
 

Similar a 7 Ways to Accelerate Your Website Using NGINX

Flawless Application Delivery with NGINX Plus
Flawless Application Delivery with NGINX PlusFlawless Application Delivery with NGINX Plus
Flawless Application Delivery with NGINX PlusPeter Guagenti
 
NGINX Controller: Configuration, Management, and Troubleshooting at Scale
NGINX Controller: Configuration, Management, and Troubleshooting at Scale NGINX Controller: Configuration, Management, and Troubleshooting at Scale
NGINX Controller: Configuration, Management, and Troubleshooting at Scale NGINX, Inc.
 
NGINX Basics: Ask Me Anything – EMEA
NGINX Basics: Ask Me Anything – EMEANGINX Basics: Ask Me Anything – EMEA
NGINX Basics: Ask Me Anything – EMEANGINX, Inc.
 
How to Adopt Infrastructure as Code
How to Adopt Infrastructure as CodeHow to Adopt Infrastructure as Code
How to Adopt Infrastructure as CodeNGINX, Inc.
 
Top Six Web App Development Technologies In 2018
Top Six Web App Development Technologies In 2018Top Six Web App Development Technologies In 2018
Top Six Web App Development Technologies In 2018PixelCrayons
 
Driving Success In The Cloud With NGINX
Driving Success In The Cloud With NGINXDriving Success In The Cloud With NGINX
Driving Success In The Cloud With NGINXNGINX, Inc.
 
NGINX: The Past, Present and Future of the Modern Web
NGINX: The Past, Present and Future of the Modern WebNGINX: The Past, Present and Future of the Modern Web
NGINX: The Past, Present and Future of the Modern WebKevin Jones
 
Unlocking personalisation on the edge.pptx
Unlocking personalisation on the edge.pptxUnlocking personalisation on the edge.pptx
Unlocking personalisation on the edge.pptxHenrySmith571722
 
Simplify Microservices with the NGINX Application Platform - EMEA
Simplify Microservices with the NGINX Application Platform - EMEASimplify Microservices with the NGINX Application Platform - EMEA
Simplify Microservices with the NGINX Application Platform - EMEANGINX, Inc.
 
ITS Partner Profile
ITS Partner ProfileITS Partner Profile
ITS Partner ProfileVlad_85
 
Delivering High Performance Websites with NGINX
Delivering High Performance Websites with NGINXDelivering High Performance Websites with NGINX
Delivering High Performance Websites with NGINXNGINX, Inc.
 
Cignex liferay-roadshow-singapore-27feb14-140304061735-phpapp02
Cignex liferay-roadshow-singapore-27feb14-140304061735-phpapp02Cignex liferay-roadshow-singapore-27feb14-140304061735-phpapp02
Cignex liferay-roadshow-singapore-27feb14-140304061735-phpapp02Eric Javier Espino Man
 
Netstairs web rtc_4_banking_financial_industry
Netstairs web rtc_4_banking_financial_industryNetstairs web rtc_4_banking_financial_industry
Netstairs web rtc_4_banking_financial_industryGLG (Gerson Lehrman Group)
 
In-Memory Computing Webcast. Market Predictions 2017
In-Memory Computing Webcast. Market Predictions 2017In-Memory Computing Webcast. Market Predictions 2017
In-Memory Computing Webcast. Market Predictions 2017SingleStore
 
Progressive Web Apps keynote, Google Developer Summit, Tokyo, Japan
Progressive Web Apps keynote, Google Developer Summit, Tokyo, JapanProgressive Web Apps keynote, Google Developer Summit, Tokyo, Japan
Progressive Web Apps keynote, Google Developer Summit, Tokyo, JapanRobert Nyman
 
cloudcomputing5-141224231751-conversion-gate02-1.pptx
cloudcomputing5-141224231751-conversion-gate02-1.pptxcloudcomputing5-141224231751-conversion-gate02-1.pptx
cloudcomputing5-141224231751-conversion-gate02-1.pptxssusere16bd9
 
NGINX, Istio, and the Move to Microservices and Service Mesh
NGINX, Istio, and the Move to Microservices and Service MeshNGINX, Istio, and the Move to Microservices and Service Mesh
NGINX, Istio, and the Move to Microservices and Service MeshNGINX, Inc.
 
Planning for a Digital Future
Planning for a Digital FuturePlanning for a Digital Future
Planning for a Digital FutureNETSCOUT
 
Intro to Neo4j
Intro to Neo4jIntro to Neo4j
Intro to Neo4jNeo4j
 

Similar a 7 Ways to Accelerate Your Website Using NGINX (20)

Flawless Application Delivery with NGINX Plus
Flawless Application Delivery with NGINX PlusFlawless Application Delivery with NGINX Plus
Flawless Application Delivery with NGINX Plus
 
NGINX Controller: Configuration, Management, and Troubleshooting at Scale
NGINX Controller: Configuration, Management, and Troubleshooting at Scale NGINX Controller: Configuration, Management, and Troubleshooting at Scale
NGINX Controller: Configuration, Management, and Troubleshooting at Scale
 
NGINX Basics: Ask Me Anything – EMEA
NGINX Basics: Ask Me Anything – EMEANGINX Basics: Ask Me Anything – EMEA
NGINX Basics: Ask Me Anything – EMEA
 
How to Adopt Infrastructure as Code
How to Adopt Infrastructure as CodeHow to Adopt Infrastructure as Code
How to Adopt Infrastructure as Code
 
Top Six Web App Development Technologies In 2018
Top Six Web App Development Technologies In 2018Top Six Web App Development Technologies In 2018
Top Six Web App Development Technologies In 2018
 
Driving Success In The Cloud With NGINX
Driving Success In The Cloud With NGINXDriving Success In The Cloud With NGINX
Driving Success In The Cloud With NGINX
 
ITB2017 - Nginx ppf intothebox_2017
ITB2017 - Nginx ppf intothebox_2017ITB2017 - Nginx ppf intothebox_2017
ITB2017 - Nginx ppf intothebox_2017
 
NGINX: The Past, Present and Future of the Modern Web
NGINX: The Past, Present and Future of the Modern WebNGINX: The Past, Present and Future of the Modern Web
NGINX: The Past, Present and Future of the Modern Web
 
Unlocking personalisation on the edge.pptx
Unlocking personalisation on the edge.pptxUnlocking personalisation on the edge.pptx
Unlocking personalisation on the edge.pptx
 
Simplify Microservices with the NGINX Application Platform - EMEA
Simplify Microservices with the NGINX Application Platform - EMEASimplify Microservices with the NGINX Application Platform - EMEA
Simplify Microservices with the NGINX Application Platform - EMEA
 
ITS Partner Profile
ITS Partner ProfileITS Partner Profile
ITS Partner Profile
 
Delivering High Performance Websites with NGINX
Delivering High Performance Websites with NGINXDelivering High Performance Websites with NGINX
Delivering High Performance Websites with NGINX
 
Cignex liferay-roadshow-singapore-27feb14-140304061735-phpapp02
Cignex liferay-roadshow-singapore-27feb14-140304061735-phpapp02Cignex liferay-roadshow-singapore-27feb14-140304061735-phpapp02
Cignex liferay-roadshow-singapore-27feb14-140304061735-phpapp02
 
Netstairs web rtc_4_banking_financial_industry
Netstairs web rtc_4_banking_financial_industryNetstairs web rtc_4_banking_financial_industry
Netstairs web rtc_4_banking_financial_industry
 
In-Memory Computing Webcast. Market Predictions 2017
In-Memory Computing Webcast. Market Predictions 2017In-Memory Computing Webcast. Market Predictions 2017
In-Memory Computing Webcast. Market Predictions 2017
 
Progressive Web Apps keynote, Google Developer Summit, Tokyo, Japan
Progressive Web Apps keynote, Google Developer Summit, Tokyo, JapanProgressive Web Apps keynote, Google Developer Summit, Tokyo, Japan
Progressive Web Apps keynote, Google Developer Summit, Tokyo, Japan
 
cloudcomputing5-141224231751-conversion-gate02-1.pptx
cloudcomputing5-141224231751-conversion-gate02-1.pptxcloudcomputing5-141224231751-conversion-gate02-1.pptx
cloudcomputing5-141224231751-conversion-gate02-1.pptx
 
NGINX, Istio, and the Move to Microservices and Service Mesh
NGINX, Istio, and the Move to Microservices and Service MeshNGINX, Istio, and the Move to Microservices and Service Mesh
NGINX, Istio, and the Move to Microservices and Service Mesh
 
Planning for a Digital Future
Planning for a Digital FuturePlanning for a Digital Future
Planning for a Digital Future
 
Intro to Neo4j
Intro to Neo4jIntro to Neo4j
Intro to Neo4j
 

Último

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 

Último (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 

7 Ways to Accelerate Your Website Using NGINX

  • 1. 7 Ways to Accelerate Your Website Using NGINX Andrew Hutchings, Technical Product Manager, NGINX
  • 2. What is NGINX? Internet Webserver Serve content from disk Application Gateway FastCGI, uWSGI, Passenger… Reverse Proxy Caching, Load Balancing… HTTP traffic
  • 3. 163 milliontotal sites running on NGINX 3Source: Netcraft May 2016 Web Server Survey
  • 4. 51%of the Top 10,000 most visited websites 4Source: W3Techs Web Technology Survey
  • 5. NGINX has become the heart of the modern web 5
  • 6. MORE INFORMATION AT NGINX.COM • First OSS release in 2004 • Company founded in 2011 • VC-backed by industry leaders • 500+ Customers • 100+ Employees Igor Sysoev, NGINX creator and founder
  • 7. MORE INFORMATION AT NGINX.COM OPEN SOURCE PLUS FEATURES REQUEST ROUTING COMPRESSION LOAD BALANCING APP HEALTH MONITORING GUI VISUALIZATION SSL EMBEDDED SCRIPT LANGUAGE EDGE CACHE MEDIA STREAMING MONITORING ANALYTICS CONFIGURATION RESTFUL API What’s inside NGINX Plus? 7
  • 9. Application delivery for microservices NGINX is in each microservice, ensuring they are: • Connected • Served • Authenticated • Secured • Cached • Load Balanced • Scaled 9
  • 10. nginScript • First preview announced at nginx.conf 2015 • Custom JS engine • One VM for each request • JS snippets embedded in NGINX configuration • Evaluated at runtime
  • 11. Dynamic modules • Easy distribution of 3rd party modules to end users • Migration of existing modules (rebuild) • Only certified modules loadable in NGINX Plus
  • 12. • Dynatrace is certified NGINX partner • Dynatrace 6.2 offers NGINX web server agent • Full coverage of transactions • Part of browser-to-database visibility of business logic in operation “Once you’ve decided to welcome NGINX as a new member in your enterprise environment, you have to care for proper monitoring. The more complex your environment becomes, the more important it is to get full end-to-end visibility of your transactions.” Harald Zeitlhofer Performance Advocate, Dynatrace Dynatrace for NGINX
  • 15. 7 Ways to Accelerate Your Website Using NGINX (with a little help from our friends at Dynatrace) 15
  • 16. 0 10,000 20,000 30,000 40,000 50,000 60,000 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 IP Traffic (PB/month) 0 500 1,000 1,500 2,000 2,500 3,000 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 Online users (millions) 0 20 40 60 80 100 120 0 200 400 600 800 1,000 1,200 1,400 1,600 1,800 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 Web Page Weight Weight (kB) Weight (objects) 0 2 4 6 8 10 12 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 Typical user wait time (seconds)
  • 17. MORE INFORMATION AT NGINX.COM 1. Event-Driven Reverse Proxies
  • 18. MORE INFORMATION AT NGINX.COM 2. Scale horizontally with Load Balancing Internet
  • 19. 3. Cache all the things...
  • 20. MORE INFORMATION AT NGINX.COM 4. Use compression gzip on; gzip_min_length 1000; gzip_comp_level 1; gzip_proxied any; gzip_types text/plain text/xml text/css application/x-javascript; gzip_vary on; gzip_disable "MSIE [1-6].(?!.*SV1)"; Content-Encoding: gzip
  • 21. MORE INFORMATION AT NGINX.COM 5. Optimize your SSL and TLS settings HTTPS to upstreamHTTPS to client Remote client’s certificate NGINX’s client certificate Upstream server’s certificate NGINX’s server certificate ssl_protocols TLSv1.1 TLSv1.2; ssl_prefer_server_ciphers on; ssl_ciphers "ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:EC DH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS";
  • 22. MORE INFORMATION AT NGINX.COM 6. Enable HTTP/2 Up to 4x performance improvement for complex sites on high- latency networks
  • 24. Harald Zeitlhofer‘s favorite performance tools • Load Generator (Apache Benchmark, Selenium, JMeter) • Firebug, Google Developer Tools Dynatrace Ajax Edition • Dynatrace Application Monitoring Free Trial – Free trial license for 30 days – Free personal license for developers • Dynatrace Ruxit – 2016 free hours for monitoring http://bit.ly/monitoring-2016 http://bit.ly/dttrial
  • 25. Our joint further information resources 1. about:performance site 2. NGINX performance blog post – Harald Z 3. PHP on NGINX performance post – Harald Z 4. NGINX performance presentations 5. Application Performance Management with NGINX 6. NGINX Plus description 7. NGINX vs. F5 price/performance comparison 8. NGINX Microservices Reference Architecture – Proxy Model 9. NGINX Plus R9 features 10. NGINX documentation 11. Introduction to Microservices blog post 12. Microservices ebook – free download

Notas del editor

  1. NGINX gives you all the tools you need to deliver your application reliably. Web Server NGINX is a fully featured web server that can directly serve static content. NGINX Plus can scale to handle hundreds of thousands of clients simultaneously, and serve hundreds of thousands of content resources per second. Application Gateway NGINX handles all HTTP traffic, and forwards requests in a smooth, controlled manner to PHP, Ruby, Java, and other application types, using FastCGI, uWSGI, and linux sockets. Reverse Proxy NGINX is a reverse proxy that you can put in front of your applications. NGINX can cache both static and dynamic content to improve overall performance, as well as load balance traffic enabling you to scale-out. Load Balancer NGINX can load balancer layer 4 (TCP/UDP) and layer 7 traffic.
  2. 21 million of these were between April and May
  3. 49% of top 1000 44% of top 100K 35% of top 1M 30% of entire Internet
  4. NGINX has quite literally become the heart of the modern web
  5. Like Dynatrace, NGINX was born to solve performance problems. Using concepts to solve what is known as the C10K problem and beyond.
  6. Left side is what is in Open Source and the right side is the additional features that can be found in Plus. NGINX Plus extends NGINX with advanced features such as health monitoring, session persistence, and an advanced monitoring interface. NGINX Plus is a complete application delivery platform.
  7. You current stack can have an ADC, web servers and application servers. *CLICK* NGINX can be put in front of these servers as a reverse proxy or even replace them in the case of web servers *CLICK* It can also be a replacement for your Application Delivery Controller.
  8. Microservices have been made famous by companies like Netflix and Amazon. They’re applications grew too big to be deployed as a single monolith and the decision was made to decompose the application into smaller services, each of which exposes an API that other services can consume. We have some exciting developments in the pipeline which I can’t talk about today around Microservices, so watch this space.
  9. You could use this instead of or to compliment existing Lua scripted configurations.
  10. NGINX support Dynamically loadable modules to add additional functionality. This is relatively new and we don’t have a wide selection yet but we already have modules providing features such as Web Application Firewalls in the pipeline.
  11. Here we have a Dynatrace transaction flow showing the transaction details of an NGINX reverse proxy in front of an Apache web server and Java backend This is actually a very typical deployment architecture for NGINX.
  12. And here is the detailed PurePath Tree including information from the NGINX monitoring agent
  13. Why performance matters… You can see an exponential growth in network traffic over the years. I suspect most of that is my kids using Netflix and YouTube. Online users has also steadly grown since the mid-nineties AOL boom (for better or worse) The average size of a page has also grown significantly as higher definition content and more Javascript and CSS is used. In fact the average page size today is almost the same size as the typically NGINX binary. Expectations of page load times have reduced. Gone are the days where we would wait for a Geocities page on a 56K modem. Users are impatient and don’t like waiting more than a second or two for their content to load. But there are ways that you can help your application stack solve these issues.
  14. Applications suck at performance The reverse proxy server improves performance directly by offloading HTTP processing from the application server, which then runs more efficiently. And it hosts additional functions that improve performance further, as described in the following slides.
  15. NGINX and NGINX Plus are widely used for load balancing. In fact, NGINX often replaces hardware load balancers – ADCs – that cost four or five times as much. NGINX does several forms of load balancing, starting with “round robin” load balancing, where each new request goes to the next server in line. NGINX Plus adds advanced features: Load balancing by how busy a server is. Session persistence, allowing the same server to serve the same user session throughout. (Think of an e-commerce transaction.) Advanced monitoring and management features that make managing multiple servers much easier. (See later slide.)
  16. NGINX can be configured to cache content for the web servers it is proxying or load balancing for. Reducing the amount of load on the web servers.
  17. NGINX can handle data compression at the webserver, or serve as a control point for compressed content: Throughput greatly reduced. Performance greatly enhanced. Data can be compressed at any point, including at the client. (For instance, JPEG data.) Many sites and applications have expensive or limited bandwidth, either to the servers or to specific clients. Compression greatly improves effective transmission speeds, and therefore performance.
  18. SSL/TLS handshakes and data encoding/decoding are expensive and can greatly slow performance. NGINX can handle these at the reverse proxy server, then exchange unencrypted traffic among servers across a LAN. This capability complements HTTP/2 support. With things like Let’s Encrypt, Google’s preferential ranking of SSL sites and HTTP/2 this is becoming more important.
  19. NGINX supports HTTP/2 clients – that is, most recent Web browsers – and “downshifts” to HTTP 1.x for older clients. Most websites that support HTTP/2 today use NGINX, including service providers who support hundreds or thousands of sites, such as CloudFlare. HTTP/2 requires SSL which is also why the SSL offloading is important.
  20. NGINX is well-integrated with application performance management tools, in particular Dynatrace. You can use the full array of Dynatrace features to monitor, and then adjust, processing responsibilities and data flows. NGINX Plus adds monitoring and management features that allow you direct insight into the functioning of NGINX servers. In combination, you can prevent problems before they impact userand steadily improve perfromance.
  21. Personally I prefer wrk for load generation.