<?xml version="1.0"?>
<rss version="2.0">
<channel>

  
<title>Coding the Architecture - QCon: Open Terracotta</title>
<link>http://www.codingthearchitecture.com/2007/03/15/qcon_open_terracotta.html</link>
<description>There have been numerous presentations at QCon that I&#039;ve taken things from; presentations I&#039;ve thought it might be worth distilling and replaying to others. However, Ari Zilka&#039;s talk on Open Terracotta got me excited (and I know I&#039;m not alone) - possibly ...</description>
<language>en</language>
<managingEditor>Kevin Seal</managingEditor>
<lastBuildDate>Thu, 22 Mar 2007 10:04:27 GMT</lastBuildDate>
  
  

  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>Re: QCon: Open Terracotta</title>
    <link>http://www.codingthearchitecture.com/2007/03/15/qcon_open_terracotta.html#comment1179310716819</link>
    <description>
      &lt;p&gt;I was hoping to take a fairly serious standalone Swing desktop application (no server involved) and use Terracotta to replicate a simple user interaction between two instances. &lt;/p&gt;
&lt;p&gt;
For example, I&#039;d start up two instances of the application and update something in the model via one instance and watch it get updated in the other instance.
&lt;/p&gt;
&lt;p&gt;
The application I had in mind is substantial although I was only interested in distributing one model from it (albeit a very large and pervasive one).
&lt;/p&gt;
&lt;p&gt;
This was an artifical requirement and had no practical use for the application in question. The hope was to find out how easy it was to use Terracotta with something that wasn&#039;t designed with this behaviour in mind and whether a noticeable performance overhead was incurred. As it turns out I never got it to work - the model was far too complex to be a successful candidate for clustering; Terracotta demanded that I distribute more and more components until I finally came to the conclusion that while clustering may be relatively trivial to implement with Terracotta it&#039;s still not something you can retrofit into an unaccommodating design. Kinda obvious in hindsight.
&lt;/p&gt;
&lt;p&gt;
I hope to give it another go someday when I get the time, but perhaps on something a little more amenable!
&lt;/p&gt;
&lt;p&gt;
If you want to get a feel for the overhead and performance, though, you could do a lot worse than trying out the examples that come with Terracotta - they&#039;re basic but pretty good.
&lt;/p&gt;
    </description>
    <author>Kevin Seal</author>
    <comments>http://www.codingthearchitecture.com/2007/03/15/qcon_open_terracotta.html#comments</comments>
    <guid isPermaLink="true">http://www.codingthearchitecture.com/2007/03/15/qcon_open_terracotta.html#comment1179310716819</guid>
    <pubDate>Wed, 16 May 2007 10:18:36 GMT</pubDate>
  </item>
  
  <item>
    <title>Re: QCon: Open Terracotta</title>
    <link>http://www.codingthearchitecture.com/2007/03/15/qcon_open_terracotta.html#comment1179250778189</link>
    <description>
      Hi there,

&#034;At the moment I can&#039;t wait to take it for a test drive on something stupid like a clustered Swing application &#034;

interesting to know about your plans for a clustered swing app. I am interested to know about the memory and performance characterestics of this app. Are you clustering the Swing app or the server that serves the swing app ?

Thank you,

BR,
~A
    </description>
    <author>Anjan Bacchu</author>
    <comments>http://www.codingthearchitecture.com/2007/03/15/qcon_open_terracotta.html#comments</comments>
    <guid isPermaLink="true">http://www.codingthearchitecture.com/2007/03/15/qcon_open_terracotta.html#comment1179250778189</guid>
    <pubDate>Tue, 15 May 2007 17:39:38 GMT</pubDate>
  </item>
  
  <item>
    <title>Not so cool... </title>
    <link>http://www.codingthearchitecture.com/2007/03/15/qcon_open_terracotta.html#comment1175596307564</link>
    <description>
      &lt;p&gt;
Well, after having spent several fruitless train journeys trying to get Terracotta to cluster an existing application I&#039;ve finally given up, coming to the conclusion that Tim was probably right; clustering really isn&#039;t something that you want to implement transparently.
&lt;/p&gt;
&lt;p&gt;
I could probably have managed to achieve clustering of my app&#039;s state but it would have involved rewriting portions of my code - it just wasn&#039;t designed for this sort of thing. I&#039;ve endured running out of heap space (why?!) and the JVM terminating whenever it doesn&#039;t like something (excusable?), messages instructing me that my loggers are being distributed (ah.) and even a cold-call offering professional services support (in response to a blog entry?!).
&lt;/p&gt;
&lt;p&gt;
Admittedly, Terracotta makes no claims that clustering should be bolted on post-hoc or taken on lightly; it simply provides a familiar programming paradigm for achieving it. While it&#039;s transparent to your Java code, it&#039;s not transparent to your Java development.
&lt;/p&gt;
&lt;p&gt;
I guess what I&#039;ve learned is that if you want distribution, you still need to think long and hard about it. The cost of implementation may be reduced by using something like Terracotta, but that doesn&#039;t mean you can leave the implementation to &#034;cheaper&#034; developers - the complexity of the problem remains.
&lt;/p&gt;
    </description>
    <author>Kevin Seal</author>
    <comments>http://www.codingthearchitecture.com/2007/03/15/qcon_open_terracotta.html#comments</comments>
    <guid isPermaLink="true">http://www.codingthearchitecture.com/2007/03/15/qcon_open_terracotta.html#comment1175596307564</guid>
    <pubDate>Tue, 03 Apr 2007 10:31:47 GMT</pubDate>
  </item>
  
  </channel>
</rss>
