HTTP ?

Brian Aker brian at tangent.org
Mon Nov 29 16:26:34 PST 2004


Hi!

It would be simple enough to write an Apache module to do this. Just 
match HTTP methods to memcache methods.
But is that what you would really want?

	-Brian

On Nov 17, 2004, at 7:13 AM, Brad Fitzpatrick wrote:

> I love HTTP, but I still recognize this as a little sick.
>
> I'd take a patch, though!  :-)
>
>
> On Wed, 17 Nov 2004, John Allspaw wrote:
>
>> What I mean is this...
>>
>> Currently, as I understand it, memcached listens on a socket (IP/port)
>> and takes traffic from clients in various ways (php, perl, etc.) but
>> the protocol it talks is all raw TCP, yes ?
>>
>> I'm wondering if anyone has written an HTTP (specifically 1.1) wrapper
>> for this traffic, so a POST could set/add/replace a key, and a GET
>> could get one.  In other words, you'd ask the memcached for data via a
>> URL.
>>
>> any thoughts ?
>> --john
>>
>>
>>
>> On Wed, 17 Nov 2004 14:22:49 +0100, Joachim Bauernberger
>> <joachim at bauernberger.org> wrote:
>>> Hi John,
>>>
>>> On Tuesday 16 November 2004 23:23, John Allspaw wrote:
>>>> Has anyone tried/failed/succeeded in putting a HTTP interface onto
>>>> memcached ?
>>>
>>> ... not sure if I understand your question.
>>>
>>> I have implemented caching of dynamic HTML content for my client in 
>>> order to
>>> reduce backend requests using the Perl interface, Apache and FastCGI.
>>>
>>> It works like a charm! With memcached's STAT interface you can build 
>>> a
>>> realtime statistic for your cachehitrate (and monitoring in our case 
>>> ...)
>>>
>>> Maybe let us know more about what you are trying to achieve.
>>>
>>> Best regards,
>>> ~/joachim
>>>
>>>>
>>>> thanks,
>>>> john
>>>
>>> --
>>> ICQ: 214527045
>>> URL: http://www.bauernberger.org/
>>>
>>
>>



More information about the memcached mailing list