using the upstream_hash_module and handling changes when adding new servers

Cliff Wells cliff at develix.com
Tue Apr 7 21:59:23 MSD 2009


On Tue, 2009-04-07 at 10:18 -0700, Michael Shadle wrote:
> On Tue, Apr 7, 2009 at 9:17 AM, Larry Bates <larry.bates at vitalesafe.com> wrote:
> > I do something like this but solved it a completely different way.  I put
> > storage behind the balanced servers and shared it among them using NFS.  That
> > way every server sees a consistent set of files.  Otherwise users get "nailed"
> > to a server and that sort of defeats the purpose of load balancing.  Hope this
> > helps.
> >
> > -Larry
> 
> yeah this is probably the traditional way, i do it this way as well.
> 
> nfs can be annoying though; i would suggest using freebsd, netapp or a
> solaris based server instance if possible. nfs on linux is notoriously
> weak.

I'd suggest looking into one of the clustered filesystems such as GFS or
Lustre, although that might be more difficult to deploy on an existing
infrastructure.

Regards,
Cliff







More information about the nginx mailing list