<?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: Terracotta Use Cases</title>
	<atom:link href="http://tech.puredanger.com/index.php/2009/11/16/terracotta-use-cases/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.puredanger.com/2009/11/16/terracotta-use-cases/</link>
	<description>Alex Miller&#039;s technical blog</description>
	<lastBuildDate>Mon, 06 Feb 2012 19:39:50 -0800</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
	<item>
		<title>By: Casper Bang</title>
		<link>http://tech.puredanger.com/2009/11/16/terracotta-use-cases/comment-page-1/#comment-180848</link>
		<dc:creator>Casper Bang</dc:creator>
		<pubDate>Wed, 18 Nov 2009 18:57:09 +0000</pubDate>
		<guid isPermaLink="false">http://puredanger.com/tech/?p=634#comment-180848</guid>
		<description>Thanks Alex for answering. Still not sure whether Terracotta would do anything (worth while) for me and my problems, but I guess I&#039;ll have to take it for a spin and give it a chance. :)</description>
		<content:encoded><![CDATA[<p>Thanks Alex for answering. Still not sure whether Terracotta would do anything (worth while) for me and my problems, but I guess I&#8217;ll have to take it for a spin and give it a chance. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://tech.puredanger.com/2009/11/16/terracotta-use-cases/comment-page-1/#comment-180840</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Wed, 18 Nov 2009 15:57:44 +0000</pubDate>
		<guid isPermaLink="false">http://puredanger.com/tech/?p=634#comment-180840</guid>
		<description>@Tim: Many thanks for your comments and questions.  I hope to respond when I have a chance in the next couple days.</description>
		<content:encoded><![CDATA[<p>@Tim: Many thanks for your comments and questions.  I hope to respond when I have a chance in the next couple days.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Vernum</title>
		<link>http://tech.puredanger.com/2009/11/16/terracotta-use-cases/comment-page-1/#comment-180801</link>
		<dc:creator>Tim Vernum</dc:creator>
		<pubDate>Wed, 18 Nov 2009 00:37:21 +0000</pubDate>
		<guid isPermaLink="false">http://puredanger.com/tech/?p=634#comment-180801</guid>
		<description>&lt;i&gt;Since tone can be hard to determine in written form, I thought it best to preface this with a bit of context-setter.

I&#039;m intending this as a piece of advice that is (hopefully) helpful to both of us. Helpful to me because, if you write the article I want, then it will make my life as a product selector a lot easier. And hopefully helpful to you, because if you make it easier for people to know what your product can do for them, then they&#039;re more likely to buy it, and you&#039;re more likely to stay employed :)
&lt;/i&gt;

I think Terracotta is a great piece of technology, and I always keep it in the back of my mind as an option for future systems I build, but, like Casper, I&#039;ve never quite got a good handle on what it can do for me.
As a (mostly former) Jetty developer, I know that it can give me session clustering for Jetty if I ever need that. But that&#039;s about as far as it goes. I suspect the only reason that makes a lot of sense to me is because I know Jetty really well, and I know other servlet containers pretty well, so I know what Jetty+Terracotta adds over Jetty on its own.

But, that&#039;s as far as it goes for me.

This blog entry, takes a fairly common approach of starting with the technology, and then expanding that into a use case.
That&#039;s not surprising - you&#039;re a technologist, and this is your personal blog, so it reflects your mindset.
But I&#039;m your reader, and in this context, I&#039;m not a technologist, I&#039;m a potential user. 
(Sure, in another context I&#039;m a technologist, but just getting my exciting about the technical merits of Terracotta isn&#039;t going to turn me into a user)

See, I look at this description and think &quot;so, if I&#039;m already trying to run something across multiple VMs, Terracotta can make some of that work a bit better&quot;. It feels like I have to have walked myself into a bit of a mess (a cluster of VMs without shared data, or a cluster of VMs with an inefficient way of sharing data) before Terracotta has much to offer me.

But I suspect that&#039;s not the full story. I assume there are problems that I&#039;m trying to solve, where I might previously have used a single VM, where Terracotta would allow me to use a cluster of VMs without all the head-aches. Or maybe I don&#039;t even need to think about it as a cluster, but instead just think about it as &quot;replicated/resilient memory&quot;.

The stories that would catch my attention would be the ones that start with a problem that needs to be solved. So your user registration codes would start with: &quot;Are you persisting small transient objects to the database just to provide a resilient backing for your data? Terracotta can allow you to keep it all in memory on your VM, while still giving you the resilience you&#039;re looking for.&quot;

Start with the user - what problem are they trying to solve?
Then, how can Terracotta be used to solve that in a &quot;better&quot; way than the typical solution people would use?
That&#039;s the sort of description I&#039;d read and buy into.</description>
		<content:encoded><![CDATA[<p><i>Since tone can be hard to determine in written form, I thought it best to preface this with a bit of context-setter.</p>
<p>I&#8217;m intending this as a piece of advice that is (hopefully) helpful to both of us. Helpful to me because, if you write the article I want, then it will make my life as a product selector a lot easier. And hopefully helpful to you, because if you make it easier for people to know what your product can do for them, then they&#8217;re more likely to buy it, and you&#8217;re more likely to stay employed :)<br />
</i></p>
<p>I think Terracotta is a great piece of technology, and I always keep it in the back of my mind as an option for future systems I build, but, like Casper, I&#8217;ve never quite got a good handle on what it can do for me.<br />
As a (mostly former) Jetty developer, I know that it can give me session clustering for Jetty if I ever need that. But that&#8217;s about as far as it goes. I suspect the only reason that makes a lot of sense to me is because I know Jetty really well, and I know other servlet containers pretty well, so I know what Jetty+Terracotta adds over Jetty on its own.</p>
<p>But, that&#8217;s as far as it goes for me.</p>
<p>This blog entry, takes a fairly common approach of starting with the technology, and then expanding that into a use case.<br />
That&#8217;s not surprising &#8211; you&#8217;re a technologist, and this is your personal blog, so it reflects your mindset.<br />
But I&#8217;m your reader, and in this context, I&#8217;m not a technologist, I&#8217;m a potential user.<br />
(Sure, in another context I&#8217;m a technologist, but just getting my exciting about the technical merits of Terracotta isn&#8217;t going to turn me into a user)</p>
<p>See, I look at this description and think &#8220;so, if I&#8217;m already trying to run something across multiple VMs, Terracotta can make some of that work a bit better&#8221;. It feels like I have to have walked myself into a bit of a mess (a cluster of VMs without shared data, or a cluster of VMs with an inefficient way of sharing data) before Terracotta has much to offer me.</p>
<p>But I suspect that&#8217;s not the full story. I assume there are problems that I&#8217;m trying to solve, where I might previously have used a single VM, where Terracotta would allow me to use a cluster of VMs without all the head-aches. Or maybe I don&#8217;t even need to think about it as a cluster, but instead just think about it as &#8220;replicated/resilient memory&#8221;.</p>
<p>The stories that would catch my attention would be the ones that start with a problem that needs to be solved. So your user registration codes would start with: &#8220;Are you persisting small transient objects to the database just to provide a resilient backing for your data? Terracotta can allow you to keep it all in memory on your VM, while still giving you the resilience you&#8217;re looking for.&#8221;</p>
<p>Start with the user &#8211; what problem are they trying to solve?<br />
Then, how can Terracotta be used to solve that in a &#8220;better&#8221; way than the typical solution people would use?<br />
That&#8217;s the sort of description I&#8217;d read and buy into.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashish</title>
		<link>http://tech.puredanger.com/2009/11/16/terracotta-use-cases/comment-page-1/#comment-180757</link>
		<dc:creator>Ashish</dc:creator>
		<pubDate>Tue, 17 Nov 2009 07:37:36 +0000</pubDate>
		<guid isPermaLink="false">http://puredanger.com/tech/?p=634#comment-180757</guid>
		<description>I believe many people get confused with Terracotta coz, it does what none other product can do today. So its kinda niche way of Scaling :-)

There are couple of more Use Case that I see
1. Generating unique Id for tables (typically this headache is left to Database). AFAIK, Terracotta makes it pretty easy

2. DB caching is good, but still we have the overhad of talking to DB, including Network IO, so if we have a cache, we gain a lot. I don&#039;t think there is one on one comparison between a DB cache and Terracotta based cache

3. Guess Terracotta bases clustered POJO can easily act as Singleton in clustered J2EE environment

The distributed processing using LinkedBlockingQueue is  master piece, processing data across JVM&#039;s was never this simple. I believe Terracotta has much more potential Use Cases, than what I have listed :-)</description>
		<content:encoded><![CDATA[<p>I believe many people get confused with Terracotta coz, it does what none other product can do today. So its kinda niche way of Scaling :-)</p>
<p>There are couple of more Use Case that I see<br />
1. Generating unique Id for tables (typically this headache is left to Database). AFAIK, Terracotta makes it pretty easy</p>
<p>2. DB caching is good, but still we have the overhad of talking to DB, including Network IO, so if we have a cache, we gain a lot. I don&#8217;t think there is one on one comparison between a DB cache and Terracotta based cache</p>
<p>3. Guess Terracotta bases clustered POJO can easily act as Singleton in clustered J2EE environment</p>
<p>The distributed processing using LinkedBlockingQueue is  master piece, processing data across JVM&#8217;s was never this simple. I believe Terracotta has much more potential Use Cases, than what I have listed :-)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

