-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Past Release sites are taking long time to load #3525
Comments
Hi @yashcho thanks for raising this issue, I can reproduce the issue, looking into it. |
First investigation:
|
|
|
Operations notes for the infra-team: Preliminaries:
Operations:
Checks:
|
|
Let's see the result |
The performances seems ok for the |
@dduportal, Even for me it is the case what do you suggest? |
I'm not sure to understand, what is the exact problem you are having? It is true that he page https://get.jenkins.io/war/ is slow, but we do not see HTTP/5XX errors on it. Do you still see errors are are you blocked by the "slow" response time of this page? If you are block, can you describe what you are trying to achieve (as we could provide alternative and way more efficient solutions). We are working on this matter but it is not the top priority as nothing seems blocked or broken: happy to reevaluate with more details |
Yes, basically I am trying to access the URL and fetch the list of versions from table programmatically. So the test cases are failing due to slow response to fetch the table details. |
In that case, you might be interested by checking the artifactory metadatas. We have an example here, in shell script, which checks for the 2 past LTS releases: https://github.com/jenkinsci/docker/blob/master/.ci/publish.sh#L85-L89 and the 2 past weekly releases: https://github.com/jenkinsci/docker/blob/ca53c743e9e83db0cd235723e6689cd1490e1d13/.ci/publish.sh#L79-L83 The URL https://repo.jenkins-ci.org/releases/org/jenkins-ci/main/jenkins-war/maven-metadata.xml should be considered as the source of truth AND it's XML so it's made for programamtic access (while an HTML dynamically generated page is made for humans) |
Do you have similar pattern using golang codebase instead of shell script? |
No, that way out of our scope. Do not hesitate to propose a contribution if you find or build something. |
Sure.. |
Hello @yashcho , do you still have the problem or can we close this issue? |
This seems far quicker now since #3917 Plugins list is still slow-ish but does load eventually: |
Off-topic & low priority: should an index be generated like jenkinsci/packaging#159 to avoid Apache having to render this particular folder list? |
Yes, far quicker, but still take a bit of time. At least we are not reaching timeout. Wasn't able to switch to NFS PVC (failed to some timeout in CSI driver when trying to reach server: need to be dig up) though.
I believe it is totally on the topic here as it could properly solve the problem here: generated files would be mirrored and spread across the world. And even if served by the HTTPD fallback (or achives), still better than today! cc @MarkEWaite as he mentionned this possibility a few weeks earlier. |
Service(s)
get.jenkins.io
Summary
Below two links from page (https://www.jenkins.io/download/) are taking more than 30 seconds to load and show the table with list of old versions. Can you please look into it?
https://get.jenkins.io/war/
https://get.jenkins.io/war-stable/
Reproduction steps
The text was updated successfully, but these errors were encountered: