[prev in list] [next in list] [prev in thread] [next in thread] 

List:       memcached
Subject:    Re: apr_memcache client memory usage
From:       André_Cruz <andre.cruz () co ! sapo ! pt>
Date:       2007-10-16 8:16:38
Message-ID: 4E73B939-A606-49A6-BD6A-C1E3AB266ECE () co ! sapo ! pt
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic