<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1042299" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1042299</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Boost doesn&#039;t quite do that</title>
    <link>https://www.webmaster-forums.net/twf-feedback-and-announcements/expected-server-outages#comment-1235295</link>
    <description> &lt;p&gt;Boost doesn&#039;t quite do that I&#039;m talking about.&lt;/p&gt;
&lt;p&gt;From one of their site pages:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;...while reducing the database access to a &lt;strong&gt;single query&lt;/strong&gt; that retrieves the cached page to display.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;The fact that they are calling queries at all shows that they are still using the PHP engine &amp;amp; a MySQL connection.&lt;/p&gt;
&lt;p&gt;There is a better way to cache your site, and it&#039;s at the Apache level.  Let&#039;s say that, using the current permalink structure on this site, you create a filesystem version as it is being browsed, so you end up with a crawled version of the site on your local file system, stored in /cache/.  So by viewing this page, some PHP script would save a copy of the output to /cache/twf-feedback-and-announcements/expected-server-outages/index.html.&lt;/p&gt;
&lt;p&gt;With a couple .htaccess entries, we can direct visitors to this cached page before PHP is even loaded for this next request.&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;RewriteCond %{DOCUMENT_ROOT}/cache/$1/index.html -f&lt;br /&gt;RewriteRule ^(.*) /cache/$1/index.html [L]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Now the static html page will be served.  The PHP extension doesn&#039;t need to load, and no MySQL connection is needed to serve the cached page.  So even if your database server crashed from visitors browsing the rest of the site, the initial Digg article landing page will remain intact.&lt;/p&gt;
&lt;p&gt;To make sure we don&#039;t cache a page with someone&#039;s signin information, place this line above the two htaccess lines above:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;RewriteCond %{HTTP_COOKIE} !^.*(signin).*$&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Replace &quot;signin&quot; with the name of the cookie you give authenticated users.&lt;/p&gt;
&lt;p&gt;Apache is more than able to saturate several T1 lines serving html pages, and using a cache method like this should solve any server crashes due to traffic spikes.&lt;/p&gt;
&lt;p&gt;On a footnote, there would still have to be a method of clearing out expired pages.&lt;/p&gt;
 </description>
     <pubDate>Mon, 17 Nov 2008 05:12:41 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1235295 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Are the caching and</title>
    <link>https://www.webmaster-forums.net/twf-feedback-and-announcements/expected-server-outages#comment-1235289</link>
    <description> &lt;blockquote&gt;&lt;p&gt;Are the caching and connection settings still up, and will you keep it that way or revert?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Am going to keep things as they are for now. Maybe tweak things back a bit and do some testing with siege.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Something that can serve static htm files in place of even calling a PHP script is best.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;True. Will have to look into Boost (as mentioned above) again, see if we can use it on just aPaddedCell. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 17 Nov 2008 03:49:34 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1235289 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>I think any caching that</title>
    <link>https://www.webmaster-forums.net/twf-feedback-and-announcements/expected-server-outages#comment-1235253</link>
    <description> &lt;p&gt;I think any caching that still loads the PHP engine is not good enough to handle a huge traffic spike on a VPS.  Something that can serve static htm files in place of even calling a PHP script is best.&lt;/p&gt;
 </description>
     <pubDate>Fri, 14 Nov 2008 21:17:50 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1235253 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>What&#039;s the status now?  Are</title>
    <link>https://www.webmaster-forums.net/twf-feedback-and-announcements/expected-server-outages#comment-1235249</link>
    <description> &lt;p&gt;What&#039;s the status now?  Are the caching and connection settings still up, and will you keep it that way or revert?&lt;/p&gt;
 </description>
     <pubDate>Fri, 14 Nov 2008 18:19:25 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1235249 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Does Drupal have anything</title>
    <link>https://www.webmaster-forums.net/twf-feedback-and-announcements/expected-server-outages#comment-1235228</link>
    <description> &lt;blockquote&gt;&lt;p&gt;Does Drupal have anything similar to wp-super-cache?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Yes, it has &lt;a href=&quot;http://drupal.org/project/boost&quot;&gt;Boost&lt;/a&gt;. We were using it for a while, but there were a few problems (not that I can remember what they are now of course). &lt;/p&gt;
