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
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
323
20k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
YesSQL, Process and Tooling at Scale
rocio
165
13k
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
21
1.9k
No one is an island. Learnings from fostering a developers community.
thoeni
16
2.1k
The Pragmatic Product Professional
lauravandoore
26
5.8k
Rails Girls Zürich Keynote
gr2m
91
13k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
8
1.3k
A Philosophy of Restraint
colly
197
16k
Six Lessons from altMBA
skipperchong
22
3k
Building a Modern Day E-commerce SEO Strategy
aleyda
21
6.4k
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