Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

Clustering and Pubsub

$
0
0

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

 



Viewing all articles
Browse latest Browse all 10742

Trending Articles