twemcache
twemcache copied to clipboard
Twemcache is the Twitter Memcached
Mmstat
add some metrics for memory statistic. current heap memory usage, current hashtable size and connection buffer usage.
Add linux accept4() support.
build.sh
Hi @thinkingfish On my laptop, build.sh can't resolve https://artifactory.twitter.biz, maybe it's an internal url. So build.sh can't download musl, and the same to libevent-2.0.22-stable.tar.gz Thanks
original codes are from here: https://github.com/twitter/twemcache/blob/master/src/mc_util.c ``` cpp bool mc_strtoll(const char *str, int64_t *out) { char *endptr; long long ll; errno = 0; *out = 0LL; ll = std::strtoll(str, &endptr,...
In wake of recent memcached amplification problems https://blog.cloudflare.com/memcrashed-major-amplification-attacks-from-port-11211/ it makes sense to disable UDP support. The code of twemcache seem to be created in a way to require UDP binding...
https://github.com/twitter/twemcache/blob/82c5d80e66a3c645b09721b3d78ef3aaf83902a8/src/mc.c#L115
I see that you've invested a lot of time in stackable Eviction Strategies. That's good for me, because that means, that you've already made the first step : admitted that...