presentation by elaine mello & robert sikkema june 30, 2015

27
Presentation by Elaine Mello & Robert Sikkema June 30, 2015

Upload: linette-ford

Post on 29-Dec-2015

222 views

Category:

Documents


5 download

TRANSCRIPT

Page 1: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

Presentation byElaine Mello & Robert Sikkema

June 30, 2015

Page 2: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

History of TechTV

How did we get here?2007

TechTV created

Page 3: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

History of TechTV

How did we get here?2007

TechTV created – 1st home Blip.TV

Page 4: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

History of TechTV

How did we get here?2007

TechTV created – 1st home Blip.TV

2008TechTV migrated to Viddler

Moved from a completely hosted service to a hybrid model

Page 5: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

History of TechTV

How did we get here?

TechTVWebsite

(IS&T VM)

Viddler Service

provider in the cloud

Page 6: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

History of TechTV

How did we get here?

2009TechTV was adopted by the Libraries and continued to grow

Page 7: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

History of TechTV

How did we get here?

2009TechTV was adopted by the Libraries and continued to grow

And grow…

Page 8: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

History of TechTV

How did we get here?2010

And grow!

In 2010, TechTV migrated from Viddler to Kaltura for transcoding, hosting and streaming.

Page 9: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

History of TechTV

9

How did we get here?2010

And grow!

In 2010, TechTV migrated from Viddler to Kaltura for transcoding, hosting and streaming. TechTV went from 5,000 videos to 18,000 videos in the first two years of Kaltura hosting.

Page 10: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

History of TechTV

Why the increase in growth?

• Increased awareness of TechTV by the community

• Increased quality of streaming• Ability to do HD quality• Larger file sizes being uploaded• New features added to the TechTV code.• Multiple files transcoded for desktop and

mobile device streaming.• Increase in number of users

• Increased features (Shibboleth, captions, etc)

Page 11: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

History of TechTV

Issues with Kaltura:• Unable to modify Kaltura player• Streaming issues

• Quality concerns• Lost files• Customer service issues• Unable to see “under the hood”• Poor analytics• File security issues

• Overage costs• $6k/month for 19TB of hosting and

storage, plus $0.40/GB overage charges

Page 12: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

History of TechTV

So why move someplace else?

Control costsCreate a flexible system

Add features on our schedule, not a vendor’s.Be able to see the whole workflow, not just a

limited portion.

Page 13: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

History of TechTV

How did we get here?2013

In April 2013, TechTV migrated to the Amazon cloud (AWS). This decreased costs by 50% over using Kaltura.

Page 14: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

TechTV Today

In July 2013, AMPS, Distance Education & Streaming Operations and TechTV moved From the Libraries to ODL.

Page 15: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

TechTV Today

• 9,947 users 6/30/2015

• 25,504 total videos• 13,901 public videos (54%)• 11,603 private videos (46%)

• 3,061 Collections• Over 1 million unique views

In July 2013, AMPS, Distance Education & Streaming Operations and TechTV moved From the Libraries to ODL.

Page 16: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

MIT TechTV Growth

0 5,000 10,000 15,000 20,000 25,000 30,000 35,000 40,000

Total Videos

2015

2014

2013

2012

2011

2010

2009

2008

2007

Page 17: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

Global28%

US33%

MIT39%

TechTV Access By Population

Page 18: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

Architecture4%

Engineering8%

HASS14%

Sloan12%

Alumni2%

News Office8%

ILP8%Science

3%

Other Academic (Labs & Centers)38%

Non-Academic3%

Number of Videos by DLCs and Others

Page 19: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

Faculty Candidate Review1% Marketing/Outreach

0%

Members only Materials57%

Other Instruction2%

Public Events, Symposia, Colloquia15%

Residential Instruction18%

Research8%

Number of Videos by Use Case

Page 20: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

Subscribe to Amazon servicesS3 StorageEC2 (Elastic Compute Cloud)CloudFront streaming

