Giter Club home page Giter Club logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
Or even at a minimum if it is possible to group at a parent level. So if I were 
to "touch" a file at /var/www it would know that rsync -r would include the 
files mentioned above.

Original comment by [email protected] on 20 Jul 2010 at 10:07

from lsyncd.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
I doubt calling rsyncd recursively on a parent directory is more efficent than 
calling it in -d mode for the 2 subdirectories events happened. rsync also does 
nothing magically different than working this 2 directories through after each 
other AND then having to do look through even more subdirs, which isn't 
necessary.

%r is for startup only when the whole directory tree is synced to the target.

Original comment by [email protected] on 20 Jul 2010 at 10:55

  • Added labels: Type-Other
  • Removed labels: Type-Defect

from lsyncd.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
I don't have any hard evidence that it is slower than a normal rsync with -r 
but I would guess that it could send incremental changes in one fail swoop 
instead of sending incremental changes per directory. Meaning, it's not asking 
the client node for a difference list for every directory which has a change. 
More is processed on each node before attempting to rsync.

I am working with many thousands of directories, something like 15400 are in 
inotify's watch list.

On a side note is -d required in callopts?

I am using -lptgoD%r for callopts. Is it possible that the -t is what is 
slowing things down?

Original comment by [email protected] on 20 Jul 2010 at 11:06

from lsyncd.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
I have to see evidence that asking for a difference list of hugh tree is in any 
way more efficient than asking two times for a difference list for 2 specific 
directories.

The man page explains options:
"%r will be replaced with 'r' when rsycnd is supposed to work recursive (on 
startup of lsyncd) or 'd' on normal operations."

15400 seems to be on the lower end what people told me already they are using 
it for ;-) There are limits due to the technologies used, it just takes a 
while. If you can make it faster, please show me the code and the test cases 
for it, if they are coded well I will gladly add them to the repository.

Original comment by [email protected] on 20 Jul 2010 at 11:42

from lsyncd.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024

Original comment by [email protected] on 21 Jul 2010 at 7:18

  • Changed state: Done

from lsyncd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.