improve realtime sync
- Posts: 6
- Joined: 10 Dec 2018
I set the realtime sync, but every time files chenged FFS will scan all folders and files, this will last a long time and make the system very slow.
- Posts: 4056
- Joined: 11 Jun 2019
Separate your sync into smaller sync jobs and RTS configurations.
- Posts: 6
- Joined: 10 Dec 2018
not good idea. that'll be lots of smaller sync jobs.
- Posts: 6
- Joined: 10 Dec 2018
Can't FFS just watch files changed and only sync those files changed instead of scan all folders and all files?
- Posts: 2451
- Joined: 22 Aug 2012
> not good idea.
I beg to differ. See here and here why.
But, it is up to you. You can choose a level of granularity that suits your needs.
> Can't FFS just watch files changed and only sync those files changed instead of scan all folders and all files?
Read the RTS Manual section.
Because of the RTS idle time (= waiting for no further changes) and RTS being suspended while executing its command line (normally: running FFS) you would miss changes that need to be synced.
Nevertheless, as the author recognizes, there are opportunities for RTS improvements.
I beg to differ. See here and here why.
But, it is up to you. You can choose a level of granularity that suits your needs.
> Can't FFS just watch files changed and only sync those files changed instead of scan all folders and all files?
Read the RTS Manual section.
Because of the RTS idle time (= waiting for no further changes) and RTS being suspended while executing its command line (normally: running FFS) you would miss changes that need to be synced.
Nevertheless, as the author recognizes, there are opportunities for RTS improvements.
- Posts: 4056
- Joined: 11 Jun 2019
A lot of smaller "modules" is actually better for troubleshooting and stability. One issue can't cause a cascade of symptoms. Sure, implementation becomes more time-consuming, but that pales in comparison to trying to figure out an issue when there are a lot of variables involved. As Plerry said, tailor to your needs, as there is a point where splitting gets excessive/redundant, but the way monitoring works doesn't detect file changes, just folder changes. FFS is what determines just the files that need synced, but it does that by comparing. When you tell RTS to run a config with a bunch of pairs it will do exactly that.