<?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: J2EE Applications and Clusters</title>
	<atom:link href="http://blog.webscale.co.in/?feed=rss2&#038;p=23" rel="self" type="application/rss+xml" />
	<link>http://blog.webscale.co.in/?p=23</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 27 Jun 2010 15:52:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sergio Stateri Jr</title>
		<link>http://blog.webscale.co.in/?p=23&#038;cpage=1#comment-59</link>
		<dc:creator>Sergio Stateri Jr</dc:creator>
		<pubDate>Fri, 22 Aug 2008 16:35:02 +0000</pubDate>
		<guid isPermaLink="false">http://pitfalls.wordpress.com/?p=23#comment-59</guid>
		<description>Hi Scot,

How can you to make hibernate cache use Memcached ? Did you implement a Hibernate cache provider ?

thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi Scot,</p>
<p>How can you to make hibernate cache use Memcached ? Did you implement a Hibernate cache provider ?</p>
<p>thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://blog.webscale.co.in/?p=23&#038;cpage=1#comment-58</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Wed, 06 Aug 2008 06:41:53 +0000</pubDate>
		<guid isPermaLink="false">http://pitfalls.wordpress.com/?p=23#comment-58</guid>
		<description>I found the same as Darryl regarding Hibernate and Ehcache. We used Memcached with Ehcache, and quickly had our Hibernate objects in a distributed cache. We&#039;ve had this running in production for a few months now with no issues.

We noticed a very nice performance increase as well.

The short version of the story is, I love Memcached :)</description>
		<content:encoded><![CDATA[<p>I found the same as Darryl regarding Hibernate and Ehcache. We used Memcached with Ehcache, and quickly had our Hibernate objects in a distributed cache. We&#8217;ve had this running in production for a few months now with no issues.</p>
<p>We noticed a very nice performance increase as well.</p>
<p>The short version of the story is, I love Memcached <img src='http://blog.webscale.co.in/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mrozewski.pl &#187; Blog Archive &#187; Java: Pit Falls in Java Development</title>
		<link>http://blog.webscale.co.in/?p=23&#038;cpage=1#comment-57</link>
		<dc:creator>mrozewski.pl &#187; Blog Archive &#187; Java: Pit Falls in Java Development</dc:creator>
		<pubDate>Tue, 08 Jul 2008 23:24:50 +0000</pubDate>
		<guid isPermaLink="false">http://pitfalls.wordpress.com/?p=23#comment-57</guid>
		<description>[...] Java. Podają też swoje propozycje rozwiązań. Mnie w szczególności zainteresował artykuł J2EE Aplications and Clusters. Właśnie z podobnymi problemami walczymy ostatnio w pracy. W pierwszej fazie aplikacja była [...]</description>
		<content:encoded><![CDATA[<p>[...] Java. Podają też swoje propozycje rozwiązań. Mnie w szczególności zainteresował artykuł J2EE Aplications and Clusters. Właśnie z podobnymi problemami walczymy ostatnio w pracy. W pierwszej fazie aplikacja była [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darryl Stoflet</title>
		<link>http://blog.webscale.co.in/?p=23&#038;cpage=1#comment-56</link>
		<dc:creator>Darryl Stoflet</dc:creator>
		<pubDate>Sun, 22 Jun 2008 05:20:05 +0000</pubDate>
		<guid isPermaLink="false">http://pitfalls.wordpress.com/?p=23#comment-56</guid>
		<description>Interesting writeup. On the &#039;stickiness&#039; issue; most LB support a &#039;least conn&#039; algorithm that that will help to avoid skewing of the load (to some degree, tho its obviously far from perfect since its a brainless least conn, that is it does not differentiate between load types).

I am curious though why you did not discuss session replication in more detail. Every meaningful appserver offers session replication which ameliorates two problems here, one the skewing due to session sticky, and two, a user does not lose their session if the app server they were on goes down.

As far as caching goes, I assume from your example that you are primarily talking about caching DB data. Ehcache has a very nice distributed replicated syncing cache. Typically most DB acces is done via an ORM or JPA. Hibernate, my favorite ORM/JPA allows ehcache to be plugged in transparently, and enabling the distributes cache is transaparent at the code level. So I&#039;d be interested in understanding why you stated that the usage of ehcache would require to much rework.</description>
		<content:encoded><![CDATA[<p>Interesting writeup. On the &#8217;stickiness&#8217; issue; most LB support a &#8216;least conn&#8217; algorithm that that will help to avoid skewing of the load (to some degree, tho its obviously far from perfect since its a brainless least conn, that is it does not differentiate between load types).</p>
<p>I am curious though why you did not discuss session replication in more detail. Every meaningful appserver offers session replication which ameliorates two problems here, one the skewing due to session sticky, and two, a user does not lose their session if the app server they were on goes down.</p>
<p>As far as caching goes, I assume from your example that you are primarily talking about caching DB data. Ehcache has a very nice distributed replicated syncing cache. Typically most DB acces is done via an ORM or JPA. Hibernate, my favorite ORM/JPA allows ehcache to be plugged in transparently, and enabling the distributes cache is transaparent at the code level. So I&#8217;d be interested in understanding why you stated that the usage of ehcache would require to much rework.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
