-
-
Notifications
You must be signed in to change notification settings - Fork 652
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
Local caching for ExecuteProcess #6898
Comments
I'd recommend we do this by:
|
Two thoughts:
|
I'm thinking of replacing any uses of |
That sounds kind of the opposite of what I described above? What I was imagining was that we'd internally cache process executions inside the lmdb store (so that people who call processes don't know whether they hit a cache or not, it's opaque), and then v1 rules could call |
That makes sense, and I appreciate taking the time to describe it. I wasn't thinking super clearly about why we would need things on disk in the first place (was still thinking in v1 mode). I will look into implementing the above. Thanks again. |
Warming up to the |
I'm a bit unclear on the high level of when we would use pantsd vs. when we would use this new local caching? For example, what is the use case for running without |
In (most) CI environments, we don't expect that
All runs would take advantage of this cache, with or without pantsd. |
Fixed by @illicitonion in #8040 and #7911. Hooray! |
Currently the only cache for
ExecuteProcess
exists in the remoting API, and we have so far biased toward assuming thatpantsd
will be up in order to avoid re-invoking local processes in situations where remoting is not available.The text was updated successfully, but these errors were encountered: