Skip to content

POC: Global Cache #6100

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

POC: Global Cache #6100

wants to merge 1 commit into from

Conversation

jorgee
Copy link
Contributor

@jorgee jorgee commented May 19, 2025

This PR is a test to validate the possibility of a global cache to share the task caching between executions. This is forcing to have the same cloud-cache, working dir and sessionId for a defined global-cache.It is able to detect when same task is executed by different workflows without using the resume option.

-with-globalcache=<cloud_path> parameter overwrites cloud cache path with <cloud_path>/.nf-global-cache and the working dir with <cloud_path>/work and creates a SessionId hashing the global cache path. This option implies -resume.

I tested the concurrent execution of tasks in two different workflow and it is detecting if it is the same and generating a new hash. When executing a third workflow with the same task after the execution of the task it detects that is cached and do not run the task again.

…, and create a sessionId hashing the global cache URL

Signed-off-by: jorgee <[email protected]>
Copy link

netlify bot commented May 19, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit c9cea71
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/682af7659dde3b0008b707b9

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

Successfully merging this pull request may close these issues.

1 participant