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
160
Seu servidor aguenta a pressão?
Flávio Amieiro
October 06, 2011
Tweet
Share
Featured
See All Featured
A designer walks into a library…
pauljervisheath
201
23k
Building a Modern Day E-commerce SEO Strategy
aleyda
22
6.5k
Automating Front-end Workflow
addyosmani
1357
200k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
8
3.5k
Become a Pro
speakerdeck
PRO
13
4.6k
Building Adaptive Systems
keathley
32
1.9k
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
From Idea to $5000 a Month in 5 Months
shpigford
377
45k
Faster Mobile Websites
deanohume
300
30k
4 Signs Your Business is Dying
shpigford
176
21k
Building a Scalable Design System with Sketch
lauravandoore
457
32k
How to train your dragon (web standard)
notwaldorf
75
5.2k
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