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

Clustered running of dataflows #33

Open
behrad opened this issue Sep 29, 2013 · 0 comments
Open

Clustered running of dataflows #33

behrad opened this issue Sep 29, 2013 · 0 comments

Comments

@behrad
Copy link
Contributor

behrad commented Sep 29, 2013

I am running multiple processes of dataflows, e.g.
dataflows daemon core
dataflows daemon redis-events
dataflows daemon listeners2
But I can not define how much of each initiator to run in each command, since we use initiator types in daemons.
for this to happen:

  1. Can we add multiple etc/project files in dataflow? (e.g. dataflows project2 daemon test)

OR

  1. is it easier to change the project json definition so that I can use the same initiators in multiple daemons? something like this:
"daemon": {
        "test": {
            "initiator": [ "cluster1" ]
        },
        "test2": {
            "initiator": [ "cluster2"]
        }
}

"initiator":{
    "cluster1": {
        "type": "http",
        "workflows":[
            {1}, {2}, {3}
    ]},
    "cluster2": {
        "type": "http",
        "workflows":[
            {4}, {5}, {6}
    ]}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant