tokyo-tyrant

Sphinx + tokyo Tyrant + mysql

I'm looking at creating a full text search engine for one of my projects. We have a Mysql, Tokyo Tyrant and file documents that need to be indexed. I'm looking at Sphinx right now but I can't figured out if I can use it to index every document. I know it's possible to let Sphinx to use Mysql but I'm looking at a way to let Sphinx inde...

Which key:value store to use with Python?

So I'm looking at various key:value (where value is either strictly a single value or possibly an object) stores for use with Python, and have found a few promising ones. I have no specific requirement as of yet because I am in the evaluation phase. I'm looking for what's good, what's bad, what are the corner cases these things handle we...

Tokyo Tyrant transaction support

I've noticed that rufus-tokyo and other apis support transactions in Tokyo Tyrant. I couldn't find any mention of the transaction support in the TT docs (http://1978th.net/tokyotyrant/spex.html#clientprog) Is that transaction support simulated? Or is there a way to do a server-side transaction using the C api? ...

NO-SQL reliable for small bussines app?

I'm deciding between go for a NON-SQL engine or a regular SQL one for a document managment system for small bussines. I have experience with firebird/sql server and found a good track of reliability (specially with firebird). This market is full of crappy "servers" (clon-made PC, the mayority), cheap harddisk, rarely use of RAID or any...

Tokyo Cabinet Tuning Parameters

Hello, I have been trying to find a better Tokyo Cabinet (or Tokyo Tyrant) configuration for my application, but I don't know exactly how. I know what some parameters mean but I want to have a fine tuning control, so I need to know the impact of each one. The Tokyo documentation is really good but not at this point. Does any one can hel...

Tokyo Tyrant indexes

I was wondering about size requirements for Tokyo Tyrant indexes. If I have an index on field x and insert a record with fields y and z only, does the x index grow? Also: does the insert time grow in that case? ...

Why Tokyo Tyrant so slow

I have follow situation tyrant server lunched on freebsd host, like this: ttserver -uas -log /data/tyrant/1.log -sid 1 -thnum 8 -tout 5 /data/tyrant/data/1.tct And i try to communicate this server on windows from python and pyrant-0.3.5: like this: import pyrant; import time; t = pyrant.Tyrant(host="192.168.0.220", port=1978); tbegi...

how to merge Tokyo Cabinet hash-table db's (.tch files) (no duplicate keys)

Is this possible? I couldn't find an answer anywhere. Basically I'm looking at a setup where I have multiple workers (boxes) which must all store there data into a Tokyo Cabinet index/db eventually (I'm using Tokyto Tyrant over the memcached protocol abtw. not that it matters but still) Basically, I tried pushing the data directly t...

Tokyo Cabinet: lots of reads on target disks during batch insert

I have the following setup Source: Raid0 (4 disks) with about a Tokyo Cabinet Hash-db with ~ 100.000 key-values where values are in compressed format, and each value consist of ~ 100 'sub-values' (values on avg are 1.5 MB) Target Raid0 (4 disks) with empty Tokyo Cabinet db. with settings: #bnum=20000000#opts=l#xmsiz=268435456#thnum...

tokyo cabinet & tyrant tutorial

Can somebody refer a good tutorial on tokyo cabinet and tokyo tyrant ...

Setting OPT_SERVER_FAILURE_LIMIT on PHP Memcached library

I wanted to know how OPT_SERVER_FAILURE_LIMIT constant (which I think is equivalent of MEMCACHED_BEHAVIOR_SERVER_FAILURE_LIMIT on libmemcached) works, so created a small code snippet like this: #!/path/to/php533/bin/php <?php function debugging_set($memcached, $key, $value) { $code = '$memcached->set($key, $value)'; var_dump(eval('r...