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

Improve Jobs API concurrency #247

Closed
tuxdna opened this issue Feb 2, 2018 · 3 comments
Closed

Improve Jobs API concurrency #247

tuxdna opened this issue Feb 2, 2018 · 3 comments

Comments

@tuxdna
Copy link
Contributor

tuxdna commented Feb 2, 2018

We are currently encountering Gateway Timeouts when the Jobs API calls take very long time to process. This is already a known issue #164

Another issue that I realized is that the number of API workers are at present set to only 1. This causes other clients to wait until a request completes or fails. We can improve the concurrency of API workers to resolve this.

@fridex
Copy link
Contributor

fridex commented Feb 2, 2018

Another issue that I realized is that the number of API workers are at present set to only 1. This causes other clients to wait until a request completes or fails. We can improve the concurrency of API workers to resolve this.

BTW see https://github.com/fabric8-analytics/fabric8-analytics-jobs/blob/master/f8a-jobs.py#L109-L112

@tuxdna
Copy link
Contributor Author

tuxdna commented Feb 2, 2018

There are two options:

As @fridex mentioned above we also have to ensure that there is only one Jobs scheduler running in either case.

Interesting mix of constraints here :-)

@msrb
Copy link
Member

msrb commented Feb 12, 2018

This issue was moved to openshiftio/openshift.io#2220

@msrb msrb closed this as completed Feb 12, 2018
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