Windows Azure Media Service ile Video Yayıncılığı - 1
Post on 22-Nov-2014
1872 Views
Preview:
DESCRIPTION
Transcript
Windows Azure Media Service ile Video Yayıncılığı - 1
İbrahim ATAY | www.ibrahimatay.org
18.06.2013 / 21.00
àh"p://tcrn.ch/14ga748
Popular Video Websites
YouTube Architecture
Pla$orm
1. Apache 2. Python 3. Linux (SuSe) 4. MySQL 5. psyco, a dynamic python-‐>C compiler 6. ligh"pd for video instead of Apache
The Stats
1. Supports the delivery of over 100 million videos per day.
2. Founded 2/2005 3. 3/2006 30 million video views/day 4. 7/2006 100 million video views/day 5. 2 sysadmins, 2 scalability soRware architects 6. 2 feature developers, 2 network engineers, 1 DBA
à h"p://highscalability.com/youtube-‐architecture
Windows Azure Media Service
Windows Azure Portal for media services
DEMO
Windows Azure Media Service Process
ChannelPerforming
DEMO
WAMS
Azure Storage
Azure Tables
Upload Web Role
RunJob Worker
Publishing Worker
Client RequestUploadUri RequestUploadUri(Guid)
SetState(Guid,UriRequested)
Container.Create()
CreateSas(Container) SasUploadUri
SasUploadUri, Guid
SetState(Guid,UriProvided)
Web Site
Upload Web Role
WAMS
Azure Storage
Azure Tables
Upload Web Role
RunJob Worker
Publishing Worker
Client PUT (SasUploadUri + FileName)
UploadComplete(Guid) SetState(Guid,Uploaded)
Web Site
Uploading
WAMS
Azure Storage
Azure Tables
Upload Web Role
RunJob Worker
Publishing Worker
Client RunJob(Guid)
Poll Query(Uploaded)
Encode(Asset) Jpg(Asset)
Revoke(AssetSas)
SetState(Guid,Running)
Poll GetJobState(Guid)
SetState(Guid,Complete)
Web Site
RunJob Worker Role
WAMS
Azure Storage
Azure Tables
Upload Web Role
RunJob Worker
Publishing Worker
Client
Poll Query(Complete)
SetState(Guid,GeangUrls)
GetJpgSas(Guid) GetSmoothUrl(Guid)
Web Site
UpdateGallery(JpgSas,SmoothUrl)
EmailUser
CreateSas(JpgContainer)
SetState(Guid,Published) SetState(Guid,EmailSent)
CreateOriginLocator(SmoothAsset)
Publishing Worker Role
WAMS
Azure Storage
Azure Tables
Upload Web Role
RunJob Worker
Publishing Worker
Client GET(JpgSasUrl)
Sources From Smooth Asset
Web Site
Browse Video Gallery
Playback(SmoothUrl)
Browse and Playback
ChannelPerforming
DEMO
Channel Performing
à h"p://github.com/ibrahimatay/ChannelPerforming
Windows Azure Media Service ile Video Yayıncılığı - 1 / 18.06.2013
Windows Azure Media Service ile Video Yayıncılığı - 2 / 20.06.2013
İbrahim ATAY | www.ibrahimatay.org
İbrahim ATAY | www.ibrahimatay.org
Thank You!
İbrahim ATAY | www.ibrahimatay.org | @ibrahim_atay
top related