Welcome! Log In Create A New Profile

Advanced

Re: Handle user uploads in static content server (newbie question)

April 11, 2010 11:12PM
> I believe that's what originally suggested.

Indeed Edho, i just expanded upon Arvind's idea to make sure I understand it.

> The alternative is beaming the file using ssh to static server's
> directory automatically on upload (using php functions, etc). Might
> cause slight delay and more complex setup though.

Yeah, NFS seems to be the winner.

If anyone is interested, I'll follow up the solution posted here:

http://www.linode.com/forums/viewtopic.php?t=4618

Cheers.


On Mon, Apr 12, 2010 at 1:00 PM, Edho P Arief <edhoprima@gmail.com> wrote:
> On Mon, Apr 12, 2010 at 9:52 AM, Leonardo Crespo <leo@leocrespo.com> wrote:
>>> 1) Shared filesystem between the two hosts to hold the static content
>>
>> I just found out that I can do that on linode. Thanks for bringing this idea up!
>>
>> Here's a solution:
>> Using NFS, mount on the Dynamic server the Static server's directory
>> for static files (/images /user-uploads etc). Have nginx on Dynamic
>> with proxy_pass to Static for all static content. All uploads go to
>> the mounted drive on Dynamic (which points to Static).
>>
>> Does that sound reasonable?
>>
>
> I believe that's what originally suggested.
>
> The alternative is beaming the file using ssh to static server's
> directory automatically on upload (using php functions, etc). Might
> cause slight delay and more complex setup though.
>
> --
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Handle user uploads in static content server (newbie question)

leocrespo April 11, 2010 09:02PM

Re: Handle user uploads in static content server (newbie question)

leocrespo April 11, 2010 09:54PM

Re: Handle user uploads in static content server (newbie question)

anomalizer April 11, 2010 10:22PM

Re: Handle user uploads in static content server (newbie question)

leocrespo April 11, 2010 10:36PM

Re: Handle user uploads in static content server (newbie question)

anomalizer April 12, 2010 01:12PM

Re: Handle user uploads in static content server (newbie question)

leocrespo April 11, 2010 10:56PM

Re: Handle user uploads in static content server (newbie question)

edogawaconan April 11, 2010 11:04PM

Re: Handle user uploads in static content server (newbie question)

leocrespo April 11, 2010 11:12PM

Re: Handle user uploads in static content server (newbie question)

leocrespo April 11, 2010 11:54PM

Re: Handle user uploads in static content server (newbie question)

anomalizer April 12, 2010 01:24PM

Re: Handle user uploads in static content server (newbie question)

leocrespo April 13, 2010 09:56PM

Re: Handle user uploads in static content server (newbie question)

Gabriel Evans April 11, 2010 10:22PM

Re: Handle user uploads in static content server (newbie question)

leocrespo April 11, 2010 10:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 188
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready