A hardware question

mike mike503 at gmail.com
Wed Apr 30 13:09:40 MSD 2008


On 4/30/08, Manlio Perillo <manlio_perillo at libero.it> wrote:

> I think that the better solution is to extend the nginx upstream module so
> that the list of backend servers (address, port and weight) can be obtained
> at request runtime, and not only at configuration time.

How would you implement this so it doesn't require interaction with an
application to do key lookup?

MogileFS stores the files in
http://mogstored-server:7501/dev1/0/000/000/0000000005.fid

Something has to get what the user's typed in to the mogstored format

> This means that a module should only implement the logic to obtain the
> backends list, and all the work can be done by Nginx.
>
> However this assumes that on every backend, the URI to the file is the same
> (but this should not be a problem, if Nginx is on each node).

I believe it's the same with mogile.





More information about the nginx mailing list