-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
07d3b82
commit 2af96d0
Showing
12 changed files
with
138 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div> | ||
<h3>Feedback</h3> | ||
<ul> | ||
<li>Join the <a href="https://mail.mozilla.org/listinfo/services-dev">Services Dev Mailing List</a></li> | ||
</ul> | ||
</div> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Architecture | ||
------------ | ||
|
||
.. image:: images/circus-architecture.png | ||
:align: center | ||
|
||
|
||
|
||
- Each program to run is called a **Show** | ||
- Each show can run with a certain amount of **Flies** | ||
- A **Fly** spawns a independant process | ||
- A **Trainer** is responsible to run all the **Shows** and make sure all the | ||
flies behave corectly | ||
- A **Controller** is a set of actions to perform on the trainer. | ||
- The **Client** communicates via ZMQ with the **Controller** to interact | ||
with the system. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.. _cli: | ||
|
||
circusctl command line | ||
---------------------- | ||
|
||
XXX | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Configuration | ||
------------- | ||
|
||
Circus can be configured to run with a ini-style file. | ||
|
||
Example:: | ||
|
||
[circus] | ||
check_delay = 5 | ||
endpoint = tcp://127.0.0.1:5555 | ||
|
||
[show:myprogram] | ||
cmd = python | ||
args = -u myprogram.py $WID | ||
warmup_delay = 0 | ||
num_flies = 5 | ||
|
||
|
||
XXX put all options here |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.. _installation: | ||
|
||
Installing Circus | ||
----------------- | ||
|
||
To test it run the following command: | ||
|
||
$ cd examples && circusd circus.ini | ||
|
||
It should launch 5 workers. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.. _library: | ||
|
||
Circus Library | ||
-------------- | ||
|
||
XXX |