Web Performance

Sergey Chernyshev

Web Services cross-training session

March 5th, 2009 (11AM - 1PM)

What is this talk about?

Why do we need to care?

How web works?

Internet Request Response Response

Backend

DataBase performance

* For MySQL, 15 Ways to Kill Your MySQL Application Performance by Jay Pipes at PHP Tek 2007

Compile

* APC at Facebook by Brian M. Shire and Facebook Performance Caching by Lucas Nealan at PHP Tek 2008

Cache

CDNs or lightweight web servers for static

Front-end

Front-end: Start Here!

Amount of media and requests per page grew exponentially over time.

1995 - 2008
Growth of the Average Web Page (1995 - 2008)
* Average Web Page Size Triples Since 2003, as of end of 2007 (via Nicole Sullivan)

Front-end: Start Here!

Top 1000 Home pages, growth in just 1.5 years.

Jun 2006 - Jan 2008
Growth of the Average Top 1000 Home Page (June 2006 - January 2008)
* Average Web Page Size Triples Since 2003, as of end of 2007 (via Nicole Sullivan)

Amazon Waterfall!

Amazon Waterfall

CNN Waterfall!

CNN Waterfall

Yahoo!

Best Practices (34 already)

Top Best Practices

Most effective, tested by YSlow

Top Best Practices (cont'd)

More Front-end Best Practices

How do I start?

How do I start? Business people

How do I start? Designers

How do I start? Front-end developers

How do I start? Backend developers

How do I start? System administrators

More info

Diagnostic Tools

About these slides

These slides use an HTML presentation tool Slidy.

They are valid XHTML document with rich metadata embedded using RDFa.

Valid XHTML + RDFa Extract RDF from RDFa on this page