Closed andreafspeziale closed 2 years ago
memjs
only supports the binary Memcached protocol. It seems to me, however, MCRouter only supports the ASCII protocol. As such, they are incompatible. You need to use an ASCII Memcached client.
@saschat TY so much, I believe u saved me from hours of discovery. Which JS/TS client (supporting ASCII) would u recommend? They seems all a little bit unmaintained 🤔
Not really. You are right, the most popular seems unmaintained (https://github.com/3rd-Eden/memcached/issues/318). It might still work, though.
Hello!
I'm playing with the library and I'm using MCRouter in front of multiple memcached instance but unfortunately it is not working.
Using the following snippet:
The
node index.js
output has no errors at all and wontconsole.log('CACHED')
. Actually wont console.log anything.I randomly found also this issue https://github.com/helm/charts/issues/7718 on the internet which seems the same problem.
Do you have any suggestion? Thanks in advance