Clint Fenton opened 10 years ago
|
|
Clint, I think you do not need to modify the code to reduce or avoid excessive presence traffic. Tigase with ACS offers such an option out of the box. Wojciech will provide details on this. Wojciech, please make sure this option is documented somewhere and provide a link to the documentation. |
|
Clint, a couple of comments:
|
|
Hi, I've used your newly documented configuration parameters to get the MUC component to suppress presence broadcasting as desired. Thanks for that! I have also followed your instructions to clone latest source code for the MUC component. I am able to build a MUC component JAR with the source you referred to in your original answer but continue to get the error below when I try to use it in our environment running "tigase.muc.cluster.ClusteredRoomStrategyV2"
This JAR will work fine with the default clustering mode. Furthermore, our "tigase.muc.cluster.ClusteredRoomStrategyV2" setup works perfectly with the JAR that is contained in your distribution. So it doesn't seem like the code you have in master for MUC is the same as what you are distributing bundled with the server? Or maybe I am doing something wrong? Or maybe there is some other way we can get to where we are trying to go? What we are trying to do is remove or disable the "delayed" data from MUC room messages. The iOS library we are using doesn't like them and frankly we don't need them. So maybe there is a way to suppress those via configuration? Any help you can offer would be tremendously appreciated. Thanks, Clint On 5/7/15 5:48 PM, support@tigase.org wrote: |
|
From your stacktrace:
it looks like you are still trying to build latest master/development sources (in the stable branch |
|
Wojciech, Thank you for pointing out my silly mistake. Once I downloaded the @stable branch of the MUC code, I was able to successfully build and deploy with the changes we wanted and it all worked! Thanks for your responsiveness, Clint |
Type |
Bug
|
Priority |
Normal
|
Assignee | |
RedmineID |
3044
|
Hi, I am running tigase-server-7.0.1-b3810 and am trying to implement ClusteredRoomStrategyV2.
I have enabled this configuration with success on a 2 instance cluster that I am experimenting with. I have 2 clients that connect, one to each of the different instances in the cluster. I am able to create and share a MUC room and it appears that everything is working as desired.
Where I run into trouble is when I try to deploy some modifications we've made to the MUC component. Basically, we've replaced the default presence code with the implementation in PresenceModuleNoBroadcast.java. We've done this because we want to suppress the distribution of presence messages in order to reduce our network traffic and reduce client processing requirements when running massive single rooms with many users connected. The modified JAR we've been using was working fine with the default clustering. I understand that I can't necessarily expect these modifications to work with the advanced clustering.
However, I think i may actually not be using the right codebase or something because when I deploy a JAR I have built from the unmodified MUC source we're using, I am also getting bad results. I would expect to get good results from a JAR built out of unmodified source. If I revert back to the MUC jar that was bundled with the server, it all works as expected. The errors I am getting from both the modified and the unmodified JAR look something like this:
2015-05-07 22:53:57.056 [in_2-conference] ThreadExceptionHandler.uncaughtException() SEVERE: Uncaught thread: "in_2-conference" exception
Right now, as a basic starting point, I would like to be able to build a JAR from unmodified source that will work with our clustered version of the tigase server. Then I can try the mods and see if those work.
Can you direct me to the MUC source code that should play nicely with our version of the server running as described? I'd love to be able to build a JAR from source that works like the one that was bundled with the server so that I can be certain whether the changes we would like to make are the problem.