0

ZK Clustering

asked 2010-01-05 20:55:40 +0800

Phileas gravatar image Phileas
171 3

There are great clustering stuff out there which could have great value for ZK but before making some propositions, we first have to look at the ZK capabilities in this area so i go to ZK cluster documentation http://docs.zkoss.org/wiki/Cluster and in fact there are only titles in there !!!

What did i miss ? :)
Is it in current redaction ? :)

At the end, we have two guides :
http://www.zkoss.org/smalltalks/clusteringI/clusteringI.dsp
http://www.zkoss.org/smalltalks/clusteringII/clusteringII.dsp

delete flag offensive retag edit

21 Replies

Sort by » oldest newest

answered 2010-01-06 16:58:42 +0800

Phileas gravatar image Phileas
171 3

By the way, we have in these pages ZK node clustering with only one apache, what is possible with multiple apache ?

link publish delete flag offensive edit

answered 2010-01-07 01:58:15 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

Hi,

After read the two smalltalks, you should be able to establish a cluster environment with ZK,
But with multiple apache environment I think you should ask apache forum or google it instead.

link publish delete flag offensive edit

answered 2010-01-07 10:41:30 +0800

Phileas gravatar image Phileas
171 3

So it's really ZK clustering, not web application clustering as if apache goes down, all is down...
Except if my idea is wrong but if we have an integration between ZK and Terracotta middleware, that is a ZK TIM (Terracotta integration module), then that should gives us ZK web application clustering.

Terracotta people are open to collaboration with other project owners to work hand in hand so i'm pretty sure they would be glad of ZK responsible interest by proposing the ZK added value into their product.
On a position point of view, it would be a winner/winner relation in terms of added value for both community and each product popularity.

link publish delete flag offensive edit

answered 2010-01-07 15:52:25 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2010-01-07 15:56:53 +0800

Yes, i agree with Phileas. For a longer time i have read several texts about the terracota framework. It works completely others than the 'normal' way.
I'm sure the ZK team will have a look on it after the mainly work on ZK5 is finished. It's an interesting piece for the EE version of zk.

Stephan

There's a book of it: Apress 2008 - The Definitive Guide to Terracotta Cluster the JVM™ for Spring, Hibernate, and POJO Scalability
Ui, Is that the eBook there in my folder?

link publish delete flag offensive edit

answered 2010-01-08 04:28:07 +0800

tmillsclare gravatar image tmillsclare
799 2 5 30

Hey everyone,

We are open to collaboration with Terracotta and are currently trying to initiate dialogue with their team!

link publish delete flag offensive edit

answered 2010-01-08 13:30:46 +0800

Phileas gravatar image Phileas
171 3

Hello Terrytornado, tmillsclare,

@Terry : i've just been told that except for the very first chapters on general informations, the book is already outdated and the new updated one will be out in the very soon future.

@Tmill : Do you mean you work in the ZK Team ? or will you join it by your efforts ?

link publish delete flag offensive edit

answered 2010-01-12 19:56:52 +0800

PeterKuo gravatar image PeterKuo
481 2

@Phileas: tmillsclare works in the ZK Team :P

link publish delete flag offensive edit

answered 2010-01-28 17:40:46 +0800

Phileas gravatar image Phileas
171 3

Thanks PeterKuo,

As mentioned on the Tomcat forum thread : If for any reasons, that relationship or whatever does not work as desired, there are also complete free alternatives :

- Hazelcast http://www.hazelcast.com/product.jsp
- Shoal https://shoal.dev.java.net/

link publish delete flag offensive edit

answered 2010-01-29 09:18:24 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

@Phileas

Many many thanks for these addresses. Interessting stuff.

link publish delete flag offensive edit

answered 2010-01-29 16:14:37 +0800

Phileas gravatar image Phileas
171 3

updated 2010-01-29 17:11:05 +0800

Thanks for the kind words terrytornado,

Now, if ZK team continues its interest into Terracotta (or by side effect some alternatives), here are some potential others resources bringing their added value :
Jonas Bonér worked at Terracotta and is the founder of Akka (http://akkasource.org/) for which Scala language is used (the well known concise and elegant language over the JVM which smoothly integrates features of object-oriented and functional languages). Akka, on its side relates to writing correct concurrent, fault-tolerant and scalable applications essentially by using the Actor Model together with Software Transactional Memory .

Enough marketing :) , what is interesting is the work of Jonas about "Clustering Scala Actors with Terracotta" (presentation here http://jonasboner.com/2008/01/25/clustering-scala-actors-with-terracotta/).
My second level of my interest into Akka (http://akkasource.org/) is the "simplicity" approach of the whole subject Akka is made for, along with excellent modules we can plug like Shoal i've just listed above and NOSQL approach when the subject comes to scalable performance and flexible data model (Cassandra key-value db, MongoDB document based or soon Neo4j graph db ... or even the Terracotta Store which is also document based).

Great goals, simplicity and performance are things i like to think about when the question comes to mix ZK with "companion products" :), that's why i would suggest to consider it as an alternative way to answer objectives Terracotta and these others products (which are in the Akka "culture") address. It seems Akka team worked "less" on the web presentation integration by supporting "only" the Lift framework, thinking here ZK would perfectly suit the place it could have with Akka, something like one turbo bullet, several prizes :)

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2010-01-05 20:55:40 +0800

Seen: 2,126 times

Last updated: Jul 28 '10

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More