:orphan:

.. _section_example_fastrocs_shapedatabaseproxy:

Shape Database Proxy
--------------------

.. code-block::

   ShapeDatabaseProxy.py <server 1> <server 2> ... <server n> [portnumber=8080]

Start a server to tie multiple remote ShapeDatabaseServers together
to appear as a single server. This is useful since there is no change
in client code to migrate from a single server to multiple servers
since the XMLRPC interface is exactly the same.

The ShapeDatabaseProxy is sufficiently performant that it does not
need its own dedicated node. It is perfectly acceptable to run it on
the same server as one of the ShapeDatabaseServers.

.. only:: oehtml

   .. admonition:: Download code

         :download:`ShapeDatabaseProxy.py <../../../../../wrappers/python/examples/fastrocs/ShapeDatabaseProxy.py>`

      .. :ref:`Full listing. <listing-ShapeDatabaseProxy.py>`

      .. literalinclude:: ../../../../../wrappers/python/examples/fastrocs/ShapeDatabaseProxy.py


.. only:: oepdf

   .. oe:source:: ShapeDatabaseProxy.py 
      :language: python

