SlideShare a Scribd company logo
The
      Forgotten Art
      of Web Performance




                                           http://www.flickr.com/photos/mhzmaster/9659478

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
I’m here to talk about making websites faster

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
I’m here to talk about making websites faster

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Web performance is about driving more traffic to your site
                                            http://www.flickr.com/photos/darrentunnicliff/37179763



    The Forgotten art of Web Performance
        forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

HTML XHTML HTML5
HTML XHTML HTML5HTML XHTML HTML5
HTML XHTML HTML5

A presentation I delivered to the Richmond JUG on the evolution of HTML through XHTML to HTML5 and some of the technologies that support implementation now, before a specification is reached by the WHATWG/W3C

htmlhtml5javascript
Groke
GrokeGroke
Groke

This document discusses Groke, a JavaScript middleware that partitions code between the client and server to make web application development easier. Groke exposes application functions and objects as resources through a RESTful interface. This allows traditional software engineering principles to be applied by treating functions as resources and always posting parameters. Future work includes making the Groke client/server communication symmetric using Comet or WebSockets.

commonjsrestjavascript
Ready to Play: JavaScript / HTML5 Game Development
Ready to Play: JavaScript / HTML5 Game DevelopmentReady to Play: JavaScript / HTML5 Game Development
Ready to Play: JavaScript / HTML5 Game Development

Plug-in free (read: without Flash) web browser video game development with HTML5 and JavaScript has matured, and is here to stay. In this quick overview of the current landscape, I will cover the technology available today and what is on the horizon. I will also demo some games, discuss engines and libraries, and serve a big dose of reality about desktop browser vs mobile browser performance.

playgameshtml5
Web performance is about “DevOps"
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
FRONT END           BACK END
                          HTML               Network
                           CSS             Web server
                         Javascript         Application
                          Images            Database
                        Third party            O/S
                                            Hardware


       Web Performance Optimisation Basics
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
FRONT END           BACK END
                          HTML               Network
                           CSS             Web server
                         Javascript         Application
                          Images            Database
                        Third party            O/S
                                            Hardware

 Web performance comes from combination of
  “back-end” and “front-end” optimisations
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
FRONT END           BACK END
                          HTML               Network
                           CSS             Web server
                         Javascript         Application
                          Images            Database
                        Third party            O/S
                                            Hardware


95% of download time comes from “Front-end”

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

The Hitchhiker's guide to mobile development
The Hitchhiker's guide to mobile developmentThe Hitchhiker's guide to mobile development
The Hitchhiker's guide to mobile development

The document discusses the current state of mobile development. It covers mobile runtimes, debugging tools, editors, build services, testing, reporting, app stores, and libraries. It then discusses approaches to coding mobile apps, including using mixins and libraries sparingly. It provides examples of a mobile app built with a delegate mixin for event handling and data binding. The document calls for further developing mobile capabilities by pushing frameworks like PhoneGap and advocating for more direct access to device APIs from JavaScript.

mobilismhtml5javascript
Ruby and Rails, as secret weapon to build your service-oriented apps
Ruby and Rails,  as secret weapon to build your service-oriented appsRuby and Rails,  as secret weapon to build your service-oriented apps
Ruby and Rails, as secret weapon to build your service-oriented apps

The document discusses using Ruby and Rails to build service-oriented applications. It describes how services provide functionality through standard interfaces and are designed to be interoperable and reusable. The key advantages of the services approach include isolation, scalability, robustness, and agility. Ruby tools like Rails, Sinatra, and EventMachine can be used to create services, while partitioning functionality based on factors like iteration speed and logical functions.

conferenciarails service service-oriented
The Fast, The Slow and the Lazy
The Fast, The Slow and the LazyThe Fast, The Slow and the Lazy
The Fast, The Slow and the Lazy

The document discusses various techniques for optimizing website performance, including respecting HTTP protocols like using GET requests for non-destructive actions; using a proxy server like Nginx to deliver static content; leveraging caching, compression, and content delivery networks; JavaScript and image optimizations; and asynchronous loading of scripts. The goal is to make websites faster by improving how static assets are served and how client-server interactions work.

front end performancerailsperformance
FRONT END           BACK END
                          HTML               Network
                           CSS             Web server
                         Javascript         Application
                          Images            Database
                        Third party            O/S
                                            Hardware


  You want to deliver content as fast as possible...

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
FRONT END           BACK END
                          HTML               Network      Requests
                           CSS             Web server
                         Javascript         Application
                          Images            Database
                        Third party            O/S
                                            Hardware


    You can maximise the requests you can
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
FRONT END           BACK END
                          HTML               Network
                           CSS             Web server
                         Javascript         Application
                          Images            Database
                        Third party            O/S
                                            Hardware      Minimise

by minimising request times of your stack
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
If Average request takes 50ms to serve and
       200 “agents” => 4000 requests per second
    The Forgotten art of Web Performance
        forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

Speed Dating: How Speeding up your Blog Improves your SEO
Speed Dating: How Speeding up your Blog Improves your SEOSpeed Dating: How Speeding up your Blog Improves your SEO
Speed Dating: How Speeding up your Blog Improves your SEO

SEO is top of mind for every blog owner, but how can bloggers maximize their SEO? In this presentation, Michelle Zatlyn, co-founder of CloudFlare shares tips to speed up your blog and improve your SEO.

