Windows Azure Media Service ile Video Yayıncılığı -- 1 İnternet Semineri Notları
http://www.ibrahimatay.com/post/2013/6/19/Windows-Azure-Media-Service-ile-Video-Yayinciligi-1-internet-Semineri-Notlari
Windows Azure Media Services
http://www.ibrahimatay.com/category/windows-azure-media-services/
5. YouTube Architecture
Pla$orm
The
Stats
1.
2.
3.
4.
5.
6.
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
Apache
Python
Linux
(SuSe)
MySQL
psyco,
a
dynamic
python-‐>C
compiler
ligh"pd
for
video
instead
of
Apache
à
h"p://highscalability.com/youtube-‐architecture
11. Upload Web Role
WAMS
Client
RequestUploadUri
RequestUploadUri(Guid)
SasUploadUri,
Guid
Web
Site
Container.Create()
CreateSas(Container)
SasUploadUri
Upload
Web
Role
RunJob
Worker
Publishing
Worker
Azure
Storage
SetState(Guid,UriRequested)
SetState(Guid,UriProvided)
Azure
Tables
12. Uploading
WAMS
Client
PUT
(SasUploadUri
+
FileName)
UploadComplete(Guid)
Web
Site
Azure
Storage
Upload
Web
Role
RunJob
Worker
Publishing
Worker
SetState(Guid,Uploaded)
Azure
Tables
13. RunJob Worker Role
WAMS
Client
RunJob(Guid)
Poll
GetJobState(Guid)
Encode(Asset)
Jpg(Asset)
Revoke(AssetSas)
Upload
Web
Role
Poll
Query(Uploaded)
Web
Site
Azure
Storage
RunJob
Worker
SetState(Guid,Running)
SetState(Guid,Complete)
Publishing
Worker
Azure
Tables
14. Publishing Worker Role
WAMS
Client
CreateOriginLocator(SmoothAsset)
CreateSas(JpgContainer)
GetJpgSas(Guid)
GetSmoothUrl(Guid)
UpdateGallery(JpgSas,SmoothUrl)
EmailUser
Azure
Storage
Upload
Web
Role
RunJob
Worker
Web
Site
Poll
Query(Complete)
Publishing
Worker
Azure
Tables
SetState(Guid,GeangUrls)
SetState(Guid,Published)
SetState(Guid,EmailSent)
15. Browse and Playback
Playback(SmoothUrl)
Client
GET(JpgSasUrl)
Browse
Video
Gallery
Web
Site
WAMS
Sources
From
Smooth
Asset
Azure
Storage
Upload
Web
Role
RunJob
Worker
Publishing
Worker
Azure
Tables
20. Windows Azure Media Service ile Video Yayıncılığı - 1 / 18.06.2013
İbrahim ATAY | www.ibrahimatay.org
Windows Azure Media Service ile Video Yayıncılığı - 2 / 20.06.2013
İbrahim ATAY | www.ibrahimatay.org