REST API

2010-07-28 Thread jsm
Anyone writing or planning to write a REST API for memcached? If no such plan, I would be interested in writing a REST API. Any suggestions, comments welcome.

Re: REST API

2010-07-28 Thread Gavin M. Roy
Jul 28, 2010 at 8:43 AM, jsm wrote: > Anyone writing or planning to write a REST API for memcached? > If no such plan, I would be interested in writing a REST API. > Any suggestions, comments welcome. >

Re: REST API

2010-07-28 Thread Rajesh Nair
Regards, > > Gavin > > > On Wed, Jul 28, 2010 at 8:43 AM, jsm wrote: > >> Anyone writing or planning to write a REST API for memcached? >> If no such plan, I would be interested in writing a REST API. >> Any suggestions, comments welcome. >> > >

Re: REST API

2010-07-28 Thread jsm
terse in comparison to the ASCII > > protocol.  In addition netcat or telnet works as good as curl for drop dead > > simplicity.  Don't get me wrong, it would be neat, but shouldn't be > > considered in moderately well used memcached environments. > > > Regards, > > &

Re: REST API

2010-07-28 Thread jsm
Gavin, You are right about the overhead and also saw that API's exist for most of the languages as well. I thought REST API would make memcached language agnostic. I would like to hear from the community if the REST API should be pursued or not? On Jul 28, 7:43 pm, "Gavin M. Roy"

Re: REST API

2010-07-28 Thread Gavin M. Roy
On Wed, Jul 28, 2010 at 11:37 AM, jsm wrote: > > What is the value-add you are looking from the RESTful version of the > > memcached API? > > Basically to be able to use without binding to any particular > language. > Not to push too hard on his, but the ascii protocol is simple and easy to impl

Re: REST API

2010-07-28 Thread Michael Shadle
verhead and also saw that API's exist for > most of the languages as well. > I thought REST API would make memcached language agnostic. > I would like to hear from the community if the REST API should be > pursued or not? > > On Jul 28, 7:43 pm, "Gavin M. Roy"

Re: REST API

2010-07-28 Thread Les Mikesell
On 7/28/2010 10:16 AM, jsm wrote: Gavin, You are right about the overhead and also saw that API's exist for most of the languages as well. I thought REST API would make memcached language agnostic. I would like to hear from the community if the REST API should be pursued or not? I'm

Re: REST API

2010-07-28 Thread Adam Lee
ul 28, 2010 at 12:03 PM, Les Mikesell wrote: > On 7/28/2010 10:16 AM, jsm wrote: > >> Gavin, >> You are right about the overhead and also saw that API's exist for >> most of the languages as well. >> I thought REST API would make memcached language agnostic. >

Re: REST API

2010-07-28 Thread Les Mikesell
memcached and its own binary protocol as well: http://1978th.net/tokyotyrant/spex.html#protocol On Wed, Jul 28, 2010 at 12:03 PM, Les Mikesell mailto:lesmikes...@gmail.com>> wrote: On 7/28/2010 10:16 AM, jsm wrote: Gavin, You are right about the overhead and also

Re: REST API

2010-07-28 Thread Adam Lee
It speaks memcached and its own binary >> protocol as well: http://1978th.net/tokyotyrant/spex.html#protocol >> >> On Wed, Jul 28, 2010 at 12:03 PM, Les Mikesell > <mailto:lesmikes...@gmail.com>> wrote: >> >>On 7/28/2010 10:16 AM, jsm wrote: >> >

Re: REST API

2010-07-28 Thread Marc Bollinger
ght >>> I recommend Tokyo Tyrant? It speaks memcached and its own binary >>> protocol as well: http://1978th.net/tokyotyrant/spex.html#protocol >>> >>> On Wed, Jul 28, 2010 at 12:03 PM, Les Mikesell >> <mailto:lesmikes...@gmail.com>> wrote: >>

Re: REST API

2010-07-28 Thread Les Mikesell
On 7/28/2010 1:43 PM, Marc Bollinger wrote: "and some of them have inherent http capability and aren't used enough to care about that last 10% efficiency when it means rewriting a bunch of code with new libraries to get it." But you're..._adding_ support for memcached to that system. If this wer

