Skip to content

Commit

Permalink
Update Fastrouter.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
unbit committed Feb 10, 2014
1 parent c2fda9f commit 79614bf
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions Fastrouter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,13 @@ Way 4: --fastrouter-subscription-server

This is probably one of the best way for massive auto-scaling hosting. It uses
the :doc:`subscription server <SubscriptionServer>` to allow instances to
announce themselves and subscribe to the fastrouter. By default, the
fastrouter subscription server can contain 30 key/value mappings. Increase this
with ``fastrouter-subscription-slot`` as necessary.
announce themselves and subscribe to the fastrouter.

.. code-block:: sh
uwsgi --fastrouter 127.0.0.1:3017 --fastrouter-subscription-server 192.168.0.100:7000 --fastrouter-subscription-slot 80
This will spawn a subscription server on address 192.168.0.100 port 7000 with
80 available slots.
uwsgi --fastrouter 127.0.0.1:3017 --fastrouter-subscription-server 192.168.0.100:7000
This will spawn a subscription server on address 192.168.0.100 port 7000

Now you can spawn your instances subscribing to the fastrouter:

Expand Down

0 comments on commit 79614bf

Please sign in to comment.