Wired - Building for massive traffic

14
BUILDING FOR MASSIVE TRAFFIC Kenneth Solberg Alex Norcliffe

description

Presentation from Umbraco Codegarden 09. Building for massive traffic. Wired.

Transcript of Wired - Building for massive traffic

Page 1: Wired - Building for massive traffic

BUILDING FOR MASSIVE TRAFFIC

Kenneth SolbergAlex Norcliffe

Page 2: Wired - Building for massive traffic

• About

• Development

• Handling traffic

The talk

Page 3: Wired - Building for massive traffic

• Wired• Strategy and goals• Why Umbraco?

– Rapid development– Open-source

• No license fees for the product• Share costs – become part of an evolving platform• Avoid buying limited access to a vendor• Leave more budget for creating great sites

– Re-use content across multiple sites and domains– Host many sites on one server set-up– Non-technical user interface– Low cost of support

About

Page 4: Wired - Building for massive traffic

• Dislocated development teams

• Source control and continous integration

• Shared database

• Side-by-side dev and content production

Development

Page 5: Wired - Building for massive traffic

• What’s ”massive”?

– Unpredictable traffic pattern

– Timezone of audience spread across globe

– Large amount of content: cache turnover rate

– High amount of pageviews

• CondeNet UK + Italy combined = >100m PVs per month

Massive Traffic

Page 6: Wired - Building for massive traffic

• Scaling the code

– Code performance before adding caching

• JetBrains dotTrace code profiler

• Even String.Concac rather than String.Format!

– WebCacheManager framework

– Lucene indexing of external data sources

• Comments, Image + Video assets

– OutputCaching ”icing the cake”

Massive Traffic

Page 7: Wired - Building for massive traffic

• Scaling the hardware

– Multiple web servers

– Load balancers

– NAS for common storage

• Umbraco issues and workarounds

Massive Traffic

Page 8: Wired - Building for massive traffic

• Monitoring

– Performance diagnostics

– Self management (open session tmrw)

• App startup/shutdown alerts to dev team

• Error monitoring on steroids

– External ping services (Pingdom, SiteConfidence)

– Don’t let the client be your alerting service

Massive Traffic

Page 9: Wired - Building for massive traffic

Q&A

Page 10: Wired - Building for massive traffic

• Alex Norcliffe, Boxbinary.com

– Email: [email protected]

– Twitter: alex_norcliffe

– Blog: Coming soon!

• Kenneth Solberg, Xeed.no

– Email: [email protected]

– Twitter: kenneths

– Blog: http://kenny.no/

Thank you!

Page 11: Wired - Building for massive traffic

Support slides

Page 12: Wired - Building for massive traffic

Custom datatypes

Page 13: Wired - Building for massive traffic

DAM

Page 14: Wired - Building for massive traffic

Infrastructure