Welcome! Log In Create A New Profile

Advanced

Re: NGINX and Memcached

Vladislav
January 16, 2010 04:16PM
Alexandre Kalendarev пишет:
> все запросы по типу на урл /user/12345
> проверяются по мемкешу, если там их нет - то перенаправляются на index.php
> через переменные окружения передаем параметры user_id & page
> ...
>
Кстати, интересный момент, может кому пригодится.

Когда ходил за pecl memcache, заметил, что есть также pecl memcached
1.0.0. http://pecl.php.net/package/memcached
Релиз от 2009-07-07. Документация к нему -
http://hasin.wordpress.com/2009/10/18/using-new-pecl-memcached-extension-for-storing-session-data/

Не знаю, чем он лучше pecl memcache, но поставил именно pecl memcached,
т.к. последний версией по-свежее.

И еще... Во время установки разных pecl (eaccelerator, apc, xcache,
memcache, memcached) возникала одна и та же проблема c libtool -
множественные сообщения об ошибках типа:

libtool: line 753: X-mode=compile: command not found...

Долго гуглил, устанавливал даже самую последнюю версию libtool. Ничего
не помогло, пока на одном из форумов не нашел следующую "магию":

libtoolize --force --copy | aclocal | autoconf | automake

http://forum.vingrad.ru/forum/topic-263885.html. Помогло! Интересно,
почему?..

Наиболее полная инструкция, как установить memcached server вместе c
pecl memcache лежит здесь -
http://www.lullabot.com/articles/how_install_memcache_debian_etch.









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

NGINX and Memcached

Vladislav January 14, 2010 01:08PM

Re: NGINX and Memcached

Konstantin Svist January 14, 2010 01:30PM

Re: NGINX and Memcached

Vladislav January 14, 2010 01:44PM

Re: NGINX and Memcached

Konstantin Svist January 14, 2010 02:10PM

Re: NGINX and Memcached

Vladislav January 14, 2010 02:28PM

Re: NGINX and Memcached

Konstantin Svist January 14, 2010 02:48PM

Re: NGINX and Memcached

Sergey A. Osokin January 14, 2010 03:00PM

Re: NGINX and Memcached

Vladislav January 14, 2010 04:06PM

Re: NGINX and Memcached

Vladislav January 14, 2010 04:18PM

Re: NGINX and Memcached

Vladislav January 14, 2010 04:44PM

Re: NGINX and Memcached

Andrew Sitnikov January 15, 2010 02:02AM

Re: NGINX and Memcached

Vladislav January 15, 2010 02:12AM

Re[2]: NGINX and Memcached

akalend January 15, 2010 02:22AM

Re: NGINX and Memcached

Vladislav January 15, 2010 05:22AM

Re[2]: NGINX and Memcached

akalend January 15, 2010 04:24PM

Re: NGINX and Memcached

Vladislav January 15, 2010 05:08PM

Re: NGINX and Memcached

Vladislav January 16, 2010 04:16PM

Re: NGINX and Memcached

Ihalainen Nickolay January 16, 2010 04:24PM

Re[2]: NGINX and Memcached

akalend January 17, 2010 04:30AM

Re: NGINX and Memcached

vromanov January 15, 2010 05:20AM

Re: NGINX and Memcached

Maxim Dounin January 15, 2010 05:52AM

Re: NGINX and Memcached

vromanov January 15, 2010 08:14AM

Re: NGINX and Memcached

Andrew Sitnikov January 15, 2010 09:34AM

Re: NGINX and Memcached

vromanov January 16, 2010 01:14AM

Re: NGINX and Memcached

Andrew Sitnikov January 15, 2010 06:04AM

Re: NGINX and Memcached

Дмитрий Андреев January 15, 2010 06:32AM

Re[2]: NGINX and Memcached

akalend January 15, 2010 07:56AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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