Webuquerque Web Hosting

Post on 05-Dec-2014

581 views 0 download

description

 

Transcript of Webuquerque Web Hosting

Your Title Here

Chris Kenworthy and Mick Thompson

This slide intentionally left blank.

Chris and I started a grand new site!

We registered the domain…

name.com enom.com

(Not with your webhost)

We got a smokin’ deal on hosting...

hostgator.com$4.95/mo

Unlimited EVERYTHING!

Hot damn… we’re on the tubes!

Posted “Easy Fusilli With Tomato Pesto Sauce”

recipe.

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

100 people.(Sweet!)

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

1,000 Visitors!(*happy dance*)

Hostgator Called…

GTFO!(shit)

We went over our “unlimited” limit.

VPS?Virtual Private Server

$59/mo1GB Burstable RAM

40GB HDD2TB Bandwidth

Whaaaaa!? No Unlimited?!

allrecipes.com featuresthe WikiNoodle.

New Members! Yay!

Slow Server! Booooo!

(1000 an hour on the biggest plan)

(Again)

Options…Dedicated Colocation

Cloud

Dedicated(Leasing)

Managed Unmanaged

Datacenter

Geographic Diversity

Onsite/Offsite Storage

Redundancy

Global Load Balancing

24

Pros…

Cons…

Colocation

Pros…

Cons…

Cloud

CloudApplications

Infrastructure

Platform

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.

EC2

Elastic Compute Cloud

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

40000 servers running 79463 instances

Elastic Pros / Cons

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

Con: PerformancePro: flexibility

Google App Engine / AppScale

Engine Yard, Heroku

S3 / Simple DB / SQS

Platforms

Flexibility in Resources

Low barrier to entry

Multi zone setup

Testing

Best Uses

Performance

Y!Slow & Google Page Speed

Minimize HTTP Requests

Use a CDN

Expire & Cache Control

Status 200

Last ModifiedETag

Status 304

Request Headers If Modified SinceIf None Match

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

Gzip & Compress

CSS At The Top

Scripts At The Bottom

Reduce DNS Lookups

Globally Distributed DNS

(IPAnyCast)

Not 100%?!

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

Performance Rules!

MonitoringE-Mail, SMS, Phone, Twitter

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

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

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

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)

Questions