Transcript
Page 1: Windows Azure Media Service ile Video Yayıncılığı - 1

Windows Azure Media Service ile Video Yayıncılığı - 1

İbrahim ATAY | www.ibrahimatay.org

18.06.2013 / 21.00

Page 2: Windows Azure Media Service ile Video Yayıncılığı - 1
Page 3: Windows Azure Media Service ile Video Yayıncılığı - 1

àh"p://tcrn.ch/14ga748  

Page 4: Windows Azure Media Service ile Video Yayıncılığı - 1

Popular Video Websites

Page 5: Windows Azure Media Service ile Video Yayıncılığı - 1

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  

Page 6: Windows Azure Media Service ile Video Yayıncılığı - 1

Windows Azure Media Service

Page 7: Windows Azure Media Service ile Video Yayıncılığı - 1
Page 8: Windows Azure Media Service ile Video Yayıncılığı - 1

Windows Azure Portal for media services

DEMO

Page 9: Windows Azure Media Service ile Video Yayıncılığı - 1

Windows Azure Media Service Process

Page 10: Windows Azure Media Service ile Video Yayıncılığı - 1

ChannelPerforming

DEMO

Page 11: Windows Azure Media Service ile Video Yayıncılığı - 1

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

Page 12: Windows Azure Media Service ile Video Yayıncılığı - 1

WAMS  

Azure  Storage  

Azure  Tables  

Upload  Web  Role  

RunJob  Worker  

Publishing  Worker  

Client   PUT  (SasUploadUri  +  FileName)  

UploadComplete(Guid)  SetState(Guid,Uploaded)  

Web  Site  

Uploading

Page 13: Windows Azure Media Service ile Video Yayıncılığı - 1

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

Page 14: Windows Azure Media Service ile Video Yayıncılığı - 1

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

Page 15: Windows Azure Media Service ile Video Yayıncılığı - 1

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

Page 16: Windows Azure Media Service ile Video Yayıncılığı - 1

ChannelPerforming

DEMO

Page 17: Windows Azure Media Service ile Video Yayıncılığı - 1
Page 18: Windows Azure Media Service ile Video Yayıncılığı - 1
Page 19: Windows Azure Media Service ile Video Yayıncılığı - 1

Channel Performing

à  h"p://github.com/ibrahimatay/ChannelPerforming  

Page 20: Windows Azure Media Service ile Video Yayıncılığı - 1

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

Page 21: Windows Azure Media Service ile Video Yayıncılığı - 1

Thank You!

İbrahim ATAY | www.ibrahimatay.org | @ibrahim_atay


Recommended