I am using ngnix as a Load balancer for two imap servers.

Currently the nginx calls an apache php script that determines if the
user is on imap1 or imap2 by looking up a plain text file.
which contains entries like

$user['user1'] = 10.1.1.1;
$user['user2'] = 10.1.1.2;
----
$user[user15000]=10.1.1.1;


For 15k users this method becomes very heavy. There are too many httpd
processes running that suck the resources on the machine.
I want to store the userlist in a memcache and look it up through
nginx.conf
How do I do this ?


Does Nginx support for memcache also include imap protocol





Thanks
Ram

----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to