Hi,
Can I set the extension send request limit for user on SmartFoxServer system?
In our app, user can send plenty of extension request with mouse autoclick program and cpu increases suddenly.
What should we do to prevent request flood?
Thanks
Extension request limit
Re: Extension request limit
Hi,
the first line of "defense" is from client side, by adding a "cooldown" so that the client does not react on every mouse click. For example a 50-100ms cooldown could help, depending on the speed/message-rate of the game itself.
You could also implement the cooldown from server-side, with the same system, but the former solution also avoids the client to actually waste bandwidth.
Cheers
the first line of "defense" is from client side, by adding a "cooldown" so that the client does not react on every mouse click. For example a 50-100ms cooldown could help, depending on the speed/message-rate of the game itself.
You could also implement the cooldown from server-side, with the same system, but the former solution also avoids the client to actually waste bandwidth.
Cheers
Who is online
Users browsing this forum: No registered users and 60 guests