Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better documentation #40

Open
turicas opened this issue Feb 25, 2013 · 2 comments
Open

Better documentation #40

turicas opened this issue Feb 25, 2013 · 2 comments

Comments

@turicas
Copy link
Contributor

turicas commented Feb 25, 2013

Things to add includes:

  • Better information about how pypelinin works (like a diagram showing roles for daemons)
  • Step-by-step installation and deployment tutorial
@turicas
Copy link
Contributor Author

turicas commented Feb 27, 2013

A diagram helps a lot understanding the architecture.

We can use this DOT file:

digraph "pypelinin architecture" {
    ranksep="1.5";
    ratio="expand";
    "Pipeliner" [style="filled", fillcolor="yellow"];
    "Broker #2" [style="filled", fillcolor="green"];
    "Worker #2-1" [style="filled", fillcolor="red"];
    "Worker #2-M" [style="filled", fillcolor="red"];
    "Broker #P" [style="filled", fillcolor="green"];
    "Worker #P-1" [style="filled", fillcolor="red"];
    "Worker #P-Q" [style="filled", fillcolor="red"];
    "Router" [style="filled", fillcolor="blue"];
    "Broker #1" [style="filled", fillcolor="green"];
    "Worker #1-1" [style="filled", fillcolor="red"];
    "Worker #1-2" [style="filled", fillcolor="red"];
    "Worker #1-N" [style="filled", fillcolor="red"];

    "Router" -> "Broker #1";
    "Broker #1" -> "Router"
    "Router" -> "Broker #2";
    "Broker #2" -> "Router"
    "Router" -> "Broker #P";
    "Broker #P" -> "Router"
    "Router" -> "Pipeliner";
    "Pipeliner" -> "Router";

    "Broker #2" -> "Worker #2-1";
    "Broker #2" -> "Worker #2-M";
    "Worker #2-1" -> "Broker #2";
    "Worker #2-M" -> "Broker #2";

    "Broker #P" -> "Worker #P-1";
    "Broker #P" -> "Worker #P-Q";
    "Worker #P-1" -> "Broker #P";
    "Worker #P-Q" -> "Broker #P";

    "Broker #1" -> "Worker #1-1";
    "Broker #1" -> "Worker #1-2";
    "Broker #1" -> "Worker #1-N";
    "Worker #1-1" -> "Broker #1";
    "Worker #1-2" -> "Broker #1";
    "Worker #1-N" -> "Broker #1";
}

To create PNG from DOT:

twopi -Tpng -opypelinin.png pypelinin.dot

Result:

pypelinin

@andrebco
Copy link
Contributor

andrebco commented Mar 8, 2013

Related to #2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants