[Csync2] what is for and not for

Thomas -Balu- Walter list+csync2 at b-a-l-u.de
Wed May 23 16:48:22 CEST 2012


Hi everyone,

Am 23.05.12 15:39, schrieb Łukasz Wąsikowski:
 > W dniu 2012-05-23 15:27, lejeczek pisze:
 >
 >> I wonder, is csync2 right solution for data trees comprising of several
 >> thousands of files?
 >> if not do you know when, at what limits, one may begin to misuse csync2?
 >
 > $ sqlite /var/lib/csync2/`hostname`.db
 > SQLite version 2.8.16
 > Enter ".help" for instructions
 > sqlite>  select count(*) from file;
 > 57882
 > sqlite>
 >
 > Works like a charm. Problems (too long synchronization times for my
 > needs) starts above 200k files.

sqlite> select count(*) from file;
266797

We sync a mix of files (html, php, images, flash, movies) to two 
destination hosts about every minute. If one sync takes longer than this 
minute, the next one will just skip.

# time csync2 -x

real	0m12.914s
user	0m7.016s
sys	0m5.168s

The CMS helps by marking files as dirty after it changed them.

Greetings from Germany,
      Balu


More information about the Csync2 mailing list