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
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
Seu servidor aguenta a pressão?
Flávio Amieiro
October 06, 2011
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
The Pragmatic Product Professional
lauravandoore
37
7.3k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.6k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Deep Space Network (abreviated)
tonyrice
0
160
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Heart Work Chapter 1 - Part 1
lfama
PRO
7
36k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
300
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.3k
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