siddontang

Results 120 comments of siddontang
trafficstars

:smile: I met the same problem before and `make clean` had no effect, so I removed Godeps pkg path and it worked.

Well, ledisdb uses 1 byte for db index, so now it may only support maximum 256 dbs (my fault). Supporting larger (using 2 byte for db index) must upgrade the...

@kouhate , now xcodis and ledisdb support configuring databases, (slot_num in xcodis config, databases in ledisdb config), you can decide how many databases you want to use. Because of my...

Hi @kouhate, sorry the bug for 256 config. the chance for busy keys on the same slot may be big, I think we can customize the routing rule, e.g, detect...

Hi @kouhate, there is no perfect solution, so we have to weigh the cost of different ways and find a acceptable one. A NoSQL can not fit all needs in...

xcodis是基于最开始1.0的codis,跟现在的codis应该不同了,但是稳定性还是能保证的,毕竟1.0的codis也在wandoujia里面使用了很长时间了。 xcodis跟codis唯一不一样在于xcodis支持原生的redis和ledisdb,不像codis需要支持修改版的redis。codis会把所有的key放到db 0上面,但xcodis会把key hash到对应的db index上面,所以会有一个select操作。但如果基于ledisdb,xcodis对这个select进行了优化。

xcodis就跟codis一样,其实还是需要人工介入的,规划slot在那几个group上面 现阶段不支持直接导入

xcodis使用的db index作为类似codis里面的slot分区,所以对外仍然没有db index概念,外部使用只能是db 0。

会用不同的index,不光是0

现阶段没法子,因为xcodis用db index来模拟的slot。codis之所以全用0,主要是因为他们改了redis,加了slot这个数据结构,但我想用原生的redis。 另外,既然你用了proxy,后端的redis到底怎么存的其实你并不需要太care了,所以我不明白为什么只能用0