1 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
2 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
3 <!ENTITY copyright SYSTEM "copyright.xml">
4 <!ENTITY % idcommon SYSTEM "common/common.ent">
7 <refentry id="ref-load_balance">
9 <productname>Metaproxy</productname>
10 <info><orgname>Index Data</orgname></info>
14 <refentrytitle>load_balance</refentrytitle>
15 <manvolnum>3mp</manvolnum>
16 <refmiscinfo class="manual">Metaproxy Module</refmiscinfo>
20 <refname>load_balance</refname>
21 <refpurpose>Metaproxy Module balancing load among multiple identical
22 Z39.50 targets</refpurpose>
25 <refsect1><title>DESCRIPTION</title>
27 This filter balances load among Z39.50 targets based on statistics
28 gathered on number of open sessions and number of open package requests.
31 The load balancing is depending on targets to be specified (vhosts).
32 Most Z39.50 clients do not specify that. For this reason, this
33 filter is mostly used as a follower to filter virt_db.
37 <refsect1><title>SCHEMA</title>
38 <literallayout><xi:include
39 xi:href="../xml/schema/filter_load_balance.rnc"
41 xmlns:xi="http://www.w3.org/2001/XInclude" />
45 <refsect1><title>EXAMPLES</title>
47 This configuration offers one database, <literal>Default</literal>,
48 which is load-balanced between two backend servers.
50 <filter type="virt_db"/>
51 <database>Default</database>
52 <target>host1:210/Default</target>
53 <target>host2:210/Default</target>
55 <filter type="load_balance"/>
62 <refsect1><title>SEE ALSO</title>
65 <refentrytitle>virt_db</refentrytitle>
66 <manvolnum>3mp</manvolnum>
74 <!-- Keep this comment at the end of the file