Welcome! Log In Create A New Profile

Advanced

using the upstream_hash_module and handling changes when adding new servers

April 07, 2009 11:44AM
Hi all,

I'm looking to use the hash module to split out many files across several servers. I've done some testing, and can confirm the obvious fact that when you add a new server, some of the files that used to be found at server1 are now looked for at the new server. One way to handle this would be to copy all of the files from all servers to the new server. I'd like to avoid this though, and only have files on the boxes where they're needed.

So, I've looked at the module a bit in the hopes of extracting the logic and basically allowing myself to say for a file named "foo.html", the hash module will direct me to serverX. Has anyone does this before? I would imagine this would be useful to others as well. Going to jump back into the code and trace through it some more; if anyone has experience in this area, I'd be curious to see how you handled things.

Thanks much,
Jack
Subject Author Posted

using the upstream_hash_module and handling changes when adding new servers

jackdempsey April 07, 2009 11:44AM

RE: using the upstream_hash_module and handling changes when adding new servers

lbates35406 April 07, 2009 12:17PM

Re: using the upstream_hash_module and handling changes when adding new servers

mike April 07, 2009 01:18PM

Re: using the upstream_hash_module and handling changes when adding new servers

jackdempsey April 07, 2009 01:54PM

Re: using the upstream_hash_module and handling changes when adding new servers

Cliff Wells April 07, 2009 01:59PM

Re: using the upstream_hash_module and handling changes when adding new servers

mike April 07, 2009 02:16PM

Re: using the upstream_hash_module and handling changes when adding new servers

Cliff Wells April 07, 2009 03:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 110
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready