AnsweredAssumed Answered

Clustering and Pubsub

Question asked by kyl on Mar 20, 2013
Latest reply on Jun 4, 2013 by philcero

I try to use Hazelcast Clustering Plugin 1.0.4 to have 2 openfire 3.8.1 with one Database Oracle.

 

To do the loadbalancing I've got haproxy

 

When I try to publish (SMACK API function) items leafnode, half time my user don't receive the notification.

 

With some parameter the user can receive all the publication or nothing.

 

IP Configuration:

 

case1 _ server1 with default port 5222

 

case2 _ server2 with default port 5222

 

case3 _ server1 with port 52220 for the loadbalancing (haproxy)

 

 

publisher (case3)  - recipient (case3)  => 1 / 2 receive

publisher (case1)  - recipient (case3)  => all receive

publisher (case1)  - recipient (case1)  => all receive

publisher (case2 )  - recipient (case1)  => KO

publisher (case2 )  - recipient (case1)  => KO

publisher (case3)  - recipient (case2)  => 1 / 2 receive

 

If you have  a idea to help me

 

ps : sorry for the very bad english

 


Outcomes