vipshop / twemproxies Goto Github PK
View Code? Open in Web Editor NEWMultithread twemproxy.
License: Apache License 2.0
Multithread twemproxy.
License: Apache License 2.0
Hi,
Both twemproxies and vire are great projects, thanks alot for your work.
Are there any plans to implement script, eval, evalsha commands in the future?
this issue related to vipshop/vire#6
Sincerely,
EM
Hi, Thanks for multithread enhancement, but statistics socket cannot work properly.So i didn't get json data while i am using netcat or telnet to display statistics values which is defined port 22222.
selamlar.
Hi,
I have just added tcpkeepalive parameters in nutcracker.yml file but after run it gives below error.
[2017-02-26 22:42:31.554] nc_util.c:203 setsockopt TCP_KEEPIDLE call error(Invalid argument)
[2017-02-26 22:42:31.554] nc_thread.c:278 set tcpkeepalive on c 63 from pool alpha failed, ignored: Invalid argument
Please give idea to resolve the error.
nutcracker.yml :-
alpha:
auto_eject_hosts: false
distribution: modula
hash: crc32a
hash_tag: '{}'
listen: 0.0.0.0:8511
preconnect: false
redis: true
server_connections: 10000
server_failure_limit: 2
server_retry_timeout: 30000
tcpkeepalive: true
tcpkeepidle: 300000
tcpkeepcnt: 5
tcpkeepintvl: 100000
servers:
Hi,
I want to understand why for 1 ESTABLISHED connection 4-5 fd's are open.
netstat -an | grep "ESTABLISHED" | grep 42704
tcp 0 0 X.X.X.X:42704 X.X.X.X:6381 ESTABLISHED
lsof | grep "ESTABLISHED" | grep 42704
nutcracke 2238 cache 1031u IPv4 83103254 0t0 TCP itx1SPIP-TwPr:42704->X.X.X.X:6381 (ESTABLISHED)
nutcracke 2238 2239 cache 1031u IPv4 83103254 0t0 TCP itx1SPIP-TwPr:42704->X.X.X.X:6381 (ESTABLISHED)
nutcracke 2238 2240 cache 1031u IPv4 83103254 0t0 TCP itx1SPIP-TwPr:42704->X.X.X.X:6381 (ESTABLISHED)
nutcracke 2238 2241 cache 1031u IPv4 83103254 0t0 TCP itx1SPIP-TwPr:42704->X.X.X.X:6381 (ESTABLISHED)
nutcracke 2238 2242 cache 1031u IPv4 83103254 0t0 TCP itx1SPIP-TwPr:42704->X.X.X.X:6381 (ESTABLISHED)
Due to this connections are restricted and i am facing error "Cannot assign requested address" at certain limit fd's open.
Please suggest the configuration to use persistent connections between redis and twemproxy.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.