Welcome! Log In Create A New Profile

Advanced

Re: nginx mogilefs module 1.0.1

Valery Kholodkov
April 16, 2009 12:34PM
----- "Michael Shadle" <mike503@gmail.com> wrote:

> There should be no need for multiple $mogilefs_path's as the tracker
> supplies the locations that nginx should be proxying to...
>
> However, failover to a non-mogilefs source does make sense. in this
> case it would be something like this I think:
>
> error_page 502 503 504 = /maintenance.html;
>
> Or something of that nature?
>
> Remember, mogilefs already has its own intelligence built in for
> redundancy. All nginx has to do is take the list of mogstoreds
> (storage nodes that listen over http for basic webdav commands, which
> can be use nginx for that too :)) and try them in either a) the order
> given, b) opposite order or c) random order - the choice should come
> from the feedback from dormando or someone knowledgable with the
> mogilefs code. I am not sure if the tracker arbitrarily gives a list
> of URLs or if there is any context behind it.

Regardless of the fact, that tracker returns path to the host with least load, it would be worth to try secondary locations, since there could some network configuration or routing issue suddenly appear.

However, sysads must be punished for network configurations, where a situation can appear such as tracker can contact storage nodes and frontends not.

Ideally, every frontend node must have a clone of distributed fs repo, which it can contact locally. I don't know whether mogile can do this.

--
Regards,
Valery Kholodkov
Subject Author Posted

nginx mogilefs module 1.0.1

Valery Kholodkov April 16, 2009 06:39AM

Re: nginx mogilefs module 1.0.1

Maxim Dounin April 16, 2009 08:21AM

Re: nginx mogilefs module 1.0.1

Valery Kholodkov April 16, 2009 08:49AM

Re: nginx mogilefs module 1.0.1

Maxim Dounin April 16, 2009 09:19AM

Re: nginx mogilefs module 1.0.1

Valery Kholodkov April 16, 2009 09:38AM

Re: nginx mogilefs module 1.0.1

Maxim Dounin April 16, 2009 10:31AM

Re: nginx mogilefs module 1.0.1

Valery Kholodkov April 16, 2009 10:45AM

Re: nginx mogilefs module 1.0.1

mike April 16, 2009 12:05PM

Re: nginx mogilefs module 1.0.1

mike April 16, 2009 12:09PM

Re: nginx mogilefs module 1.0.1

Valery Kholodkov April 16, 2009 12:34PM

Re: nginx mogilefs module 1.0.1

mike April 16, 2009 12:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 204
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