Hi,
Is the 'exception' to the 5 minute PING interval rule discussed here still OK to use or is the 5 minute rule strictly enforced nowadays?
Just want to check before I do something potentially stupid .
/N
UDP API - PING interval
Moderator: AniDB
Just follow the documentation:
Aka, ping seldom enough that you don't send more than 1 packet every 30 seconds over an extended amount of time. If that's every 2 minutes, have at it!http://wiki.anidb.info/w/UDP_API_Defini ... ng_Command
Flood Protection
To prevent high server load the UDP API server enforces a strict flood protection policy.
Short Term:
A Client MUST NOT send more than 0.5 packets per second.
The server will start to enforce the limit after the first 5 packets have been recieved.
Long Term:
A Client MUST NOT send more than one packet every 30 seconds over an extended amount of time.
An extended amount of time is not defined. Use common sense.
-
- Posts: 8
- Joined: Mon Sep 12, 2005 5:37 pm
Thanks PetriW! That's good news.
I think the documentation is a bit contradicting though; the last paragraph before 'Flood Protection' ends with:
I think the documentation is a bit contradicting though; the last paragraph before 'Flood Protection' ends with:
/NPlease do not send pings more often then once every 5 minutes and only on connections via NAT routers or if the user has explicitly enabled regular keepalive pings via a configuration setting (default setting should be OFF).