node-memcache icon indicating copy to clipboard operation
node-memcache copied to clipboard

binary protocol?

Open Dieterbe opened this issue 13 years ago • 8 comments

Hi, from a quick glance it seems only the text based protocol is supported. Any plans to support the binary protocol?

thanks. Dieter

Dieterbe avatar Nov 22 '11 14:11 Dieterbe

Hi Dieter,

I dropped such plans because I have currently no time for this. Would really like to have such an implementation since its faster and more reliable. Do you have any interest in supporting the project?

regards,

Tim

elbart avatar Nov 22 '11 18:11 elbart

Hi, sorry, no time/interest.

Dieterbe avatar Nov 22 '11 19:11 Dieterbe

This project looks promising for binary protocol support -- https://github.com/billywhizz/node-memcache-parser

jstockdale avatar Dec 01 '11 06:12 jstockdale

@jstockdale.

wow cool - didn't see that yet... thats a good possibility to integrate it into node-memcache

i'll have time over the weekend to play around with it ;)

thanks!

elbart avatar Dec 01 '11 10:12 elbart

I have a fork of this project with support for binary.

https://github.com/ddopson/node-memcache

ddopson avatar Dec 14 '11 01:12 ddopson

@ddopson I checked your code, but it doesn't seem to have an ability to store binaries, does it?

aslushnikov avatar Apr 30 '12 23:04 aslushnikov

binary data should work. the fixes were around how the Buffer objects were being handled. As long as it's all ASCII data, you can be a bit sloppy. When you have arbitrary binary, you have to be careful about when charset conversions happen.

On Mon, Apr 30, 2012 at 4:30 PM, Andrey Lushnikov < [email protected]

wrote:

@ddopson I checked your code, but it doesn't seem to have an ability to store binaries, does it?


Reply to this email directly or view it on GitHub: https://github.com/elbart/node-memcache/issues/14#issuecomment-5430458

ddopson avatar May 01 '12 01:05 ddopson

I have try node-memcache and memcached libs, memcached has some issues with multiline, node-memcached do not work with binary data, but mc was the answer for me. http://overclocked.com/mc/

eugenioclrc avatar Jan 19 '16 00:01 eugenioclrc