How does it work?

These services combined with ODL’s StarCluster program and the TechTV website allows us to provide the same services at a fraction of the cost.

Page 21: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

StarCluster

Open source cluster computing toolkit for the Amazon Elastic Compute Cloud (EC2) which allows TechTV to manager virtual machines in the cloud for use in the transcoding of video.

The video files are moved to the Amazon Simple Storage Service (S3) repository. When someone clicks on a video link on TechTV, the video is streamed through a virtual server on CloudFront.

Page 22: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

1. File is copied to DE watch folder on a server in Building 9 VNOC.2. Webform is filled out with metadata information and XML form is deposited into the Detroit watchfolder.3. DE and Foraker scripts are run to upload files to AWS storage for processing and go through the normal processing for QC check approval.

TechTV Collaborative Workflow Project

TTV WebInterfaceUpload page

Fileupload

FFMPEG,Elastic

Transcode &Starcluster EC2

TranscodeEngine

TTV WebInterface

AdminApprovalof files

Bulkuploader

TTV WebInterface

Videoposted to

collections(videos can beembedded in

external sites)

TechTVUser

TechTVUser

TechTVUser

TechTVUser

TechTVUser

Filetranscode

Fileadministration

Storageon

AmazonS3 Cloud

Streamingon AmazonCloudFront

DE Watchfolder

Uploader

Page 23: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

How we migrated:

TechTV code changed by Foraker Labs to point to Amazon Cloud

Justin Riley from OEIT set up StarCluster to transcode files in the cloud.

Modification of open source video player with custom functions by Bigsool.

Copy of all files from Kaltura to Amazon S3Copy files from DE server to Amazon S3Robert & Elaine to manage the transition,

beta test the code, work with power users to test and report bugs to Foraker.

Page 24: Presentation by Elaine Mello & Robert Sikkema June 30, 2015
Page 25: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

Tech TV Architecture

Page 26: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

• admin_notices• approved_users• bdrb_job_queues• closed_caption_files• collections• collection_properties• collection_videos• comments• contact_messages• delayed_jobs• friend_messages• genres• languages• licences• pages• playlists• playlist_items• ratings• roles

• schema_migrations• search_phrases• shibboleth_strategies• site_configurations• surveys• survey_participations• tags• tags_videos• users• viddler_video_files• videos• video_formats• video_supporting_files• video_transcodes• watch_items• watch_item_errors

MySQL Tables

Page 27: Presentation by Elaine Mello & Robert Sikkema June 30, 2015

Local Ruby Gems

actionmailer (3.1.0, 2.3.12)actionpack (3.1.0, 2.3.12)activemodel (3.1.0)activerecord (3.1.0, 2.3.12)activeresource (3.1.0, 2.3.12)activesupport (3.1.0, 2.3.12)arel (2.2.1)aws-sdk (1.8.3.1, 1.8.3)bcrypt-ruby (3.0.1)builder (3.0.0)bundler (1.6.1, 1.0.18)console (0.5)daemon_controller (0.2.6)erubis (2.7.0)fastthread (1.0.7)hike (1.2.1)i18n (0.6.0)json (1.7.7)mail (2.3.0)mime-types (1.16)minitest (1.6.0)multi_json (1.0.3)mysql2 (0.3.11)

nokogiri (1.5.0)passenger (3.0.11, 3.0.9)polyglot (0.3.2)rack (1.3.3, 1.1.2)rack-cache (1.0.3)rack-mount (0.8.3)rack-ssl (1.3.2)rack-test (0.6.1)rails (3.1.0, 2.3.12)railties (3.1.0)rake (0.9.2)rdoc (3.9.4, 2.5.8)rubygems-update (2.2.2)sprockets (2.0.0)thor (0.14.6)threadz (1.0.0)tilt (1.3.3)treetop (1.4.10)tzinfo (0.3.29)uuidtools (2.1.3)