On 3/14/13 6:47 PM, Joseph Engo wrote:
I would avoid using persistent connections with PHP. They have never
worked properly on any scale.
That is quite inaccurate. Persistent connections for MySQL were always
discouraged due to some issues in the drivers and the low connection
cost
Hmm, interesting. Its been a while since I last tried it. Last time I
used persistent memcache connections with PHP in production it was a
diaster :)
On Fri, Mar 15, 2013 at 8:59 AM, Brian Moon br...@moonspot.net wrote:
On 3/14/13 6:47 PM, Joseph Engo wrote:
I would avoid using persistent
Hey, How did you resolved this...? Need help for the similar issue
On Thursday, April 8, 2010 3:14:35 AM UTC+5:30, Jay Paroline wrote:
This may be due to a basic misunderstanding on my part, but in that
case, if I see lots of entries like this from netstat -tnap running on
the client side,
I would avoid using persistent connections with PHP. They have never
worked properly on any scale.
On Thu, Mar 14, 2013 at 8:59 AM, Ravi ravibh...@gmail.com wrote:
Hey, How did you resolved this...? Need help for the similar issue
On Thursday, April 8, 2010 3:14:35 AM UTC+5:30, Jay Paroline
Ok, I think I wasn't clear enough in my question, so I wrote a simple
example.
?php
set_time_limit(0);
$m = new Memcached('pool');
$m-addServer('172.16.0.64', 11211);
$m-add('monkeys', '5');
while(1){
$m-get('monkeys');
sleep(5);
}
?
If 5 of these are running at the same time, I would
Hi,
On Wed, Apr 7, 2010 at 2:39 PM, Jay Paroline boxmon...@gmail.com wrote:
Ok, I think I wasn't clear enough in my question, so I wrote a simple
example.
?php
set_time_limit(0);
$m = new Memcached('pool');
$m-addServer('172.16.0.64', 11211);
$m-add('monkeys', '5');
while(1){
This is not possible. If the connections are persistent per process,
TIME_WAIT should not be an issue as they are not closed. There are
people on this lists with hundreds of thousands of open connections per
memcached server.
Brian.
http://brian.moonspot.net/
On 4/7/10 1:39 PM,
TIME_WAIT does not exclusively happen on the server.
Stephen Johnston
On Wed, Apr 7, 2010 at 5:44 PM, Jay Paroline boxmon...@gmail.com wrote:
This may be due to a basic misunderstanding on my part, but in that
case, if I see lots of entries like this from netstat -tnap running on
the client
Currently we are (still) stuck using the PECL memcache extension, but
hopefully soon we will be moving to the libmemcached based PECL
memcached extension. I am trying to figure out if there is any way to
set it up to use persistent/shared connections.
Currently every apache/PHP process ends up
Hi,
On Apr 6, 2:38 pm, Jay Paroline boxmon...@gmail.com wrote:
Currently we are (still) stuck using the PECL memcache extension, but
hopefully soon we will be moving to the libmemcached based PECL
memcached extension. I am trying to figure out if there is any way to
set it up to use
On Apr 6, 7:11 pm, Tuyan tuyanozi...@gmail.com wrote:
Hi,
On Apr 6, 2:38 pm, Jay Paroline boxmon...@gmail.com wrote: Currently we
are (still) stuck using the PECL memcache extension, but
hopefully soon we will be moving to the libmemcached based PECL
memcached extension. I am trying to
Just give a string parameter to the memcached constructor , any class
instance with the same string as parameter should use the same
connection.
/tyn
Yeah, only thing to watch out for is not to add the servers more than
once.
We use a singleton to avoid this. We pass in the config we want.
12 matches
Mail list logo