<?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 on: Worse than DDOS</title>
	<atom:link href="http://www.mysqlperformanceblog.com/2008/08/18/worse-than-ddos/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mysqlperformanceblog.com/2008/08/18/worse-than-ddos/</link>
	<description>Everything about MySQL Performance</description>
	<lastBuildDate>Sat, 07 Nov 2009 18:35:44 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/08/18/worse-than-ddos/comment-page-1/#comment-347001</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Thu, 21 Aug 2008 07:03:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=470#comment-347001</guid>
		<description>Thanks Kevin,  Good notes. Though I guess not all of them would apply for &quot;real time&quot; web services use. For example always retry but wait 30 sec in between - this is perfect for batch jobs but for real time page views - if it does not work you may not have a time to retry and surely not to wait 30 sec  :)</description>
		<content:encoded><![CDATA[<p>Thanks Kevin,  Good notes. Though I guess not all of them would apply for &#8220;real time&#8221; web services use. For example always retry but wait 30 sec in between &#8211; this is perfect for batch jobs but for real time page views &#8211; if it does not work you may not have a time to retry and surely not to wait 30 sec  <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Burton</title>
		<link>http://www.mysqlperformanceblog.com/2008/08/18/worse-than-ddos/comment-page-1/#comment-346906</link>
		<dc:creator>Kevin Burton</dc:creator>
		<pubDate>Thu, 21 Aug 2008 02:34:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=470#comment-346906</guid>
		<description>Check out the Spinn3r client design guidelines we wrote up:

http://code.google.com/p/spinn3r-client/wiki/ClientDesignGuidelines

We have clients pounding us with requests (about 10M request per client per month) and a non-trivial amount of bandwidth.....(hundreds of GBs per month).

We wrote up the common mistakes we found with API implementations.

... might help and interesting in the least.</description>
		<content:encoded><![CDATA[<p>Check out the Spinn3r client design guidelines we wrote up:</p>
<p><a href="http://code.google.com/p/spinn3r-client/wiki/ClientDesignGuidelines" rel="nofollow">http://code.google.com/p/spinn3r-client/wiki/ClientDesignGuidelines</a></p>
<p>We have clients pounding us with requests (about 10M request per client per month) and a non-trivial amount of bandwidth&#8230;..(hundreds of GBs per month).</p>
<p>We wrote up the common mistakes we found with API implementations.</p>
<p>&#8230; might help and interesting in the least.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://www.mysqlperformanceblog.com/2008/08/18/worse-than-ddos/comment-page-1/#comment-346461</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Tue, 19 Aug 2008 16:46:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=470#comment-346461</guid>
		<description>Ferdy,

Yes I know about session_write_close() however it is a code change which is different angle of tuning and in this case information is stored in the section after web server call returns.

Session files are locked on purpose and I&#039;m not sure how memcache is not locking. This is just what I&#039;ve seen in practice.  I guess in memcache you would just have race condition and it is possible with concurrent requests being executed second request to overwrite first request data. If this is the case it is something surely to watch out when you write apps.

I honestly would prefer explicit locking to implicit one - if application suffers from race conditions let it synchronize to avoid them.   MySQL users often have so much race conditions in their apps they do not care about anyway :)</description>
		<content:encoded><![CDATA[<p>Ferdy,</p>
<p>Yes I know about session_write_close() however it is a code change which is different angle of tuning and in this case information is stored in the section after web server call returns.</p>
<p>Session files are locked on purpose and I&#8217;m not sure how memcache is not locking. This is just what I&#8217;ve seen in practice.  I guess in memcache you would just have race condition and it is possible with concurrent requests being executed second request to overwrite first request data. If this is the case it is something surely to watch out when you write apps.</p>
<p>I honestly would prefer explicit locking to implicit one &#8211; if application suffers from race conditions let it synchronize to avoid them.   MySQL users often have so much race conditions in their apps they do not care about anyway <img src='http://www.mysqlperformanceblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ferdy</title>
		<link>http://www.mysqlperformanceblog.com/2008/08/18/worse-than-ddos/comment-page-1/#comment-346402</link>
		<dc:creator>Ferdy</dc:creator>
		<pubDate>Tue, 19 Aug 2008 11:01:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=470#comment-346402</guid>
		<description>How would memcached session-handling not lock access to the data?
If I am not mistaken. sessionfiles lock on purponse to prevent another process from changing values during execution.

To release the lock in the middle of a script use session_write_close()</description>
		<content:encoded><![CDATA[<p>How would memcached session-handling not lock access to the data?<br />
If I am not mistaken. sessionfiles lock on purponse to prevent another process from changing values during execution.</p>
<p>To release the lock in the middle of a script use session_write_close()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bfw</title>
		<link>http://www.mysqlperformanceblog.com/2008/08/18/worse-than-ddos/comment-page-1/#comment-346354</link>
		<dc:creator>bfw</dc:creator>
		<pubDate>Tue, 19 Aug 2008 07:37:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.mysqlperformanceblog.com/?p=470#comment-346354</guid>
		<description>oh, thanks for the tips - some just saved my life</description>
		<content:encoded><![CDATA[<p>oh, thanks for the tips &#8211; some just saved my life</p>
]]></content:encoded>
	</item>
</channel>
</rss>