Re: REST API

2010-07-28 Thread Aaron Stone
y protocol is very terse in comparison to the ASCII >> > protocol.  In addition netcat or telnet works as good as curl for drop dead >> > simplicity.  Don't get me wrong, it would be neat, but shouldn't be >> > considered in moderately well used memcached environ

Re: REST API

2010-07-28 Thread jsm
GET request, minimal request headers and minimal response > >> > headers. The binary protocol is very terse in comparison to the ASCII > >> > protocol.  In addition netcat or telnet works as good as curl for drop > >> > dead > >> > simplicity.  Don't ge

Re: REST API

2010-07-29 Thread j.s. mammen
gt;> > bytes by > > >> > the HTTP GET request, minimal request headers and minimal response > > >> > headers. The binary protocol is very terse in comparison to the ASCII > > >> > protocol.  In addition netcat or telnet works as good as curl for drop > > >> > dead > > >> > simplicity.  Don't get me wrong, it would be neat, but shouldn't be > > >> > considered in moderately well used memcached environments. > > > >> > Regards, > > > >> > Gavin > > > >> > On Wed, Jul 28, 2010 at 8:43 AM, jsm wrote: > > > >> >> Anyone writing or planning to write a REST API for memcached? > > >> >> If no such plan, I would be interested in writing a REST API. > > >> >> Any suggestions, comments welcome.

Re: REST API

2010-07-29 Thread Henrik Schröder
base the 100 > bytes by > > >> > the HTTP GET request, minimal request headers and minimal response > > >> > headers. The binary protocol is very terse in comparison to the > ASCII > > >> > protocol. In addition netcat or telnet works as good as curl for > drop dead > > >> > simplicity. Don't get me wrong, it would be neat, but shouldn't be > > >> > considered in moderately well used memcached environments. > > > > >> > Regards, > > > > >> > Gavin > > > > >> > On Wed, Jul 28, 2010 at 8:43 AM, jsm wrote: > > > > >> >> Anyone writing or planning to write a REST API for memcached? > > >> >> If no such plan, I would be interested in writing a REST API. > > >> >> Any suggestions, comments welcome. >

Re: REST API

2010-07-29 Thread Henrik Schröder
7;s a > rough 100 > > > >> > byte overhead per request over the ASCII protocol. I base the 100 > bytes by > > > >> > the HTTP GET request, minimal request headers and minimal response > > > >> > headers. The binary protocol is very terse in comparison to the > ASCII > > > >> > protocol. In addition netcat or telnet works as good as curl for > drop dead > > > >> > simplicity. Don't get me wrong, it would be neat, but shouldn't > be > > > >> > considered in moderately well used memcached environments. > > > > > >> > Regards, > > > > > >> > Gavin > > > > > >> > On Wed, Jul 28, 2010 at 8:43 AM, jsm wrote: > > > > > >> >> Anyone writing or planning to write a REST API for memcached? > > > >> >> If no such plan, I would be interested in writing a REST API. > > > >> >> Any suggestions, comments welcome. >

Re: REST API

2010-07-29 Thread Aaron Stone
t; >> > bytes by >> >> > the HTTP GET request, minimal request headers and minimal response >> >> > headers. The binary protocol is very terse in comparison to the ASCII >> >> > protocol.  In addition netcat or telnet works as good as curl for drop >> >> > dead >> >> > simplicity.  Don't get me wrong, it would be neat, but shouldn't be >> >> > considered in moderately well used memcached environments. >> >> >> > Regards, >> >> >> > Gavin >> >> >> > On Wed, Jul 28, 2010 at 8:43 AM, jsm wrote: >> >> >> >> Anyone writing or planning to write a REST API for memcached? >> >> >> If no such plan, I would be interested in writing a REST API. >> >> >> Any suggestions, comments welcome.

Re: REST API

