httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathieu CARBONNEAUX <>
Subject Re: [] Re: mod_memcache??
Date Mon, 05 Feb 2007 22:22:50 GMT
interesting idea !!!

i use memcache (with libmemcache) in my from auth module (!
my next step is to try to use apr_memcache in place of libmemcache... (by my primary goal
is to make posible to use my module on old 2.0 apache version that user older apr&apr-util
than 0.9.5...)

but your addition while simplify the use of apr_memcache!

if i anderstand your idea is to developpe module to make apr_memcache connection pool like
mod_dbi_pool ( ?



From: Garrett Rooney []
Sent: Mon, 05 Feb 2007 16:04:03 +0100
Subject: [] Re: mod_memcache??

On 2/2/07, Brian Akins <> wrote:
> I have a need to write a generic way to integrate  apr_memcache into httpd.
> Basically, I have several otehr modules taht use memcached as backend and want
> to combine the "boring" stuff into a central place, ie configuration, stats,
> etc.  We talked a little on list about this a few months ago, but noone ever did
> anything.   Is anyone else interested in this?  Has anyone did this?
> Basically I was thinking there would be a single funtion:
> apr_status_t ap_memcache_client(apr_memcache_t **mc)
> which would simply give the "user" an client to use with normal apr_memcache
> functions.  The module could create the underlying mc at post_config.
> Basically, mod_memcache could have this config:
> MemCacheServer min=8 smax=16 max=64 ttl=5
> MemCacheServer min=8 smax=16 max=64 ttl=5
> MemCacheServer min=8 smax=16 max=64 ttl=5
> or whatever.  This would end the config duplication between various modules.
> This module could also add memcache stats to /server-status
> Comments?

Seems useful to me.

View raw message