Fast, light-weight proxy for memcached and redis
nutcracker, also known as twemproxy (pronounced "two-em-proxy"), is a fast and lightweight proxy for the memcached and Redis protocols.
It was primarily built to reduce the connection count on backend caching servers, but it has a number of features, such as:
Maintains persistent server connections to backend servers.
Enables pipelining of requests and responses.
Supports multiple server pools simultaneously.
Shard data automatically across multiple servers.
Supports multiple hashing modes including consistent hashing and distribution.
High-availability by disabling nodes on failures.
Observability through stats exposed on stats monitoring port.
Show usage information and exit.
Show version and exit.
Test configuration for syntax errors and exit.
Print stats description and exit.
Set logging level to N. (default: 5, min: 0, max: 11)
Set logging file to filename.
Set configuration file to filename.
Set stats monitoring port to port. (default: 22222)
Set stats monitoring IP to address. (default: 0.0.0.0)
Set stats aggregation interval in msec to interval. (default: 30000 msec)
Set size of mbuf chunk in bytes to size. (default: 16384 bytes)
Run as a daemon.
Set pid file to filename.
nutcracker was written by Twitter, Inc.