Skip to content
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

Merge upstream 0.5.0 #9

Open
wants to merge 105 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
2c1567b
Initial version Dockerfile.
pataquets Mar 29, 2017
a2159df
fix list indentation
essanpupil Nov 13, 2017
85fb83f
Initialize file permissions field for unix domain socket
TysonAndre Dec 19, 2017
e350a6e
Improve formatting of README file
Jan 2, 2019
fc02f09
Fix README typo
raghukul01 Feb 26, 2019
62b724a
Merge branch 'master' of github.com:twitter/twemproxy
pataquets May 13, 2019
c6cc79a
Merge pull request #524 from pataquets/master
manjuraj Nov 5, 2020
48e3f39
Merge pull request #571 from raghukul01/master
manjuraj Nov 5, 2020
a575ab2
Add a clang-format file approximating the c style guide
TysonAndre May 11, 2021
f68f86c
Fix typo in c style guide
TysonAndre May 11, 2021
0421ad3
[skip ci] Add .editorconfig
TysonAndre May 11, 2021
1fde0f4
Merge pull request #602 from ifwe/twitter-editorconfig
manjuraj May 12, 2021
973ef77
Fix failing unit tests, run in Docker
TysonAndre Apr 9, 2021
3140cda
Add nosetests_verbose.sh script
TysonAndre Apr 9, 2021
96a9fbd
Remove accidentally committed file
TysonAndre Apr 9, 2021
e25f23e
Start using github workflow to build branches and PRs
TysonAndre Apr 9, 2021
d224107
Fix second check
TysonAndre Apr 9, 2021
8caa0a2
Update test of auth for redis 6+
TysonAndre Apr 9, 2021
5c2a373
Merge pull request #598 from ifwe/update-unit-tests
TysonAndre Jun 30, 2021
0667d61
Don't hang for dns error responding to fragmented requests
TysonAndre Mar 19, 2021
05032ce
Switch to GitHub actions for builds
TysonAndre Jun 30, 2021
95e8de5
Merge pull request #607 from twitter/twitter-switch-github-actions
TysonAndre Jun 30, 2021
eca60d6
Merge pull request #597 from ifwe/twitter-dns-lookup-error-tolerance
TysonAndre Jun 30, 2021
f96e354
Merge pull request #601 from ifwe/twitter-clangformat
TysonAndre Jun 30, 2021
8ebfd61
Use nservers instead of ncontinuum
TysonAndre Feb 24, 2021
3558a39
Don't fragment memcache get commands with a single key
TysonAndre Apr 9, 2021
14bac40
Follow c style guide
TysonAndre Jun 30, 2021
0984586
Merge pull request #595 from ifwe/twitter-use-nservers-instead-of-nco…
TysonAndre Jun 30, 2021
d81d8c4
Merge pull request #545 from TysonAndre/unset-perm-twitter
TysonAndre Jun 30, 2021
cb81d61
FIX: increase the host length to 273 in ketama_update, check the host…
Nov 22, 2018
25d540d
Add various unit tests and integration tests
TysonAndre Jul 1, 2021
0b98d99
Sync changes to Dockerfile, install redis-py 3.5.3
TysonAndre Jul 1, 2021
cb6c564
Merge pull request #610 from ifwe/twitter-add-unit-test
TysonAndre Jul 1, 2021
b97f720
Fix parsing of error message without space
TysonAndre May 1, 2021
7a4e7ad
Update changelog entries
TysonAndre Jul 1, 2021
ace7c2d
Merge pull request #611 from ifwe/twitter-fix-redis-err-no-space
TysonAndre Jul 1, 2021
77f033a
Support various commands from newer redis versions
TysonAndre Apr 15, 2021
4b81d66
Remove BITOP operation destkey key ..., add missing command parser
TysonAndre Apr 16, 2021
c71cb03
Update docs
TysonAndre Apr 16, 2021
2e4f1c7
Merge pull request #599 from ifwe/twitter-support-more-commands
TysonAndre Jul 1, 2021
f08bcfc
Make twemproxy able to parse nested multibulks
qingping209 May 1, 2021
f387657
Add c unit test of multi-bulk result parsing
TysonAndre May 1, 2021
621e7d6
Support arbitrarily nested redis multibulks
TysonAndre Jul 1, 2021
523348f
Update the changelog
TysonAndre Jul 1, 2021
746216c
Merge pull request #612 from ifwe/twitter-fix-multibulk
TysonAndre Jul 1, 2021
7e131f8
Followup for new redis commands and multibulk support
TysonAndre Jul 1, 2021
6006065
Merge pull request #613 from ifwe/twitter-support-new-redis-commands-…
TysonAndre Jul 1, 2021
3f7cc0c
Update libyaml to 0.2.5, strictly check compiler warnings in CI
TysonAndre Jul 1, 2021
709de01
Fix compilation warnings about log sprintf format strings
TysonAndre Jul 1, 2021
1239ef9
[skip ci] Update documentation of supported redis commands
TysonAndre Jul 1, 2021
db2e642
Merge pull request #615 from ifwe/twitter-update-checks
TysonAndre Jul 1, 2021
9258716
[skip ci] Add script to extract redis key/arg count ranges
TysonAndre Jul 1, 2021
c741bf1
Merge pull request #616 from twitter/extract_redis_commands_argcounts
TysonAndre Jul 1, 2021
34dcc49
Fix a crash seen when logging redis `COMMAND` in recent patches
TysonAndre Jul 2, 2021
67e1124
Merge pull request #619 from twitter/fix-logging-crash
TysonAndre Jul 2, 2021
cb0db33
Merge pull request #541 from essanpupil/master
TysonAndre Jul 2, 2021
2e28feb
[skip ci] Remove reference to outdated python-memcached version
TysonAndre Jul 2, 2021
d486c11
Merge pull request #622 from twitter/python-memcached-outdated
TysonAndre Jul 2, 2021
42c2a1d
Merge pull request #570 from erikwebb/patch-1
TysonAndre Jul 2, 2021
9022647
Update tests
TysonAndre Jul 2, 2021
4b33ca8
Merge pull request #623 from twitter/update-tests
TysonAndre Jul 3, 2021
d627f53
Make pointers const qualified where possible
TysonAndre Jul 2, 2021
35ee7a3
Add more const flags
TysonAndre Jul 2, 2021
ef03bf9
Add constant qualifiers.
TysonAndre Jul 3, 2021
ca2683f
Update tests
TysonAndre Jul 3, 2021
0440112
Make static variables const where usage is const
TysonAndre Jul 3, 2021
abb3623
Add more const annotations
TysonAndre Jul 3, 2021
219d167
Add const qualifier
TysonAndre Jul 3, 2021
b7177ba
Use the renamed redis repo url in CI docker build
TysonAndre Jul 3, 2021
9339bcf
Merge pull request #628 from twitter/const-values
TysonAndre Jul 3, 2021
a5e58a4
Log the async event backend used in the version/help output
TysonAndre Jul 3, 2021
60252e1
Skip hashing and dispatching keys for single server pools
TysonAndre Jul 3, 2021
da3c4b4
Update ChangeLog
TysonAndre Jul 3, 2021
82c2052
Merge pull request #629 from twitter/logging-improvement
TysonAndre Jul 3, 2021
50b6c8d
Avoid warning about implicit loss of precision in clang
TysonAndre Jul 3, 2021
85f9875
Merge pull request #630 from twitter/clang-warning
TysonAndre Jul 3, 2021
84733fc
Support memcache 'version' request, add memcache tests
TysonAndre Jul 3, 2021
1165675
Merge pull request #632 from twitter/support-memcache-version
TysonAndre Jul 3, 2021
848d7c1
Test edge cases of parsing memcache/redis protocol
TysonAndre Jul 3, 2021
1653924
Merge pull request #634 from twitter/test
TysonAndre Jul 3, 2021
4bd87c0
Update the changelog
TysonAndre Jul 3, 2021
c3639c5
Merge pull request #635 from twitter/update-changelog
TysonAndre Jul 3, 2021
f95c0ab
Fix possible crash copying malformed memcache value responses
TysonAndre Jul 4, 2021
4700e93
Merge pull request #636 from twitter/fix-bulk-parsing
TysonAndre Jul 4, 2021
2d49179
Make error messages starting the stats server clearer
TysonAndre Jul 4, 2021
be8fa00
[skip ci] Update README descriptions of distributions
TysonAndre Jul 4, 2021
4cb2e86
Merge pull request #637 from twitter/stats-listen
TysonAndre Jul 4, 2021
dd81b78
[skip ci] Remove outdated ppa link from README
TysonAndre Jul 4, 2021
71f9950
[skip ci] Document tcpkeepalive in README, update setting descriptions.
TysonAndre Jul 4, 2021
c26092e
Rename travis.sh to test_in_docker.sh
TysonAndre Jul 4, 2021
93f3dd9
Add instructions on running unit tests, docker checks.
TysonAndre Jul 4, 2021
0a0a1ec
Merge pull request #638 from twitter/doc-updates
TysonAndre Jul 4, 2021
b649777
[skip ci] Link to documentation of how to read stats from the stats port
TysonAndre Jul 4, 2021
fb66ae7
Adapt unit tests from redis-check.sh
TysonAndre Jul 4, 2021
9e0a11b
Update `make check` bugs reporting address to be github issues
TysonAndre Jul 4, 2021
b4f000b
[skip ci] Update documentation of ci/Dockerfile
TysonAndre Jul 4, 2021
f46d1b8
Merge pull request #639 from twitter/doc-updates
TysonAndre Jul 4, 2021
cfeb446
Add miscellaneous tests, fix compilation warnings
TysonAndre Jul 4, 2021
329e1ab
Merge pull request #641 from twitter/tests-compilation-misc
TysonAndre Jul 4, 2021
f852ffa
Create a 0.5.0-RC1 release.
TysonAndre Jul 3, 2021
3dddc2b
Merge pull request #640 from twitter/release-0.5.0-RC1
TysonAndre Jul 6, 2021
7fb53c5
[skip ci] Rephrase google drive link in README
TysonAndre Jul 6, 2021
ca45646
Release twemproxy 0.5.0
TysonAndre Jul 13, 2021
894d783
Merge pull request #643 from twitter/release-0.5.0
TysonAndre Jul 13, 2021
bf754e2
treewide: 0.5.0
zeriyoshi Nov 9, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[skip ci] Document tcpkeepalive in README, update setting descriptions.
  • Loading branch information
