A question about ShardingStrategy

Igor Khomenko
Added almost 4 years ago

Hi Tigase team,

I have a question about how ACS MUC works and also about ShardingStrategy.

Lets say we have 2 Tigase nodes with next settings:


--cluster-mode = true

Then lets say we have 2 MUC rooms.

According to this guide each Tigase node will load 1 room from 2 and will service it.

The most interested part is the next.

When a user logins to Tigase he will be connected to one of the nodes.

Then there are 2 scenarios:

If a user would like to join room1 - his request will be processed by current node where he is connected

And if a user would like to join room2 - then his request will be forwarded to Tigase node2

Is that a correct way how all this works?

Replies (1)


Added by Artur Hefczyc TigaseTeam almost 4 years ago

Yes, this is more or less how it works. However, the request forwarding is done within the clustered MUC component and is completely transparent to the user and the client software.