際際滷

際際滷Share a Scribd company logo
Django in Heavy Load 
Environment 
Andy@Python Web Meetup 
11/04/2014
Django Doesn¨t Scale
Django in heavy load environment
How About These Sites?
Django in heavy load environment
Framework Does¨t 
Scale
Django in HEAVY 
LOAD Environment
30 users/second -> 
400 users/second
LOAD TESTING
ab - Apache HTTP server 
benchmarking tool
Apache JMeter
Since We are in 
Python Web Meetup´
Django in heavy load environment
LIVE DEMO
Django in heavy load environment
Django in heavy load environment
Django in heavy load environment
Django in heavy load environment
Django in heavy load environment
400 Users/Second = 
30 Million Users/Day
Django in heavy load environment
RECAP 
? From 30 users/seconds to 400 users/seconds 
? Use locust.io to do load testing 
? nginx/HAproxy/ELB as load balancer 
? Varnish to cache
Something we don¨t cover 
today 
? Scaling Your Database 
? Optimizing Django Application
Q&A

More Related Content

What's hot (19)

modern module development - Ken Barber 2012 Edinburgh Puppet Camp
modern module development - Ken Barber 2012 Edinburgh Puppet Campmodern module development - Ken Barber 2012 Edinburgh Puppet Camp
modern module development - Ken Barber 2012 Edinburgh Puppet Camp
Puppet
?
JRubyConf 2009
JRubyConf 2009JRubyConf 2009
JRubyConf 2009
John Woodell
?
Plone Hosting: A Panel Discussion
Plone Hosting: A Panel DiscussionPlone Hosting: A Panel Discussion
Plone Hosting: A Panel Discussion
Jazkarta, Inc.
?
AVA - a futuristic test runner
AVA - a futuristic test runnerAVA - a futuristic test runner
AVA - a futuristic test runner
andreaslubbe
?
A brief introduction to CloudFormation
A brief introduction to CloudFormationA brief introduction to CloudFormation
A brief introduction to CloudFormation
SWIFTotter Solutions
?
SOA on Rails
SOA on RailsSOA on Rails
SOA on Rails
Avi Flombaum
?
Java Night 2010 SteamCannon
Java Night 2010 SteamCannonJava Night 2010 SteamCannon
Java Night 2010 SteamCannon
marekgoldmann
?
??? ??? with Git
??? ??? with Git??? ??? with Git
??? ??? with Git
AWSKRUG - AWS???????
?
Ansible Intro - June 2015 / Ansible Barcelona User Group
Ansible Intro - June 2015 / Ansible Barcelona User GroupAnsible Intro - June 2015 / Ansible Barcelona User Group
Ansible Intro - June 2015 / Ansible Barcelona User Group
Orestes Carracedo
?
Managing AWS infrastructure using CloudFormation
Managing AWS infrastructure using CloudFormationManaging AWS infrastructure using CloudFormation
Managing AWS infrastructure using CloudFormation
Anton Babenko
?
Ansible v2 and Beyond (Ansible Hawai'i Meetup)
Ansible v2 and Beyond (Ansible Hawai'i Meetup)Ansible v2 and Beyond (Ansible Hawai'i Meetup)
Ansible v2 and Beyond (Ansible Hawai'i Meetup)
Timothy Appnel
?
Rails scaling
Rails scalingRails scaling
Rails scaling
Sebastian Roth
?
Erlang as a cloud citizen, a fractal approach to throughput
Erlang as a cloud citizen, a fractal approach to throughputErlang as a cloud citizen, a fractal approach to throughput
Erlang as a cloud citizen, a fractal approach to throughput
Paolo Negri
?
Puppet - an introduction
Puppet - an introductionPuppet - an introduction
Puppet - an introduction
Shiraz Ahmad Khan
?
Apache Camel Introduction & What's in the box
Apache Camel Introduction & What's in the boxApache Camel Introduction & What's in the box
Apache Camel Introduction & What's in the box
Claus Ibsen
?
spark
sparkspark
spark
Ben Liu
?
EC2 Container Service
EC2 Container ServiceEC2 Container Service
EC2 Container Service
WhiteHedge Technologies Inc.
?
DevOps for Humans - Ansible for Drupal Deployment Victory!
DevOps for Humans - Ansible for Drupal Deployment Victory!DevOps for Humans - Ansible for Drupal Deployment Victory!
DevOps for Humans - Ansible for Drupal Deployment Victory!
Jeff Geerling
?
Cannibalising The Google App Engine
Cannibalising The  Google  App  EngineCannibalising The  Google  App  Engine
Cannibalising The Google App Engine
catherinewall
?
modern module development - Ken Barber 2012 Edinburgh Puppet Camp
modern module development - Ken Barber 2012 Edinburgh Puppet Campmodern module development - Ken Barber 2012 Edinburgh Puppet Camp
modern module development - Ken Barber 2012 Edinburgh Puppet Camp
Puppet
?
Plone Hosting: A Panel Discussion
Plone Hosting: A Panel DiscussionPlone Hosting: A Panel Discussion
Plone Hosting: A Panel Discussion
Jazkarta, Inc.
?
AVA - a futuristic test runner
AVA - a futuristic test runnerAVA - a futuristic test runner
AVA - a futuristic test runner
andreaslubbe
?
A brief introduction to CloudFormation
A brief introduction to CloudFormationA brief introduction to CloudFormation
A brief introduction to CloudFormation
SWIFTotter Solutions
?
Java Night 2010 SteamCannon
Java Night 2010 SteamCannonJava Night 2010 SteamCannon
Java Night 2010 SteamCannon
marekgoldmann
?
Ansible Intro - June 2015 / Ansible Barcelona User Group
Ansible Intro - June 2015 / Ansible Barcelona User GroupAnsible Intro - June 2015 / Ansible Barcelona User Group
Ansible Intro - June 2015 / Ansible Barcelona User Group
Orestes Carracedo
?
Managing AWS infrastructure using CloudFormation
Managing AWS infrastructure using CloudFormationManaging AWS infrastructure using CloudFormation
Managing AWS infrastructure using CloudFormation
Anton Babenko
?
Ansible v2 and Beyond (Ansible Hawai'i Meetup)
Ansible v2 and Beyond (Ansible Hawai'i Meetup)Ansible v2 and Beyond (Ansible Hawai'i Meetup)
Ansible v2 and Beyond (Ansible Hawai'i Meetup)
Timothy Appnel
?
Erlang as a cloud citizen, a fractal approach to throughput
Erlang as a cloud citizen, a fractal approach to throughputErlang as a cloud citizen, a fractal approach to throughput
Erlang as a cloud citizen, a fractal approach to throughput
Paolo Negri
?
Apache Camel Introduction & What's in the box
Apache Camel Introduction & What's in the boxApache Camel Introduction & What's in the box
Apache Camel Introduction & What's in the box
Claus Ibsen
?
DevOps for Humans - Ansible for Drupal Deployment Victory!
DevOps for Humans - Ansible for Drupal Deployment Victory!DevOps for Humans - Ansible for Drupal Deployment Victory!
DevOps for Humans - Ansible for Drupal Deployment Victory!
Jeff Geerling
?
Cannibalising The Google App Engine
Cannibalising The  Google  App  EngineCannibalising The  Google  App  Engine
Cannibalising The Google App Engine
catherinewall
?

More from Andy Dai (17)

Grpc + python.key
Grpc + python.keyGrpc + python.key
Grpc + python.key
Andy Dai
?
奕N咤J寔議何俸低議 Python Web 喘殻塀?
奕N咤J寔議何俸低議 Python Web 喘殻塀?奕N咤J寔議何俸低議 Python Web 喘殻塀?
奕N咤J寔議何俸低議 Python Web 喘殻塀?
Andy Dai
?
Power UP your CLI
Power UP your CLIPower UP your CLI
Power UP your CLI
Andy Dai
?
Search search search
Search search searchSearch search search
Search search search
Andy Dai
?
Django channels
Django channelsDjango channels
Django channels
Andy Dai
?
Django Third party packages
Django Third party packagesDjango Third party packages
Django Third party packages
Andy Dai
?
Practical django secuirty
Practical django secuirtyPractical django secuirty
Practical django secuirty
Andy Dai
?
岻輹vv Search
岻輹vv Search岻輹vv Search
岻輹vv Search
Andy Dai
?
Python web meetup 11 18
Python web meetup 11 18Python web meetup 11 18
Python web meetup 11 18
Andy Dai
?
窮辻音峪氏逸低僉輿狭珊氏逸低僉仟療
窮辻音峪氏逸低僉輿狭珊氏逸低僉仟療窮辻音峪氏逸低僉輿狭珊氏逸低僉仟療
窮辻音峪氏逸低僉輿狭珊氏逸低僉仟療
Andy Dai
?
喘 Python 嬉夛低徭失議 summly
喘 Python 嬉夛低徭失議 summly喘 Python 嬉夛低徭失議 summly
喘 Python 嬉夛低徭失議 summly
Andy Dai
?
Tradeoffs of replacing core components
Tradeoffs of replacing core componentsTradeoffs of replacing core components
Tradeoffs of replacing core components
Andy Dai
?
ElastiCache
ElastiCacheElastiCache
ElastiCache
Andy Dai
?
Django deploy
Django deployDjango deploy
Django deploy
Andy Dai
?
Build your own trello witihin 100 LOC (with Meteor)
Build your own trello witihin 100 LOC (with Meteor)Build your own trello witihin 100 LOC (with Meteor)
Build your own trello witihin 100 LOC (with Meteor)
Andy Dai
?
Boost your django admin with Grappelli
Boost your django admin with GrappelliBoost your django admin with Grappelli
Boost your django admin with Grappelli
Andy Dai
?
Grpc + python.key
Grpc + python.keyGrpc + python.key
Grpc + python.key
Andy Dai
?
奕N咤J寔議何俸低議 Python Web 喘殻塀?
奕N咤J寔議何俸低議 Python Web 喘殻塀?奕N咤J寔議何俸低議 Python Web 喘殻塀?
奕N咤J寔議何俸低議 Python Web 喘殻塀?
Andy Dai
?
Power UP your CLI
Power UP your CLIPower UP your CLI
Power UP your CLI
Andy Dai
?
Search search search
Search search searchSearch search search
Search search search
Andy Dai
?
Django channels
Django channelsDjango channels
Django channels
Andy Dai
?
Django Third party packages
Django Third party packagesDjango Third party packages
Django Third party packages
Andy Dai
?
Practical django secuirty
Practical django secuirtyPractical django secuirty
Practical django secuirty
Andy Dai
?
岻輹vv Search
岻輹vv Search岻輹vv Search
岻輹vv Search
Andy Dai
?
Python web meetup 11 18
Python web meetup 11 18Python web meetup 11 18
Python web meetup 11 18
Andy Dai
?
窮辻音峪氏逸低僉輿狭珊氏逸低僉仟療
窮辻音峪氏逸低僉輿狭珊氏逸低僉仟療窮辻音峪氏逸低僉輿狭珊氏逸低僉仟療
窮辻音峪氏逸低僉輿狭珊氏逸低僉仟療
Andy Dai
?
喘 Python 嬉夛低徭失議 summly
喘 Python 嬉夛低徭失議 summly喘 Python 嬉夛低徭失議 summly
喘 Python 嬉夛低徭失議 summly
Andy Dai
?
Tradeoffs of replacing core components
Tradeoffs of replacing core componentsTradeoffs of replacing core components
Tradeoffs of replacing core components
Andy Dai
?
Django deploy
Django deployDjango deploy
Django deploy
Andy Dai
?
Build your own trello witihin 100 LOC (with Meteor)
Build your own trello witihin 100 LOC (with Meteor)Build your own trello witihin 100 LOC (with Meteor)
Build your own trello witihin 100 LOC (with Meteor)
Andy Dai
?
Boost your django admin with Grappelli
Boost your django admin with GrappelliBoost your django admin with Grappelli
Boost your django admin with Grappelli
Andy Dai
?

Recently uploaded (20)

TubeMate Downloader 5.18. Crack + License Key 2025
TubeMate Downloader 5.18. Crack + License Key 2025TubeMate Downloader 5.18. Crack + License Key 2025
TubeMate Downloader 5.18. Crack + License Key 2025
madni05kp
?
Software+Bill+of+Materials+Starter+Guide (1).pdf
Software+Bill+of+Materials+Starter+Guide (1).pdfSoftware+Bill+of+Materials+Starter+Guide (1).pdf
Software+Bill+of+Materials+Starter+Guide (1).pdf
kedofef453
?
View Companion Premium 15.40 Crack Free Download 2025
View Companion Premium 15.40 Crack Free Download 2025View Companion Premium 15.40 Crack Free Download 2025
View Companion Premium 15.40 Crack Free Download 2025
asghar045kp
?
Radio BOSS Advanced 7.0.5 Crack Free Download
Radio BOSS Advanced 7.0.5 Crack Free DownloadRadio BOSS Advanced 7.0.5 Crack Free Download
Radio BOSS Advanced 7.0.5 Crack Free Download
alihamzakpa02
?
Cost of Building Text Classification Model for AI-based Content Curation.pdf
Cost of Building Text Classification Model for AI-based Content Curation.pdfCost of Building Text Classification Model for AI-based Content Curation.pdf
Cost of Building Text Classification Model for AI-based Content Curation.pdf
Belitsoft
?
Tour Booking, Booking Service, Tour Agents, Hotel Booking in odoo
Tour Booking, Booking Service, Tour Agents, Hotel Booking in odooTour Booking, Booking Service, Tour Agents, Hotel Booking in odoo
Tour Booking, Booking Service, Tour Agents, Hotel Booking in odoo
AxisTechnolabs
?
Java and AI with LangChain4j: Jakarta EE and SmallRye LLM
Java and AI with LangChain4j: Jakarta EE and SmallRye LLMJava and AI with LangChain4j: Jakarta EE and SmallRye LLM
Java and AI with LangChain4j: Jakarta EE and SmallRye LLM
Edward Burns
?
Autodesk Netfabb Ultimate R1 2025 Crack Free Download
Autodesk Netfabb Ultimate R1 2025 Crack Free DownloadAutodesk Netfabb Ultimate R1 2025 Crack Free Download
Autodesk Netfabb Ultimate R1 2025 Crack Free Download
abdulbasirayoubi24
?
Radio BOSS Advanced 7.0.5 Crack Free Download 2025
Radio BOSS Advanced 7.0.5 Crack Free Download 2025Radio BOSS Advanced 7.0.5 Crack Free Download 2025
Radio BOSS Advanced 7.0.5 Crack Free Download 2025
asghar041kp
?
Software Ideas Modeler Ultimate 14.62 free
Software Ideas Modeler Ultimate 14.62 freeSoftware Ideas Modeler Ultimate 14.62 free
Software Ideas Modeler Ultimate 14.62 free
alihamzakpa025
?
Vivaldi Web Browser 6.8.3381.50 Crack Free Download
Vivaldi Web Browser 6.8.3381.50 Crack Free DownloadVivaldi Web Browser 6.8.3381.50 Crack Free Download
Vivaldi Web Browser 6.8.3381.50 Crack Free Download
alihamzakpa020
?
AMLTA2025 call for papers-SRSEG-MUST.pdf
AMLTA2025 call for papers-SRSEG-MUST.pdfAMLTA2025 call for papers-SRSEG-MUST.pdf
AMLTA2025 call for papers-SRSEG-MUST.pdf
Dalia Ezzat
?
Shopify - CNCF March 2025 Meetup - Presentation - 26-03-25.pptx
Shopify - CNCF March 2025 Meetup - Presentation - 26-03-25.pptxShopify - CNCF March 2025 Meetup - Presentation - 26-03-25.pptx
Shopify - CNCF March 2025 Meetup - Presentation - 26-03-25.pptx
Michael Foster
?
Java and AI with LangChain4j: Integrating Jakarta EE and LLMs
Java and AI with LangChain4j: Integrating Jakarta EE and LLMsJava and AI with LangChain4j: Integrating Jakarta EE and LLMs
Java and AI with LangChain4j: Integrating Jakarta EE and LLMs
Edward Burns
?
PDF Replacer Pro Crack 1.8.9 Free Download
PDF Replacer Pro Crack 1.8.9 Free DownloadPDF Replacer Pro Crack 1.8.9 Free Download
PDF Replacer Pro Crack 1.8.9 Free Download
ismailzabeh02kp
?
Introduction to ThousandEyes platform March 2025
Introduction to ThousandEyes platform March 2025Introduction to ThousandEyes platform March 2025
Introduction to ThousandEyes platform March 2025
ThousandEyes
?
EssentialPIM Pro Business 12.0.5 Crack Free Download
EssentialPIM Pro Business 12.0.5 Crack Free DownloadEssentialPIM Pro Business 12.0.5 Crack Free Download
EssentialPIM Pro Business 12.0.5 Crack Free Download
madni06kp
?
? Transform Your Workflow with OneAi Freedom Review ?
? Transform Your Workflow with OneAi Freedom Review ?? Transform Your Workflow with OneAi Freedom Review ?
? Transform Your Workflow with OneAi Freedom Review ?
VakiReview
?
Microsoft Purview L100.pptx is Level 100 Deck
Microsoft Purview L100.pptx is Level 100 DeckMicrosoft Purview L100.pptx is Level 100 Deck
Microsoft Purview L100.pptx is Level 100 Deck
ahsanf1
?
Custom AI Chatbot Development Services.pdf
Custom AI Chatbot Development Services.pdfCustom AI Chatbot Development Services.pdf
Custom AI Chatbot Development Services.pdf
Belitsoft
?
TubeMate Downloader 5.18. Crack + License Key 2025
TubeMate Downloader 5.18. Crack + License Key 2025TubeMate Downloader 5.18. Crack + License Key 2025
TubeMate Downloader 5.18. Crack + License Key 2025
madni05kp
?
Software+Bill+of+Materials+Starter+Guide (1).pdf
Software+Bill+of+Materials+Starter+Guide (1).pdfSoftware+Bill+of+Materials+Starter+Guide (1).pdf
Software+Bill+of+Materials+Starter+Guide (1).pdf
kedofef453
?
View Companion Premium 15.40 Crack Free Download 2025
View Companion Premium 15.40 Crack Free Download 2025View Companion Premium 15.40 Crack Free Download 2025
View Companion Premium 15.40 Crack Free Download 2025
asghar045kp
?
Radio BOSS Advanced 7.0.5 Crack Free Download
Radio BOSS Advanced 7.0.5 Crack Free DownloadRadio BOSS Advanced 7.0.5 Crack Free Download
Radio BOSS Advanced 7.0.5 Crack Free Download
alihamzakpa02
?
Cost of Building Text Classification Model for AI-based Content Curation.pdf
Cost of Building Text Classification Model for AI-based Content Curation.pdfCost of Building Text Classification Model for AI-based Content Curation.pdf
Cost of Building Text Classification Model for AI-based Content Curation.pdf
Belitsoft
?
Tour Booking, Booking Service, Tour Agents, Hotel Booking in odoo
Tour Booking, Booking Service, Tour Agents, Hotel Booking in odooTour Booking, Booking Service, Tour Agents, Hotel Booking in odoo
Tour Booking, Booking Service, Tour Agents, Hotel Booking in odoo
AxisTechnolabs
?
Java and AI with LangChain4j: Jakarta EE and SmallRye LLM
Java and AI with LangChain4j: Jakarta EE and SmallRye LLMJava and AI with LangChain4j: Jakarta EE and SmallRye LLM
Java and AI with LangChain4j: Jakarta EE and SmallRye LLM
Edward Burns
?
Autodesk Netfabb Ultimate R1 2025 Crack Free Download
Autodesk Netfabb Ultimate R1 2025 Crack Free DownloadAutodesk Netfabb Ultimate R1 2025 Crack Free Download
Autodesk Netfabb Ultimate R1 2025 Crack Free Download
abdulbasirayoubi24
?
Radio BOSS Advanced 7.0.5 Crack Free Download 2025
Radio BOSS Advanced 7.0.5 Crack Free Download 2025Radio BOSS Advanced 7.0.5 Crack Free Download 2025
Radio BOSS Advanced 7.0.5 Crack Free Download 2025
asghar041kp
?
Software Ideas Modeler Ultimate 14.62 free
Software Ideas Modeler Ultimate 14.62 freeSoftware Ideas Modeler Ultimate 14.62 free
Software Ideas Modeler Ultimate 14.62 free
alihamzakpa025
?
Vivaldi Web Browser 6.8.3381.50 Crack Free Download
Vivaldi Web Browser 6.8.3381.50 Crack Free DownloadVivaldi Web Browser 6.8.3381.50 Crack Free Download
Vivaldi Web Browser 6.8.3381.50 Crack Free Download
alihamzakpa020
?
AMLTA2025 call for papers-SRSEG-MUST.pdf
AMLTA2025 call for papers-SRSEG-MUST.pdfAMLTA2025 call for papers-SRSEG-MUST.pdf
AMLTA2025 call for papers-SRSEG-MUST.pdf
Dalia Ezzat
?
Shopify - CNCF March 2025 Meetup - Presentation - 26-03-25.pptx
Shopify - CNCF March 2025 Meetup - Presentation - 26-03-25.pptxShopify - CNCF March 2025 Meetup - Presentation - 26-03-25.pptx
Shopify - CNCF March 2025 Meetup - Presentation - 26-03-25.pptx
Michael Foster
?
Java and AI with LangChain4j: Integrating Jakarta EE and LLMs
Java and AI with LangChain4j: Integrating Jakarta EE and LLMsJava and AI with LangChain4j: Integrating Jakarta EE and LLMs
Java and AI with LangChain4j: Integrating Jakarta EE and LLMs
Edward Burns
?
PDF Replacer Pro Crack 1.8.9 Free Download
PDF Replacer Pro Crack 1.8.9 Free DownloadPDF Replacer Pro Crack 1.8.9 Free Download
PDF Replacer Pro Crack 1.8.9 Free Download
ismailzabeh02kp
?
Introduction to ThousandEyes platform March 2025
Introduction to ThousandEyes platform March 2025Introduction to ThousandEyes platform March 2025
Introduction to ThousandEyes platform March 2025
ThousandEyes
?
EssentialPIM Pro Business 12.0.5 Crack Free Download
EssentialPIM Pro Business 12.0.5 Crack Free DownloadEssentialPIM Pro Business 12.0.5 Crack Free Download
EssentialPIM Pro Business 12.0.5 Crack Free Download
madni06kp
?
? Transform Your Workflow with OneAi Freedom Review ?
? Transform Your Workflow with OneAi Freedom Review ?? Transform Your Workflow with OneAi Freedom Review ?
? Transform Your Workflow with OneAi Freedom Review ?
VakiReview
?
Microsoft Purview L100.pptx is Level 100 Deck
Microsoft Purview L100.pptx is Level 100 DeckMicrosoft Purview L100.pptx is Level 100 Deck
Microsoft Purview L100.pptx is Level 100 Deck
ahsanf1
?
Custom AI Chatbot Development Services.pdf
Custom AI Chatbot Development Services.pdfCustom AI Chatbot Development Services.pdf
Custom AI Chatbot Development Services.pdf
Belitsoft
?

Django in heavy load environment