@Mars
For QOS purpose, I had few questions...
Are there some per ip-specific measurements?
How to make global variable apply to only 1 ip?
something like these:?
connections_this_ip
active_downloads_this_ip
set or get #^flag_this_ip
Some templates have extra features (such as thumbnails) that are not good in high-load conditions. It is good to make a bypass macro to temporarily streamline the template (without extras) to lighten the load. If global measure is used for traffic shaping, then 1 miscreant affects everyone (this is anti-QOS); so, for QOS function, it may be better if feature-bypass macro targeted the specific overdoing IP address.
I don't know; but, if the per-ip measures are available, then I could test it.