Archive for the ‘Terracotta’ Category

Playing around Terracotta

Wednesday, July 4th, 2007

Click this logo to return to the home page

Installed Terracotta (windows version) in two PCs of a local area network. For single machine, just launch a demo multiple times to see it work, for two machines, it seemed need to change the configure file by hand, I changed the tc-config.xml files inside each demo’s directory in one PC(remain another unchanged) and the launch them, they worked fine exactly as what they run in one computer. There is some latency in different computer, the network traffic seemed not too much for those simple tests.

Tomorrow I will try a much bigger test to deploy a *BIG* web project I am working on to see how easy it a web app can be deployed on Terracotta and at least see if it work correctly.

During I evaluate Terracotta, I began remember last year I ever ask one member in one of my project team to evaluate Terracotta (because I do remember the screen of that shared image editor!) but at last he suggest not to use it, I didn’t do the evaluation myself, so just let it be forgotten. I will try to search inside my email to see if I could find that report and find out why we gave it up. Also I wish Terracotta have been improved a lot during this year.

From their blog, it seemed really sexy:

Tomcat’s build in session replication performance was poor as we tested. In my last project, we didn’t use session replication and use a “share nothing” approach which store key information in a cookie.

I also saw some solution(in Chinese) to use memcached as a centralized session store, which also seemed to be very promissing.

Popularity: 9% [?]

Terracotta: unbelievable cool stuff!

Tuesday, July 3rd, 2007

Click this logo to return to the home page

Just found this cool stuff — Terracotta. An open source software provide distributed scalability and availability to JVM. This is from their home page, I guess all Java guys who ever dream to have a nice scalable solution will happy to dead when they see those and if it could possibly done in easy steps:

A great blog post Amazon Web Services (EC2 & S3) - The Future of Data Centre Computing? Part 2 have shown how to install Terracotta in Amazon EC2 and make a scalable tomcat cluster, and in it’s comment I found something even more interesting:

More details on EHCache support are here - http://www.terracotta.org/confluence/display/integrations/EHCache

Also, OSCache has been clustered by us for a long time, but we have never had any effort to wrap it up into a Config Module ala EHCache. A forum user had success with OSCache (and describes how to get it working) here - http://forums.terracotta.org/forums/posts/list/197.page

Distributed OSCache is what I cried for years! It’s unbelievable that those guys are doing all of those nice stuff and completely open source!

I will spend some time on it and do some test by myself.  Wish this stuff will really work!!!

Popularity: 13% [?]

Close
E-mail It
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License.