Agreed. But any process where file synch must occur must have provisions for bandwidth to support the load.<br><br>Realistically a better choice is to look at a distributed filesystem like GFS and it&#39;s cousins or block level processes like DRBD. But again it&#39;s going to eat up bandwidth.<br>
<br>That cron can be tuned to match a better &quot;near realtime&quot; definition. Once a file is dropped in bucket &quot;A&quot; how long really before it MUST be available to bucket &quot;B&quot; and what is the hard, real-time transfer latency between those two point? I&#39;ve done the cron thing with an rsync process on a 5 minute interval on a winders system to keep a group of users working files safe even with power failures. Total PiTA but I made it work (rsync on cygwin with a samba server backend over a 100Mb ethernet). This also works for keeping two, distant postgresql servers in hot sync by transporting WAL files between the two (or more) systems.<br>
<br><div class="gmail_quote">On Wed, Jan 27, 2010 at 4:43 PM, Richard Bronosky <span dir="ltr">&lt;<a href="mailto:Richard@bronosky.com">Richard@bronosky.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
1 minute cron on  a potentially IO or net bound process sounds flaky<br>
to me. Sure you can use a lock file scheme, but it just feels like<br>
your  working on iWheel 2.0<br>
<div><div></div><div class="h5"><br>
On Wed, Jan 27, 2010 at 4:40 PM, Jim Kinney &lt;<a href="mailto:jim.kinney@gmail.com">jim.kinney@gmail.com</a>&gt; wrote:<br>
&gt; cron job on a 1 minute interval does a specific find for mtime -1 and<br>
&gt; rsynchs those files over<br>
&gt;<br>
&gt; On Wed, Jan 27, 2010 at 3:42 PM, David Ritchie &lt;<a href="mailto:deritchie@gmail.com">deritchie@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; ALEers...<br>
&gt;&gt;<br>
&gt;&gt; Looking trying to synchronize two file systems on an ongoing basis<br>
&gt;&gt; (i.e. a distributed file system). Just curious<br>
&gt;&gt; about your thoughts about things like rsync vs. Unison  or other tools<br>
&gt;&gt; you have seen...  Need to have files migrate over<br>
&gt;&gt; semi realtime (i.e. I drop a file in a directory, it should auto<br>
&gt;&gt; magically appear on a local directory on the remote machine - and<br>
&gt;&gt; there could be both data files and executable transferred)... Thoughts?<br>
&gt;&gt;<br>
&gt;&gt; Best regards,<br>
&gt;&gt; Dave Ritchie<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Ale mailing list<br>
&gt;&gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
&gt;&gt; <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
&gt;&gt; See JOBS, ANNOUNCE and SCHOOLS lists at<br>
&gt;&gt; <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; --<br>
&gt; James P. Kinney III<br>
&gt; Actively in pursuit of Life, Liberty and Happiness<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Ale mailing list<br>
&gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
&gt; <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
&gt; See JOBS, ANNOUNCE and SCHOOLS lists at<br>
&gt; <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
</div></div>.!# RichardBronosky #!.<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br>Actively in pursuit of Life, Liberty and Happiness         <br><br>