Single-file, persistent, sorted key-value store for Java (alternative to Berkeley DB) -
berkeley db (je) licensing may deal killer. have java application going small set of customers desktop application, price cannot support individual instance licensing.
is there recommended java alternative berkeley db? commercial or otherwise (good key-value store implementations can non-trivial, prefer defer maintenance elsewhere). need more hash store i'll need iterate through subsequent key subsets , basic hash stores o(m*n) search , expect store ~50-60gib on desktop machine. added benefit can recommend keeps backing store in single file?
you should try jdbm2, want:
- disk backed hashmaps/treemaps can iterate through keys.
- apache 2 license
in addition:
- fast, small footprint
- transactional
- standalone jar have 145 kb.
- simple usage
- scales 1e9 records
- uses java serialization, no orm mapping
update
the project has evolved mapdb http://www.mapdb.org
Comments
Post a Comment