apr_memcache client memory usage

André Cruz andre.cruz at co.sapo.pt
Tue Oct 16 08:16:38 UTC 2007


On 2007/10/16, at 02:17, Philip M. Gollucci wrote:

> AFAIK, you should create a sub pool first and pass that to the  
> function.
> http://people.apache.org/~rooneg/talks/portable-c-with-apr/apr.html
>

And, ahem, isn't that what I'm doing? I create a sub-pool for each get 
() to memcache and destroy it afterwards. I can't destroy the pool I  
pass to memcache_server_create() since I need the server for the next  
requests. Reconnecting to the server on each iteration is not a good  
option I think.

Is the author of this client in the list? Would you guys recommend a  
better c++ client that is stable?

Thanks,
André Cruz


More information about the memcached mailing list