Purified?

New release from MapDB: the Java database for Java devs

Lucy Carey
Rocket

A less buggy version of the 100% Java-fied database is now ready for download, but watch out for pesky asynchronous writes.

Bespoke Java developer database MapDB, which is open
sourced under the Apache license, reached a new milestone yesterday
with its second official release. There’s been some bug fixing,
including retooling of race condition in asynchronous
writes.

Because  asyncWriteEnable() had race
condition in record preallocation, there’s a chance that users
might experience data loss. The feature turned out to be too
complicated to fix, so it was removed altogether, which could
result in some minor “performance regression.”

Moreover, some formerly protected methods are
now public and allow external access, and the DB now now exposes
Name Catalog via public methods. In addition, external libraries
can now manipulate catalog content. For the full and intricate list
of what’s new, check out the official
changelog.

If you’re a Java dev who has yet to

sample MapDB
- touted in certain circles as
the Java storage engine of the future – then you’ll find it all
pretty familiar, due to its intuitive and adaptable API.

Furthermore, MapDB utilizes some of the advanced
Java Collections variants, such as ConcurrentNavigableMap, allowing
you to travel beyond simple key-value semantics and find values
near a key. The database also offers a high degree of agility,
allowing you a satisfying level of control over a host of features
within your DB, running the breadth from exposed schema to internal
structures.

All of this was primarily developed by Jan
Kotek, who has had a hand in a range of JDBM (Java Database
Manager) projects. And it’s his experience with the JDBM, which was
itself was a Java port of UNIX DBM and GDBM, C-language databases
that support hash-based key-value stores on disk, that he takes as
his inspiration for MapDB. Jan now works full time developing his
creation at dbShards vendors CodeFutures, who were enthusiastic
early adopters of the project. His mission? Naturally, to make
MapDB the leading Java database in the world.

If you’d like to take a swig of Jan’s tasty Java-laced Kool Aid,
check out this MapDB intro from the man himself:

k

 

Author
Comments
comments powered by Disqus