Skip to content

PPM: when replica is set > 1, initial package request is very slow #534

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

Closed
lachlansimpson opened this issue Jul 17, 2024 · 1 comment
Closed
Labels

Comments

@lachlansimpson
Copy link

From internal ZD ticket 107580:

Our PPM is installed by Helm Helm version 0.5.29
And installed on GCP GKE cluster.

We found that package installation is slow when user try to download a package at the first time.

For each request we make to ppm, it takes more than 2 mins for response, so we even need to increase the IDE timeout time for downloading.

For example: Test with Terraform installation in Python. It has about 30 dependencies of pkgs, so it cost 45 mins for first download.

At the first time even though IDE is timeout but PPM still working background. So the second time we download it will be fast in seconds.

We found that when we set the GKE values replica to 3, the slow request happends. If we adjust the number to 1. The slow request won't happen.

So we suspect that is a NFS timeout issue that on the documentation.
https://docs.posit.co/rspm/admin/ha/#nfs

But after we set the client mount lookupcache to pos. The pods start to crash with some error logs. It's attached with pics.

We want to solve the slow request and set the replica to 3 for HA. Please help us find out the reason and solve the issue, thanks.

@bdeitte bdeitte added the rspm label May 7, 2025
@bdeitte
Copy link
Contributor

bdeitte commented May 7, 2025

This appears like this was an issue with that release and not with the helm chart. Given the time elapsed here, I'm going to close this out.

@bdeitte bdeitte closed this as completed May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants