crossroads

Git mirror of https://crossroads.e-tunity.com/
git clone git://git.finwo.net/app/crossroads
Log | Files | Refs

weight.yo (800B)


      1 conf(weight - When a back end is more equal than others)
      2     (To influence how backends are selected, a backend can specify its
      3     'weight' in the process. The higher the weight, the less likely a
      4     back end will be chosen. The default is 1.
      5 
      6      The weighing mechanism only applies to the dispatch modes
      7      tt(random), tt(byconnections), tt(bysize) and tt(byduration). 
      8      The weight is in fact a penalty factor. E.g., if backend A has
      9      tt(weight 2) and backend B has tt(weight 1), then backend B will
     10      be selected all the time, until its usage parameter is twice as
     11      large as the parameter of A. Think of it as a 'sluggishness'
     12      statement.)
     13     (tt(weight) em(number); the higher the number, the more 'sluggish'
     14      a back end is)
     15     (1; all back ends have equal weight.)