Hello,

I know this question is a bit off-topic, but I can't resist to ask
directly where all the cluster-specialists are ;)

Are there special (best would be open-source) frameworks for
in-cluster communication?
I have to make a large servlet-based solution cluster-ready and it
seems to be really hard because:

- There are shared resources which are accessed the way
if(resource.getState) -> resource.setState(). For now these areas
where protected by a synchronized-block locking on a SingleTon. To
solve this problem I would need something lock a distributed locking
framework or something like that.

- Shared data. There is lots of data shared between sessions living in
Singletons too - imagine a global, shared sketchboard where everybody
can draw to. The software uses a "clever" mechanism which lets request
wait for e.g. 10s and respond event-driven if something changes

For now I solved the locking-problem with simply implementing a
backery-locking-algorythmn reading/writing to a database - however the
overhead is terrible of course.
The only software I found was JGroups, however because it uses
Multicasting its kind of hard to configure (not really suited or
out-of-box readyness). Are there other maybe simpler frameworks which
are also designed to solve the above issues?

Sorry again for generating traffic and thanks a lot for Tomcat6 - the
NIO connectors are wonderful :-)

lg Clemens

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to