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

Queues and projects #9

Open
sashabaranov opened this issue Nov 3, 2017 · 2 comments
Open

Queues and projects #9

sashabaranov opened this issue Nov 3, 2017 · 2 comments
Assignees

Comments

@sashabaranov
Copy link
Contributor

It makes sense to introduce two new entities: queues and projects, both of which should be present in DB.

Each queue should have

  • Name
  • Scheduling policy - i.e. FIFO/balance between projects/something else

job.kind should be changed to job.queue — just a string, referencing foreign key in db.

Each project should have

  • Name
  • Any scheduling characteristics — number of jobs allocated or cputime allocated to project.

I'm guessing we can get away without CRUD for queues/projects for now, however rpc for getting length of queue might be useful.

@andreiSaw
Copy link
Contributor

protobuf: policy= enum

@andreiSaw
Copy link
Contributor

is it ok ? @sashabaranov
screen shot 2017-11-28 at 19 08 58

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

2 participants