catroot

Results 18 comments of catroot

+1 за принудительный компакт

Так то да, этажерки можно строить произвольной вложенности. Я просто хочу понять размер кванта в Софии. Судя по всему - это целиком key и value, неважно как я в схеме...

Частично это как раз в случае если лежат в разных базах? т.е. для комбинации ключей а, б, а+б мне нужно три базы в двух из которых будут храниться индексы из...

А на питоне это будет выглядеть так: ```python schema = Schema(key_parts=[StringIndex('key,key(0)'), StringIndex('predicate,key(1)')], value_parts=[StringIndex('value,key(2)'), BinaryIndex('bin,key(3)')]) ``` Или в драйвере питона это не имплементировано? key() может быть только 0 и 1 или...

My suggestion is `PROTOCOL_SSLv3 = ssl_orig.PROTOCOL_SSLv3 if hasattr(ssl_orig, "PROTOCOL_SSLv3") else None`

Ofcourse, there is nothing special. ``` from tg import expose, TGController, AppConfig import guv; guv.monkey_patch() import guv.wsgi class RootController(TGController): @expose() def app2url(self): return "Hello World" if __name__ == '__main__': config...

Ok. No behaviour impact. ``` wrk -t 1 -c 1000 -d 25s http://suite:5001/app2url --latency Running 25s test @ http://suite:5001/app2url 1 threads and 1000 connections Thread Stats Avg Stdev Max +/-...

Ok. I would make the same test with 2 threads and 200 connections: ``` wrk -t 2 -c 200 -d 25s http://suite:5001/app2url --latency Running 25s test @ http://suite:5001/app2url 2 threads...

Perhaps, there are some platform specific features used in libuv. My dual core AMD E-350 CPU works faster with eventlets for some reason.

Here is a bottle performance for your code: ``` wrk -t 2 -c 200 -d 25s http://suite:5001/ --latency Running 25s test @ http://suite:5001/ 2 threads and 200 connections Thread Stats...