using the upstream_hash_module and handling changes when adding new servers

jackdempsey nginx-forum at nginx.us
Tue Apr 7 21:54:35 MSD 2009


mike Wrote:
-------------------------------------------------------
> On Tue, Apr 7, 2009 at 9:17 AM, Larry Bates 
> 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.

Thanks guys, interesting. I thought of something along these lines with DragonFly BSD and their HAMMER filesystem. Will play around and see what I find. Appreciate it!

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,884,888#msg-888






More information about the nginx mailing list