Skip to content

Use dedicated working directory for Geodiff actions#278

Merged
MarcelGeo merged 1 commit intodevelopfrom
geodiff_working_dir
Sep 16, 2024
Merged

Use dedicated working directory for Geodiff actions#278
MarcelGeo merged 1 commit intodevelopfrom
geodiff_working_dir

Conversation

@varmar05
Copy link
Collaborator

@varmar05 varmar05 commented Sep 5, 2024

This PR introduces dedicated working directory for geodiff actions. Necessary files are first copied from live directory and the result of the action is copied back where expected. All temporary files are cleaned afterwards. If copy fails, there is a fallback option to perform the action in current project directory.

The idea behind it is to have a possibility to use dedicated local volumes (with fast disks) for the manipulation with .gpkg files. There should be significant performance improvement comparing to live projects directory often being NFS.

Separation of working directory for files manipulation and storage for live files also opens a way to introduce different storage backend in the future (e.g. S3).

Note: There is no default clean up job for mounted volumes - this should be handled on deployment level.

Copy link
Collaborator

@MarcelGeo MarcelGeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just questions

@MarcelGeo MarcelGeo merged commit 5f64264 into develop Sep 16, 2024
@MarcelGeo MarcelGeo deleted the geodiff_working_dir branch September 16, 2024 07:29
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.

2 participants