Mike Grushin Developing Ugc Sites That Scale

Post on 13-May-2015

809 views 2 download

Tags:

Transcript of Mike Grushin Developing Ugc Sites That Scale

D l iDevelopingSCALEUGC SITES THAT

Mike Grushin Partner TechnologyMike Grushin Partner, Technology

UGC SITES THATDeveloping

SCALE

IntroIntroMike Grushin10+ years building web applicationsFortune 500 companiesRich Internet Application Consulting

www.omnigon.com

UGC SITES THATDeveloping

SCALE

What is UGCWhat is UGCDefinition…Features:– User registration– Comments– Views

Response videos– Response videos

Examples…

www.omnigon.com

UGC SITES THATDeveloping

SCALE

ChallengesChallengesUploadConversionStorageStreamingScalabilityScalability

www.omnigon.com

UGC SITES THATDeveloping

SCALE

UploadUploadEasy, user-friendly (SWFUpload)Consider client side component (Ex: Youtube)

www.omnigon.com

UGC SITES THATDeveloping

SCALE

ConversionConversionFormat: Flash Video Vs SilverlightLicensing/CostScalabilityFFMPEG

www.omnigon.com

UGC SITES THATDeveloping

SCALE

StorageStorageCostBackupsUtility

www.omnigon.com

UGC SITES THATDeveloping

SCALE

StreamingStreamingHTTP, HTTP Streaming, True StreamingLicensing/Cost– Flash Media Server Vs Red5

Scalability

www.omnigon.com

UGC SITES THATDeveloping

SCALE

ScalabilityScalabilityWeb siteConversionVideo deliveryGlobal delivery (CDN)CostCost

www.omnigon.com

UGC SITES THATDeveloping

SCALE

RecommendationsRecommendationsStrongly consider open-source: costConversion: ffmpegStreaming: Red5Database: MySQLWeb: java, php, ruby, etcWeb: java, php, ruby, etcStorage: discussed later

www.omnigon.com

UGC SITES THATDeveloping

SCALE

Case studiesCase studiesLarge sports media companyUGC Startup

www.omnigon.com

UGC SITES THATDeveloping

SCALE

Large Sports Media CompanyLarge Sports Media CompanyIts own data center orDedicated hosting providerMore traditional hosting model

www.omnigon.com

UGC SITES THATDeveloping

SCALE

Traditional Hosting ModelTraditional Hosting ModelLease servers

$ $– Managed: $800-$1200/mo– Unmanaged: $150-$400/mo

C it tCommitmentNot easy/fast to scaleDedicated 24x7 support

www.omnigon.com

UGC SITES THATDeveloping

SCALE

UGC in Traditional HostingUGC in Traditional HostingUploadConversionStorageStreamingScalabilityScalability

www.omnigon.com

UGC SITES THATDeveloping

SCALE

Traditional Hosting SetupTraditional Hosting Setup2 Web Servers (2 x $750 = $1500)

2 Database Servers (2 x $750 = $1500)( $ $ )

2 Conversion Servers (2 x $750 = $1500)

Storage/Backup ($1500)

Cost: $6000/moCost: $6000/moOther costs:– Firewall– Hardware load balancer– Hardware load balancer– 2 Streaming Servers (optional)– Bandwidth over the limit

2-3 days to get another server

www.omnigon.com

y g

UGC SITES THATDeveloping

SCALE

Cloud ComputingCloud ComputingComputing/Storage as utilityAmazon Web ServicesGoogle AppEngineOthers

www.omnigon.com

UGC SITES THATDeveloping

SCALE

Amazon Web ServicesAmazon Web ServicesS3EC2SQSCDNetcetc

www.omnigon.com

UGC SITES THATDeveloping

SCALE

Cloud Computing BenefitsCloud Computing BenefitsPay for what you useEasy to scale

www.omnigon.com

UGC SITES THATDeveloping

SCALE

UGC StartupUGC StartupLimited capitalHuge potential for growth (2GB of traffic 2nd mo, 1TB in 4 months)

www.omnigon.com

UGC SITES THATDeveloping

SCALE

UGC Startup Hosting SetupUGC Startup Hosting Setup2 Web Servers (2 x $74 = $148)

2 D t b S2 Database Servers (2 x $74 = $148)

2 Conversion Servers (2 x $148 = $296)

St /B kStorage/Backup (usage based)

Cost: $600-$800/moOther costs:Other costs:– Software load balancer– 2 Streaming Servers (optional)

www.omnigon.com

UGC SITES THATDeveloping

SCALE

Thank youThank you

Mikhail GrushinPartner, TechnologyOmnigongwww.omnigon.commike.grushin@omnigon.commike.grushin@omnigon.com+1 646 961 4906

www.omnigon.com