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

Support running a chain of services #11

Open
qiuwei opened this issue Aug 29, 2016 · 4 comments
Open

Support running a chain of services #11

qiuwei opened this issue Aug 29, 2016 · 4 comments
Milestone

Comments

@qiuwei
Copy link
Member

qiuwei commented Aug 29, 2016

Data retrieval and storage can be then implemented as one service in the chain.
This also provides great flexibility for other usecases.

The chains can use named docker volumes as the media for data exchange.

@qiuwei
Copy link
Member Author

qiuwei commented Oct 4, 2016

A chain is defined as an ordered sequence of jobs.
A job is defined as a container has two volumes bound, one for input, the other for output.

@qiuwei
Copy link
Member Author

qiuwei commented Oct 5, 2016

What is a workflow?
A graph consists of jobs?(do we have any restrictions on the structure of the graph? linear?)

What is a job?
a Job is a container with volumes bound. Only one volume is allowed for output.(Should it be 1-to-1 map? probably yes)
But should we allow multiple volumes for input?(probably yes)
Are volumes allowed to bind to arbitrary paths inside the container? (probably yes)
Are input volumes read-only? (yes!)
Should we allow reading and writing to a single volume at the same time? (probably not)

@emanueldima
Copy link
Member

I agree that it makes sense to do this, but we also must implement something fast. So supporting a chain should not be a priority for immediate development (until February'17).

@qiuwei
Copy link
Member Author

qiuwei commented Oct 6, 2016

Yes, you are right.

But workflow is essential to make data retrieval work.
Anyway, a workflow is just an ordered sequence of jobs.

@arajapak arajapak modified the milestone: backlog Jun 28, 2017
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

3 participants