3 ms·
How is Tokio Cabinet used? I was trying to find code that uses Tokyo Tyrant to interface with Tokyo Cabinet but didn't find any. I did find a compiled tokyocabi
by niktech 16y ago
How is Tokio Cabinet used? I was trying to find code that uses Tokyo Tyrant to interface with Tokyo Cabinet but didn't find any. I did find a compiled tokyocabinet.o object file - does anyone know where/how it's used since it's not compiled into Node as an extension?
- BrianHammond 16y ago.node files are "addons". See the following: http://github.com/stevedekorte/vertex.js/blob/master/lib/Vertex/PDB.js http://github.com/stevedekorte/vertex.js/blob/master/lib/Ver... http://github.com/stevedekorte/vertex.js/tree/master/lib/Vertex/lib/TokyoCabinet/ http://github.com/stevedekorte/vertex.js/tree/master/lib/Ver... http://github.com/edvakf/node-tokyocabinet http://github.com/edvakf/node-tokyocabinet http://nodejs.org/api.html#addons-289 http://nodejs.org/api.html#addons-289
- lpgauth 16y ago[OT] As anyone tried out Kyoto Cabinet?
- richcollins 16y agoTokyoCabinet is embedded through the http://github.com/edvakf/node-tokyocabinet http://github.com/edvakf/node-tokyocabinet node addon. It's used to implement storage (b-tree). Each vertex is a set of key value pairs in the following format: pid/s/name (slot record) pid/m/name (meta record) pid/p/name (private record) Since all keys are lexically ordered, you can efficiently iterate (and jump to) vertex records using a cursor.