memcached
Julio Leyva
jcleyva at hotmail.com
Wed May 16 17:02:08 UTC 2007
I installed the postgresql API to talk to memcached
I have two servers running memcached
I added two servers
memcache_server_add('localhost','11211');
memcache_server_add('testmem','11211');
both hosts can see each other
So I added some data
memcache_add(''1234'',''Ioana'');
memcache_add(''1235'',''Yan'');
the retrieved it
memcache_get('1234')
so I got back 'Ioana'
However when I retrieve the stats
memcache_stats();
I only get stats for the localhost, nothing for the 'testmem' server
It means even if I added two memcached servers, I'm only talking to the
localone?
Thanks a lot...
More information about the memcached
mailing list