Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Seu servidor aguenta a pressão?
Search
Flávio Amieiro
October 06, 2011
0
180
Seu servidor aguenta a pressão?
Flávio Amieiro
October 06, 2011
Tweet
Share
Featured
See All Featured
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
120
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
260
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.6k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
70
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
330
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.9k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.1k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
190
Tell your own story through comics
letsgokoyo
1
810
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
Odyssey Design
rkendrick25
PRO
1
500
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