<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > <channel><title>Comments for KBeezie</title> <atom:link href="http://kbeezie.com/comments/feed/" rel="self" type="application/rss+xml" /><link>http://kbeezie.com</link> <description>There&#039;s no place like ::1</description> <lastBuildDate>Mon, 18 Apr 2011 01:47:04 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>Comment on Nginx Flood Protection with Limit_req by kowsik</title><link>http://kbeezie.com/view/nginx-protection/#comment-1749</link> <dc:creator>kowsik</dc:creator> <pubDate>Mon, 18 Apr 2011 01:47:04 +0000</pubDate> <guid isPermaLink="false">http://kbeezie.com/?p=632#comment-1749</guid> <description>As we flush out the pricing plan, the higher concurrency load tests will include multiple IP addresses. Also, as part of the referral program on http://blitz.io, we&#039;ve given you a one-time 250 concurrency credit so you can blitz even more! Thanks again for taking the time to write this blog.</description> <content:encoded><![CDATA[<p>As we flush out the pricing plan, the higher concurrency load tests will include multiple IP addresses. Also, as part of the referral program on <a href="http://blitz.io" rel="nofollow">http://blitz.io</a>, we&#8217;ve given you a one-time 250 concurrency credit so you can blitz even more! Thanks again for taking the time to write this blog.</p> ]]></content:encoded> </item> <item><title>Comment on The Importance of Caching WordPress by kbeezie</title><link>http://kbeezie.com/view/caching-wordpress/#comment-1746</link> <dc:creator>kbeezie</dc:creator> <pubDate>Sat, 09 Apr 2011 05:51:26 +0000</pubDate> <guid isPermaLink="false">http://kbeezie.com/?p=543#comment-1746</guid> <description>By the way I learned that the rewrite line will actually act before the limiting had a chance to act. So have to use try_files $uri /index.php; instead which allows the limiting module to act before trying for files.Far as google, 503 is the de-facto standard for &quot;back off&quot; to the google servers. You can however create a google webmaster account ( https://www.google.com/webmasters/tools/ ) , add your site, verify it, then set your crawl rate manually rather than google doing so automatically. This way you can have some control in preventing google from crawling your site too quickly.More hardware isn&#039;t always the key to improving your site. Far as an 8 core, even a 4 core (or 4 core + hyper threading) would be fine and not all that expensive unless you go with prices from places like rackspace and such (though expensive if you&#039;re only used to VPS pricing).</description> <content:encoded><![CDATA[<p>By the way I learned that the rewrite line will actually act before the limiting had a chance to act. So have to use try_files $uri /index.php; instead which allows the limiting module to act before trying for files.</p><p>Far as google, 503 is the de-facto standard for &#8220;back off&#8221; to the google servers. You can however create a google webmaster account ( <a href="https://www.google.com/webmasters/tools/" rel="nofollow">https://www.google.com/webmasters/tools/</a> ) , add your site, verify it, then set your crawl rate manually rather than google doing so automatically. This way you can have some control in preventing google from crawling your site too quickly.</p><p>More hardware isn&#8217;t always the key to improving your site. Far as an 8 core, even a 4 core (or 4 core + hyper threading) would be fine and not all that expensive unless you go with prices from places like rackspace and such (though expensive if you&#8217;re only used to VPS pricing).</p> ]]></content:encoded> </item> <item><title>Comment on The Importance of Caching WordPress by mastafu</title><link>http://kbeezie.com/view/caching-wordpress/#comment-1745</link> <dc:creator>mastafu</dc:creator> <pubDate>Fri, 08 Apr 2011 21:45:16 +0000</pubDate> <guid isPermaLink="false">http://kbeezie.com/?p=543#comment-1745</guid> <description>kbeezie thank you for your replay. I think that this is not an issue here. What happens right now is that betwean 7pm till 9pm I am being strongly attacked from google ... like 20-50 req/s So I would probably need 8 cores or smth ... which is super expensive ... plus only required for some time during a day.I need to look in to your limiting module, what would be great is that is someone searches to much, he should be redirected to main page, or specified page where he would see warning and not 503 error. That is big to drastic, I think.What do you think, is that possible ?</description> <content:encoded><![CDATA[<p>kbeezie thank you for your replay.<br /> I think that this is not an issue here. What happens right now is that betwean 7pm till 9pm I am being strongly attacked from google &#8230; like 20-50 req/s<br /> So I would probably need 8 cores or smth &#8230; which is super expensive &#8230; plus only required for some time during a day.</p><p>I need to look in to your limiting module, what would be great is that is someone searches to much, he should be redirected to main page, or specified page where he would see warning and not 503 error. That is big to drastic, I think.</p><p>What do you think, is that possible ?</p> ]]></content:encoded> </item> <item><title>Comment on The Importance of Caching WordPress by kbeezie</title><link>http://kbeezie.com/view/caching-wordpress/#comment-1743</link> <dc:creator>kbeezie</dc:creator> <pubDate>Sun, 27 Mar 2011 18:02:43 +0000</pubDate> <guid isPermaLink="false">http://kbeezie.com/?p=543#comment-1743</guid> <description>That&#039;s a rather good question, especially considering you can&#039;t easily cache random searches. I was looking into it, it seems to also be a common way of overloading a wordpress site.The Nginx webserver does provide one feature that may help, called the Limit Request Module (http://wiki.nginx.org/HttpLimitReqModule)Essentially you could have a location block like so (the line above goes somewhere in http block):limit_req_zone  $binary_remote_addr  zone=one:10m   rate=1r/s; location /search { limit_req   zone=one  burst=5; rewrite ^ /index.php; }Essentially what happens is that the location /search is limited to a rate of 1 request per second based on a visitor&#039;s IP address. A burst of 5 mins that they have only 5 times that they can exceed this rate before they are hit with a 503 error response. Google for example see&#039;s 503 as kind of a de-facto &quot;Back off&quot; response.The rewrite is there since on wordpress there shouldn&#039;t ever be an actual folder named search, and all search requests are going to /index.php anyways. </description> <content:encoded><![CDATA[<p>That&#8217;s a rather good question, especially considering you can&#8217;t easily cache random searches. I was looking into it, it seems to also be a common way of overloading a wordpress site.</p><p>The Nginx webserver does provide one feature that may help, called the Limit Request Module (<a href="http://wiki.nginx.org/HttpLimitReqModule" rel="nofollow">http://wiki.nginx.org/HttpLimitReqModule</a>)</p><p>Essentially you could have a location block like so (the line above goes somewhere in http block):</p><p>limit_req_zone  $binary_remote_addr  zone=one:10m   rate=1r/s;<br /> location /search { limit_req   zone=one  burst=5; rewrite ^ /index.php; }</p><p>Essentially what happens is that the location /search is limited to a rate of 1 request per second based on a visitor&#8217;s IP address. A burst of 5 mins that they have only 5 times that they can exceed this rate before they are hit with a 503 error response. Google for example see&#8217;s 503 as kind of a de-facto &#8220;Back off&#8221; response.</p><p>The rewrite is there since on wordpress there shouldn&#8217;t ever be an actual folder named search, and all search requests are going to /index.php anyways.</p> ]]></content:encoded> </item> <item><title>Comment on The Importance of Caching WordPress by mastafu</title><link>http://kbeezie.com/view/caching-wordpress/#comment-1742</link> <dc:creator>mastafu</dc:creator> <pubDate>Sat, 26 Mar 2011 11:44:24 +0000</pubDate> <guid isPermaLink="false">http://kbeezie.com/?p=543#comment-1742</guid> <description>Great article.However I have following problem.My WP setup is like that.Currently I am on shared hosting with WP + W3 Total cache and during peak hours, my site is very slow. That is mainly because I have a huge traffic from Google.My webstie caches plenty of keywords with AskApache Google 404 and Redirection.What happens is that traffic from Google goes to /search/what-ever-keywords dynamicly created everytime. And that is killing my system. The problem is I have no idea how to help poor server and cache that kind of traffic.Would you have any advice for that ? Regards, Peter</description> <content:encoded><![CDATA[<p>Great article.</p><p>However I have following problem.</p><p>My WP setup is like that.</p><p>Currently I am on shared hosting with WP + W3 Total cache and during peak hours, my site is very slow. That is mainly because I have a huge traffic from Google.</p><p>My webstie caches plenty of keywords with AskApache Google 404 and Redirection.</p><p>What happens is that traffic from Google goes to /search/what-ever-keywords dynamicly created everytime. And that is killing my system.<br /> The problem is I have no idea how to help poor server and cache that kind of traffic.</p><p>Would you have any advice for that ?<br /> Regards,<br /> Peter</p> ]]></content:encoded> </item> <item><title>Comment on The Importance of Caching WordPress by kbeezie</title><link>http://kbeezie.com/view/caching-wordpress/#comment-1708</link> <dc:creator>kbeezie</dc:creator> <pubDate>Mon, 21 Feb 2011 22:26:37 +0000</pubDate> <guid isPermaLink="false">http://kbeezie.com/?p=543#comment-1708</guid> <description>In the memcached configuration, the obvious difference is that PHP is being accessed every single request to the site which has the additional overhead of PHP checking the request, then retrieving the keyed item from memcached and serving it. In the file-based configuration (which both W3 total cache, and WP supercache can be configured with) , Nginx is completely by-passing PHP all together and serving static content directly from the disk.As to why; first off I don&#039;t get that much traffic and even if I do with the current configuration can still handle quite a bit. Also with this configuration I don&#039;t have to modify nginx with any excessive rewrite rules to check for disk-based cache, and publishing new content is easily refreshed with the memcache setup. I used to use wp-super-cache with preloaded cache almost strictly which was fast indeed over very high load (which I almost never get), but it only caches files, it doesn&#039;t improve the performance for users logged in, and I have to make sure to clear the disk cache when I make a change to the design or site. </description> <content:encoded><![CDATA[<p>In the memcached configuration, the obvious difference is that PHP is being accessed every single request to the site which has the additional overhead of PHP checking the request, then retrieving the keyed item from memcached and serving it. In the file-based configuration (which both W3 total cache, and WP supercache can be configured with) , Nginx is completely by-passing PHP all together and serving static content directly from the disk.</p><p>As to why; first off I don&#8217;t get that much traffic and even if I do with the current configuration can still handle quite a bit. Also with this configuration I don&#8217;t have to modify nginx with any excessive rewrite rules to check for disk-based cache, and publishing new content is easily refreshed with the memcache setup. I used to use wp-super-cache with preloaded cache almost strictly which was fast indeed over very high load (which I almost never get), but it only caches files, it doesn&#8217;t improve the performance for users logged in, and I have to make sure to clear the disk cache when I make a change to the design or site.</p> ]]></content:encoded> </item> <item><title>Comment on About by prologic</title><link>http://kbeezie.com/about/#comment-1678</link> <dc:creator>prologic</dc:creator> <pubDate>Sun, 30 Jan 2011 21:20:01 +0000</pubDate> <guid isPermaLink="false">http://www.kbeezie.com/?page_id=2#comment-1678</guid> <description>Nice update about yourself :)What about your love for Python and circuits.web ? :)cheers James</description> <content:encoded><![CDATA[<p>Nice update about yourself <img src='http://kbeezie.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>What about your love for Python and circuits.web ? <img src='http://kbeezie.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p><p>cheers<br /> James</p> ]]></content:encoded> </item> <item><title>Comment on A Working Exit Popup by kbeezie</title><link>http://kbeezie.com/view/cross-browser-exit-pop/#comment-1662</link> <dc:creator>kbeezie</dc:creator> <pubDate>Thu, 20 Jan 2011 04:21:05 +0000</pubDate> <guid isPermaLink="false">http://kbeezie.com/?p=283#comment-1662</guid> <description>If you noticed the anchor event does an UnPopIt() , likewise you would just apply that change to events where needed.</description> <content:encoded><![CDATA[<p>If you noticed the anchor event does an UnPopIt() , likewise you would just apply that change to events where needed.</p> ]]></content:encoded> </item> <item><title>Comment on PayPal IPN Revised for Python by kbeezie</title><link>http://kbeezie.com/view/paypal-ipn-python/#comment-1661</link> <dc:creator>kbeezie</dc:creator> <pubDate>Thu, 20 Jan 2011 04:20:06 +0000</pubDate> <guid isPermaLink="false">http://kbeezie.com/?p=226#comment-1661</guid> <description>Has not happened to me, though one would assume that if unchanged the info goes right back to them in the same order. But I&#039;ve never encountered that problem with either code.</description> <content:encoded><![CDATA[<p>Has not happened to me, though one would assume that if unchanged the info goes right back to them in the same order. But I&#8217;ve never encountered that problem with either code.</p> ]]></content:encoded> </item> <item><title>Comment on PayPal IPN Revised for Python by Alex</title><link>http://kbeezie.com/view/paypal-ipn-python/#comment-1651</link> <dc:creator>Alex</dc:creator> <pubDate>Mon, 17 Jan 2011 17:06:28 +0000</pubDate> <guid isPermaLink="false">http://kbeezie.com/?p=226#comment-1651</guid> <description>I am tinkering with Paypal&#039;s IPN, and I have a question about your code.According to PayPal&#039;s docs, the POST you send back to them must contain the variables in the exact same order as they were sent to you (with cmd=_notify-validate in the beginning).In your code, you&#039;re just adding a new item to the dictionary (thus you cannot predict in which order the final request will be formed). I suspect that in certain cases PayPal will refuse to accept your response, because the order of the values has changed.Has that ever happened to you? Or are PayPal&#039;s rules more relaxed than the docs say?</description> <content:encoded><![CDATA[<p>I am tinkering with Paypal&#8217;s IPN, and I have a question about your code.</p><p>According to PayPal&#8217;s docs, the POST you send back to them must contain the variables in the exact same order as they were sent to you (with cmd=_notify-validate in the beginning).</p><p>In your code, you&#8217;re just adding a new item to the dictionary (thus you cannot predict in which order the final request will be formed). I suspect that in certain cases PayPal will refuse to accept your response, because the order of the values has changed.</p><p>Has that ever happened to you? Or are PayPal&#8217;s rules more relaxed than the docs say?</p> ]]></content:encoded> </item> </channel> </rss>
