70
High Performance Distribution for Harvard Mobile & the Gazette Chris Traganos Web Developer, HPAC @ctraganos #hitsummit Larry Bouthillier, Digital Video Services, HUIT

High Performance Distribution for Harvard Video, Mobile and the Gazette

Embed Size (px)

DESCRIPTION

As Harvard's online traffic increases, performance improvements are at the center of the University's web and multimedia efforts. Larry Bouthillier and Chris Traganos will discuss the tools and services used to rapidly distribute and scale content online optimally via content delivery networks. They will discuss the operational and performance implications of online video, traffic spikes on the Gazette and other services that are supported by a distributed network of servers around the world.

Citation preview

Page 1: High Performance Distribution for Harvard Video, Mobile and the Gazette

High Performance

Distribution for Harvard

Mobile & the Gazette

Chris Traganos • Web Developer, HPAC

@ctraganos #hitsummit

Larry Bouthillier, Digital Video Services, HUIT

Page 2: High Performance Distribution for Harvard Video, Mobile and the Gazette

Harvard on the Web.

Page 3: High Performance Distribution for Harvard Video, Mobile and the Gazette

Harvard on the Web.Harvard on the Web.

Page 4: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 5: High Performance Distribution for Harvard Video, Mobile and the Gazette

Overview

• The Harvard Gazette is

Harvard's official newspaper,

published in print and online.

• Writers, photographers, and

editors create the online

version which has fresh

content delivered daily.

• Editorial workflow is used for

both creating print and online

content.

• Powered by WordPress

Page 6: High Performance Distribution for Harvard Video, Mobile and the Gazette

Mobile Traffic to the Gazette

0

7500

15000

22500

30000

Jun Jul Aug Sept Oct Nov Dec Jan Feb Mar Apr May

2011

Page 7: High Performance Distribution for Harvard Video, Mobile and the Gazette

SymbianOS1%

Android17%

Blackberry5%

iPad27%

iPhone50%

Gazette

Mobile

Usage

by

Device

Page 8: High Performance Distribution for Harvard Video, Mobile and the Gazette

HARVARD’s 360thCOMMENCEMENT

Chris Traganos

G)))))))))gVIDEO & WEB

Page 9: High Performance Distribution for Harvard Video, Mobile and the Gazette

BIG DAYt

G)))))))gMAY 264, 2011

Page 10: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 11: High Performance Distribution for Harvard Video, Mobile and the Gazette

12

7,200

102

323k

Graduate Schools

Conferred Degrees

George Brown ’29

Living Alumni

Page 12: High Performance Distribution for Harvard Video, Mobile and the Gazette

LIVE STREAMT

G)))))))))))))))gClass Day • Commencement

Page 13: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 14: High Performance Distribution for Harvard Video, Mobile and the Gazette

SECTIONS

Page 15: High Performance Distribution for Harvard Video, Mobile and the Gazette

EVENTDETAILS

Page 16: High Performance Distribution for Harvard Video, Mobile and the Gazette

LIVEVIDEO

Page 17: High Performance Distribution for Harvard Video, Mobile and the Gazette

SOCIALSTREAM

Page 18: High Performance Distribution for Harvard Video, Mobile and the Gazette

SCHOOLLINKS

Page 19: High Performance Distribution for Harvard Video, Mobile and the Gazette

DAILYGAZETTESIGN UP

Page 20: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 21: High Performance Distribution for Harvard Video, Mobile and the Gazette

MOBILE EXPERIENCE.

t

Page 22: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 23: High Performance Distribution for Harvard Video, Mobile and the Gazette

89%Use their smartphone

throughout the day

Source: The Mobile Movement Study, Google/Ipsos OTX MediaCT , Apr 2011

Page 24: High Performance Distribution for Harvard Video, Mobile and the Gazette

0

18

35

53

70

1922

25

54

59

70

Egypt India Kenya US UK Russia

% of Mobile-only users per country in 2010

Page 25: High Performance Distribution for Harvard Video, Mobile and the Gazette

iCommons

&

Page 26: High Performance Distribution for Harvard Video, Mobile and the Gazette

LIVE VIDEO CAPTUREWORK FLOW

