Explorar o código

dispatcher: doc description for relative weight distribution added

Savolainen Dmitri %!s(int64=10) %!d(string=hai) anos
pai
achega
bd2feeae89
Modificáronse 1 ficheiros con 24 adicións e 0 borrados
  1. 24 0
      modules/dispatcher/doc/dispatcher_admin.xml

+ 24 - 0
modules/dispatcher/doc/dispatcher_admin.xml

@@ -915,6 +915,24 @@ modparam("dispatcher", "force_dst", 1)
 				requests as it is the only SIP method creating a SIP call.
 				requests as it is the only SIP method creating a SIP call.
 				</para>
 				</para>
 			</listitem>
 			</listitem>
+			<listitem>
+				<para>
+				<quote>11</quote> - use relative weight based load distribution.
+				You have to set the attribute 'rweight' per each address in
+				destination set. Active host usage probability is 
+				rweight/(SUM of all active host rweights in destination group). 
+				</para>
+				<para>
+				The major difference from the weight distribution is the
+				probability recalculation according to rweight value in case of 
+				host enabling/disabling
+				</para>
+				<para>
+				For example, 100 calls in 3-hosts group with rweight params 1/2/1  
+				will be distributed as 25/50/25. After third host failing 
+				distribution will be changed to 33/67/0.
+				</para>
+			</listitem>
 			<listitem>
 			<listitem>
 				<para>
 				<para>
 				<quote>X</quote> - if the algorithm is not implemented, the
 				<quote>X</quote> - if the algorithm is not implemented, the
@@ -1449,6 +1467,12 @@ onreply_route {
 					100. The value represents the percent of calls to be
 					100. The value represents the percent of calls to be
 					sent to that gateways.
 					sent to that gateways.
 				</listitem>
 				</listitem>
+				<listitem>
+					'rweight' - used for relative weight based load 
+					distribution. It must be set to a positive integer value 
+					between 1 and 100 (otherwise host will be excluded from 
+					relative weight distribution type). 
+				</listitem>
 				<listitem>
 				<listitem>
 					'socket' - used to set the sending socket for the gateway.
 					'socket' - used to set the sending socket for the gateway.
 					It is used for sending the SIP traffic as well as
 					It is used for sending the SIP traffic as well as