Traffic Control

You can customize the traffic going between clustered servers with a few options.

cm-ht-traffic-throttling

This setting will control the number of bytes sent over non-user connections. Namely, Server to Server or S2S connections.

--cm-ht-traffic-throttling=xmpp:25k:0:disc,bin:200m:0:disc

The format is as follows: {traffic-type}:{maximum-traffic}:{max-lifespan-traffic}:{action} - traffic-type Specifies the type of traffic controlled. This can either be XMPP or bin. XMPP limits the number of packets transferred, whereas bin limits the number of bytes transferred. - maximum-traffic Specifies how many bytes or packets may be sent within one minute. - max-lifespan-traffic Specifies how many bytes or packets may be sent within the lifetime of the connection. 0 means unlimited. - action Specifies the action to be taken which can be disc which disconnects the connection, or drop which will drop any data exceeding the thresholds.

cm-see-other-host

This allows the specific use of a load balancing mechanism by selecting SeeOtherHostIfc implementation. For more details, see Tigase Load Balancing documentation.