TysonAndre committed Jul 4, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 71f9950a92a2f4eec94b18c10cfb23d561df04e2
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -89,7 +89,7 @@ Twemproxy can be configured through a YAML file specified by the -c or --conf-fi
+ crc32 (crc32 implementation compatible with [libmemcached](http://libmemcached.org/))
+ crc32a (correct crc32 implementation as per the spec)
+ fnv1_64
+ fnv1a_64
+ fnv1a_64 (default)
+ fnv1_32
+ fnv1a_32
+ hsieh
@@ -102,14 +102,15 @@ Twemproxy can be configured through a YAML file specified by the -c or --conf-fi
+ random (choose a random backend for each key of each request)
+ **timeout**: The timeout value in msec that we wait for to establish a connection to the server or receive a response from a server. By default, we wait indefinitely.
+ **backlog**: The TCP backlog argument. Defaults to 512.
+ **tcpkeepalive**: A boolean value that controls if tcp keepalive is enabled for connections to servers. Defaults to false.
+ **preconnect**: A boolean value that controls if twemproxy should preconnect to all the servers in this pool on process start. Defaults to false.
+ **redis**: A boolean value that controls if a server pool speaks redis or memcached protocol. Defaults to false.
+ **redis_auth**: Authenticate to the Redis server on connect.
+ **redis_db**: The DB number to use on the pool servers. Defaults to 0. Note: Twemproxy will always present itself to clients as DB 0.
+ **server_connections**: The maximum number of connections that can be opened to each server. By default, we open at most 1 server connection.
+ **auto_eject_hosts**: A boolean value that controls if server should be ejected temporarily when it fails consecutively server_failure_limit times. See [liveness recommendations](notes/recommendation.md#liveness) for information. Defaults to false.
+ **server_retry_timeout**: The timeout value in msec to wait for before retrying on a temporarily ejected server, when auto_eject_host is set to true. Defaults to 30000 msec.
+ **server_failure_limit**: The number of consecutive failures on a server that would lead to it being temporarily ejected when auto_eject_host is set to true. Defaults to 2.
+ **server_retry_timeout**: The timeout value in msec to wait for before retrying on a temporarily ejected server, when auto_eject_hosts is set to true. Defaults to 30000 msec.
+ **server_failure_limit**: The number of consecutive failures on a server that would lead to it being temporarily ejected when auto_eject_hosts is set to true. Defaults to 2.
+ **servers**: A list of server address, port and weight (name:port:weight or ip:port:weight) for this server pool.