Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

AWS Customer Presentation - Justin.tv

8,248 views

Published on

Kyle Vogt of Justin.tv presents at Amazon Web Services The Start-Up Project - San Francisco

Published in: Technology, Business
  • Be the first to comment

AWS Customer Presentation - Justin.tv

  1. 1. Justin.tv and AWS <ul><li>Kyle Vogt - VP of Engineering </li></ul>
  2. 2. Brief Intro <ul><li>Justin’s 24/7 “Lifecast” starts March 2007 </li></ul><ul><li>Live Flash video and interactive chat </li></ul><ul><li>Network for cool live broadcasts </li></ul>Hot-shot Hot <ul><li>Everything recorded and browse-able </li></ul>
  3. 3. Police Raid Prank Hands up! SF Police! Who was stabbed?
  4. 4. Justin.tv (the business) <ul><li>VC funded in July </li></ul><ul><li>6M hits / month </li></ul><ul><li>300 broadcasters </li></ul><ul><li>7 full-time employees </li></ul><ul><li>Lots of AWS </li></ul>
  5. 5. Growing quickly... Page views up 300% in a month.
  6. 6. Architecture <ul><li>Phase I - March 2007 </li></ul><ul><ul><li>Vitalstream CDN running FMS </li></ul></ul><ul><ul><li>1 broadcaster (Justin) </li></ul></ul><ul><ul><li>Adequate capacity </li></ul></ul>Expensive. 60% of connections failed!
  7. 7. Architecture <ul><li>Phase II - May 2007 </li></ul><ul><ul><li>Stream splitter + Wowza </li></ul></ul><ul><ul><li>1 broadcaster (Justin) </li></ul></ul><ul><ul><li>1,000 streams </li></ul></ul>Servers crashed every 2 hours! Limited capacity.
  8. 8. Architecture <ul><li>Phase III - July 2007 </li></ul><ul><ul><li>Python Media Server </li></ul></ul><ul><ul><li>1,000 broadcasters </li></ul></ul><ul><ul><li>100,000 streams </li></ul></ul>More sleep for me. Reliable and scalable.
  9. 9. AWS By the Numbers 3,170,680 minutes of archived video 50 GB new archive video / day 250 mbps average live bandwidth 1,700 mbps peak live bandwidth 10 to 100 EC2 instances
  10. 10. Financial Comparison 125kbps video stream Provider Cost per user / hour Incremental Savings Time Investment Hardware Cost CDN $0.135 n/a Very Little None Amazon Web Services $0.0074 18x Some None Datacenter $0.0017 4x Lots $$$$$
  11. 11. Bad things <ul><li>Temptation to de-scale to save a buck </li></ul><ul><li>DB and Memcached outside EC2 </li></ul><ul><li>Using S3 where a CDN is better </li></ul><ul><li>... not much else </li></ul>
  12. 12. Good things <ul><li>Scaling your website in seconds </li></ul><ul><li>Serving big objects from EC2 / S3 </li></ul><ul><li>Using source control and deployment tools </li></ul><ul><li>Thinking about scaling ahead of time </li></ul><ul><li>Letting Amazon do the hard work </li></ul>
  13. 13. Thanks.

×