Page 27: High Performance Distribution for Harvard Video, Mobile and the Gazette

LIVE VIDEO CAPTURE

Page 28: High Performance Distribution for Harvard Video, Mobile and the Gazette

DIGITALENCODING

Page 29: High Performance Distribution for Harvard Video, Mobile and the Gazette

SERVER NETWORK

Page 30: High Performance Distribution for Harvard Video, Mobile and the Gazette

DEVICE DETECTION

Page 31: High Performance Distribution for Harvard Video, Mobile and the Gazette

30+ MOBILE STREAMS

Page 32: High Performance Distribution for Harvard Video, Mobile and the Gazette

iPad

Page 33: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 34: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 35: High Performance Distribution for Harvard Video, Mobile and the Gazette

(even android...)

Page 36: High Performance Distribution for Harvard Video, Mobile and the Gazette

TOTALSt

Page 37: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 38: High Performance Distribution for Harvard Video, Mobile and the Gazette

43,73351,021

1,94891,444

Uniques

Visits

Concurrent

Pageviews

75% US Tra!c

Page 39: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 40: High Performance Distribution for Harvard Video, Mobile and the Gazette

CDNContent Delivery Networks

Page 41: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 42: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 43: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 44: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 45: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 46: High Performance Distribution for Harvard Video, Mobile and the Gazette

Make fewer HTTP requests

and spread them out.

Page 47: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 48: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 49: High Performance Distribution for Harvard Video, Mobile and the Gazette

S3 & Cloudfront (Backup CDN)

Page 50: High Performance Distribution for Harvard Video, Mobile and the Gazette

Dynamic Video Streaming

Page 51: High Performance Distribution for Harvard Video, Mobile and the Gazette

Optimization

&

Distribution Tools

Page 52: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 53: High Performance Distribution for Harvard Video, Mobile and the Gazette

Image reduction for faster downloads.

Page 54: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 55: High Performance Distribution for Harvard Video, Mobile and the Gazette

ImageOptim(PNG, JPG, GIF optimizer for Mac OS X)

Page 56: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 57: High Performance Distribution for Harvard Video, Mobile and the Gazette

RIOT(Radical Image Optimization Tool)

Page 58: High Performance Distribution for Harvard Video, Mobile and the Gazette

320kB 90kB

Photoshop DropletsHarvard Gazette Team

Page 59: High Performance Distribution for Harvard Video, Mobile and the Gazette

320kB

A large photo takes 2-3 seconds to load.

Page 60: High Performance Distribution for Harvard Video, Mobile and the Gazette

320kB

A ‘droplet’ will resize &

compress the image.

Page 61: High Performance Distribution for Harvard Video, Mobile and the Gazette

320kB 90kB

Avg. 75% lighter at top quality.

Page 62: High Performance Distribution for Harvard Video, Mobile and the Gazette

Stylesheets & Javascript on CDNs

Stylesheets at the Top

Put Scripts at the Bottom

Code compression for CSS & Javascript

Webpage Performance Tips

Page 63: High Performance Distribution for Harvard Video, Mobile and the Gazette

Hosted libraries with a local fallback.

Page 64: High Performance Distribution for Harvard Video, Mobile and the Gazette

Example: Hosted libraries with a local fallback.

<script  type="text/javascript"  src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>

<script  type="text/javascript">if  (typeof  jQuery  ==  'undefined'){        document.write(unescape("%3Cscript  src='/Scripts/jquery-­‐1.3.2.min.js'  type='text/javascript'%3E%3C/script%3E"));}</script>

Page 65: High Performance Distribution for Harvard Video, Mobile and the Gazette

Further Reading

Page 66: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 67: High Performance Distribution for Harvard Video, Mobile and the Gazette

http://hvrd.me/ljjdvWREAD ONLINE

http://hvrd.me/ljjdvW(Harvard ID req’d)

Page 68: High Performance Distribution for Harvard Video, Mobile and the Gazette
Page 70: High Performance Distribution for Harvard Video, Mobile and the Gazette

Special thanks:

Harvard Staff Photographers

Digital Communications - HPAC

THANK YOU.

University Archives

-iCommons • MobileCDN • HUIT Telecom