Source

yatce /

Filename Size Date modified Message
c_src
ebin
src
test
202 B
213 B
1.6 KB
1.4 KB
0 B
331 B
11.4 KB
yatce - Yet Another Tokyo Cabinet Erlang binding

* Abstract

For users who want to use Tokyo Cabinet from Erlang.

* Current Status 

  Working well. But Erlang linkedin driver (say, port) said to be bottleneck,
 But port_control runs in the same thread context with Erlang code. 
 Simple performance test (written in porformer.erl) shows the result that,
 insertion performance reaches 6500 qps, and lookup performance reaches 
 29000 qps; is this a row performance of Tokyo Cabinet? (I expect TC makes
 much better performance)
  
  Currently, and Temporarily, it compiles in MacOSX and Ubuntu 9.04 - users
need edit Makefile ( just comment-out and comment-in a single line ).

* Compilation

  Edit this line in Makefile.
>>>
 $(TARGET):
 ## on Mac
 #	sed -e 's/_opt_local/\/opt\/local/'  c_src/MacOS.mk.in > c_src/Makefile
 ## on Ubuntu
 	cat c_src/Ubuntu.mk.in > c_src/Makefile
<<<


* TODOs

-autoconfize
-compatilibily in other environment: Linux, *BSD, Solaris.
-performance test (is port_control a really bottleneck?)
-binary insertion support
-documentation
-documentation
-documentation :P

* RELATED PROJECTS ... orz

-Tokyo Cabinet - what I want to bind
  http://tokyocabinet.sourceforge.net/

-tcerl - Erlang port of Tokyo Cabinet
  http://code.google.com/p/tcerl/
  http://dukesoferl.blogspot.com/2008/06/tokyocabinet-and-mnesia.html

* Interface

 going to make compliant with tokyocabinet.idl

* License

 see GPLv3.
 http://www.gnu.org/licenses/