blog tipsseo tipsseo
Architecting for the Cloud: demo and best practices, by Simone Brunozzi (2011...
Architecting for the Cloud: demo and best practices, by Simone Brunozzi (2011...Architecting for the Cloud: demo and best practices, by Simone Brunozzi (2011...
Architecting for the Cloud: demo and best practices, by Simone Brunozzi (2011...

The document outlines a presentation titled "Architecting for the Cloud - Demo and Best Practices". The presentation covers seven principles of cloud architecture - introduction, scalability, storage, understanding durability, interface, costs, and security. It includes demos and discusses concepts like auto-scaling, decoupling, and designing for failure. The presentation aims to provide best practices for architecting systems in the cloud.

awsamazon web servicescloud computing
Web Services Mash-Up
Web Services Mash-UpWeb Services Mash-Up
Web Services Mash-Up

The document discusses Flickr and web services. It describes Flickr as a photo-sharing website and application with an open API. It then discusses different types of web service transports including SOAP, XML-RPC, and REST. It notes that services should support multiple transports and cautions about potential performance issues from API abuse.

How do I fix?
                                              http://www.flickr.com/photos/lenore-m/251580065



    The Forgotten art of Web Performance
        forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Lots of tools to help you fix your site
                                           http://www.flickr.com/photos/lenore-m/251580065



    The Forgotten art of Web Performance
        forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
YSlow - 35 rules of Web performance
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Pagespeed - 6 principles for speeding up
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

Etech2005
Etech2005Etech2005
Etech2005

The document discusses Flickr and web services. It describes Flickr as a photo-sharing website and application with an open API. It then discusses different types of web service transports including SOAP, XML-RPC, and REST. The document cautions that performance problems can occur if APIs are abused, such as through excessive scraping or polling, and recommends solutions like caching and monitoring.

Searching does not mean finding Stuff - Apache Solr for TYPO3
Searching does not mean finding Stuff - Apache Solr for TYPO3Searching does not mean finding Stuff - Apache Solr for TYPO3
Searching does not mean finding Stuff - Apache Solr for TYPO3

This document summarizes a presentation about search capabilities in TYPO3 using Apache Solr. It defines information retrieval and discusses factors like recall, precision and indexing. It introduces Apache Solr's features for enterprise search and how it can be integrated with TYPO3 using extensions. Finally, it outlines some common problems users may face and potential solutions.

apache solrtypo3
Intro to HTML
Intro to HTMLIntro to HTML
Intro to HTML

The document provides an overview of how webpages work, including: - HTML (Hypertext Markup Language) is used to structure and present content. It uses tags to annotate text with elements like headings, paragraphs, and links. - CSS (Cascading Style Sheets) is used to describe how HTML elements should be displayed visually. - JavaScript can be used to add interactivity and functionality to webpages, such as form validation, animations, and AJAX requests. - Web servers host websites and serve webpages to users. Domain names are translated to IP addresses by DNS servers.

htmlweb designtutorial
Aptimize.com
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
The difference web performance can make is     huge
                                                   http://www.flickr.com/photos/thebusybrain/2492945



    The Forgotten art of Web Performance
        forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
It seems that some sites haven’t evolved


    The Forgotten art of Web Performance
        forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
For web performance, some sites are stuck in the 90’s
                                 http://www.dailystab.com/blog/wp-content/uploads/2007/12/spice-girls-vancouver-lg.jpg

    The Forgotten art of Web Performance
        forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

Joomla para-sites-institucionais
Joomla para-sites-institucionaisJoomla para-sites-institucionais
Joomla para-sites-institucionais

Palestra apresentada por Ronildo Costa de Sousa no #seminariolocaweb em Bauru, dia 15 de Setembro de 2011.

ronildojoomla#seminariolocaweb
Open data, scraping e thacks com Software Livre
Open data, scraping e thacks com Software LivreOpen data, scraping e thacks com Software Livre
Open data, scraping e thacks com Software Livre

The document discusses various topics related to open data including file formats like PDF, DOC, XLS, HTML, CSV, XML, and JSON. It also discusses techniques for extracting open data like scraping and APIs. Programming libraries for parsing HTML and XML are mentioned, as are visualization platforms. However, the document is fragmented and consists of repeated dates and phrases, so it is difficult to discern an overall meaning or purpose.

opendata opengovdata thackday scraping
Image-ine That: Image Optimization for Conversion Maximization
Image-ine That: Image Optimization for Conversion MaximizationImage-ine That: Image Optimization for Conversion Maximization
Image-ine That: Image Optimization for Conversion Maximization

This document discusses the growing importance of mobile web performance and optimization. It notes that mobile traffic and commerce are increasing rapidly, but mobile networks and devices are often slower than desktop. Users expect fast page loads and have low tolerance for slow sites on mobile. The document provides tips and strategies for optimizing images, code size, and delivery through techniques like compression, sprites, responsive design, and third-party integration. It also discusses tools for testing and monitoring mobile performance across different networks and devices.

webperfmobileimages
Here’s a normal website
    The Forgotten art of Web Performance
        forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
I see things a little differently
    The Forgotten art of Web Performance
        forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
No HTTP Compression
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Poor expiry settings
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

HTML5 Pearson preso
HTML5 Pearson presoHTML5 Pearson preso
HTML5 Pearson preso

The document provides an overview of HTML5, including its history, new semantic elements like <header> and <article>, improved forms capabilities with built-in validation, and error handling standardized in the specification. It discusses both benefits like leaner markup and criticisms like incomplete browser support for new features. Examples are given throughout to illustrate new HTML5 syntax and capabilities.

html5
Javascript Views, Client-side or Server-side with NodeJS
Javascript Views, Client-side or Server-side with NodeJSJavascript Views, Client-side or Server-side with NodeJS
Javascript Views, Client-side or Server-side with NodeJS

The document summarizes a presentation on building applications that can render on both the server and client using a single codebase. It discusses how traditional server-side and client-side apps are structured, then shows how server-side JavaScript allows building a single app with a shared core that can adapt for the server or browser through the use of adapters. It demonstrates this approach with a sample app and discusses benefits like serving HTML versions for search engines or legacy browsers. Key aspects covered are rendering on the server/client with a View class and handling browser history across environments.

"nodejs javascript views parisjs joshfire sylvinus
Hack your learning 2022 - PART 2
Hack your learning 2022 - PART 2Hack your learning 2022 - PART 2
Hack your learning 2022 - PART 2

Part 2 of the Hack your learning guide. We look at the brain and how it affects how you learn and think about different tips that can improve your learning.

summer of techlearning tips
No CSS / JS bundling
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
No Spriting
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Would you be proud of this ?
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
1.2Mb, 133 requests, 21 JS files, 3 CSS files

    The Forgotten art of Web Performance
        forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

Hack your learning 2022 - Part 1
Hack your learning 2022 - Part 1Hack your learning 2022 - Part 1
Hack your learning 2022 - Part 1

Summer of Tech Have you ever wondered how you can hack your brain to accelerate your learning? This talk will explain how the brain works and two techniques that you can use to accelerate and focus your learning.

hack your learning
Hack your learning 2019
Hack your learning 2019Hack your learning 2019
Hack your learning 2019

Ever wondered how you can accelerate your learning. Here is a deck that shows some of the latest research on neuroscience and cognitive science on learning. The slides will cover two key techniques: Deliberate Learning and Perceptual Knowledge to help you learn skills faster and become an expert at anything.

summer of techlearningbootcamp
How to get a Job - Summer of Tech 2019
How to get a Job - Summer of Tech 2019How to get a Job - Summer of Tech 2019
How to get a Job - Summer of Tech 2019

This is the 2019 edition of the "How to get a job" aka Career advice. This deck talks about the key things employers are interested in and things you as a student can do to make yourself more employable. NOTE: These slides are meant as an accompaniment to the talk which provided more context and examples.

summer of techhow to get a job2019
Why is WPO
                       important?

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Why is WPO important


                       “Slow websites are boring”




                           Slow websites are boring!
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Customers are complaining about your site
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Fast websites make more money

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

How to get a Job 2016 - Summer of Tech
How to get a Job 2016 - Summer of TechHow to get a Job 2016 - Summer of Tech
How to get a Job 2016 - Summer of Tech

We have "reverse engineered" how to look for a job. We asked our top interns what tips and advice that they had for getting a job.

how to get a job career tips
ICT School - How to write a better resume
ICT School - How to write a better resume  ICT School - How to write a better resume
ICT School - How to write a better resume

This is the Slides to the "How to write a better resume" talk that was delivered to the ICT Graduate school in Wellington. This shows the fundamentals around good CV structure and how to write content for your CV

resume summer of tech act school wellington
Performance as a feature - Scale conf
Performance as a feature - Scale confPerformance as a feature - Scale conf
Performance as a feature - Scale conf

John Clegg gave a talk at ScaleConf about making performance a feature. He discussed how the Impossible Mission Force team at Xero focuses on performance as part of their development process. Clegg explained that focusing on performance leads to better customer satisfaction, conversion rates, and costs. However, premature optimization can be evil. The key is optimizing critical parts of the system as products and customers grow over time. Clegg provided tips on getting business buy-in, having developers take ownership of performance, using education and culture change, and metrics to make performance a feature.

performance
“We see a direct correlation between the speed
                            of our services and our bottom line.

                       Our customers seem inclined to spend a set time
                        on our site per session – the more pages they
                         can view in that time, the more they see and
                                 buy, and the more we earn.”

                            John MacDonald - CTO Trade Me 2006


                                    Time is Money

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
WPO State of Nation
                                           http://www.flickr.com/photos/nznationalparty/4436793708/

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Homepage hall of shame
                 2011
                           160 sites
                       Home broadband
                               vs
                       Office broadband
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Key findings

         Office BBand            Home BBand
         Ave page               Ave page     Ave home
         load time              load time    page size

         6.01s 12.5s                         665K

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

How to get a job 2016
How to get a job 2016How to get a job 2016
How to get a job 2016

Here are the slides on how to "Reverse Engineer" how to get an awesome IT job. We asked our top 40 students for tips on how to get hired. We're summarised their wisdom into this slide deck.

Summer of Tech Resume 2014
Summer of Tech Resume 2014 Summer of Tech Resume 2014
Summer of Tech Resume 2014

Summer of Tech 2014 Resume Workshop slide. Learn why a resume is important and how to chunk your work to learn what behaviours and core skills you have. Also lots of tips on how to structure a resume for an IT job

summer of tech 2014 resume workshop
Summer of tech Career Talk 2014
Summer of tech Career Talk 2014   Summer of tech Career Talk 2014
Summer of tech Career Talk 2014

Introduction to the Summer of Tech 2014 programme (Auckland and Wellington) and a selection of career advice for IT Students

summer of tech launch 2014
Whoʼs the fastest
                       1.17s Telecom        1.62s Zenbu


                       1.23s DOL            1.72s Geonet


                       1.49s Snipesoft      1.73s School.nz


                       1.58s Auckland Uni   1.78s Maxx


                       1.59 Massey Uni      1.59 Westpac
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Whoʼs the S L O W E S T
                       26.8s Skykiwi        16.3s interest.co.nz


                       20.9s The Standard   15.1s 3 News


                       20.1s iStars         15.1s The Big Idea


                       17.2s WhaleOil       14.7s Readers Digest


                       16.4s NZ Yahoo       14.3s Stuff
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Data on Google docs


      http://tinyurl.com/homepageHOS2011




    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Forgotten art of Web performance
                                           http://www.flickr.com/photos/23927132@N05/2500055549/

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

Sot resume2013
Sot resume2013Sot resume2013
Sot resume2013

The document summarizes John Clegg's presentation on how to write an effective resume. The presentation covers what companies look for in resumes, examples of good and bad resume formatting, and tips for writing resumes. It analyzes 100 student resumes and finds that most lack depth about the applicant's skills and how they would benefit the company. The presentation emphasizes highlighting one's top 5 skills with real examples and customizing each resume to the specific job being applied for.

resume workshop 2013 summer of tech
Summer of tech - Career Seminar 2012
Summer of tech  - Career Seminar 2012Summer of tech  - Career Seminar 2012
Summer of tech - Career Seminar 2012

The document summarizes a presentation about the Summer of Tech internship program. It discusses how the program helps students get internships in programming, engineering, design, and business analysis. It provides tips for students on how to make the most of the program such as participating fully, researching companies, and asking questions. The presentation also provides career advice, noting the current tough job market, and emphasizing skills like design, storytelling and empathy that companies are looking for in addition to technical skills.

Summmer of Tech Resume 2012
Summmer of Tech Resume 2012Summmer of Tech Resume 2012
Summmer of Tech Resume 2012

The document provides an overview of a resume workshop presented by John Clegg. Some of the key points discussed include how recruiters typically spend only 20 seconds reviewing each resume, the importance of highlighting one's skills, experiences, and accomplishments, and providing concrete examples and results. The workshop also covered tips for an effective resume such as limiting it to 1-2 pages, customizing it for each job, and leading with one's goals, core skills, and education summary. A resume smackdown was also presented, reviewing the strengths and weaknesses found in 100 student resumes.

Once upon a time...
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Internet speeds were crap
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Had to learn to scale the hard way
                                           http://www.flickr.com/photos/kitby/5414374130/

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
4 principles
                       to help you
                        scale your
                           site
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

Summer of Tech - resume bootcamp and workshop 2011
Summer of Tech -  resume bootcamp and workshop 2011Summer of Tech -  resume bootcamp and workshop 2011
Summer of Tech - resume bootcamp and workshop 2011

The document outlines a presentation on improving resume writing skills. It discusses why having a good resume is important, as recruiters typically spend little time reviewing each one. Effective resumes highlight an applicant's core skills and qualifications, and provide examples of how the person demonstrated those skills in previous roles or projects. The presentation provides tips on resume structure, including keeping it to one or two pages and tailoring it for specific jobs. It also emphasizes using the STAR (situation, task, action, result) method to discuss past accomplishments and quantify achievements. Examples of strong and weak resumes are examined to illustrate these best practices.

sot2011 resume workshop
Summer of tech 2011
Summer of tech 2011Summer of tech 2011
Summer of tech 2011

The document summarizes a presentation about the Summer of Tech (SoT) internship program. It discusses how SoT helps students get internships in programming, engineering, design, and business analysis. It provides career advice, noting that the job market is tough after the 2011 earthquake in New Zealand. Employers are seeking candidates with experience, strong soft skills like personality and team fit, and a track record of successful projects.

summer of tech student launch
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdfPigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdf

Sustainability requires ingenuity and stewardship. Did you know Pigging Solutions pigging systems help you achieve your sustainable manufacturing goals AND provide rapid return on investment. How? Our systems recover over 99% of product in transfer piping. Recovering trapped product from transfer lines that would otherwise become flush-waste, means you can increase batch yields and eliminate flush waste. From raw materials to finished product, if you can pump it, we can pig it.

pigging solutionsprocess piggingproduct transfers
Rule 1) Dynamic vs Static




    The Forgotten art of Web Performance
        forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
What is dynamic content?




    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
1 hour ?


  5 minutes ?                                         1 minute ?




                                           Text
 30 minutes ?




         Almost everything is static for a time
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
We used to pre-generate content
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

Comparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdfComparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdf

To help you choose the best DiskWarrior alternative, we've compiled a comparison table summarizing the features, pros, cons, and pricing of six alternatives.

data recoverydatadiskwarrior
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops

This presentation, delivered at the Postgres Bangalore (PGBLR) Meetup-2 on June 29th, 2024, dives deep into connection pooling for PostgreSQL databases. Aakash M, a PostgreSQL Tech Lead at Mydbops, explores the challenges of managing numerous connections and explains how connection pooling optimizes performance and resource utilization. Key Takeaways: * Understand why connection pooling is essential for high-traffic applications * Explore various connection poolers available for PostgreSQL, including pgbouncer * Learn the configuration options and functionalities of pgbouncer * Discover best practices for monitoring and troubleshooting connection pooling setups * Gain insights into real-world use cases and considerations for production environments This presentation is ideal for: * Database administrators (DBAs) * Developers working with PostgreSQL * DevOps engineers * Anyone interested in optimizing PostgreSQL performance Contact info@mydbops.com for PostgreSQL Managed, Consulting and Remote DBA Services

postgresqlpgsqldatabase
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection

Cybersecurity is a major concern in today's connected digital world. Threats to organizations are constantly evolving and have the potential to compromise sensitive information, disrupt operations, and lead to significant financial losses. Traditional cybersecurity techniques often fall short against modern attackers. Therefore, advanced techniques for cyber security analysis and anomaly detection are essential for protecting digital assets. This blog explores these cutting-edge methods, providing a comprehensive overview of their application and importance.

cybersecurityanomaly detectionadvanced techniques
2000+ req / sec
                                           vs

                         30 req / sec
                       Web servers love static content
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
1) Pre-generate content
                                           http://www.flickr.com/photos/aquariawintersoul/4162431443/
    The Forgotten art of Web Performance
        forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
2) Cache everything
                                           http://www.flickr.com/photos/markusnl/5563657463/

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Database views
                         Memcache
                           http://memcached.org


                       Varnish / Squid
                        http://www.varnish-cache.org/

                          2) Cache everything
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

UiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs ConferenceUiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs Conference

We are honored to launch and host this event for our UiPath Polish Community, with the help of our partners - Proservartner! We certainly hope we have managed to spike your interest in the subjects to be presented and the incredible networking opportunities at hand, too! Check out our proposed agenda below 👇👇 08:30 ☕ Welcome coffee (30') 09:00 Opening note/ Intro to UiPath Community (10') Cristina Vidu, Global Manager, Marketing Community @UiPath Dawid Kot, Digital Transformation Lead @Proservartner 09:10 Cloud migration - Proservartner & DOVISTA case study (30') Marcin Drozdowski, Automation CoE Manager @DOVISTA Pawel Kamiński, RPA developer @DOVISTA Mikolaj Zielinski, UiPath MVP, Senior Solutions Engineer @Proservartner 09:40 From bottlenecks to breakthroughs: Citizen Development in action (25') Pawel Poplawski, Director, Improvement and Automation @McCormick & Company Michał Cieślak, Senior Manager, Automation Programs @McCormick & Company 10:05 Next-level bots: API integration in UiPath Studio (30') Mikolaj Zielinski, UiPath MVP, Senior Solutions Engineer @Proservartner 10:35 ☕ Coffee Break (15') 10:50 Document Understanding with my RPA Companion (45') Ewa Gruszka, Enterprise Sales Specialist, AI & ML @UiPath 11:35 Power up your Robots: GenAI and GPT in REFramework (45') Krzysztof Karaszewski, Global RPA Product Manager 12:20 🍕 Lunch Break (1hr) 13:20 From Concept to Quality: UiPath Test Suite for AI-powered Knowledge Bots (30') Kamil Miśko, UiPath MVP, Senior RPA Developer @Zurich Insurance 13:50 Communications Mining - focus on AI capabilities (30') Thomasz Wierzbicki, Business Analyst @Office Samurai 14:20 Polish MVP panel: Insights on MVP award achievements and career profiling

