Welcome! Log In Create A New Profile

Advanced

Re: UpstreamConsistentHash, is it wrong?

February 15, 2010 06:08AM
hi

you use the php memcache module 3.0.1. i have never tested the
consisten hashing with memcache modules above 2.x yet. i can take a
look at it, maybe the hashing has changed.

mauro

On Mon, Feb 15, 2010 at 18:56, Markus Jelsma <markus@buyways.nl> wrote:
> Hi,
>
>
> I have a cluster with four memcache daemons and am using the current
> UpstreamConsistentHash [1] module with the latest 0.7 stable Nginx to balance
> between the nodes. Thanks to Valery's update on the eval module, i can now
> access two values in my location block. This works fine, hashing is consistent
> indeed but is not compatible with the current PHP (3.0.1-1) nor the current
> Python (1.40).
>
> I have set up two small PHP and Python scripts that both have the same pool
> definition as Nginx configuration has and both seem to want to store my two
> pieces test data in the first node. The Nginx module, however, believes the
> data should reside in the first and third node.
>
> The order of memcache nodes is the same for both the scripts and the
> configuration, so at least that mistake is not the case. Also, searching in
> the ML archive wasn't quite helpful either. In one topic [2] the issue was
> solved by using this module, it seems it doesn't work for me that way.
>
> Obviously i have no idea what's going and would like some advice on how to
> procede in fixing this issue.
>
> Thanks in advance, any help is appreciated!
>
>
> [1]: http://wiki.nginx.org/NginxHttpUpstreamConsistentHash
> [2]: http://n2.nabble.com/Memcached-modules-behaviour-td3974859.html
>
> Cheers,
>
>
> Markus Jelsma - Technisch Architect - Buyways BV
> http://www.linkedin.com/in/markus17
> 050-8536620 / 06-50258350
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

UpstreamConsistentHash, is it wrong?

Markus Jelsma February 15, 2010 06:00AM

Re: UpstreamConsistentHash, is it wrong?

replay February 15, 2010 06:08AM

Re: UpstreamConsistentHash, is it wrong?

Markus Jelsma February 15, 2010 06:28AM

Re: UpstreamConsistentHash, is it wrong?

replay February 15, 2010 07:20AM

Re: UpstreamConsistentHash, is it wrong?

replay February 15, 2010 07:38AM

Re: UpstreamConsistentHash, is it wrong?

Markus Jelsma February 15, 2010 07:48AM

Re: UpstreamConsistentHash, is it wrong?

replay February 15, 2010 08:08AM

Re: UpstreamConsistentHash, is it wrong?

Markus Jelsma February 17, 2010 07:34AM

Re: UpstreamConsistentHash, is it wrong?

replay February 20, 2010 11:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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