We've set <userCountChangeUpdateInterval>5000</userCountChangeUpdateInterval> for a specific zone to help reduce bandwidth consumption. However, we are still seeing SFSEvent.USER_COUNT_CHANGE events being fired in real time. We've tried changing that setting from 1000 to 10000 and nothing ever seems to work. We've also tried this setting on 3 different servers to no avail. All of our servers are running SFS2X 2.10.0. We have not tried to test this on 2.9.2.
What are we missing to get UserCountChange throttling to work? Right now, our bottleneck is bandwidth and we are seeing a lot of USER_COUNT_CHANGE events in realtime. For our game, we can have a bit of a delay on user_count_change events and would prefer to have those aggregated and sent less frequently as well. This should help our bandwidth consumption quite a bit.
UserCountChangeUpdateInterval not working
Re: UserCountChangeUpdateInterval not working
Hi,
I am sorry, I can't reproduce the problem.
Setting the userCountChangeUpdateInterval parameter to 20 000 does indeed add a long delay to the USER_COUNT_UPDATE event on the client side. Additionally all the events happening between two long updates are "compressed" to a single update.
The experiment to see this in action is super easy:
- Configure the throttler to a high value (such as 20 000)
- Log in with one client (User A)
- Log a second client in (User B)
- Join B in a Room
- Wait to see the update coming
As expected the USER_COUNT_UPDATE does not arrive in real time. Similarly if you disconnect User B, the other client will see the count change much later.
cheers
I am sorry, I can't reproduce the problem.
Setting the userCountChangeUpdateInterval parameter to 20 000 does indeed add a long delay to the USER_COUNT_UPDATE event on the client side. Additionally all the events happening between two long updates are "compressed" to a single update.
The experiment to see this in action is super easy:
- Configure the throttler to a high value (such as 20 000)
- Log in with one client (User A)
- Log a second client in (User B)
- Join B in a Room
- Wait to see the update coming
As expected the USER_COUNT_UPDATE does not arrive in real time. Similarly if you disconnect User B, the other client will see the count change much later.
cheers
Re: UserCountChangeUpdateInterval not working
Hi -
Thanks for the response. The way you are testing is exactly how we are testing. We are seeing realtime even when set to a very high value such as 30000. What else could we be missing?
Thanks for the response. The way you are testing is exactly how we are testing. We are seeing realtime even when set to a very high value such as 30000. What else could we be missing?
Re: UserCountChangeUpdateInterval not working
Hi -
Sorry - I know what's wrong. Our mistake. We were programmatically setting the zone's userCountChangeUpdateInterval which would cause it to ignore the XML setting.
Sorry - I know what's wrong. Our mistake. We were programmatically setting the zone's userCountChangeUpdateInterval which would cause it to ignore the XML setting.
Who is online
Users browsing this forum: No registered users and 66 guests