#uipathcommunity#automation#automationdeveloper
DealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 editionDealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 edition

The DealBook is our annual overview of the Ukrainian tech investment industry. This edition comprehensively covers the full year 2023 and the first deals of 2024.

Quality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of TimeQuality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of Time

Is your patent a vanity piece of paper for your office wall? Or is it a reliable, defendable, assertable, property right? The difference is often quality. Is your patent simply a transactional cost and a large pile of legal bills for your startup? Or is it a leverageable asset worthy of attracting precious investment dollars, worth its cost in multiples of valuation? The difference is often quality. Is your patent application only good enough to get through the examination process? Or has it been crafted to stand the tests of time and varied audiences if you later need to assert that document against an infringer, find yourself litigating with it in an Article 3 Court at the hands of a judge and jury, God forbid, end up having to defend its validity at the PTAB, or even needing to use it to block pirated imports at the International Trade Commission? The difference is often quality. Quality will be our focus for a good chunk of the remainder of this season. What goes into a quality patent, and where possible, how do you get it without breaking the bank? ** Episode Overview ** In this first episode of our quality series, Kristen Hansen and the panel discuss: ⦿ What do we mean when we say patent quality? ⦿ Why is patent quality important? ⦿ How to balance quality and budget ⦿ The importance of searching, continuations, and draftsperson domain expertise ⦿ Very practical tips, tricks, examples, and Kristen’s Musts for drafting quality applications https://www.aurorapatents.com/patently-strategic-podcast.html

patentspatent applicationpatent prosecution
2) Cache everything
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Google likes Varnish
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
3) Watch out for 3rd party widgets
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Local heroes: geonet.org.nz
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx

Your comprehensive guide to RPA in healthcare for 2024. Explore the benefits, use cases, and emerging trends of robotic process automation. Understand the challenges and prepare for the future of healthcare automation

rpa in healthcarerpa in healthcare usarpa in healthcare industry
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALLBLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL

Blockchain technology is transforming industries and reshaping the way we conduct business, manage data, and secure transactions. Whether you're new to blockchain or looking to deepen your knowledge, our guidebook, "Blockchain for Dummies", is your ultimate resource.

blockchainweb3blockchain technology
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...

Today’s digitally connected world presents a wide range of security challenges for enterprises. Insider security threats are particularly noteworthy because they have the potential to cause significant harm. Unlike external threats, insider risks originate from within the company, making them more subtle and challenging to identify. This blog aims to provide a comprehensive understanding of insider security threats, including their types, examples, effects, and mitigation techniques.

insider securitycybersecurity threatsenterprise security
Pages are static - server generates page
                     on earthquake event
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Built own CDN + plus lots of other stuff
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Handles   12,000 req/sec at peak
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Rule 2) User perception




                                           http://www.flickr.com/photos/jasongillyon/243909248/


    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

Recent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS InfrastructureRecent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS Infrastructure

Recent advancements in the NIST-JARVIS infrastructure: JARVIS-Overview, JARVIS-DFT, AtomGPT, ALIGNN, JARVIS-Leaderboard

jarvisjarvis-dftalignn
Best Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdfBest Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdf

As a popular open-source library for analytics engineering, dbt is often used in combination with Airflow. Orchestrating and executing dbt models as DAGs ensures an additional layer of control over tasks, observability, and provides a reliable, scalable environment to run dbt models. This webinar will cover a step-by-step guide to Cosmos, an open source package from Astronomer that helps you easily run your dbt Core projects as Airflow DAGs and Task Groups, all with just a few lines of code. We’ll walk through: - Standard ways of running dbt (and when to utilize other methods) - How Cosmos can be used to run and visualize your dbt projects in Airflow - Common challenges and how to address them, including performance, dependency conflicts, and more - How running dbt projects in Airflow helps with cost optimization Webinar given on 9 July 2024

apache airflowdbtdbt-core
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024

This is a powerpoint that features Microsoft Teams Devices and everything that is new including updates to its software and devices for May 2024

microsoft teamsmicrosoft
We used to divide 50 row table into tables of 10 rows
                                           http://www.flickr.com/photos/silkroadcollection/4886903818/

    The Forgotten art of Web Performance
        forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
1) Front end techniques
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Delay JS loading
                                           http://www.flickr.com/photos/sbisson/3852086117/

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Load only what users can see
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyyActive Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy

Not so much to say

find out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challengesfind out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challenges

accommodate the strengths, weaknesses, threats and opportunities of autonomous vehicles

automotive self-driving car technology
Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024

This presentation explores the practical application of image description techniques. Familiar guidelines will be demonstrated in practice, and descriptions will be developed “live”! If you have learned a lot about the theory of image description techniques but want to feel more confident putting them into practice, this is the presentation for you. There will be useful, actionable information for everyone, whether you are working with authors, colleagues, alone, or leveraging AI as a collaborator. Link to presentation recording and transcript: https://bnctechforum.ca/sessions/details-of-description-part-ii-describing-images-in-practice/ Presented by BookNet Canada on June 25, 2024, with support from the Department of Canadian Heritage.

a11yaccessibilityalt text
Asynchronous JS loads content
                        Who’s doing it right
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Google image search
                          Who’s doing it right
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Twitter web client
                         Who’s doing it right
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Local heroes: geekzone.co.nz
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In

Six months into 2024, and it is clear the privacy ecosystem takes no days off!! Regulators continue to implement and enforce new regulations, businesses strive to meet requirements, and technology advances like AI have privacy professionals scratching their heads about managing risk. What can we learn about the first six months of data privacy trends and events in 2024? How should this inform your privacy program management for the rest of the year? Join TrustArc, Goodwin, and Snyk privacy experts as they discuss the changes we’ve seen in the first half of 2024 and gain insight into the concrete, actionable steps you can take to up-level your privacy program in the second half of the year. This webinar will review: - Key changes to privacy regulations in 2024 - Key themes in privacy and data governance in 2024 - How to maximize your privacy program in the second half of 2024

