-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add Redis OBJECT command support #650
Changes from all commits
b941a00
79e04ea
5c86e3e
fb4e7c0
d74ca61
1aa9639
0c6febe
2bccd1a
bd4cad7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
language: c | ||
script: bash ./travis.sh | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
SUBDIRS = yaml-0.2.5 | ||
#SUBDIRS = yaml-0.2.5 | ||
|
||
EXTRA_DIST = yaml-0.2.5.tar.gz | ||
#EXTRA_DIST = yaml-0.2.5.tar.gz |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
nutcracker (0.4.1+dfsg-1) unstable; urgency=medium | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Debian support is completely unrelated to new redis command support and should not be part of the same PR. Additionally, I don't have any experience with debian packaging and wouldn't be able to review this, anyway - The debian package maintainers who originally wrote these files could continue to do so without these being checked in. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes. you may ignore all the debian folder |
||
|
||
* New upstream release. | ||
* Bump debhelper compat level to 10; remove dh-autoreconf B-D. | ||
* Update Standards-Version to 3.9.8, no changes needed. | ||
* Fix a few d/copyright structural errors. | ||
* Update Vcs-Git/Vcs-Browser to point to https URLs and cgit. | ||
* Add dependency on lsb-base for /lib/lsb/init-functions. | ||
* Add hardening build flags (hardening=+all). | ||
* Switch pidfile location from /var/run to /run. | ||
* Update debian/patches/sysconfdir to only write a pidfile if --daemonize | ||
was passed. | ||
* Add systemd service file. | ||
* Remove upstart job, dead and unmaintained code. | ||
|
||
-- Faidon Liambotis <[email protected]> Sat, 17 Dec 2016 04:48:28 +0200 | ||
|
||
nutcracker (0.4.0+dfsg-1) unstable; urgency=medium | ||
|
||
* New upstream release. | ||
* Switch debian/watch to GitHub instead of Google Code, as this is | ||
apparently where new tarballs are being shipped nowadays. | ||
|
||
-- Faidon Liambotis <[email protected]> Tue, 21 Oct 2014 03:26:49 +0300 | ||
|
||
nutcracker (0.3.0+dfsg-1) unstable; urgency=medium | ||
|
||
* Initial release. (Closes: #712107) | ||
|
||
-- Faidon Liambotis <[email protected]> Mon, 06 Oct 2014 20:02:52 +0300 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
10 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Source: nutcracker | ||
Section: net | ||
Priority: optional | ||
Maintainer: Faidon Liambotis <[email protected]> | ||
Build-Depends: debhelper (>= 10), libyaml-dev | ||
Standards-Version: 3.9.8 | ||
Homepage: https://github.com/twitter/twemproxy | ||
Vcs-Git: https://anonscm.debian.org/git/collab-maint/nutcracker.git | ||
Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/nutcracker.git | ||
|
||
Package: nutcracker | ||
Architecture: any | ||
Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, lsb-base (>= 3.0-6) | ||
Description: 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. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: nutcracker | ||
Source: https://github.com/twitter/twemproxy | ||
|
||
Files: * | ||
Copyright: 2011, 2013 Twitter, Inc. | ||
License: Apache-2.0 | ||
|
||
Files: debian/* | ||
Copyright: 2014 Faidon Liambotis <[email protected]> | ||
License: Apache-2.0 | ||
|
||
Files: src/nc_array.c src/nc_array.h src/nc_rbtree.c src/nc_rbtree.h | ||
Copyright: 2002-2010 Igor Sysoev | ||
2011 Twitter, Inc. | ||
License: BSD-2-clause | ||
|
||
Files: src/nc_queue.h | ||
Copyright: 1991, 1993 The Regents of the University of California | ||
2011 Twitter, Inc. | ||
License: BSD-4-clause | ||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions | ||
are met: | ||
1. Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
2. Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
3. All advertising materials mentioning features or use of this software | ||
must display the following acknowledgement: | ||
This product includes software developed by the University of | ||
California, Berkeley and its contributors. | ||
4. Neither the name of the University nor the names of its contributors | ||
may be used to endorse or promote products derived from this software | ||
without specific prior written permission. | ||
. | ||
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
SUCH DAMAGE. | ||
|
||
Files: src/hashkit/* | ||
Copyright: 2007-2010 TangentOrg (Brian Aker) | ||
2011 Data Differential (http://datadifferential.com/) | ||
2011 Twitter, Inc. | ||
License: BSD-4-clause-TangentOrg | ||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are | ||
met: | ||
. | ||
* Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
. | ||
* Redistributions in binary form must reproduce the above | ||
copyright notice, this list of conditions and the following disclaimer | ||
in the documentation and/or other materials provided with the | ||
distribution. | ||
. | ||
* Neither the name of TangentOrg nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
. | ||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
Files: src/hashkit/nc_one_at_a_time.c | ||
Copyright: 2009 Brian Aker | ||
2011 Twitter, Inc. | ||
License: Apache-2.0 | ||
|
||
Files: src/hashkit/nc_hsieh.c | ||
Copyright: 2004, 2005, Paul Hsieh | ||
2011 Twitter, Inc. | ||
License: PaulHsieh-license | ||
The derivative content includes raw computer source code, ideas, opinions, | ||
and excerpts whose original source is covered under another license and | ||
transformations of such derivatives. Note that mere excerpts by themselves | ||
(with the exception of raw source code) are not considered derivative works | ||
under this license. Use and redistribution is limited to the following | ||
conditions: | ||
* One may not create a derivative work which, in any way, violates the | ||
Paul Hsieh exposition license described above on the original content. | ||
* One may not apply a license to a derivative work that precludes anyone | ||
else from using and redistributing derivative content. | ||
* One may not attribute any derivative content to authors not involved in | ||
the creation of the content, though an attribution to the author is not | ||
necessary. | ||
Comment: http://www.azillionmonkeys.com/qed/weblicense.html | ||
|
||
License: BSD-2-clause | ||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions | ||
are met: | ||
1. Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
2. Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
. | ||
THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND | ||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE | ||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
SUCH DAMAGE. | ||
|
||
License: Apache-2.0 | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
. | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
. | ||
On Debian systems, the complete text of the Apache version 2.0 license | ||
can be found in "/usr/share/common-licenses/Apache-2.0". |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# extra daemon options; see nutcracker --help | ||
DAEMON_OPTS="" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
etc/nutcracker | ||
var/log/nutcracker |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
README.md | ||
notes/recommendation.md | ||
notes/redis.md |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
debian/nutcracker.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is backwards incompatible, only works on
*nix
-like systems, and is unrelated to new redis command support. Remove it.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
noted, thanks. I will revert it.