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
Lindolfo Rodrigues
March 30, 2013
Programming
0
55
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
61
Perl para Sysadmins e DBAs
lorn
1
150
A busca pelo deploy continuo
lorn
1
88
Palestra de testes
lorn
1
71
Other Decks in Programming
See All in Programming
go test -json そして testing.T.Attr / Kyoto.go #63
utgwkk
1
200
テストカバレッジ100%を10年続けて得られた学びと品質
mottyzzz
2
420
MLH State of the League: 2026 Season
theycallmeswift
0
210
Trem on Rails - Prompt Engineering com Ruby
elainenaomi
1
100
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
350
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
290
Azure SRE Agentで運用は楽になるのか?
kkamegawa
0
980
AIを活用し、今後に備えるための技術知識 / Basic Knowledge to Utilize AI
kishida
17
3.8k
AIでLINEスタンプを作ってみた
eycjur
1
220
AI OCR API on Lambdaを Datadogで可視化してみた
nealle
0
220
TDD 実践ミニトーク
contour_gara
1
270
Protocol Buffersの型を超えて拡張性を得る / Beyond Protocol Buffers Types Achieving Extensibility
linyows
0
100
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Thoughts on Productivity
jonyablonski
69
4.8k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
Documentation Writing (for coders)
carmenintech
73
5k
Statistics for Hackers
jakevdp
799
220k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
21k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
The Cult of Friendly URLs
andyhume
79
6.6k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
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