Welcome! Log In Create A New Profile

Advanced

Re: How can I keep a large list in apache memory

Markus Jelsma
March 09, 2010 06:42AM
Why not store the key/value pairs in memcache? This works like charm and using
Nginx' memc and eval modules you can retrieve the IP addresses from the cache
instantly.



On Tuesday 09 March 2010 12:12:06 ramprasad_ap wrote:
> Hello all,
>
> I am new to nginx , I am using ngnix as a Load balancer for two imap
> servers. All machines are RHEL5 64 bit
>
> 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=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.
>
> Is there a way I can load the userlist into memory in apache
> Thanks
> Ram
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,61798,61798#msg-61798
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>

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
Subject Author Posted

How can I keep a large list in apache memory

ramprasad_ap March 09, 2010 06:12AM

Re: How can I keep a large list in apache memory

Markus Jelsma March 09, 2010 06:42AM

Re: How can I keep a large list in apache memory

ramprasad_ap March 09, 2010 07:19AM

Re: How can I keep a large list in apache memory

Markus Jelsma March 09, 2010 07:40AM

Re: How can I keep a large list in apache memory

James Matthews March 09, 2010 03:12PM

Re: How can I keep a large list in apache memory

Guillaume Filion March 09, 2010 04:28PM

Re: How can I keep a large list in apache memory

Cliff Wells March 09, 2010 04:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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