On Sun, Feb 21, 2010 at 3:01 PM, imrank <imran...@gmail.com> wrote: > Hasan, the approach you described is one that I was also considering to keep > things consistent across tomcat instances (btw, there is no modifications > occurring to existing files). I was considering using an approach whereby > after a file is uploaded by a user, I run rsysnc to synchronize across the > nodes. However my concern with this approach is that there will be a some > delay before the file is available on other nodes (files can be up to couple > 100MBs in size).
Only you know if that's a problem. Does it *need* to be immediately available? When I upload something to youtube, I get a message that it's being processed and isn't immediately available -- and that's OK. Patience is a virtue (sometimes)! That said, how long does it take to transfer a couple-hundred-mb file across a local hardwired ethernet (or fiber) connection? It might not be worth worrying about, until you have to :-) -- Hassan Schroeder ------------------------ hassan.schroe...@gmail.com twitter: @hassan --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org