kouhate
kouhate
Hi @siddontang, connection pool per server not db is needed. Then, do you think SELECT have so many overhead? I guess its overhead come from the round trip between xcodis...
:+1: TMPSELECT db may be better.
@siddontang Maybe this command is mostly used as backend protocol between xcodis and ledisdb, so the syntax is not so important. This should reduce redundant connection pool :-)
@siddontang I got the following error when I tried to build latest ledisdb. make godep go install -tags 'linenoise leveldb rocksdb lua lmdb' ./... # github.com/siddontang/ledisdb/server server/client_resp.go:27: undefined: goredis.RespReader godep:...
Oops, works fine. I didn't know godep enough... Thanks :-)
@siddontang , thank you! When I set databases = 256, I got this error. Type mismatch for 'config.Config.databases': Value '256' is out of range for uint8. So your config message...
Hi @siddontang, sorry for my long silence. Custom routing for busy key looks good, but this may bring some difficulty for maintenance in the future. Is it possible to automate...
It definitely needed, and we have to determine how to set ReadPreference. Then, I came up with the following way. We can define some additional status for a slave like...
@siddontang, that's cool to use "FROM SLAVE". For easiness, it is also nice that a key written just now always routes to master. "standby" is my fault, not necessary for...
OK @siddontang, I hope you could make it good. Btw, that idea is came from a certain NoSQL already used in production.