Thanks for the explanation. In the meantime I kind of went around the problem, using the nginx consistent hash module for memcached upstream gets and also that same algorithm in PHP's sets. Working flawlessly. Thanks again! Pedro. On Nov 12, 2009, at 1:51 AM, agentzh wrote: > On Tue, Nov 10, 2009 at 2:23 AM, Pedro Mata-Mouros Fonseca > <pedro.matamouros@sapo.pt> wrote: >>by matamouros - Nginx Mailing List - English
Greetings, I have a pool of two memcached servers that I use in nginx for querying (using Valery's eval module) and, in case of cache miss, for setting with the key/value pair in a PHP script. How does nginx/eval module query this memcached pool? Any kind of hashing is done? Round- robin? While we're at it, does eval module reuse the default nginx memcache module implementation? The oriby matamouros - Nginx Mailing List - English
Many thanks for the sugestions Merlin, going to check out the HEAD method one. Pedro. On Jul 4, 2009, at 8:47 PM, merlin corey wrote: > Hello, > > You can change HAProxy's health check request method to HEAD. This > would be the easiest/best solution and still highly lightweight, in my > opinion. > > If for some reason you cannot do that, I created an extremby matamouros - Nginx Mailing List - English
Greetings, The following is an HAProxy option httpchk check request. It's purpose is to check a server's health by means of issuing a very lightweight request to it. It does this, by default, using OPTIONS (it's possible to configure it to perform any type of request, but OPTIONS is aparently the most lightweight). Nginx unfortunately returns a 405 to this. It's not really a bigby matamouros - Nginx Mailing List - English
Yes, I'm compiling from sources. I found out what the problem is: $ ./configure --prefix=/servers/nginx-0.7.60 --conf-path=/etc/ngix.conf $ make # make install test -f '/etc/ngix.conf' || cp conf/nginx.conf '/etc' cp conf/nginx.conf '/etc/nginx.conf.default' test -d '/servers/nginx-0.7.60/logs' || mkdir -p '/servers/ nginx-0.7.60/logs' test -d '/servers/nginxby matamouros - Nginx Mailing List - English
Greetings, It seems that /etc/nginx.conf gets replaced by the default in each new nginx install. Do you confirm this? Any chance it doesn't replace that file, if it exists already, by default? Thank you. Pedro.by matamouros - Nginx Mailing List - English
Have been testing it for the last days in order to maintain in memcached a kind of CDB with several dozen million entries, directly mapping a unique input URL into a unique output URL. Splendid work Valery, its working beautifully so far. Kudos for this great module. Pedro. On Jun 25, 2009, at 10:04 PM, Valery Kholodkov wrote: > > Greetings! > > I release a new moby matamouros - Nginx Mailing List - English
Many thanks, it seems to be what I'm looking. Already installing it. Cheers.by matamouros - Nginx Mailing List - English
I've post a new thread for this question, you should follow up there. http://forum.nginx.org/read.php?2,3013,3013.by matamouros - Nginx Mailing List - English
Hi everyone, I'm having a hard time going through the sources of the memcached module, finding the thread of things. I need to do a small change in this module's behaviour, namely setting a URL in a var that will be accessible in config so that I can use that var to proxy a request for the real content. So, instead of sending a cache hit's content directly to the user, I want the memcached moduby matamouros - Nginx Mailing List - English
Greetings, I've been playing around with the memcached module and I was wondering if prior to sending a cache hit to the client it is possible to do something with the cache's contents. Let me give a little bit more detail: imagine that I would like to use memcached to maintain a kind of CDC, a mapping of key=>value, where the values are not pages nor images, but rather URLs to where the ngiby matamouros - Nginx Mailing List - English