<?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: Thoof versus digg&#8230; will thoof survive being dugg?</title>
	<atom:link href="http://martijndashorst.com/blog/2007/10/02/thoof-versus-digg-will-thoof-survive-being-dugg/feed/" rel="self" type="application/rss+xml" />
	<link>http://martijndashorst.com/blog/2007/10/02/thoof-versus-digg-will-thoof-survive-being-dugg/</link>
	<description>Ramblings on Java, Wicket, cats and other stuff</description>
	<lastBuildDate>Mon, 05 Dec 2011 20:15:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Martijn Dashorst</title>
		<link>http://martijndashorst.com/blog/2007/10/02/thoof-versus-digg-will-thoof-survive-being-dugg/comment-page-1/#comment-13489</link>
		<dc:creator>Martijn Dashorst</dc:creator>
		<pubDate>Wed, 03 Oct 2007 16:21:45 +0000</pubDate>
		<guid isPermaLink="false">http://martijndashorst.com/blog/2007/10/02/thoof-versus-digg-will-thoof-survive-being-dugg/#comment-13489</guid>
		<description>A JVM heap of 2 GB is the biggest that is effective, at least on sun JVM&#039;s. Bigger than that and your GC pauses are taking too long.

It would be nice to read about how you tune the JVM to handle a load, for instance what GC you chose, and more importantly why, what the sizes are for the different generations.

A traffic analysis of the digg onslaught would be nice too. I guess you were fortunate that there wasn&#039;t a direct link to thoof.com in the main article, so that people had to type the link in manually.

Other interesting tidbits are:
 - number of parallel sessions per vm and its memory usage
 - requests per second

But I understand if you are too busy with tweaking a system. I suspect you are monitoring the jconsole and look at the heartbeat of thoof. I know I did when I was monitoring our own application: looking at response times, number of concurrent connections to database, number of garbage collections, all interesting stuff if you want to know the status of your application.</description>
		<content:encoded><![CDATA[<p>A JVM heap of 2 GB is the biggest that is effective, at least on sun JVM&#8217;s. Bigger than that and your GC pauses are taking too long.</p>
<p>It would be nice to read about how you tune the JVM to handle a load, for instance what GC you chose, and more importantly why, what the sizes are for the different generations.</p>
<p>A traffic analysis of the digg onslaught would be nice too. I guess you were fortunate that there wasn&#8217;t a direct link to thoof.com in the main article, so that people had to type the link in manually.</p>
<p>Other interesting tidbits are:<br />
 &#8211; number of parallel sessions per vm and its memory usage<br />
 &#8211; requests per second</p>
<p>But I understand if you are too busy with tweaking a system. I suspect you are monitoring the jconsole and look at the heartbeat of thoof. I know I did when I was monitoring our own application: looking at response times, number of concurrent connections to database, number of garbage collections, all interesting stuff if you want to know the status of your application.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Clarke</title>
		<link>http://martijndashorst.com/blog/2007/10/02/thoof-versus-digg-will-thoof-survive-being-dugg/comment-page-1/#comment-13487</link>
		<dc:creator>Ian Clarke</dc:creator>
		<pubDate>Wed, 03 Oct 2007 16:01:50 +0000</pubDate>
		<guid isPermaLink="false">http://martijndashorst.com/blog/2007/10/02/thoof-versus-digg-will-thoof-survive-being-dugg/#comment-13487</guid>
		<description>Another update, for anyone that is interested!

Ok, so the memory issue was basically that we were allocating too much memory to the JVM heap, and not leaving enough memory for other Java-related requirements.  We&#039;ve now allocating 2 of 8GB to the JVM heap on our webnodes, and this seems to be working well.

Another issue is an expensive database call we were doing on new-user creation.  We took some quick measures to remove this (thus temporarily reducing the effectiveness of our recommendation algorithm), and are now working to move this workload into the webnodes through caching of the necessary data.</description>
		<content:encoded><![CDATA[<p>Another update, for anyone that is interested!</p>
<p>Ok, so the memory issue was basically that we were allocating too much memory to the JVM heap, and not leaving enough memory for other Java-related requirements.  We&#8217;ve now allocating 2 of 8GB to the JVM heap on our webnodes, and this seems to be working well.</p>
<p>Another issue is an expensive database call we were doing on new-user creation.  We took some quick measures to remove this (thus temporarily reducing the effectiveness of our recommendation algorithm), and are now working to move this workload into the webnodes through caching of the necessary data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Clarke</title>
		<link>http://martijndashorst.com/blog/2007/10/02/thoof-versus-digg-will-thoof-survive-being-dugg/comment-page-1/#comment-13409</link>
		<dc:creator>Ian Clarke</dc:creator>
		<pubDate>Tue, 02 Oct 2007 22:52:07 +0000</pubDate>
		<guid isPermaLink="false">http://martijndashorst.com/blog/2007/10/02/thoof-versus-digg-will-thoof-survive-being-dugg/#comment-13409</guid>
		<description>We had some trouble, initially because we have a queue of events being written to the database, and it was filling up.  We&#039;ve temporarily solved that one by dropping events when the queue is full (the consequences of this are not that serious), but this is only an interim solution.

We are currently experiencing memory issues, possibly a leak.  We are still debugging that one using a heap profiler on a live webnode (but only directing a tenth of the normal traffic to it).</description>
		<content:encoded><![CDATA[<p>We had some trouble, initially because we have a queue of events being written to the database, and it was filling up.  We&#8217;ve temporarily solved that one by dropping events when the queue is full (the consequences of this are not that serious), but this is only an interim solution.</p>
<p>We are currently experiencing memory issues, possibly a leak.  We are still debugging that one using a heap profiler on a live webnode (but only directing a tenth of the normal traffic to it).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

