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
Twelve Apps
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Lindolfo Rodrigues
March 30, 2013
Programming
0
57
Twelve Apps
YAPC::Brasil 2012
Lindolfo Rodrigues
March 30, 2013
Tweet
Share
More Decks by Lindolfo Rodrigues
See All by Lindolfo Rodrigues
Optimize for Happiness
lorn
1
110
Big data: Muito além do MapReduce
lorn
1
63
Perl para Sysadmins e DBAs
lorn
1
170
A busca pelo deploy continuo
lorn
1
89
Palestra de testes
lorn
1
75
Other Decks in Programming
See All in Programming
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
510
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
180
CSC307 Lecture 01
javiergs
PRO
0
690
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
500
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
SourceGeneratorのススメ
htkym
0
190
Architectural Extensions
denyspoltorak
0
270
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
4
250
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
CSC307 Lecture 07
javiergs
PRO
0
550
Basic Architectures
denyspoltorak
0
660
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.8k
Featured
See All Featured
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
250
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
190
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.3k
Visualization
eitanlees
150
17k
Become a Pro
speakerdeck
PRO
31
5.8k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
240
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
50
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Code Reviewing Like a Champion
maltzj
527
40k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.5k
Transcript
Saturday, March 30, 13
Fazendo uma App usando a metodologia dos ’12 elementos’ Saturday,
March 30, 13
Backgroung • IaaS e PaaS • O mundo nas nuvens
• Idealizados por usuários de PaaS Saturday, March 30, 13
Codebase Saturday, March 30, 13
Saturday, March 30, 13
Saturday, March 30, 13
Dependencies • Declare suas dependências no Makefile.PL • bin/bootstrap.sh •
http://bit.ly/thesetup_vimeo Saturday, March 30, 13
Saturday, March 30, 13
Dependencies • local::lib • cartoon • Use versões de modulos
que você testou Saturday, March 30, 13
Config • Guarde suas configs em variáveis de ambiente •
$ENV[‘FOO’] Saturday, March 30, 13
Saturday, March 30, 13
Backing Services Saturday, March 30, 13
Build, Release and run Saturday, March 30, 13
Processes • Trate cada parte de sua aplicação como uma
aplicação unica que não compartilha estado • Evite “Sticky Session” Saturday, March 30, 13
Port Binding • Aplicações auto-contidas • Consegue rodar em userspace
• Coloque o starman no seu Makefile.PL Saturday, March 30, 13
Concurrency Saturday, March 30, 13
Disposability • Sua App precisa ter um start/restart/stop script •
Inicia sozinha e bem rápido • monit Saturday, March 30, 13
Saturday, March 30, 13
Dev/Prod parity • Devops • deploy continuo Saturday, March 30,
13
Logs • event stream • pipeline Saturday, March 30, 13
Saturday, March 30, 13
logstash Saturday, March 30, 13
Saturday, March 30, 13
Saturday, March 30, 13
Logs • Metricas para eventos • https://github.com/heroku/pulse • logrouters •
http://github.com/heroku/logplex • http://github.com/heroku/fluentd Saturday, March 30, 13
Admin Process • Processos em administrativos deve usar a mesma
base de codigo da App • bin/cleanoldstuff.pl • Aproveita o seu DB::Schema Saturday, March 30, 13
Conclusão • Nem tudo aqui pode se aplicar para você.
• ...mas algumas coisas já são mais que ‘Boas Praticas’ e já caem no “Você não faz assim?” Saturday, March 30, 13