data privacyprivacy complianceai
Calgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptxCalgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptx

MuleSoft Meetup on APM and IDP

mulesoftai
The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses

CIO Council Cal Poly Humboldt September 22, 2023

national research platformdistributed supercomputerdistributed systems
Uses Aptimize WAX
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Asychronous JS loading of ads, no revenue loss

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Lots of performance optimisations
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Site loads in just over 2 sec with lots of 3rd party stuff

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

Coordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar SlidesCoordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar Slides

If you’ve ever had to analyze a map or GPS data, chances are you’ve encountered and even worked with coordinate systems. As historical data continually updates through GPS, understanding coordinate systems is increasingly crucial. However, not everyone knows why they exist or how to effectively use them for data-driven insights. During this webinar, you’ll learn exactly what coordinate systems are and how you can use FME to maintain and transform your data’s coordinate systems in an easy-to-digest way, accurately representing the geographical space that it exists within. During this webinar, you will have the chance to: - Enhance Your Understanding: Gain a clear overview of what coordinate systems are and their value - Learn Practical Applications: Why we need datams and projections, plus units between coordinate systems - Maximize with FME: Understand how FME handles coordinate systems, including a brief summary of the 3 main reprojectors - Custom Coordinate Systems: Learn how to work with FME and coordinate systems beyond what is natively supported - Look Ahead: Gain insights into where FME is headed with coordinate systems in the future Don’t miss the opportunity to improve the value you receive from your coordinate system data, ultimately allowing you to streamline your data analysis and maximize your time. See you there!

Rule 3) Reduce requests




    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Browser round trip will kill you...
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Looking at a site at DSL speed
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Looking at a site at office speed
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

80+ images to serve

                       30ms local
                       270ms overseas

                       Up to 10 times more effort to
                       serve content

                       When the earthquake strikes...
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Javascript and CSS Bundling
                                           http://www.flickr.com/photos/ferguson666/3605271302/

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
YUI Compressor
                       http://developer.yahoo.com/yui/compressor/



                       Google Closure
                       http://code.google.com/closure/

                       Every framework has tools

                                        Bundling tools
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Make bundling part of your build process
                                           http://www.flickr.com/photos/hifumiyo/4021034029/

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

Image Spriting
                                           http://www.flickr.com/photos/roadsidepictures/1435060357/

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Sprite me
                       http://spriteme.org


                       Smart sprites
                       http://csssprites.org/



                            spriteme + smartsprites
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Guide for number of page requests

            < 20 Elite
           20-30 Excellent
           30-60 Average
           60-80 Below average
           80-100 Poor
           >100 My eyes are bleeding


                       How many requests ???
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Static image expiry
                                           http://www.flickr.com/photos/newtown_grafitti/5131604440/

    The Forgotten art of Web Performance
        forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

Who’s doing it right
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Westpac - 20 requests - 1 request reload
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Rule 4) Change defaults




                                           http://www.flickr.com/photos/deadhorse/367716072/

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
##
                       ## Server-Pool Size Regulation (MPM specific)
                       ##

                       # prefork MPM
                       # StartServers: number of server processes to start
                       # MinSpareServers: minimum number of server processes which are kept spare
                       # MaxSpareServers: maximum number of server processes which are kept spare
                       # MaxClients: maximum number of server processes allowed to start
                       # MaxRequestsPerChild: maximum number of requests a server process serves
                       <IfModule mpm_prefork_module>
                           StartServers          5
                           MinSpareServers       5
                           MaxSpareServers      10
                           MaxClients          150
                           MaxRequestsPerChild   0
                       </IfModule>

                       # worker MPM
                       # StartServers: initial number of server processes to start
                       # MaxClients: maximum number of simultaneous client connections
                       # MinSpareThreads: minimum number of worker threads which are kept spare
                       # MaxSpareThreads: maximum number of worker threads which are kept spare
                       # ThreadsPerChild: constant number of worker threads in each server process
                       # MaxRequestsPerChild: maximum number of requests a server process serves
                       <IfModule mpm_worker_module>
                           StartServers          2
                           MaxClients          150
                           MinSpareThreads      25
                           MaxSpareThreads      75
                           ThreadsPerChild      25
                           MaxRequestsPerChild   0
                       </IfModule>


                              Webserver settings
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

Apache has 150
                       clients as default

                       You can change it!
                         Webserver settings
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
• Turn on compression
                       • Increase of number of web
                       clients
                       • Set expiry for images
                       Switch to better webserver ;)


                               Tweak settings
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Server browning out
                              8Gb ram
                          Apache 250 clients
                            running PHP
                            4Gb Ram free

                         What to do ??
                         Vendor says add
                          more servers
                        True story - http server
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
my-small.cnf

         # This is for a system with little memory (<= 64M) where MySQL is only used

         my-medium.cnf

         # This is for a system with little memory (32M - 64M) where MySQL plays


         my-large.cnf

         # This is for a large system with memory = 512M where the system runs mainly

         my-huge.cnf

         # This is for a large system with memory of 1G-2G where the system runs mainly



                              Database settings
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

http://www.flickr.com/photos/jayneandd/4450623309/

    The Forgotten art of Web Performance
        forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Summary
                       1) Use more static content
                        - Pre-generate
                        - Cache everything
                        - Minimise 3rd party widgets

                        2) Improve browser
                        - Defer JS loading
                        - Asychronous JS
                        - Delay beyond the fold



    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Summary
                       3) Minimise requests
                       - Bundle JS + CSS files
                       - Spriting
                       - Set 2 year expiry for assets

                       4) Change defaults
                       - Change defaults for Webserver and DB
                       - Tweet to fit your server memory




    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Video

          Final thought - Sites are around 550K
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

Video

          Final thought - Sites are around 550K
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Questions
    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Web testing
                        Global Performance testing + Videos
                               www.webpagetest.org

                   Load testing software - (Linux) Siege + Bombard
                        Been using for transaction testing of e-commerce buying
                       http://www.joedog.org/index/siege-home




    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011
Thank you

    The Forgotten Art of Web Performance
    14th July 2011
Friday, 15 July 2011

Recommended for you

More Related Content

Similar to Web performance at WDCNZ

Rendering Views in JavaScript - "The New Web Architecture"
Rendering Views in JavaScript - "The New Web Architecture"Rendering Views in JavaScript - "The New Web Architecture"
Rendering Views in JavaScript - "The New Web Architecture"
Jonathan Julian
 
Opera Mobile HTML5 CSS3 Standards
Opera Mobile HTML5 CSS3 StandardsOpera Mobile HTML5 CSS3 Standards
Opera Mobile HTML5 CSS3 Standards
Zi Bin Cheah
 
A Look at the Future of HTML5
A Look at the Future of HTML5A Look at the Future of HTML5
A Look at the Future of HTML5
Tim Wright
 
HTML XHTML HTML5
HTML XHTML HTML5HTML XHTML HTML5
HTML XHTML HTML5
timstone
 
Groke
GrokeGroke
Ready to Play: JavaScript / HTML5 Game Development
Ready to Play: JavaScript / HTML5 Game DevelopmentReady to Play: JavaScript / HTML5 Game Development
Ready to Play: JavaScript / HTML5 Game Development
Zachary Johnson
 
The Hitchhiker's guide to mobile development
The Hitchhiker's guide to mobile developmentThe Hitchhiker's guide to mobile development
The Hitchhiker's guide to mobile development
Nikolai Onken
 
Ruby and Rails, as secret weapon to build your service-oriented apps
Ruby and Rails,  as secret weapon to build your service-oriented appsRuby and Rails,  as secret weapon to build your service-oriented apps
Ruby and Rails, as secret weapon to build your service-oriented apps
Felipe Talavera
 
The Fast, The Slow and the Lazy
The Fast, The Slow and the LazyThe Fast, The Slow and the Lazy
The Fast, The Slow and the Lazy
Maurício Linhares
 
Speed Dating: How Speeding up your Blog Improves your SEO
Speed Dating: How Speeding up your Blog Improves your SEOSpeed Dating: How Speeding up your Blog Improves your SEO
Speed Dating: How Speeding up your Blog Improves your SEO
VigLink
 
Architecting for the Cloud: demo and best practices, by Simone Brunozzi (2011...
Architecting for the Cloud: demo and best practices, by Simone Brunozzi (2011...Architecting for the Cloud: demo and best practices, by Simone Brunozzi (2011...
Architecting for the Cloud: demo and best practices, by Simone Brunozzi (2011...
Amazon Web Services
 
Web Services Mash-Up
Web Services Mash-UpWeb Services Mash-Up
Web Services Mash-Up
Cal Henderson
 
Etech2005
Etech2005Etech2005
Etech2005
royans
 
Searching does not mean finding Stuff - Apache Solr for TYPO3
Searching does not mean finding Stuff - Apache Solr for TYPO3Searching does not mean finding Stuff - Apache Solr for TYPO3
Searching does not mean finding Stuff - Apache Solr for TYPO3
Olivier Dobberkau
 
Intro to HTML
Intro to HTMLIntro to HTML
Joomla para-sites-institucionais
Joomla para-sites-institucionaisJoomla para-sites-institucionais
Joomla para-sites-institucionais
Roni Costa
 
Open data, scraping e thacks com Software Livre
Open data, scraping e thacks com Software LivreOpen data, scraping e thacks com Software Livre
Open data, scraping e thacks com Software Livre
SEA Tecnologia
 
Image-ine That: Image Optimization for Conversion Maximization
Image-ine That: Image Optimization for Conversion MaximizationImage-ine That: Image Optimization for Conversion Maximization
Image-ine That: Image Optimization for Conversion Maximization
Yottaa
 
HTML5 Pearson preso
HTML5 Pearson presoHTML5 Pearson preso
HTML5 Pearson preso
Chris Mills
 
Javascript Views, Client-side or Server-side with NodeJS
Javascript Views, Client-side or Server-side with NodeJSJavascript Views, Client-side or Server-side with NodeJS
Javascript Views, Client-side or Server-side with NodeJS
Sylvain Zimmer
 

Similar to Web performance at WDCNZ (20)

Rendering Views in JavaScript - "The New Web Architecture"
Rendering Views in JavaScript - "The New Web Architecture"Rendering Views in JavaScript - "The New Web Architecture"
Rendering Views in JavaScript - "The New Web Architecture"
 
Opera Mobile HTML5 CSS3 Standards
Opera Mobile HTML5 CSS3 StandardsOpera Mobile HTML5 CSS3 Standards
Opera Mobile HTML5 CSS3 Standards
 
A Look at the Future of HTML5
A Look at the Future of HTML5A Look at the Future of HTML5
A Look at the Future of HTML5
 
HTML XHTML HTML5
HTML XHTML HTML5HTML XHTML HTML5
HTML XHTML HTML5
 
Groke
GrokeGroke
Groke
 
Ready to Play: JavaScript / HTML5 Game Development
Ready to Play: JavaScript / HTML5 Game DevelopmentReady to Play: JavaScript / HTML5 Game Development
Ready to Play: JavaScript / HTML5 Game Development
 
The Hitchhiker's guide to mobile development
The Hitchhiker's guide to mobile developmentThe Hitchhiker's guide to mobile development
The Hitchhiker's guide to mobile development
 
Ruby and Rails, as secret weapon to build your service-oriented apps
Ruby and Rails,  as secret weapon to build your service-oriented appsRuby and Rails,  as secret weapon to build your service-oriented apps
Ruby and Rails, as secret weapon to build your service-oriented apps
 
The Fast, The Slow and the Lazy
The Fast, The Slow and the LazyThe Fast, The Slow and the Lazy
The Fast, The Slow and the Lazy
 
Speed Dating: How Speeding up your Blog Improves your SEO
Speed Dating: How Speeding up your Blog Improves your SEOSpeed Dating: How Speeding up your Blog Improves your SEO
Speed Dating: How Speeding up your Blog Improves your SEO
 
Architecting for the Cloud: demo and best practices, by Simone Brunozzi (2011...
Architecting for the Cloud: demo and best practices, by Simone Brunozzi (2011...Architecting for the Cloud: demo and best practices, by Simone Brunozzi (2011...
Architecting for the Cloud: demo and best practices, by Simone Brunozzi (2011...
 
Web Services Mash-Up
Web Services Mash-UpWeb Services Mash-Up
Web Services Mash-Up
 
Etech2005
Etech2005Etech2005
Etech2005
 
Searching does not mean finding Stuff - Apache Solr for TYPO3
Searching does not mean finding Stuff - Apache Solr for TYPO3Searching does not mean finding Stuff - Apache Solr for TYPO3
Searching does not mean finding Stuff - Apache Solr for TYPO3
 
Intro to HTML
Intro to HTMLIntro to HTML
Intro to HTML
 
Joomla para-sites-institucionais
Joomla para-sites-institucionaisJoomla para-sites-institucionais
Joomla para-sites-institucionais
 
Open data, scraping e thacks com Software Livre
Open data, scraping e thacks com Software LivreOpen data, scraping e thacks com Software Livre
Open data, scraping e thacks com Software Livre
 
Image-ine That: Image Optimization for Conversion Maximization
Image-ine That: Image Optimization for Conversion MaximizationImage-ine That: Image Optimization for Conversion Maximization
Image-ine That: Image Optimization for Conversion Maximization
 
HTML5 Pearson preso
HTML5 Pearson presoHTML5 Pearson preso
HTML5 Pearson preso
 
Javascript Views, Client-side or Server-side with NodeJS
Javascript Views, Client-side or Server-side with NodeJSJavascript Views, Client-side or Server-side with NodeJS
Javascript Views, Client-side or Server-side with NodeJS
 

More from John Clegg

Hack your learning 2022 - PART 2
Hack your learning 2022 - PART 2Hack your learning 2022 - PART 2
Hack your learning 2022 - PART 2
John Clegg
 
Hack your learning 2022 - Part 1
Hack your learning 2022 - Part 1Hack your learning 2022 - Part 1
Hack your learning 2022 - Part 1
John Clegg
 
Hack your learning 2019
Hack your learning 2019Hack your learning 2019
Hack your learning 2019
John Clegg
 
How to get a Job - Summer of Tech 2019
How to get a Job - Summer of Tech 2019How to get a Job - Summer of Tech 2019
How to get a Job - Summer of Tech 2019
John Clegg
 
How to get a Job 2016 - Summer of Tech
How to get a Job 2016 - Summer of TechHow to get a Job 2016 - Summer of Tech
How to get a Job 2016 - Summer of Tech
John Clegg
 
ICT School - How to write a better resume
ICT School - How to write a better resume  ICT School - How to write a better resume
ICT School - How to write a better resume
John Clegg
 
Performance as a feature - Scale conf
Performance as a feature - Scale confPerformance as a feature - Scale conf
Performance as a feature - Scale conf
John Clegg
 
How to get a job 2016
How to get a job 2016How to get a job 2016
How to get a job 2016
John Clegg
 
Summer of Tech Resume 2014
Summer of Tech Resume 2014 Summer of Tech Resume 2014
Summer of Tech Resume 2014
John Clegg
 
Summer of tech Career Talk 2014
Summer of tech Career Talk 2014   Summer of tech Career Talk 2014
Summer of tech Career Talk 2014
John Clegg
 
Sot resume2013
Sot resume2013Sot resume2013
Sot resume2013
John Clegg
 
Summer of tech - Career Seminar 2012
Summer of tech  - Career Seminar 2012Summer of tech  - Career Seminar 2012
Summer of tech - Career Seminar 2012
John Clegg
 
Summmer of Tech Resume 2012
Summmer of Tech Resume 2012Summmer of Tech Resume 2012
Summmer of Tech Resume 2012
John Clegg
 
Summer of Tech - resume bootcamp and workshop 2011
Summer of Tech -  resume bootcamp and workshop 2011Summer of Tech -  resume bootcamp and workshop 2011
Summer of Tech - resume bootcamp and workshop 2011
John Clegg
 
Summer of tech 2011
Summer of tech 2011Summer of tech 2011
Summer of tech 2011
John Clegg
 

More from John Clegg (15)

Hack your learning 2022 - PART 2
Hack your learning 2022 - PART 2Hack your learning 2022 - PART 2
Hack your learning 2022 - PART 2
 
Hack your learning 2022 - Part 1
Hack your learning 2022 - Part 1Hack your learning 2022 - Part 1
Hack your learning 2022 - Part 1
 
Hack your learning 2019
Hack your learning 2019Hack your learning 2019
Hack your learning 2019
 
How to get a Job - Summer of Tech 2019
How to get a Job - Summer of Tech 2019How to get a Job - Summer of Tech 2019
How to get a Job - Summer of Tech 2019
 
How to get a Job 2016 - Summer of Tech
How to get a Job 2016 - Summer of TechHow to get a Job 2016 - Summer of Tech
How to get a Job 2016 - Summer of Tech
 
ICT School - How to write a better resume
ICT School - How to write a better resume  ICT School - How to write a better resume
ICT School - How to write a better resume
 
Performance as a feature - Scale conf
Performance as a feature - Scale confPerformance as a feature - Scale conf
Performance as a feature - Scale conf
 
How to get a job 2016
How to get a job 2016How to get a job 2016
How to get a job 2016
 
Summer of Tech Resume 2014
Summer of Tech Resume 2014 Summer of Tech Resume 2014
Summer of Tech Resume 2014
 
Summer of tech Career Talk 2014
Summer of tech Career Talk 2014   Summer of tech Career Talk 2014
Summer of tech Career Talk 2014
 
Sot resume2013
Sot resume2013Sot resume2013
Sot resume2013
 
Summer of tech - Career Seminar 2012
Summer of tech  - Career Seminar 2012Summer of tech  - Career Seminar 2012
Summer of tech - Career Seminar 2012
 
Summmer of Tech Resume 2012
Summmer of Tech Resume 2012Summmer of Tech Resume 2012
Summmer of Tech Resume 2012
 
Summer of Tech - resume bootcamp and workshop 2011
Summer of Tech -  resume bootcamp and workshop 2011Summer of Tech -  resume bootcamp and workshop 2011
Summer of Tech - resume bootcamp and workshop 2011
 
Summer of tech 2011
Summer of tech 2011Summer of tech 2011
Summer of tech 2011
 

Recently uploaded

Pigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdfPigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdf
Pigging Solutions
 
Comparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdfComparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdf
Andrey Yasko
 
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Mydbops
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Bert Blevins
 
UiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs ConferenceUiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs Conference
UiPathCommunity
 
DealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 editionDealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 edition
Yevgen Sysoyev
 
Quality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of TimeQuality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of Time
Aurora Consulting
 
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
SynapseIndia
 
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALLBLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
Liveplex
 
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Bert Blevins
 
Recent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS InfrastructureRecent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS Infrastructure
KAMAL CHOUDHARY
 
Best Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdfBest Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdf
Tatiana Al-Chueyr
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
Stephanie Beckett
 
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyyActive Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
RaminGhanbari2
 
find out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challengesfind out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challenges
huseindihon
 
Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024
BookNet Canada
 
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc
 
Calgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptxCalgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptx
ishalveerrandhawa1
 
The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses
Larry Smarr
 
Coordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar SlidesCoordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar Slides
Safe Software
 

Recently uploaded (20)

Pigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdfPigging Solutions Sustainability brochure.pdf
Pigging Solutions Sustainability brochure.pdf
 
Comparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdfComparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdf
 
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
 
UiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs ConferenceUiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs Conference
 
DealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 editionDealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 edition
 
Quality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of TimeQuality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of Time
 
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
 
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALLBLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
 
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
Understanding Insider Security Threats: Types, Examples, Effects, and Mitigat...
 
Recent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS InfrastructureRecent Advancements in the NIST-JARVIS Infrastructure
Recent Advancements in the NIST-JARVIS Infrastructure
 
Best Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdfBest Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdf
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
 
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyyActive Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
 
find out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challengesfind out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challenges
 
Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024
 
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
 
Calgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptxCalgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptx
 
The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses
 
Coordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar SlidesCoordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar Slides
 

Web performance at WDCNZ

  • 1. The Forgotten Art of Web Performance http://www.flickr.com/photos/mhzmaster/9659478 The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 2. I’m here to talk about making websites faster The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 3. I’m here to talk about making websites faster The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 4. Web performance is about driving more traffic to your site http://www.flickr.com/photos/darrentunnicliff/37179763 The Forgotten art of Web Performance forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 5. Web performance is about “DevOps" The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 6. FRONT END BACK END HTML Network CSS Web server Javascript Application Images Database Third party O/S Hardware Web Performance Optimisation Basics The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 7. FRONT END BACK END HTML Network CSS Web server Javascript Application Images Database Third party O/S Hardware Web performance comes from combination of “back-end” and “front-end” optimisations The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 8. FRONT END BACK END HTML Network CSS Web server Javascript Application Images Database Third party O/S Hardware 95% of download time comes from “Front-end” The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 9. FRONT END BACK END HTML Network CSS Web server Javascript Application Images Database Third party O/S Hardware You want to deliver content as fast as possible... The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 10. FRONT END BACK END HTML Network Requests CSS Web server Javascript Application Images Database Third party O/S Hardware You can maximise the requests you can The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 11. FRONT END BACK END HTML Network CSS Web server Javascript Application Images Database Third party O/S Hardware Minimise by minimising request times of your stack The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 12. If Average request takes 50ms to serve and 200 “agents” => 4000 requests per second The Forgotten art of Web Performance forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 13. How do I fix? http://www.flickr.com/photos/lenore-m/251580065 The Forgotten art of Web Performance forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 14. Lots of tools to help you fix your site http://www.flickr.com/photos/lenore-m/251580065 The Forgotten art of Web Performance forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 15. YSlow - 35 rules of Web performance The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 16. Pagespeed - 6 principles for speeding up The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 17. Aptimize.com The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 18. The difference web performance can make is huge http://www.flickr.com/photos/thebusybrain/2492945 The Forgotten art of Web Performance forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 19. It seems that some sites haven’t evolved The Forgotten art of Web Performance forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 20. For web performance, some sites are stuck in the 90’s http://www.dailystab.com/blog/wp-content/uploads/2007/12/spice-girls-vancouver-lg.jpg The Forgotten art of Web Performance forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 21. Here’s a normal website The Forgotten art of Web Performance forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 22. I see things a little differently The Forgotten art of Web Performance forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 23. No HTTP Compression The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 24. Poor expiry settings The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 25. No CSS / JS bundling The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 26. No Spriting The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 27. Would you be proud of this ? The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 28. 1.2Mb, 133 requests, 21 JS files, 3 CSS files The Forgotten art of Web Performance forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 29. Why is WPO important? The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 30. Why is WPO important “Slow websites are boring” Slow websites are boring! The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 31. Customers are complaining about your site The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 32. Fast websites make more money The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 33. “We see a direct correlation between the speed of our services and our bottom line. Our customers seem inclined to spend a set time on our site per session – the more pages they can view in that time, the more they see and buy, and the more we earn.” John MacDonald - CTO Trade Me 2006 Time is Money The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 34. WPO State of Nation http://www.flickr.com/photos/nznationalparty/4436793708/ The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 35. Homepage hall of shame 2011 160 sites Home broadband vs Office broadband The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 36. Key findings Of��ce BBand Home BBand Ave page Ave page Ave home load time load time page size 6.01s 12.5s 665K The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 37. Whoʼs the fastest 1.17s Telecom 1.62s Zenbu 1.23s DOL 1.72s Geonet 1.49s Snipesoft 1.73s School.nz 1.58s Auckland Uni 1.78s Maxx 1.59 Massey Uni 1.59 Westpac The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 38. Whoʼs the S L O W E S T 26.8s Skykiwi 16.3s interest.co.nz 20.9s The Standard 15.1s 3 News 20.1s iStars 15.1s The Big Idea 17.2s WhaleOil 14.7s Readers Digest 16.4s NZ Yahoo 14.3s Stuff The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 39. Data on Google docs http://tinyurl.com/homepageHOS2011 The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 40. Forgotten art of Web performance http://www.flickr.com/photos/23927132@N05/2500055549/ The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 41. Once upon a time... The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 42. Internet speeds were crap The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 43. Had to learn to scale the hard way http://www.flickr.com/photos/kitby/5414374130/ The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 44. 4 principles to help you scale your site The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 45. Rule 1) Dynamic vs Static The Forgotten art of Web Performance forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 46. What is dynamic content? The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 47. 1 hour ? 5 minutes ? 1 minute ? Text 30 minutes ? Almost everything is static for a time The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 48. We used to pre-generate content The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 49. 2000+ req / sec vs 30 req / sec Web servers love static content The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 50. 1) Pre-generate content http://www.flickr.com/photos/aquariawintersoul/4162431443/ The Forgotten art of Web Performance forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 51. 2) Cache everything http://www.flickr.com/photos/markusnl/5563657463/ The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 52. Database views Memcache http://memcached.org Varnish / Squid http://www.varnish-cache.org/ 2) Cache everything The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 53. 2) Cache everything The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 54. Google likes Varnish The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 55. 3) Watch out for 3rd party widgets The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 56. Local heroes: geonet.org.nz The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 57. Pages are static - server generates page on earthquake event The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 58. Built own CDN + plus lots of other stuff The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 59. Handles 12,000 req/sec at peak The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 60. Rule 2) User perception http://www.flickr.com/photos/jasongillyon/243909248/ The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 61. We used to divide 50 row table into tables of 10 rows http://www.flickr.com/photos/silkroadcollection/4886903818/ The Forgotten art of Web Performance forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 62. 1) Front end techniques The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 63. Delay JS loading http://www.flickr.com/photos/sbisson/3852086117/ The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 64. Load only what users can see The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 65. Asynchronous JS loads content Who’s doing it right The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 66. Google image search Who’s doing it right The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 67. Twitter web client Who’s doing it right The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 68. Local heroes: geekzone.co.nz The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 69. Uses Aptimize WAX The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 70. Asychronous JS loading of ads, no revenue loss The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 71. Lots of performance optimisations The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 72. Site loads in just over 2 sec with lots of 3rd party stuff The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 73. Rule 3) Reduce requests The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 74. Browser round trip will kill you... The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 75. Looking at a site at DSL speed The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 76. Looking at a site at office speed The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 77. 80+ images to serve 30ms local 270ms overseas Up to 10 times more effort to serve content When the earthquake strikes... The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 78. Javascript and CSS Bundling http://www.flickr.com/photos/ferguson666/3605271302/ The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 79. YUI Compressor http://developer.yahoo.com/yui/compressor/ Google Closure http://code.google.com/closure/ Every framework has tools Bundling tools The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 80. Make bundling part of your build process http://www.flickr.com/photos/hifumiyo/4021034029/ The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 81. Image Spriting http://www.flickr.com/photos/roadsidepictures/1435060357/ The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 82. Sprite me http://spriteme.org Smart sprites http://csssprites.org/ spriteme + smartsprites The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 83. Guide for number of page requests < 20 Elite 20-30 Excellent 30-60 Average 60-80 Below average 80-100 Poor >100 My eyes are bleeding How many requests ??? The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 84. Static image expiry http://www.flickr.com/photos/newtown_grafitti/5131604440/ The Forgotten art of Web Performance forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 85. Who’s doing it right The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 86. Westpac - 20 requests - 1 request reload The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 87. Rule 4) Change defaults http://www.flickr.com/photos/deadhorse/367716072/ The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 88. ## ## Server-Pool Size Regulation (MPM specific) ## # prefork MPM # StartServers: number of server processes to start # MinSpareServers: minimum number of server processes which are kept spare # MaxSpareServers: maximum number of server processes which are kept spare # MaxClients: maximum number of server processes allowed to start # MaxRequestsPerChild: maximum number of requests a server process serves <IfModule mpm_prefork_module> StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 150 MaxRequestsPerChild 0 </IfModule> # worker MPM # StartServers: initial number of server processes to start # MaxClients: maximum number of simultaneous client connections # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # ThreadsPerChild: constant number of worker threads in each server process # MaxRequestsPerChild: maximum number of requests a server process serves <IfModule mpm_worker_module> StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 </IfModule> Webserver settings The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 89. Apache has 150 clients as default You can change it! Webserver settings The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 90. • Turn on compression • Increase of number of web clients • Set expiry for images Switch to better webserver ;) Tweak settings The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 91. Server browning out 8Gb ram Apache 250 clients running PHP 4Gb Ram free What to do ?? Vendor says add more servers True story - http server The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 92. my-small.cnf # This is for a system with little memory (<= 64M) where MySQL is only used my-medium.cnf # This is for a system with little memory (32M - 64M) where MySQL plays my-large.cnf # This is for a large system with memory = 512M where the system runs mainly my-huge.cnf # This is for a large system with memory of 1G-2G where the system runs mainly Database settings The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 93. http://www.flickr.com/photos/jayneandd/4450623309/ The Forgotten art of Web Performance forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 94. Summary 1) Use more static content - Pre-generate - Cache everything - Minimise 3rd party widgets 2) Improve browser - Defer JS loading - Asychronous JS - Delay beyond the fold The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 95. Summary 3) Minimise requests - Bundle JS + CSS files - Spriting - Set 2 year expiry for assets 4) Change defaults - Change defaults for Webserver and DB - Tweet to fit your server memory The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 96. Video Final thought - Sites are around 550K The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 97. Video Final thought - Sites are around 550K The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 98. Questions The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 99. Web testing Global Performance testing + Videos www.webpagetest.org Load testing software - (Linux) Siege + Bombard Been using for transaction testing of e-commerce buying http://www.joedog.org/index/siege-home The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011
  • 100. Thank you The Forgotten Art of Web Performance 14th July 2011 Friday, 15 July 2011