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

Replacing SubmitJob with SubmitJobs #224

Merged
merged 11 commits into from Nov 5, 2019
Merged

Replacing SubmitJob with SubmitJobs #224

merged 11 commits into from Nov 5, 2019

Conversation

JamesMurkin
Copy link
Contributor

Currently we have an endpoint SubmitJob

However this is very inefficient when submitting many jobs (which we expect to be common for this application)
Also many API calls (one for each SubmitJob) can cause load balancers to throttle connections to the server.

I have replaced SubmitJob with SubmitJobs, so you can submit many jobs in a single call

  • All jobs must belong to the same queue/jobsetid, as specified in the JobSubmitRequest struct)

I have updated client code to use the new SubmitJobs endpoint

Currently we have an endpoint SubmitJob

However this is very inefficient when submitting many jobs (which we expect to be common for this application)
Also many API calls (one for each SubmitJob) can cause load balancers to throttle connections to the server.

I have replaced SubmitJob with SubmitJobs, so you can submit many jobs in a single call
 - All jobs must belong to the same queue/jobsetid, as specified in the JobSubmitRequest struct)
…properly

It is expected this function returns items in the same order it receives them.
This is to make the testdata files match the new submit file format
@JamesMurkin
Copy link
Contributor Author

JamesMurkin commented Nov 5, 2019

Fixes #161

@JamesMurkin JamesMurkin merged commit b94615e into master Nov 5, 2019
@JamesMurkin JamesMurkin deleted the bulk-submit branch November 5, 2019 12:03
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

Successfully merging this pull request may close these issues.

None yet

2 participants