-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
nsqd: snappy/deflate compression #229
Conversation
this is rebased on #227, RFR |
@@ -21,8 +21,9 @@ popd >/dev/null | |||
pushd nsqd >/dev/null | |||
go build | |||
rm -f *.dat | |||
echo "starting nsqd --data-path=/tmp --lookupd-tcp-address=127.0.0.1:4160 --tls-cert=./test/cert.pem --tls-key=./test/key.pem" | |||
./nsqd --data-path=/tmp --lookupd-tcp-address=127.0.0.1:4160 --tls-cert=./test/cert.pem --tls-key=./test/key.pem >/dev/null 2>&1 & | |||
cmd="./nsqd --data-path=/tmp --lookupd-tcp-address=127.0.0.1:4160 --tls-cert=./test/cert.pem --tls-key=./test/key.pem --deflate --snappy" |
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.
deflate and snappy are on by default; should we really add those flags here?
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.
probably not
added large block chunk test (and fixed an issue in mreiferson/go-snappystream@93ed07e) |
* add --deflate and --max-deflate-level flag * add feature negotiation for nsqd clients
* drop defer in fast path
squashed @jehiah |
nsqd: snappy/deflate compression
Update golang version in Travis (to 1.10)
as originated in #226 and #227 this adds stream level snappy and deflate feature negotiation for clients of
nsqd
.we moved this out to evaluate this separately from adding TLS.
cc @jayridge @jehiah