Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
WebcampZG 2012
Goran Peretin
November 24, 2012
Programming
1
170
WebcampZG 2012
Goran Peretin
November 24, 2012
Tweet
Share
More Decks by Goran Peretin
See All by Goran Peretin
gperetin
1
140
gperetin
1
190
gperetin
2
350
Other Decks in Programming
See All in Programming
atskimura
0
300
e10dokup
0
450
itosho525
0
140
akatsukinewgrad
0
210
loleg
0
210
kyoheig3
0
430
daiki1020
0
1.1k
o0h
PRO
1
1.5k
takahi5
0
230
kenmaz
1
100
anchorcable
1
120
showwin
0
130
Featured
See All Featured
revolveconf
200
9.6k
lynnandtonic
270
16k
brad_frost
156
6.4k
holman
461
280k
smashingmag
283
47k
bermonpainter
342
26k
maltzj
500
36k
mthomps
39
2.3k
keathley
18
640
roundedbygravity
84
7.8k
akmur
252
19k
dougneiner
119
7.8k
Transcript
Razvoj distribuiranih web sustava Goran Peretin @gperetin
student @ voditelj razvoja @ CTO @
• Bunkhouse – sustav za obradu, spremanje i distribuciju video
datoteka • 1 datoteka = 1 – 250GB (+ obrada!) • Python, Linux
None
Amazon EC2 RedisToGo Amazon EC2 ... Amazon S3
• - Skup • + Jednostavan deploy • + Integracija
s vanjskim servisima • +/- Amazon EC2 • OK
• - Stabilnost – • - S3 Torrent streaming
– limit na 75KB/s? • - File size limit 5GB (multipart) • - S3 – SKUP – Outgoing transfer – Requesti • + S3 – Disk import • SREDNJE
• + Python, Ruby, Java SDK • - Dokumentacija nije
up to date • - Zatvoren razvoj (ne primaju patcheve) • + Intuitivna integracija za korisnike • OK
• + Vrlo jednostavna integracija • + Odlična dokumentacija •
+ Dobar API • +/- S3 integracija (iako “zaborave” spomenuti detalje) • SUPER
• - Kompliciran API (upload videa – 6 API metoda)
• - Loša integracija Vimeo PRO – neki featurei nisu dostupni kroz API • + Jednostavan embed • SREDNJE
• Skup • Malo prostora • Limitiran broj konekcija •
LOŠE
• Decoupling • Log everything!!1 • Papertrail – log management
• Nikad previše dashboarda (iako 1 je idealno) • Testiranje – teško • Nakon 3 mjeseca...
Amazon EC2 RedisToGo Amazon EC2 ... Amazon S3
Otprilike...
...
storage + transfer EC2 + S3 + Heroku Hetzner 2TB
+ 1TB $559 $500 5TB + 2TB $1179 $830 20TB + 10TB $4389 $1555 Zašto? ...iako • više održavanja • sporije • Dropbox samo u SAD – 5.5MB/s na 3.5MB/s • AJAX heavy web aplikacija • Transfer sa i na Zencoder • But... It doesn’t scale?
Hvala!