2010-07-29 Thread Henrik Schröder
he HTTP protocol overhead? REST/HTTP would add ~75Mbps of > >> >> > additional traffic at 100k gets per second by saying there's a > rough 100 > >> >> > byte overhead per request over the ASCII protocol. I base the 100 > bytes by > >> >> > the HTTP

Re: REST API

2010-07-29 Thread j.s. mammen
there's a > > rough 100 > > >> >> > byte overhead per request over the ASCII protocol.  I base the 100 > > bytes by > > >> >> > the HTTP GET request, minimal request headers and minimal response > > >> >> > headers. The binary protocol is very terse in comparison to the > > ASCII > > >> >> > protocol.  In addition netcat or telnet works as good as curl for > > drop dead > > >> >> > simplicity.  Don't get me wrong, it would be neat, but shouldn't be > > >> >> > considered in moderately well used memcached environments. > > > >> >> > Regards, > > > >> >> > Gavin > > > >> >> > On Wed, Jul 28, 2010 at 8:43 AM, jsm wrote: > > > >> >> >> Anyone writing or planning to write a REST API for memcached? > > >> >> >> If no such plan, I would be interested in writing a REST API. > > >> >> >> Any suggestions, comments welcome.

Re: REST API

2010-07-29 Thread Les Mikesell
On 7/29/2010 8:54 AM, j.s. mammen wrote: Folks, lets not get bogged down by REST defined by Roy Fielding in 2000. My question was simple. Here it is again, rephrased. Do we need to implement a memcached layer whereby we can access the cached objects by using HTTP protocol. Here is an example o

Re: REST API

2010-07-29 Thread Bill Moseley
On Thu, Jul 29, 2010 at 6:54 AM, j.s. mammen wrote: > Folks, lets not get bogged down by REST defined by Roy Fielding in > 2000. > > My question was simple. > Here it is again, rephrased. > > Do we need to implement a memcached layer whereby we can access the > cached objects by using HTTP proto

Re: REST API

2010-07-29 Thread John Reilly
Roy < > g...@myyearbook.com> > > > wrote: > > > > > >> >> > Why add the HTTP protocol overhead? REST/HTTP would add > ~75Mbps of > > > >> >> > additional traffic at 100k gets per second by saying there's a > > > rough 100 > > > >> >> > byte overhead per request over the ASCII protocol. I base the > 100 > > > bytes by > > > >> >> > the HTTP GET request, minimal request headers and minimal > response > > > >> >> > headers. The binary protocol is very terse in comparison to the > > > ASCII > > > >> >> > protocol. In addition netcat or telnet works as good as curl > for > > > drop dead > > > >> >> > simplicity. Don't get me wrong, it would be neat, but > shouldn't be > > > >> >> > considered in moderately well used memcached environments. > > > > > >> >> > Regards, > > > > > >> >> > Gavin > > > > > >> >> > On Wed, Jul 28, 2010 at 8:43 AM, jsm > wrote: > > > > > >> >> >> Anyone writing or planning to write a REST API for memcached? > > > >> >> >> If no such plan, I would be interested in writing a REST API. > > > >> >> >> Any suggestions, comments welcome. >

Re: REST API

2010-07-29 Thread Marc Bollinger
>> values (e.g. hashes, lists, etc.) -- is that what you meant? >> > >> > > >> Aaron >> > >> > > >> >> Regards, >> > > >> >> Rajesh Nair >> > >> > > >> >> On Wed, Jul 28, 2010 at 8:13 PM, Gavin

Re: REST API

2010-07-29 Thread Aaron Stone
gt; >> > > >> I read this as requesting memcached native support for structured >> > > >> values (e.g. hashes, lists, etc.) -- is that what you meant? >> > >> > > >> Aaron >> > >> > > >> >> Regards, >> >

Re: REST API

2010-07-31 Thread dormando
On Thu, 29 Jul 2010, j.s. mammen wrote: > Folks, lets not get bogged down by REST defined by Roy Fielding in > 2000. > > My question was simple. > Here it is again, rephrased. > > Do we need to implement a memcached layer whereby we can access the > cached objects by using HTTP protocol. Here i