NodeJS memcached client with the most efficient ASCII protocol parser.
- Very efficient memcached ASCII protocol parser by using only NodeJS Buffer APIs.
- Optional compression for the data before sending to memcached
- Auto reconnects when there's network error or timeout
- Support sending arbitrary commands. Read up on the protocol doc here.
- Support storing
string
,numeric
, andJSON
values - APIs Support callback or Promise
- Support fire and forget requests
- Support multiple connections
This repo uses lerna to manage multiple packages.
- memcache-client - The primary package which is the memcached client.
- memcache-parser - A very efficient memcached ASCII protocol parser.
- memcached-njs - A working memcached server implemented in NodeJS for tests.
- Clone this repo
- run
nvm use
- run
npm ci
- run
npm run bootstrap
- optional: just to make sure everything is fine run
npm run build
and check if there's no error using that command
- Recommended publish flow is to publish the modules individually using
npm publish
, can be improved to use lerna in the future
Apache-2.0 © Joel Chen