Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Seu servidor aguenta a pressão?
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Flávio Amieiro
October 06, 2011
190
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Seu servidor aguenta a pressão?
Flávio Amieiro
October 06, 2011
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Building Adaptive Systems
keathley
44
3.2k
Everyday Curiosity
cassininazir
0
350
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
800
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.3k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
300
For a Future-Friendly Web
brad_frost
184
10k
How to build a perfect <img>
jonoalderson
1
6.1k
Accessibility Awareness
sabderemane
1
250
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
Transcript
Seu servidor aguenta a pressão?
flavioamieiro
None
Escalar?
None
buzzword bingo
Gestão de Custos
Gestão de Custos ou Quanto preciso gastar com servidor?
Gestão de Riscos
Gestão de Riscos ou Quão próximo do limite eu estou?
Provisionamento
Provisionamento ou Fazer a infra acompanhar a demanda
Benchmarking
Benchmarking != Profiling
O que podemos medir? • CPU • Memória • Acesso
a disco • Acesso ao banco • Acesso à rede • Requests por segundo
Ferramentas • httpload • jmeter • siege • funkload •
Apache Benchmark ab -n 500 http://www.example.com/
Conhecendo o stack
O stack • ubuntu 11.04 • nginx 0.8 • python
2.7 • gunicorn 0.13 • django 1.3 • postgres 8.4
Estratégias • nginx • django com HttpResponse • django com
template • django com conexão ao postgres • django com SELECT • django com Model.objects.get()
None
None
None
Próximos passos
github.com/flavioamieiro/django-benchmark
http://flavioamieiro.com
[email protected]
@flavioamieiro