LOAD_BALANCE(3mp)

NAME
load_balance - Metaproxy Module balancing load among multiple identical Z39.50 targets

DESCRIPTION

This filter balances load among Z39.50 targets based on statistics gathered on number of open sessions and number of open package requests.

The load balancing is depending on targets to be specified (vhosts). Most Z39.50 clients do not specify that. For this reason, this filter is mostly used as a follower to filter virt_db.

SCHEMA

    # Metaproxy XML config file schemas
    #
    #   Copyright (C) Index Data
    #   See the LICENSE file for details.
    namespace mp = "http://indexdata.com/metaproxy"
    filter_load_balance =
      attribute type { "load_balance" },
      attribute id { xsd:NCName }?,
      attribute name { xsd:NCName }?

EXAMPLES

This configuration offers one database, Default, which is load-balanced between two backend servers.

        <filter type="virt_db"/>
          <database>Default</database>
          <target>host1:210/Default</target>
          <target>host2:210/Default</target>
        </filter>
        <filter type="load_balance"/>

SEE ALSO

virt_db(3mp)

COPYRIGHT

Copyright (C) 2005-2026 Index Data

AUTHORS

Index Data