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

View folders realtime #75

Closed
qdraw opened this issue Jun 27, 2020 · 4 comments · Fixed by #145, #161, #154, #150 or #163
Closed

View folders realtime #75

qdraw opened this issue Jun 27, 2020 · 4 comments · Fixed by #145, #161, #154, #150 or #163
Labels
enhancement New feature or request

Comments

@qdraw
Copy link
Owner

qdraw commented Jun 27, 2020

Is your feature request related to a problem? Please describe.

To update the database when files are changed out-of-the-box supported

Describe the solution you'd like
To find out that folders are updated realtime

Describe alternatives you've considered
https://stackoverflow.com/questions/32494481/fast-way-to-check-if-a-large-set-of-file-pairs-are-identical

It's going to be a tradeoff between speed and reliability. You want to try the fastet method first, then go to something more precise. Here is the algorithm followed by fdupes:

compare file sizes
=> if different, then action (in your case, copy)
compare MD5 signatures
=> if different, copy
compare byte-by-byte
=> if different, copy
else do nothing

Preparing this answer, I just learned that fdupes now add an intermediate step with partial MD5:

http://en.wikipedia.org/wiki/Fdupes

Additional context
n/a

@qdraw qdraw added the enhancement New feature or request label Jun 27, 2020
@qdraw qdraw linked a pull request Sep 27, 2020 that will close this issue
20 tasks
@qdraw
Copy link
Owner Author

qdraw commented Sep 27, 2020

PR #145 is only for sending sockets, excluded is client side handeling and disk scanning

@qdraw qdraw reopened this Sep 27, 2020
@qdraw
Copy link
Owner Author

qdraw commented Oct 16, 2020

#161 change localtunnel to support websockets ++ make socket client work to include missing Model ++ add comment with statuscode in middleware

@qdraw
Copy link
Owner Author

qdraw commented Oct 16, 2020

#154 Add the backend learnings from feature/202009_sockets
#150 (Added) Front-end Update view when other clients are updating content

@qdraw
Copy link
Owner Author

qdraw commented Nov 13, 2020

#163 add backend services for sync & file watcher

@qdraw qdraw linked a pull request Nov 13, 2020 that will close this issue
18 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment