Skip to content
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

Optimize network IO #15

Closed
ZacWalk opened this issue Dec 31, 2020 · 1 comment
Closed

Optimize network IO #15

ZacWalk opened this issue Dec 31, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ZacWalk
Copy link
Contributor

ZacWalk commented Dec 31, 2020

Users report Network drives and NAS storage can be slow. Couple of optimizations I can think of:

  • Switched from memory-mapped files to normal file IO. This seems faster on networks in my tests.
  • Locating any temporary files used during the update process on the same network drive. Diffractor normally creates a temporary updated copy of a photo and then replaces the original with it. Currently, the copy is created in the temp folder – but that is slow if the temp folder is on a different drive to the updated file.
@ZacWalk ZacWalk changed the title Faster network IO Optimize network IO Dec 31, 2020
@ZacWalk ZacWalk self-assigned this Dec 31, 2020
@ZacWalk ZacWalk added the enhancement New feature or request label Dec 31, 2020
@ZacWalk ZacWalk added this to the 123.0 milestone Dec 31, 2020
@ZacWalk
Copy link
Contributor Author

ZacWalk commented Apr 19, 2021

Implemented in v123 Beta.

@ZacWalk ZacWalk modified the milestones: 123.0, 124.1 Jan 22, 2022
@ZacWalk ZacWalk closed this as completed Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant