nextcloud / nextcloud/notify_push
Slow client sync on large library
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 344
- Forks
- 64
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 5
Description
Not sure if this is a Client issue, or an issue with notify_push
I assume that when a file is modified, in server, it notifies the windows client to download that file
"Hey Windows Client! File ABC was just created or modified, please sync it"
I have a storage library with over 200.000 files, and the windows client is really slow to sync these updates.
I believe that instead of just update the "ABC" file, it is checking for changes on all library before update it.
It takes a long time in "Syncing changes" and "Checking folder changes" , which makes syncing really slow.
Assume that you modified 10 files in sequence.
The windows client will receive 10 push notifications and will check for changes in file library 10 times.
The push notification isn't supposed to notify only about what changed?
Should it not just sync the "ABC" file directly?
The issue happens both ways.
If you rename a virtual file on explorer, it takes a long time before you be able to open the file.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the delay with a large library and tracing how notify_push handles successive Windows client notifications. Compare the "Syncing changes" and "Checking folder changes" behavior for individual updates and renames. Done means changed or renamed files sync without redundant full-library checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100