<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Performance</title>
  <link rel="alternate" type="text/html" href="http://pingv.com/tag/performance"/>
  <link rel="self" type="application/atom+xml" href="http://pingv.com/taxonomy/term/168/atom/feed"/>
  <id>http://pingv.com/taxonomy/term/168/atom/feed</id>
  <updated>2007-05-15T21:01:18-05:00</updated>
  <entry>
    <title>pingVision presenters at DrupalCamp Colorado 2008</title>
    <link rel="alternate" type="text/html" href="http://pingv.com/blog/laura/2008/pingvision-presenters-drupalcamp-colorado-2008" />
    <id>http://pingv.com/blog/laura/2008/pingvision-presenters-drupalcamp-colorado-2008</id>
    <published>2008-07-25T16:02:31-05:00</published>
    <updated>2008-07-25T16:11:20-05:00</updated>
    <author>
      <name>Laura</name>
    </author>
    <category term="AHAH" />
    <category term="development" />
    <category term="Drupal" />
    <category term="DrupalCamp Colorado" />
    <category term="Modules" />
    <category term="Performance" />
    <category term="Project Management" />
    <category term="REST" />
    <content type="html"><![CDATA[ <p>While pingVision as a company is one of the many <a href="http://drupalcampcolorado.org/content/our-sponsors">sponsors of DrupalCamp Colorado 2008</a>, several pingVision people are doing presentations and panels. </p>
<p>Here's a quick run-down:</p>
<h3>Kevin Bridges</h3>
<p>...is doing a BOF on <a href="http://drupalcampcolorado.org/content/bof-project-workflow-management-and-client-expectations">Project Workflow Management and Client Expectations</a>.</p>
<blockquote><p>Waterfall, Agile, Scrum, UML, Process Diagrams, Wireframes, Design Comps ... how does it all fit together into a clearly defined purpose?</p></blockquote>
<h3>John Fiala</h3>
<p>...has a presentation on <a href="http://drupalcampcolorado.org/content/advanced-ahah-modifying-forms">Advanced AHAH and Modifying Forms</a>, which gets into that lovely UI goodness of dynamic forms generation, drag-and-drop, etc. He's also doing a presentation on <a href="http://drupalcampcolorado.org/content/using-simpletest-prove-your-code">Using SimpleTest to Prove Your Code</a>. Very useful to any coder.</p>
<h3>Ezra Barnett Gildesgame</h3>
<p>...has a presentation on <a href="http://drupalcampcolorado.org/content/drupal-benchmarking-and-performance">Drupal Benchmarking and Performance</a>, covering:</p>
<blockquote><p>- Factors that affect performance<br />
- Measuring performance<br />
- Different types of hosting (Shared, VPS, "Grid", Mosso)<br />
- Techniques used to make enterprise websites scalable (ie Facebook, LiveJournal)<br />
- Basics of Performance-friendly Drupal Module development</p></blockquote>
<h3>Greg Hines</h3>
<p>...is presenting on <a href="http://drupalcampcolorado.org/content/restful-web-services-and-drupal">RESTful services and Drupal</a>, and will be showcasing his brand spanking new <a href="http://drupal.org/project/rest_provider">REST provider module</a> which provides something of a REST API.</p>
<h3>Ben Jeavons</h3>
<p>...is presenting on <a href="http://drupalcampcolorado.org/content/contributing-drupal">Contributing to Drupal</a>, which is about how anyone can participate in the Drupal community. He is also presenting <a href="http://drupalcampcolorado.org/content/drupal-lightning-demos">Drupal Lightning Demos</a>:</p>
<blockquote><p>Rapid-fire demonstrations of modules, themes, Drupal-powered sites, fancy Drupal code snippets and anything else Drupal related that can be demoed in 5-10 minutes. These are quick, 5-10 minutes including time for questions, demos of something you've built on or with Drupal. Unless we have very few demos there probably won't be time to go looking at code so just show how it works or what it looks like.</p></blockquote>
<p>He's also doing a session on <a href="http://drupalcampcolorado.org/content/the-drupal-community">the Drupal Community</a>:</p>
<blockquote><p>I'd like to talk about the Drupal community, the ways in which we are open and sponsor participation and the ways we've push people away. Because we have pushed people away. What do we do that is right and what are we doing wrong?</p></blockquote>
<h3>Make it better?</h3>
<p>There is also going to be a BOF about <a href="http://drupalcampcolorado.org/content/bof-drupalcampcoloarado-and-drupalcon-colorado-organization">Making DrupalCamp Colorado better</a>, led by Kevin Bridges and (hopefully) many other interested folks. Maybe we can pull together a DrupalCon proposal?</p>
<h3>The geek weekend</h3>
<p>I was going to be joining Greg Knaddison in a session where we, as <a href="http://association.drupal.org/about/staff">permanent members of the Drupal Association General Assembly</a>, were going to give a little update on what's been happening and attempt to answer questions that may arise, but that proposal was rated lower than the others, so it's not going to happen. No, this is a weekend to get your geek on! See you there!</p>
     ]]></content>
  </entry>
  <entry>
    <title>Performance and Scalability Roundup</title>
    <link rel="alternate" type="text/html" href="http://pingv.com/blog/greg/200705/performance-and-scalability-roundup" />
    <id>http://pingv.com/blog/greg/200705/performance-and-scalability-roundup</id>
    <published>2007-05-15T21:01:18-05:00</published>
    <updated>2007-05-15T21:01:18-05:00</updated>
    <author>
      <name>Greg</name>
    </author>
    <category term="Drupal" />
    <category term="Linux" />
    <category term="Performance" />
    <content type="html"><![CDATA[ <h3>Performance and Scalability Theory</h3>
<p>Back during the Open Source CMS Conference (<a href="http://pingv.com/tag/oscms-summit">discussion on pingV.com</a>) we attended a fundraiser/seminar hosted by Lullabot about Performance and Scalability.  The presentation was really great.  Some of it I knew already, some was new to me, but seeing it all presented together really helped solidify the concepts in my mind.  </p>
<h3>The Performance Need</h3>
<p>Shortly afterward we were engaged on a project that needed to really snap.  The <a href="http://pingv.com/image/portfolio-gallery/website-portfolio/make-earth-day-every-day">Make Earth Day Every Day</a> project really needed their server to respond quickly.  They also need it to handle large numbers of visitors - Earth Day was coming up!  So, I put all my old and new performance tuning knowledge to work.</p>
<h3>Performance/Scalability Tuning in Practice</h3>
<p>While most of these techniques apply to dedicated servers or VPS, some of the ideas are useful for shared hosts as well.</p>
<p>First, I used the Apache Benchmark tool to test out the servers and see how they would perform as a baseline.  It's important to be methodical, do tests, make a small tweak, do more tests, and record the results along the way.  <strong>You can't manage what you don't measure.</strong>   With the default installation, the sites handled 5.5 requests per second.  The Drupal cache wasn't enabled, so my first step was to do that.  Immediately the performance went to 23 requests per second.</p>
<p>Using the vmstat diagnostic tools I learned about in the session I noticed that the CPUs on the web server were maxed out.  So, I installed the <a href="http://pecl.php.net/package/APC">APC opcode cache</a> which drastically reduces the amount of processing and memory required for each page load.  Without any further configuration requests per second went to 215.</p>
<p>Various other small tweaks (removing unnecessary Apache modules, and tweaks to the database configuration file) resulted in a gain of another 5 requests per second.</p>
<p>So, the final count is from 5 requests per second to over 220 requests per second.  Given the nature of the site we expected users to spend a minute or more on each page which should allow for more than 13,000 simultaneous users.  </p>
<p>There is much more valuable information in the output from the Apache Benchmark tool than just the requests per second, but it is an easy metric to use to help explain the magnitude of difference possible with some work in performance tuning.</p>
<h3>Performance/Scalability Documentation Round Up</h3>
<p>I've talked mostly about the seminar at OSCMS2007 given by Lullabot and the <a href="http://www.lullabot.com/articles/performance_and_scalability_seminar_slides">slides are available online</a>.  But really there are lots of great articles on tuning from the Drupal community both in the <a href="http://drupal.org/node/2601">Drupal.org Handbook</a> and on various other sites like <a href="http://2bits.com/articles/drupal-performance-tuning-and-optimization-for-large-web-sites.html">the 2bits.com book of Performance Tuning and Optimization for Large Sites</a>.</p>
<p>Among all of these locations you can find lots of great information to help you tune your site for optimum performance.</p>
     ]]></content>
  </entry>
</feed>
