[Opensymphony-oscache] Can I use multi cache instance instead of multi groups in cluster?
hgwnet <[email protected]> Thu, 14 Apr 2005 18:21:55 CDT
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Message-ID | <7286505.1113520945516.JavaMail.os-j2ee@opensymphony01.contegix.com> |
For high perfomance,I'd like to create a instance for every business category,for example ,I create thread instance for three purpose by following code: [code] GeneralCacheAdministrator cache1=new GeneralCacheAdministrator(); GeneralCacheAdministrator cache2=new GeneralCacheAdministrator(); GeneralCacheAdministrator cache3=new GeneralCacheAdministrator(); ... ... ... [/code] I wonder if above code could work well in cluster,because I see many LOG info caming from resin server as following: 1.clustersupport.AbstractBroadcastingListener - AbstractBroadcastingListener registered 2.325248 [UpHandler (NAKACK)] WARN pbcast.NAKACK - [sun:2261] discarded message from non-member sun:2216 3.6079 [DownHandler (UDP)] INFO protocols.UDP - unicast sockets will use interface 192.168.1.6 6179 [DownHandler (UDP)] INFO protocols.UDP - unicast sockets will use interface 192.168.1.6 6199 [DownHandler (UDP)] INFO protocols.UDP - unicast sockets will use interface 192.168.1.6 6199 [DownHandler (UDP)] INFO protocols.UDP - unicast sockets will use interface 192.168.1.6 6199 [DownHandler (UDP)] INFO protocols.UDP - unicast sockets will use interface 192.168.1.6 .... 4.GMS: address is sun:2543 ------------------------------------------------------- ------------------------------------------------------- GMS: address is sun:2557 ------------------------------------------------------- ------------------------------------------------------- GMS: address is sun:2558 53817 [UpHandler (NAKACK)] WARN pbcast.NAKACK - [sun:2483] discarded message from non-member sun:2433 .... ... I just test the cache,I don't konw if I have followed the right way. --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=1583&messageID=4863#4863