<?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: The new ehcache server</title>
	<atom:link href="http://gregluck.com/blog/archives/2008/07/the-new-ehcache-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://gregluck.com/blog/archives/2008/07/the-new-ehcache-server/</link>
	<description></description>
	<lastBuildDate>Mon, 07 May 2012 16:32:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Greg Luck</title>
		<link>http://gregluck.com/blog/archives/2008/07/the-new-ehcache-server/comment-page-1/#comment-153</link>
		<dc:creator>Greg Luck</dc:creator>
		<pubDate>Sat, 02 Aug 2008 12:52:40 +0000</pubDate>
		<guid isPermaLink="false">http://gregluck.com/blog/2008/07/the-new-ehcache-server/#comment-153</guid>
		<description>Adam
I have run ehcache in a 64 bit JDK with a 6GB heap for about 4 years now. I know of people out there running 15GB heaps.
Garbage collection can be very bad with large heaps. On my blog I have some magic settings I got from Sun which seem to work very well for avoiding Full GC pauses. I needed them for our app, which had a lot of cache churn.
I was surprised that the guy using 15GB did not need any special settings and did not have pauses.
So, I think it depends on your app. If you get into trouble try the settings I have.  See http://gregluck.com/blog/archives/2006/07/how_we_solved_o.html
I am expecting people using the cache server to be running multi gigabyte caches.
</description>
		<content:encoded><![CDATA[<p>Adam<br />
I have run ehcache in a 64 bit JDK with a 6GB heap for about 4 years now. I know of people out there running 15GB heaps.<br />
Garbage collection can be very bad with large heaps. On my blog I have some magic settings I got from Sun which seem to work very well for avoiding Full GC pauses. I needed them for our app, which had a lot of cache churn.<br />
I was surprised that the guy using 15GB did not need any special settings and did not have pauses.<br />
So, I think it depends on your app. If you get into trouble try the settings I have.  See <a href="http://gregluck.com/blog/archives/2006/07/how_we_solved_o.html" rel="nofollow">http://gregluck.com/blog/archives/2006/07/how_we_solved_o.html</a><br />
I am expecting people using the cache server to be running multi gigabyte caches.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Malter</title>
		<link>http://gregluck.com/blog/archives/2008/07/the-new-ehcache-server/comment-page-1/#comment-152</link>
		<dc:creator>Adam Malter</dc:creator>
		<pubDate>Fri, 01 Aug 2008 03:30:25 +0000</pubDate>
		<guid isPermaLink="false">http://gregluck.com/blog/2008/07/the-new-ehcache-server/#comment-152</guid>
		<description>Maybe you guys can solve a bit of a technical riddle I&#039;ve had running around my head regarding cache implementations and java.. In our application we have a variety of in process cache&#039;s and are now exploring off process and off machine caching.
With the in process caching, we are running hard against the 32bit heap memory limits. We are planning on migrating over to 64bit JVM instances, *but*, everywhere I turn I hear dread warnings of GC interactions with 2GB+ heaps. In fact, one learned developer I follow suggested to never use a 64bit JVM for a cache server, and instead load balance however many 32bit instances it takes to get to your desired cache size. (Specifically saying that even if you had to run dozens of instances on a single box, it was worth it vs a single large heap 64bit VM)
So, I guess the question is, how does ecache, specifically the server version, handle cache sizes of 2,4,8 or more GB&#039;s. Does it use any fancy memory tricks to help avoid killer GC pauses etc.
I was doing a thought experiment and maybe thought that using ASM or CGLIB (and an absurdly high permgen size), one could compile survivor cache entries into class bytes and push them into Perm space, essentially cloning a malloc/free in java.
Anyway, sorry for rambling on your blog, this is really, really awesome stuff. Thanks very much for pushing java scalability to it&#039;s limits. You all rawk!! :-)
-A
</description>
		<content:encoded><![CDATA[<p>Maybe you guys can solve a bit of a technical riddle I&#8217;ve had running around my head regarding cache implementations and java.. In our application we have a variety of in process cache&#8217;s and are now exploring off process and off machine caching.<br />
With the in process caching, we are running hard against the 32bit heap memory limits. We are planning on migrating over to 64bit JVM instances, *but*, everywhere I turn I hear dread warnings of GC interactions with 2GB+ heaps. In fact, one learned developer I follow suggested to never use a 64bit JVM for a cache server, and instead load balance however many 32bit instances it takes to get to your desired cache size. (Specifically saying that even if you had to run dozens of instances on a single box, it was worth it vs a single large heap 64bit VM)<br />
So, I guess the question is, how does ecache, specifically the server version, handle cache sizes of 2,4,8 or more GB&#8217;s. Does it use any fancy memory tricks to help avoid killer GC pauses etc.<br />
I was doing a thought experiment and maybe thought that using ASM or CGLIB (and an absurdly high permgen size), one could compile survivor cache entries into class bytes and push them into Perm space, essentially cloning a malloc/free in java.<br />
Anyway, sorry for rambling on your blog, this is really, really awesome stuff. Thanks very much for pushing java scalability to it&#8217;s limits. You all rawk!! <img src='http://gregluck.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
-A</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Luck</title>
		<link>http://gregluck.com/blog/archives/2008/07/the-new-ehcache-server/comment-page-1/#comment-151</link>
		<dc:creator>Greg Luck</dc:creator>
		<pubDate>Tue, 29 Jul 2008 11:37:59 +0000</pubDate>
		<guid isPermaLink="false">http://gregluck.com/blog/2008/07/the-new-ehcache-server/#comment-151</guid>
		<description>Hi Anjan/Paul
Ehcache is already integrated with Terracotta. I worked with the Terracotta guys and made some changes to ehcache. They created a simple config. You can use Ehcache with replication handled by Terracotta.
As to a bundling it with the server, Terracotta is one of three replication choices with ehcache. And I am adding JMS in the next few months as a fourth option. I would rather leave it to the end user to configure their preferred replication scheme.
</description>
		<content:encoded><![CDATA[<p>Hi Anjan/Paul<br />
Ehcache is already integrated with Terracotta. I worked with the Terracotta guys and made some changes to ehcache. They created a simple config. You can use Ehcache with replication handled by Terracotta.<br />
As to a bundling it with the server, Terracotta is one of three replication choices with ehcache. And I am adding JMS in the next few months as a fourth option. I would rather leave it to the end user to configure their preferred replication scheme.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anjan bacchu</title>
		<link>http://gregluck.com/blog/archives/2008/07/the-new-ehcache-server/comment-page-1/#comment-150</link>
		<dc:creator>anjan bacchu</dc:creator>
		<pubDate>Tue, 29 Jul 2008 11:32:28 +0000</pubDate>
		<guid isPermaLink="false">http://gregluck.com/blog/2008/07/the-new-ehcache-server/#comment-150</guid>
		<description>hi greg,
Good luck with this.
I&#039;m also going through the same REST book. will be working on a JBoss related project with REST.
distributed ehcache : How about making a bundle with Terracotta + Glassfish ?
Thank you,
BR,
~A
</description>
		<content:encoded><![CDATA[<p>hi greg,<br />
Good luck with this.<br />
I&#8217;m also going through the same REST book. will be working on a JBoss related project with REST.<br />
distributed ehcache : How about making a bundle with Terracotta + Glassfish ?<br />
Thank you,<br />
BR,<br />
~A</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Davis</title>
		<link>http://gregluck.com/blog/archives/2008/07/the-new-ehcache-server/comment-page-1/#comment-149</link>
		<dc:creator>Paul Davis</dc:creator>
		<pubDate>Tue, 29 Jul 2008 11:06:38 +0000</pubDate>
		<guid isPermaLink="false">http://gregluck.com/blog/2008/07/the-new-ehcache-server/#comment-149</guid>
		<description>Now, imagine several instances (behind the load balancer) running on terracotta servers with a shared heap.....
</description>
		<content:encoded><![CDATA[<p>Now, imagine several instances (behind the load balancer) running on terracotta servers with a shared heap&#8230;..</p>
]]></content:encoded>
	</item>
</channel>
</rss>

