Soumettre la recherche
Mettre en ligne
Django and Nginx reverse proxy cache
•
0 j'aime
•
1,478 vues
Anton Pirker
Suivre
Use Nginx's reverse proxy cache feature to boot your websites performance
Lire moins
Lire la suite
Internet
Signaler
Partager
Signaler
Partager
1 sur 31
Télécharger maintenant
Télécharger pour lire hors ligne
Recommandé
Nginx + PHP
Nginx + PHP
Wataru OKAMOTO
PyGotham 2014 Introduction to Profiling
PyGotham 2014 Introduction to Profiling
Perrin Harkins
Building Scalable Websites with Perl
Building Scalable Websites with Perl
Perrin Harkins
High Availability Content Caching with NGINX
High Availability Content Caching with NGINX
Kevin Jones
5 things MySql
5 things MySql
sarahnovotny
WordPress Need For Speed
WordPress Need For Speed
pdeschen
Engage 2013 - Multi Channel Data Collection
Engage 2013 - Multi Channel Data Collection
Webtrends
Introduction to performance tuning perl web applications
Introduction to performance tuning perl web applications
Perrin Harkins
Recommandé
Nginx + PHP
Nginx + PHP
Wataru OKAMOTO
PyGotham 2014 Introduction to Profiling
PyGotham 2014 Introduction to Profiling
Perrin Harkins
Building Scalable Websites with Perl
Building Scalable Websites with Perl
Perrin Harkins
High Availability Content Caching with NGINX
High Availability Content Caching with NGINX
Kevin Jones
5 things MySql
5 things MySql
sarahnovotny
WordPress Need For Speed
WordPress Need For Speed
pdeschen
Engage 2013 - Multi Channel Data Collection
Engage 2013 - Multi Channel Data Collection
Webtrends
Introduction to performance tuning perl web applications
Introduction to performance tuning perl web applications
Perrin Harkins
Clug 2012 March web server optimisation
Clug 2012 March web server optimisation
grooverdan
ITB2017 - Nginx Effective High Availability Content Caching
ITB2017 - Nginx Effective High Availability Content Caching
Ortus Solutions, Corp
Server architecture
Server architecture
Masters Academy
To Hire, or to train, that is the question (Percona Live 2014)
To Hire, or to train, that is the question (Percona Live 2014)
Geoffrey Anderson
Genkidama:実装と課題
Genkidama:実装と課題
Takuya ASADA
Backing up thousands of containers
Backing up thousands of containers
Marian Marinov
04 web optimization
04 web optimization
Nguyen Duc Phu
Reverse proxy & web cache with NGINX, HAProxy and Varnish
Reverse proxy & web cache with NGINX, HAProxy and Varnish
El Mahdi Benzekri
Александр Сергиенко, Senior Android Developer, DataArt
Александр Сергиенко, Senior Android Developer, DataArt
Alina Vilk
Tools used for debugging
Tools used for debugging
Marian Marinov
NGINX: The Past, Present and Future of the Modern Web
NGINX: The Past, Present and Future of the Modern Web
Kevin Jones
Mobile App Performance: Getting the Most from APIs (MBL203) | AWS re:Invent ...
Mobile App Performance: Getting the Most from APIs (MBL203) | AWS re:Invent ...
Amazon Web Services
Rate Limiting with NGINX and NGINX Plus
Rate Limiting with NGINX and NGINX Plus
NGINX, Inc.
Getting a Grip on CDN Performance - Why and How
Getting a Grip on CDN Performance - Why and How
Aaron Peters
Ruby Postgres
Ruby Postgres
Akio Ishida
Scaling WordPress
Scaling WordPress
Mark Jaquith
Eduardo Silva - monkey http-server everywhere
Eduardo Silva - monkey http-server everywhere
StarTech Conference
Zend Con 2008 Slides
Zend Con 2008 Slides
mkherlakian
How to build a container monitoring solution - David Gildeh, CEO and Co-Found...
How to build a container monitoring solution - David Gildeh, CEO and Co-Found...
Outlyer
WordPress Performance Tuning
WordPress Performance Tuning
Javier Arturo Rodríguez
High Availability Content Caching with NGINX
High Availability Content Caching with NGINX
NGINX, Inc.
WordPress + NGINX Best Practices with EasyEngine
WordPress + NGINX Best Practices with EasyEngine
NGINX, Inc.
Contenu connexe
Tendances
Clug 2012 March web server optimisation
Clug 2012 March web server optimisation
grooverdan
ITB2017 - Nginx Effective High Availability Content Caching
ITB2017 - Nginx Effective High Availability Content Caching
Ortus Solutions, Corp
Server architecture
Server architecture
Masters Academy
To Hire, or to train, that is the question (Percona Live 2014)
To Hire, or to train, that is the question (Percona Live 2014)
Geoffrey Anderson
Genkidama:実装と課題
Genkidama:実装と課題
Takuya ASADA
Backing up thousands of containers
Backing up thousands of containers
Marian Marinov
04 web optimization
04 web optimization
Nguyen Duc Phu
Reverse proxy & web cache with NGINX, HAProxy and Varnish
Reverse proxy & web cache with NGINX, HAProxy and Varnish
El Mahdi Benzekri
Александр Сергиенко, Senior Android Developer, DataArt
Александр Сергиенко, Senior Android Developer, DataArt
Alina Vilk
Tools used for debugging
Tools used for debugging
Marian Marinov
NGINX: The Past, Present and Future of the Modern Web
NGINX: The Past, Present and Future of the Modern Web
Kevin Jones
Mobile App Performance: Getting the Most from APIs (MBL203) | AWS re:Invent ...
Mobile App Performance: Getting the Most from APIs (MBL203) | AWS re:Invent ...
Amazon Web Services
Rate Limiting with NGINX and NGINX Plus
Rate Limiting with NGINX and NGINX Plus
NGINX, Inc.
Getting a Grip on CDN Performance - Why and How
Getting a Grip on CDN Performance - Why and How
Aaron Peters
Ruby Postgres
Ruby Postgres
Akio Ishida
Scaling WordPress
Scaling WordPress
Mark Jaquith
Eduardo Silva - monkey http-server everywhere
Eduardo Silva - monkey http-server everywhere
StarTech Conference
Zend Con 2008 Slides
Zend Con 2008 Slides
mkherlakian
How to build a container monitoring solution - David Gildeh, CEO and Co-Found...
How to build a container monitoring solution - David Gildeh, CEO and Co-Found...
Outlyer
WordPress Performance Tuning
WordPress Performance Tuning
Javier Arturo Rodríguez
Tendances
(20)
Clug 2012 March web server optimisation
Clug 2012 March web server optimisation
ITB2017 - Nginx Effective High Availability Content Caching
ITB2017 - Nginx Effective High Availability Content Caching
Server architecture
Server architecture
To Hire, or to train, that is the question (Percona Live 2014)
To Hire, or to train, that is the question (Percona Live 2014)
Genkidama:実装と課題
Genkidama:実装と課題
Backing up thousands of containers
Backing up thousands of containers
04 web optimization
04 web optimization
Reverse proxy & web cache with NGINX, HAProxy and Varnish
Reverse proxy & web cache with NGINX, HAProxy and Varnish
Александр Сергиенко, Senior Android Developer, DataArt
Александр Сергиенко, Senior Android Developer, DataArt
Tools used for debugging
Tools used for debugging
NGINX: The Past, Present and Future of the Modern Web
NGINX: The Past, Present and Future of the Modern Web
Mobile App Performance: Getting the Most from APIs (MBL203) | AWS re:Invent ...
Mobile App Performance: Getting the Most from APIs (MBL203) | AWS re:Invent ...
Rate Limiting with NGINX and NGINX Plus
Rate Limiting with NGINX and NGINX Plus
Getting a Grip on CDN Performance - Why and How
Getting a Grip on CDN Performance - Why and How
Ruby Postgres
Ruby Postgres
Scaling WordPress
Scaling WordPress
Eduardo Silva - monkey http-server everywhere
Eduardo Silva - monkey http-server everywhere
Zend Con 2008 Slides
Zend Con 2008 Slides
How to build a container monitoring solution - David Gildeh, CEO and Co-Found...
How to build a container monitoring solution - David Gildeh, CEO and Co-Found...
WordPress Performance Tuning
WordPress Performance Tuning
Similaire à Django and Nginx reverse proxy cache
High Availability Content Caching with NGINX
High Availability Content Caching with NGINX
NGINX, Inc.
WordPress + NGINX Best Practices with EasyEngine
WordPress + NGINX Best Practices with EasyEngine
NGINX, Inc.
X64服务器 lnmp服务器部署标准 new
X64服务器 lnmp服务器部署标准 new
Yiwei Ma
10 Million hits a day with WordPress using a $15 VPS
10 Million hits a day with WordPress using a $15 VPS
Paolo Tonin
Nagios Conference 2014 - Rob Hassing - How To Maintain Over 20 Monitoring App...
Nagios Conference 2014 - Rob Hassing - How To Maintain Over 20 Monitoring App...
Nagios
Wckansai 2014
Wckansai 2014
Wataru OKAMOTO
Less and faster – Cache tips for WordPress developers
Less and faster – Cache tips for WordPress developers
Seravo
Vagrant introduction for Developers
Vagrant introduction for Developers
Antons Kranga
Using NGINX as an Effective and Highly Available Content Cache
Using NGINX as an Effective and Highly Available Content Cache
Kevin Jones
Docker for mac & local developer environment optimization
Docker for mac & local developer environment optimization
Radek Baczynski
Content Caching with NGINX and NGINX Plus
Content Caching with NGINX and NGINX Plus
Kevin Jones
Apache and PHP: Why httpd.conf is your new BFF!
Apache and PHP: Why httpd.conf is your new BFF!
Jeff Jones
PHP conference Berlin 2015: running PHP on Nginx
PHP conference Berlin 2015: running PHP on Nginx
Harald Zeitlhofer
Vagrant for real codemotion (moar tips! ;-))
Vagrant for real codemotion (moar tips! ;-))
Michele Orselli
Facebook的缓存系统
Facebook的缓存系统
yiditushe
Improving WordPress performance (xdebug and profiling)
Improving WordPress performance (xdebug and profiling)
Otto Kekäläinen
Converting Your Dev Environment to a Docker Stack - php[world]
Converting Your Dev Environment to a Docker Stack - php[world]
Dana Luther
Nginx pres
Nginx pres
James Fuller
DevoxxUK: Optimizating Application Performance on Kubernetes
DevoxxUK: Optimizating Application Performance on Kubernetes
Dinakar Guniguntala
Web Optimization Level: Paranoid
Web Optimization Level: Paranoid
robin_sy
Similaire à Django and Nginx reverse proxy cache
(20)
High Availability Content Caching with NGINX
High Availability Content Caching with NGINX
WordPress + NGINX Best Practices with EasyEngine
WordPress + NGINX Best Practices with EasyEngine
X64服务器 lnmp服务器部署标准 new
X64服务器 lnmp服务器部署标准 new
10 Million hits a day with WordPress using a $15 VPS
10 Million hits a day with WordPress using a $15 VPS
Nagios Conference 2014 - Rob Hassing - How To Maintain Over 20 Monitoring App...
Nagios Conference 2014 - Rob Hassing - How To Maintain Over 20 Monitoring App...
Wckansai 2014
Wckansai 2014
Less and faster – Cache tips for WordPress developers
Less and faster – Cache tips for WordPress developers
Vagrant introduction for Developers
Vagrant introduction for Developers
Using NGINX as an Effective and Highly Available Content Cache
Using NGINX as an Effective and Highly Available Content Cache
Docker for mac & local developer environment optimization
Docker for mac & local developer environment optimization
Content Caching with NGINX and NGINX Plus
Content Caching with NGINX and NGINX Plus
Apache and PHP: Why httpd.conf is your new BFF!
Apache and PHP: Why httpd.conf is your new BFF!
PHP conference Berlin 2015: running PHP on Nginx
PHP conference Berlin 2015: running PHP on Nginx
Vagrant for real codemotion (moar tips! ;-))
Vagrant for real codemotion (moar tips! ;-))
Facebook的缓存系统
Facebook的缓存系统
Improving WordPress performance (xdebug and profiling)
Improving WordPress performance (xdebug and profiling)
Converting Your Dev Environment to a Docker Stack - php[world]
Converting Your Dev Environment to a Docker Stack - php[world]
Nginx pres
Nginx pres
DevoxxUK: Optimizating Application Performance on Kubernetes
DevoxxUK: Optimizating Application Performance on Kubernetes
Web Optimization Level: Paranoid
Web Optimization Level: Paranoid
Dernier
Q4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptx
editsforyah
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 Documentation
LinaWolf1
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predi
eusebiomeyer
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
rnrncn29
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
Fs
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa
494f574xmv
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
ys8omjxb
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
z xss
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
Fs
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptx
Dyna Gilbert
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
rnrncn29
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
Fs
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
Fs
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptx
MartaLoveguard
Elevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New Orleans
corenetworkseo
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Dana Luther
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
rehmti665
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
zdzoqco
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
9953056974 Low Rate Call Girls In Saket, Delhi NCR
Dernier
(20)
Q4-1-Illustrating-Hypothesis-Testing.pptx
Q4-1-Illustrating-Hypothesis-Testing.pptx
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 Documentation
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predi
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptx
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
定制(Lincoln毕业证书)新西兰林肯大学毕业证成绩单原版一比一
Magic exist by Marta Loveguard - presentation.pptx
Magic exist by Marta Loveguard - presentation.pptx
Elevate Your Business with Our IT Expertise in New Orleans
Elevate Your Business with Our IT Expertise in New Orleans
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
young call girls in Uttam Nagar🔝 9953056974 🔝 Delhi escort Service
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Django and Nginx reverse proxy cache
1.
Boosting Django Performance
with the Nginx Reverse Proxy Cache (I need to find better titles…)
2.
Your site is
lame!
3.
Why?
4.
Nginx
5.
Gunicorn Nginx
6.
Gunicorn Nginx DB
7.
Gunicorn Nginx DB
FS
8.
Gunicorn Nginx DB
FS
9.
Gunicorn Nginx DB
FS
10.
Gunicorn Nginx DB
FS
11.
Gunicorn Nginx DB
FS
12.
Gunicorn Nginx DB
FS
13.
Gunicorn Nginx DB
FS
14.
Gunicorn Nginx DB
FS
15.
Gunicorn Nginx DB
FS
16.
Gunicorn Nginx DB
FS
17.
“The key to
making programs fast is to make them do practically nothing” -- Mike Haertel (Author of GNU grep)
18.
The Solution:
19.
Gunicorn Nginx DB
FS
20.
Nginx Reverse Proxy
Cache Config proxy_cache nginx_cache;
21.
Nginx Reverse Proxy
Cache Config proxy_cache nginx_cache; proxy_cache_path /data/nginx-cache levels=1:2 max_size=10g inactive=1y keys_zone=nginx_cache:40m;
22.
Nginx Reverse Proxy
Cache Config proxy_cache nginx_cache; proxy_cache_path /data/nginx-cache levels=1:2 max_size=10g inactive=1y keys_zone=nginx_cache:40m; proxy_temp_path /data/nginx-cache-temp 1 2;
23.
Nginx Reverse Proxy
Cache Config proxy_cache nginx_cache; proxy_cache_path /data/nginx-cache levels=1:2 max_size=10g inactive=1y keys_zone=nginx_cache:40m; proxy_temp_path /data/nginx-cache-temp 1 2; proxy_cache_key "$scheme://$host$request_uri";
24.
Nginx Reverse Proxy
Cache Config proxy_cache nginx_cache; proxy_cache_path /data/nginx-cache levels=1:2 max_size=10g inactive=1y keys_zone=nginx_cache:40m; proxy_temp_path /data/nginx-cache-temp 1 2; proxy_cache_key "$scheme://$host$request_uri"; proxy_cache_valid 200 6M;
25.
Nginx Reverse Proxy
Cache Config proxy_cache nginx_cache; proxy_cache_path /data/nginx-cache levels=1:2 max_size=10g inactive=1y keys_zone=nginx_cache:40m; proxy_temp_path /data/nginx-cache-temp 1 2; proxy_cache_key "$scheme://$host$request_uri"; proxy_cache_valid 200 6M; proxy_ignore_headers Cache-Control; proxy_ignore_headers Set-Cookie; proxy_hide_header Set-Cookie;
26.
Nginx Reverse Proxy
Cache Config proxy_cache nginx_cache; proxy_cache_path /data/nginx-cache levels=1:2 max_size=10g inactive=1y keys_zone=nginx_cache:40m; proxy_temp_path /data/nginx-cache-temp 1 2; proxy_cache_key "$scheme://$host$request_uri"; proxy_cache_valid 200 6M; proxy_ignore_headers Cache-Control; proxy_ignore_headers Set-Cookie; proxy_hide_header Set-Cookie; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $http_host;
27.
Nginx Reverse Proxy
Cache Config proxy_cache nginx_cache; proxy_cache_path /data/nginx-cache levels=1:2 max_size=10g inactive=1y keys_zone=nginx_cache:40m; proxy_temp_path /data/nginx-cache-temp 1 2; proxy_cache_key "$scheme://$host$request_uri"; proxy_cache_valid 200 6M; proxy_ignore_headers Cache-Control; proxy_ignore_headers Set-Cookie; proxy_hide_header Set-Cookie; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $http_host; add_header X-Cached $upstream_cache_status;
28.
The result:
29.
-62% Response time
30.
Your site is
fast!
31.
Thank you for
listening! Anton Pirker anton@ignaz.at @antonpirker Slides http://goo.gl/pGXlkD Blog post http://anton-pirker.at/boosting-djangos-performance-with- nginx-reverse-proxy-cache/
Télécharger maintenant