&lt;p&gt;We ended up using the &lt;a href=&quot;http://ca.php.net/apc&quot;&gt;APC Opcode cache&lt;/a&gt;, some MySQL caching (this &lt;a href=&quot;https://launchpad.net/mysql-tuning-primer&quot;&gt;tuning primer&lt;/a&gt; script is handy). However, I&#039;m glad you mentioned that, I should check again whether Boost could at least work for aPaddedCell. The Drupal caching is good, but still couldn&#039;t handle the worst of the Digg effect.&lt;/p&gt;
 </description>
     <pubDate>Fri, 14 Nov 2008 02:25:17 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1235228 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>...but it&#039;s max_connections</title>
    <link>https://www.webmaster-forums.net/twf-feedback-and-announcements/expected-server-outages#comment-1235227</link>
    <description> &lt;blockquote&gt;&lt;p&gt;...but it&#039;s max_connections were set quite low (80). The problem is that Drupal uses a few complicated queries, and lots of simple ones too.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Does Drupal have anything similar to &lt;a href=&quot;http://wordpress.org/extend/plugins/wp-super-cache/&quot;&gt;wp-super-cache&lt;/a&gt;?  This plugin for Wordpress uses generatic htm pages and .htaccess rules, so the PHP engine isn&#039;t even loaded when serving a cached page.  It helps several Wordpress sites survive the Digg effect.&lt;/p&gt;
 </description>
     <pubDate>Thu, 13 Nov 2008 23:58:30 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1235227 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>I met recently with</title>
    <link>https://www.webmaster-forums.net/twf-feedback-and-announcements/expected-server-outages#comment-1235226</link>
    <description> &lt;p&gt;I met recently with developers from Northpoint Solutions in NYC who build Drupal sites capable of 1,000,000+ page views/minute.&lt;/p&gt;
&lt;p&gt;They separate the dynamic and static content, and they use not only Drupal caching but also memcache and distributed servers.&lt;/p&gt;
&lt;p&gt;The point is that Drupal is configurable for heavy traffic.&lt;/p&gt;
&lt;p&gt;I thought Jeeves mentioned some kind of cache persistence problem a while back, maybe you left caching off?&lt;/p&gt;
 </description>
     <pubDate>Thu, 13 Nov 2008 23:48:38 +0000</pubDate>
 <dc:creator>decibel.places</dc:creator>
 <guid isPermaLink="false">comment 1235226 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Why would MySQL be crashing</title>
    <link>https://www.webmaster-forums.net/twf-feedback-and-announcements/expected-server-outages#comment-1235225</link>
    <description> &lt;blockquote&gt;&lt;p&gt;Why would MySQL be crashing by a load spike such as this.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Well, it wasn&#039;t crashing, but it&#039;s max_connections were set quite low (80). The problem is that Drupal uses a few complicated queries, and lots of simple ones too. So we&#039;ve got MySQL optimised to cache tables/queries, meaning it doesn&#039;t take many connections to gobble all the RAM on our server.&lt;/p&gt;
&lt;p&gt;There was approximately a five-minute interval, as the story hit the front page of Digg, when everything went haywire. Otherwise the server seemed happy to handle 5-10 pages per second.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Don&#039;t you have some sort of caching enabled?&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Yes, an article page only uses one SQL query. This probably saved the VPS from getting utterly destroyed. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 13 Nov 2008 23:45:36 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1235225 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>(Time to up your advertising</title>
    <link>https://www.webmaster-forums.net/twf-feedback-and-announcements/expected-server-outages#comment-1235224</link>
    <description> &lt;blockquote&gt;&lt;p&gt;(Time to up your advertising rates?)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Easy for you to say. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/tongue.png&quot; title=&quot;Sticking out tongue&quot; alt=&quot;Sticking out tongue&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Why would MySQL be crashing by a load spike such as this.  Don&#039;t you have some sort of caching enabled?&lt;/p&gt;
 </description>
     <pubDate>Thu, 13 Nov 2008 22:56:50 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1235224 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>(Time to up your advertising</title>
    <link>https://www.webmaster-forums.net/twf-feedback-and-announcements/expected-server-outages#comment-1235223</link>
    <description> &lt;blockquote&gt;&lt;p&gt;(Time to up your advertising rates?)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I wish! Digg users all have adblock switched on. Still, we may get some decent backlinks to that article, and maybe a few more visitors. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Edit:&lt;br /&gt;
&lt;code&gt;top - 22:19:05 up&amp;nbsp; 2:49,&amp;nbsp; 2 users,&amp;nbsp; load average: 0.81, 0.61, 0.60&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Looks like we&#039;re through the worst of it.&lt;/p&gt;
 </description>
     <pubDate>Thu, 13 Nov 2008 22:18:00 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1235223 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
