Closed davidemarrone closed 1 year ago
Let me start with clarifying one thing:
what is the class to use for the default strategy to use in development?
You can use ACS in development without issue (there is "demo" licence in that case)
Second problem is that currently the class for default strategy is tigase.cluster.strategy.DefaultClusteringStrategy
!
Thirdly:
There was a bug in one of .toString()
methods (ref: server-1356) that actually made default strategy to fail.
Second problem is that currently the class for default strategy is
tigase.cluster.strategy.DefaultClusteringStrategy
!
thank you, my fault
Thirdly: There was a bug in one of
.toString()
methods (ref: server-1356) that actually made default strategy to fail.
so this means that is better to not use the DefaultClusteringStrategy with the 8.2.2 ? (also if we do not use pubsub?)
so this means that is better to not use the DefaultClusteringStrategy with the 8.2.2 ? (also if we do not use pubsub?)
Correct.
In general DefaultClusteringStrategy
is not the best solution. For smaller deployments you can simply use single node, for bigger deployments it's better to use ACS.
What's more, MUC and Pubsub don't support clustering with DefaultClusteringStrategy
.
ok thanks
I have a problem using in the configuration the value
strategy (class: tigase.server.cluster.strategy.DefaultClusteringStrategy) {}
that was valid for tigase 8.1.x, during start up of tigase 8.2.2 I get this error and then all the dependencies fails to start up
If instead if I use
strategy (class: tigase.server.cluster.strategy.OnlineUsersCachingStrategy) {}
the startup does not give errors:
what is the class to use for the default strategy to use in development?
Details :