Webuquerque Web Hosting

63
Your Title Here Chris Kenworthy and Mick Thompson

description

 

Transcript of Webuquerque Web Hosting

Page 1: Webuquerque Web Hosting

Your Title Here

Chris Kenworthy and Mick Thompson

Page 2: Webuquerque Web Hosting

This slide intentionally left blank.

Page 3: Webuquerque Web Hosting

Chris and I started a grand new site!

Page 4: Webuquerque Web Hosting
Page 5: Webuquerque Web Hosting

We registered the domain…

name.com enom.com

(Not with your webhost)

Page 6: Webuquerque Web Hosting

We got a smokin’ deal on hosting...

hostgator.com$4.95/mo

Unlimited EVERYTHING!

Page 7: Webuquerque Web Hosting

Hot damn… we’re on the tubes!

Page 8: Webuquerque Web Hosting

Posted “Easy Fusilli With Tomato Pesto Sauce”

recipe.

Page 9: Webuquerque Web Hosting

Penny’s Pasta Project(one pasta dish a day)

Page 10: Webuquerque Web Hosting

100 people.(Sweet!)

Page 11: Webuquerque Web Hosting

Nancy Noodle News(If it ain’t noodles, it ain’t news)

Page 12: Webuquerque Web Hosting

1,000 Visitors!(*happy dance*)

Page 13: Webuquerque Web Hosting

Hostgator Called…

Page 14: Webuquerque Web Hosting

GTFO!(shit)

We went over our “unlimited” limit.

Page 15: Webuquerque Web Hosting
Page 16: Webuquerque Web Hosting

VPS?Virtual Private Server

Page 17: Webuquerque Web Hosting

$59/mo1GB Burstable RAM

40GB HDD2TB Bandwidth

Whaaaaa!? No Unlimited?!

Page 18: Webuquerque Web Hosting

allrecipes.com featuresthe WikiNoodle.

Page 19: Webuquerque Web Hosting

New Members! Yay!

Slow Server! Booooo!

(1000 an hour on the biggest plan)

Page 20: Webuquerque Web Hosting

(Again)

Page 21: Webuquerque Web Hosting

Options…Dedicated Colocation

Cloud

Page 22: Webuquerque Web Hosting

Dedicated(Leasing)

Managed Unmanaged

Page 23: Webuquerque Web Hosting

Datacenter

Geographic Diversity

Onsite/Offsite Storage

Redundancy

Global Load Balancing

Page 24: Webuquerque Web Hosting

24

Page 25: Webuquerque Web Hosting
Page 26: Webuquerque Web Hosting

Pros…

Cons…

Page 27: Webuquerque Web Hosting

Colocation

Page 28: Webuquerque Web Hosting

Pros…

Cons…

Page 29: Webuquerque Web Hosting

Cloud

Page 30: Webuquerque Web Hosting
Page 31: Webuquerque Web Hosting

CloudApplications

Infrastructure

Platform

Page 32: Webuquerque Web Hosting

Infrastructure

Amazon EC2Rackspace (was Mosso)

Go Grid, Nimbus, FlexiScale

You could own hardware and do this but that isnt what I’m going to be talking about because you know that would be more like a dedicated server that was discussed, but at the same time some of the benefits of virtualization, and not that it would be considered cheating, because it isnt, but it would bring up a whole other set of pros and cons that I couldnt find space to talk about.

Page 33: Webuquerque Web Hosting

EC2

Elastic Compute Cloud

Not yet 4 yrs old (was in beta just 2 years ago)

40000 servers running 79463 instances

Page 34: Webuquerque Web Hosting

Elastic Pros / Cons

Con: Instances die.Pro: You plan for that.

Con: PerformancePro: flexibility

Page 35: Webuquerque Web Hosting

Google App Engine / AppScale

Engine Yard, Heroku

S3 / Simple DB / SQS

Platforms

Page 36: Webuquerque Web Hosting

Flexibility in Resources

Low barrier to entry

Multi zone setup

Testing

Best Uses

Page 37: Webuquerque Web Hosting

Performance

Page 38: Webuquerque Web Hosting

Y!Slow & Google Page Speed

Page 39: Webuquerque Web Hosting
Page 40: Webuquerque Web Hosting

Minimize HTTP Requests

Page 41: Webuquerque Web Hosting
Page 42: Webuquerque Web Hosting

Use a CDN

Page 43: Webuquerque Web Hosting
Page 44: Webuquerque Web Hosting

Expire & Cache Control

Page 45: Webuquerque Web Hosting

Status 200

Last ModifiedETag

Page 46: Webuquerque Web Hosting

Status 304

Request Headers If Modified SinceIf None Match

Page 47: Webuquerque Web Hosting

Any static resource should be set to far future

How do you update those now?

hash the filenameversion in filenametimestamp in filenameOne of those should be in your build / deploy script

Page 48: Webuquerque Web Hosting

Gzip & Compress

Page 49: Webuquerque Web Hosting
Page 50: Webuquerque Web Hosting

CSS At The Top

Page 51: Webuquerque Web Hosting

Scripts At The Bottom

Page 52: Webuquerque Web Hosting

Reduce DNS Lookups

Page 53: Webuquerque Web Hosting

Globally Distributed DNS

(IPAnyCast)

Page 54: Webuquerque Web Hosting

Not 100%?!

Page 55: Webuquerque Web Hosting

http://developer.yahoo.com/performance/rules.html

Performance Rules!

Page 56: Webuquerque Web Hosting

MonitoringE-Mail, SMS, Phone, Twitter

Page 57: Webuquerque Web Hosting
Page 58: Webuquerque Web Hosting

Backups! Backups! Backups! Backups! Backups! Backups!

Page 59: Webuquerque Web Hosting

Backups! Backups! Backups! Backups! Backups! Backups!

Page 60: Webuquerque Web Hosting

Backups! Backups! Backups! Backups! Backups! Backups!

Page 61: Webuquerque Web Hosting

What Did We Learn?Redundant. Redundant.more then 1 server.in more then 1 place.automatic failover

ScalableA site built to take advantage of multiple serversHave extra resources (traffic is spiky)

Page 62: Webuquerque Web Hosting
Page 63: Webuquerque Web Hosting

Questions