Skip to content

Commit 13376f5

Browse files
committed
Add a manpage
Add a nutcracker.8 manpage mostly based off nutcracker --help.
1 parent 7b423ea commit 13376f5

File tree

2 files changed

+78
-0
lines changed

2 files changed

+78
-0
lines changed

Makefile.am

+2
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ ACLOCAL_AMFLAGS = -I m4
44

55
SUBDIRS = contrib src
66

7+
dist_man_MANS = man/nutcracker.8
8+
79
EXTRA_DIST = README.md NOTICE LICENSE ChangeLog conf scripts notes

man/nutcracker.8

+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
.TH NUTCRACKER 8 "June 13, 2013"
2+
.SH NAME
3+
nutcracker \- Fast, light-weight proxy for memcached and Redis
4+
.SH SYNOPSIS
5+
.B nutcracker
6+
.RI [ options ]
7+
.SH DESCRIPTION
8+
\fBnutcracker\fP, also known as \fBtwemproxy\fP (pronounced "two-em-proxy"), is
9+
a fast and lightweight proxy for the memcached and Redis protocols.
10+
.PP
11+
It was primarily built to reduce the connection count on backend caching
12+
servers, but it has a number of features, such as:
13+
.IP \[bu]
14+
Maintains persistent server connections to backend servers.
15+
.IP \[bu]
16+
Enables pipelining of requests and responses.
17+
.IP \[bu]
18+
Supports multiple server pools simultaneously.
19+
.IP \[bu]
20+
Shard data automatically across multiple servers.
21+
.IP \[bu]
22+
Supports multiple hashing modes including consistent hashing and
23+
distribution.
24+
.IP \[bu]
25+
High-availability by disabling nodes on failures.
26+
.IP \[bu]
27+
Observability through stats exposed on stats monitoring port.
28+
.SH OPTIONS
29+
.TP
30+
.BR \-h ", " \-\-help
31+
Show usage information and exit.
32+
.TP
33+
.BR \-V ", " \-\-version
34+
Show version and exit.
35+
.TP
36+
.BR \-t ", " \-\-test-conf
37+
Test configuration for syntax errors and exit.
38+
.TP
39+
.BR \-D ", " \-\-describe-stats
40+
Print stats description and exit.
41+
.TP
42+
.BR \-v ", " \-\-verbosity=\fIN\fP
43+
Set logging level to \fIN\fP. (default: 5, min: 0, max: 11)
44+
.TP
45+
.BR \-o ", " \-\-output=\fIfilename\fP
46+
Set logging file to \fIfilename\fP.
47+
.TP
48+
.BR \-c ", " \-\-conf-file=\fIfilename\fP
49+
Set configuration file to \fIfilename\fP.
50+
.TP
51+
.BR \-s ", " \-\-stats-port=\fIport\fP
52+
Set stats monitoring port to \fIport\fP.
53+
(default: 22222)
54+
.TP
55+
.BR \-a ", " \-\-stats-addr=\fIaddress\fP
56+
Set stats monitoring IP to \fIaddress\fP.
57+
(default: 0.0.0.0)
58+
.TP
59+
.BR \-i ", " \-\-stats-interval=\fIinterval\fP
60+
Set stats aggregation interval in msec to \fIinterval\fP.
61+
(default: 30000 msec)
62+
.TP
63+
.BR \-m ", " \-\-mbuf-size=\fIsize\fP
64+
Set size of mbuf chunk in bytes to \fIsize\fP. (default: 16384 bytes)
65+
.TP
66+
.BR \-d ", " \-\-daemonize
67+
Run as a daemon.
68+
.TP
69+
.BR \-p ", " \-\-pid-file=\fIfilename\fP
70+
Set pid file to \fIfilename\fP.
71+
.SH SEE ALSO
72+
.BR memcached (8),
73+
.BR redis-server (1)
74+
.br
75+
.SH AUTHOR
76+
nutcracker was written by Twitter, Inc.

0 commit comments

Comments
 (0)