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

[L] Investigation: trouble with updates with large number of builds and slow to add packages #3059

Closed
juhp opened this issue Mar 12, 2019 · 12 comments
Assignees
Labels
High priority These issues are higher priority than normal reliability Issues pertaining to Bodhi's reliability

Comments

@juhp
Copy link

juhp commented Mar 12, 2019

Current Fedora bodhi seems having serious problems accepting large updates with many packages.

  • The web UI stays on the Create or Edit page after clicking Update or Save.
  • The cli times out with a large package set (several hundred packages for example)
  • Adding bunches of packages (my workaround since I can't create a mega-update in one go) seems to happen "async" - takes some minutes after pressing Save on an update edit.
  • Seems like I have to Save twice when adding sets of packages...

This seems problematic and makes Bodhi look unreliable unfortunately.

@juhp juhp changed the title having trouble with updates with large number of builds and slow to add packages trouble with updates with large number of builds and slow to add packages Mar 12, 2019
@juhp
Copy link
Author

juhp commented Mar 12, 2019

Maybe the worst thing is that often web ui error messages are not shown: for example mistakenly I was trying to adding some builds again to an update and there was no feedback/error/warning shown - maybe it timeout because it takes too long??

@bowlofeggs bowlofeggs added High priority These issues are higher priority than normal reliability Issues pertaining to Bodhi's reliability labels Mar 12, 2019
@bowlofeggs
Copy link
Contributor

There are a few different issues here:

Let's use this ticket to track that last problem. We have plans to add a task working system to bodhi in #2851. If we had that, we could split a lot of this work out into a background task to avoid server timeouts. This would make the create form much more responsive, and we could do the rest of the work on the backend.

@bowlofeggs
Copy link
Contributor

#3061 may help with this as well.

@bowlofeggs
Copy link
Contributor

One more that might help: #3062

@juhp
Copy link
Author

juhp commented Mar 15, 2019

I don't think #3061 is soo bad since creating an update with like 100 builds doesn't take that long, bicbw...

@AdamWill
Copy link
Contributor

I've just run into this while doing the rebuilds for Meson 0.50.0. Constructing the list of builds to put in the update is quite painstaking so I've been editing in groups of five or six at a time so I don't lose a ton of work if something goes wrong with any one batch, but as the update gets bigger, each edit operation seems to get harder and harder to get to work. I'm just hitting the button over and over and refreshing the update page in another tab to see what's happening at this point. It's very awkward.

@cverna
Copy link
Contributor

cverna commented Apr 17, 2019

Scope

We need to get a better understanding of why updates with a large number are slow. Let's use this ticket to investigate and find possible solution.

@bowlofeggs bowlofeggs changed the title trouble with updates with large number of builds and slow to add packages [L] Investigation: trouble with updates with large number of builds and slow to add packages Apr 25, 2019
@bowlofeggs bowlofeggs self-assigned this Apr 30, 2019
@bowlofeggs
Copy link
Contributor

This may also help with this: #3204

@bowlofeggs
Copy link
Contributor

#3201 is planned for inclusion in the upcoming 4.0.0 release: #3221. That should help a little bit with this issue, but I do not yet consider the issue solved so we'll keep it open.

@bowlofeggs
Copy link
Contributor

@bowlofeggs bowlofeggs removed their assignment Jun 17, 2019
@cverna cverna self-assigned this Aug 1, 2019
@cverna
Copy link
Contributor

cverna commented Aug 2, 2019

#3448 should improve the situation. Doing a local test with creating an update of 103 builds it took 26 seconds before the change and 5seconds with the refactoring.
I ll keep looking for possible performance improvement.

@AdamWill
Copy link
Contributor

AdamWill commented Aug 2, 2019

Nice! I'll keep an eye on it next time I need to interact with a gigantic update.

@cverna cverna closed this as completed Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High priority These issues are higher priority than normal reliability Issues pertaining to Bodhi's reliability
Projects
None yet
Development

No branches or pull requests

4 participants