Hi Guys,
I am having an object(Hashtable), if I make any change in the object it should reflect in all the instances in my clustering environment.
Is it possible to do with JNDI?.
Please clear my doubt.
thanks,bala
-
How to create Clusterable Object (6 messages)
- Posted by: Balaguru RajuNaidu
- Posted on: May 29 2003 12:49 EDT
Threaded Messages (6)
- Try This by Max Kington on May 29 2003 13:08 EDT
- How to create clusterable Object in Cluster Environment by Balaguru RajuNaidu on May 29 2003 13:17 EDT
- I can't believe you'd say that! by Cameron Purdy on May 29 2003 13:46 EDT
-
TCP/UDP multicaster by Puru Kk on May 29 2003 02:12 EDT
-
TCP/UDP multicaster by Max Kington on May 29 2003 04:33 EDT
- PGM by Cameron Purdy on May 29 2003 09:58 EDT
-
TCP/UDP multicaster by Max Kington on May 29 2003 04:33 EDT
-
TCP/UDP multicaster by Puru Kk on May 29 2003 02:12 EDT
-
Try This[ Go to top ]
- Posted by: Max Kington
- Posted on: May 29 2003 13:08 EDT
- in response to Balaguru RajuNaidu
Hi Bala,
There are clustering environments that do this, some that don't. The trick is spotting the change. It depends of your clustering environment just updates the data or replicates method calls over the network to remote objects.
I'm sure Cameron will enlighten you on one particular product ;-)
What are you using?
Regards,
Max -
How to create clusterable Object in Cluster Environment[ Go to top ]
- Posted by: Balaguru RajuNaidu
- Posted on: May 29 2003 13:17 EDT
- in response to Max Kington
Hi Max,
Right now I am using Weblogic Server 7.0.
I don't want to use any EJB's here.
thanks,bala -
I can't believe you'd say that![ Go to top ]
- Posted by: Cameron Purdy
- Posted on: May 29 2003 13:46 EDT
- in response to Max Kington
Max: "There are clustering environments that do this, some that don't. The trick is spotting the change. It depends of your clustering environment just updates the data or replicates method calls over the network to remote objects. I'm sure Cameron will enlighten you on one particular product ;-)"
Never. Not me. No siree. Just because he could use the clustered singleton pattern, or some form of JCache-based replicated cache ... well, I've probably already said too much ;-)
p.s. See sig below for a suggestion.
Peace,
Cameron Purdy
Tangosol, Inc.
Coherence: Easily share live data across a cluster! -
TCP/UDP multicaster[ Go to top ]
- Posted by: Puru Kk
- Posted on: May 29 2003 14:12 EDT
- in response to Cameron Purdy
You can use TCP/UDP multicasting to synchronize the hashtable.
Puru -
TCP/UDP multicaster[ Go to top ]
- Posted by: Max Kington
- Posted on: May 29 2003 16:33 EDT
- in response to Puru Kk
Yes, but,
a) unless you use Pragmatic General Multicast Whats PGM? you can't guaranteed packets wind up anywhere or that anything is in a consistant state.
b) You have to write these wrappers yourself, I did, Coherence (yes Cameron;-) was a bit quicker and they can very well re-write stuff to use PGM (other clever stuff) when it's in full swing, not I.
Regards,
Max
p.s. How would you implement a monitor to check data has changed? It's an interesting question once you delve into it, have a go :-) I found dynamic proxies useful. -
PGM[ Go to top ]
- Posted by: Cameron Purdy
- Posted on: May 29 2003 21:58 EDT
- in response to Max Kington
"Pragmatic General Multicast"? Did you know that it actually stands for "Pretty Good Multicast"? ;-)
Tangosol Coherence isn't bound to Multicast, and thus PGM isn't particularly applicable. Coherence uses Datagram Multicast when it has a compelling reason to, but generally sticks to unicast (the UDP protocol) if it can. That's a lot more scalable on a switched network. (Obviously, when it does replicated caching, it will often use multicast to communicate updates, since that is the most efficient approach with more than two nodes.)
Have you had a chance to try Coherence?
Peace,
Cameron Purdy
Tangosol, Inc.
Coherence: Easily share live data across a cluster!