25 messages in ru.sysoev.nginxRe: A hardware question
FromSent OnAttachments
mikeApr 27, 2008 12:36 am 
Dave CheneyApr 27, 2008 1:21 am 
mikeApr 27, 2008 1:58 am 
Dave CheneyApr 27, 2008 2:11 am 
mikeApr 27, 2008 1:34 pm 
Janko HauserApr 27, 2008 1:44 pm 
Igor SysoevApr 27, 2008 9:34 pm 
mikeApr 27, 2008 10:52 pm 
Igor SysoevApr 27, 2008 11:05 pm 
Chavelle VincentApr 28, 2008 3:16 am 
Igor SysoevApr 28, 2008 7:10 am 
mikeApr 28, 2008 11:45 am 
kinglerApr 28, 2008 12:03 pm 
mikeApr 28, 2008 12:26 pm 
Ezra ZygmuntowiczApr 29, 2008 3:11 pm 
mikeApr 29, 2008 4:55 pm 
mikeApr 29, 2008 7:25 pm 
mikeApr 29, 2008 9:11 pm 
Manlio PerilloApr 30, 2008 1:11 am 
mikeApr 30, 2008 2:09 am 
Manlio PerilloMay 1, 2008 2:47 am 
mikeMay 1, 2008 8:17 am 
mikeMay 1, 2008 3:11 pm 
Eden LiMay 1, 2008 6:31 pm 
mikeMay 1, 2008 7:03 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: A hardware questionActions...
From:mike (mike@public.gmane.org)
Date:Apr 30, 2008 2:09:17 am
List:ru.sysoev.nginx

On 4/30/08, Manlio Perillo
<manlio_perillo-VGgt2q2+T+FeoW@public.gmane.org> 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.