On Thu, 2008-09-18 at 23:31 +0200, André Warnier wrote:
> Martin Spinassi wrote:
> [...]
>
> Martin,
>
> I re-read the thread from the beginning, and as I understand it you have
> - clients that upload files, most of then images
> - clients that download these same images
> - and you would like
Martin Spinassi wrote:
[...]
Martin,
I re-read the thread from the beginning, and as I understand it you have
- clients that upload files, most of then images
- clients that download these same images
- and you would like a system that handles this and duplicates the
images to 2 or more "sync
--- On Wed, 9/17/08, Hassan Schroeder <[EMAIL PROTECTED]> wrote:
> From: Hassan Schroeder <[EMAIL PROTECTED]>
> Subject: Re: Balance and sync data
> To: "Tomcat Users List"
> Date: Wednesday, September 17, 2008, 6:13 PM
> On Wed, Sep 17, 2008 at 2:57 PM, Ch
On Thu, 2008-09-18 at 08:34 -0700, Hassan Schroeder wrote:
> On Thu, Sep 18, 2008 at 7:47 AM, Christopher Schultz
> <[EMAIL PROTECTED]> wrote:
>
> > I suppose it depends on the frequency of image uploads. 100 images a day
> > wouldn't be too bad. 100 images per minute would seriously suck.
>
> Tr
On Thu, Sep 18, 2008 at 7:47 AM, Christopher Schultz
<[EMAIL PROTECTED]> wrote:
> I suppose it depends on the frequency of image uploads. 100 images a day
> wouldn't be too bad. 100 images per minute would seriously suck.
True, I was envisioning a relatively low-frequency operation, for
no partic
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hassan,
Hassan Schroeder wrote:
> On Wed, Sep 17, 2008 at 2:57 PM, Christopher Schultz
> <[EMAIL PROTECTED]> wrote:
>
>>> Why not have your upload servlet invoke rsync when a new file has
>>> been stored?
>> You're not seriously suggesting that as a
On Wed, Sep 17, 2008 at 2:57 PM, Christopher Schultz
<[EMAIL PROTECTED]> wrote:
>> Why not have your upload servlet invoke rsync when a new file has
>> been stored?
>
> You're not seriously suggesting that as a viable production strategy,
> are you?
[ IM IN UR DURECTRY COPYNG UR IMAGES ]
Sure
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hassan,
Hassan Schroeder wrote:
> On Tue, Sep 16, 2008 at 6:38 AM, Martin Spinassi
> <[EMAIL PROTECTED]> wrote:
>
>> I don't know yet, I didn't try it yet, I was waiting to see if there is
>> a better solution than rsync them every minute.
>
> Why n
On Tue, 2008-09-16 at 17:59 -0400, Paul McGurn wrote:
> If you're expecting the size of your image store to grow, or better yet, grow
> rapidly, you'd be best served to consider a strategy either with
> mod_proxy/mod_rewrite, or better yet, looking into a CDN (content delivery
> network) to host
ame-or-sub-domain-to-amazon-s3/
Paul McGurn
-Original Message-
From: Martin Spinassi [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 16, 2008 5:53 PM
To: users@tomcat.apache.org
Subject: Re: Balance and sync data
On Tue, 2008-09-16 at 22:20 +0200, André Warnier wrote:
[...]
> The ques
On Tue, 2008-09-16 at 22:20 +0200, André Warnier wrote:
[...]
> The question I've been holding back since your initial post, is why
> exactly you do want to load-balance similar requests to 2 Tomcats ?
>
> Just an idea :
>
> If it is because you have a) "image stuff" and b) "non-image stuff", a
Martin Spinassi wrote:
On Tue, 2008-09-16 at 08:56 -0700, Hassan Schroeder wrote:
On Tue, Sep 16, 2008 at 8:17 AM, Martin Spinassi
<[EMAIL PROTECTED]> wrote:
Why not have your upload servlet invoke rsync when a new file has
been stored?
Can you give me some more details or where to get some m
On Tue, 2008-09-16 at 08:56 -0700, Hassan Schroeder wrote:
> On Tue, Sep 16, 2008 at 8:17 AM, Martin Spinassi
> <[EMAIL PROTECTED]> wrote:
>
> >> Why not have your upload servlet invoke rsync when a new file has
> >> been stored?
>
> > Can you give me some more details or where to get some more i
On Tue, Sep 16, 2008 at 8:17 AM, Martin Spinassi
<[EMAIL PROTECTED]> wrote:
>> Why not have your upload servlet invoke rsync when a new file has
>> been stored?
> Can you give me some more details or where to get some more info?
Runtime.exec("/usr/bin/rsync") -- though you may want to instead
i
On Tue, 2008-09-16 at 07:37 -0700, Hassan Schroeder wrote:
> On Tue, Sep 16, 2008 at 6:38 AM, Martin Spinassi
> <[EMAIL PROTECTED]> wrote:
>
> > I don't know yet, I didn't try it yet, I was waiting to see if there is
> > a better solution than rsync them every minute.
>
> Why not have your upload
On Tue, Sep 16, 2008 at 6:38 AM, Martin Spinassi
<[EMAIL PROTECTED]> wrote:
> I don't know yet, I didn't try it yet, I was waiting to see if there is
> a better solution than rsync them every minute.
Why not have your upload servlet invoke rsync when a new file has
been stored?
--
Hassan Schroe
16 matches
Mail list logo