stevedekorte / tagdb
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
a18f702
Steve Dekorte (author)
Thu Jan 01 20:42:46 -0800 2009
commit a18f702e97ec9e9d42d015c6b8d1e29b6692947c
tree 310a55793b464435860e0b0e15ebb6ad96200969
parent 881c71c10f5a60ccd50460cff801bcae7e273aed
tree 310a55793b464435860e0b0e15ebb6ad96200969
parent 881c71c10f5a60ccd50460cff801bcae7e273aed
tagdb /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
Makefile | ||
| |
README.txt | ||
| |
dependencies/ | ||
| |
docs/ | ||
| |
license/ | ||
| |
projects/ | ||
| |
source/ | ||
| |
tests/ |
README.txt
A fast in-memory tagging database (an example application would be flickr like image tagging) using TokyoCabinet as a backing store. The key-to-tags table is read on start up and searches are done on it in-memory. Inserts and updates are transactionally saved to TokyoCabinet as they are made. There are lots of things that could be done to improve search performance (by several orders of magnitude) and reduce memory consumption, but the current implementation focuses on simplicity and is good enough for use in desktop apps. features: - small implementation (~245 C statements) - reasonably small in-memory footprint (~36 bytes per record assuming ~3 tags per record) - reasonably fast (less than 10ms to search 1 million records on a 2.5Ghz Core Duo)

