Archive

Archive for the ‘Coding’ Category

hamsterdb: release 1.1.6!

September 17th, 2010

This release stabilized the remote functionality. New samples for client/server scenarios are provided. The remote server can now write access logfiles. A unix daemon and a win32 Service were added. The dependency to Google Protocol Buffers for C was removed; instead, Google Protocol Buffers (C++) are now used. Compilation on ArchLinux (gcc 4.5.1) was fixed. Several functions are now deprecated. The source repository was moved to github. Sources, CHANGELOG and precompiled win32 libraries are available for download here!

chris Coding, hamsterdb, Libraries

hamsterdb moves to github.com!

August 2nd, 2010

I just imported the hamsterdb sources to a github repository.

There were a few reasons for this, mainly

  • I was fed up with repairing broken svn repositories, i had to use “svnadmin recover” every second week and afterwards i had to fix broken file permissions for the bdb logfiles. One repository was broken beyond repair.
  • I hope to make collaborating easier by moving to an open platform
  • github offers a lot of features (i.e. a Wiki) that i could utilise, and i am happy if someone else does the server maintenance for me

If you want to browse the sources, see the most recent changes or branch off your own hamsterdb then please go to http://github.com/cruppstahl/hamsterdb. Everyone’s invited :)

chris Coding, hamsterdb

hamsterdb: release 1.1.5 UNSTABLE

July 25th, 2010

This release implements remote functionality over http. The protocol is implemented with Google’s Protocol Buffers, the client uses libcurl for network handling and the server is based on mongoose, an embedded micro http server.
The server interface is very simple, and the server can easily be embedded into an application.

There are no known bugs, but currently the remote functionality is only supported on Unix/Linux. The next version 1.1.6 will also support the new features on Win32; several other improvements are also pending for the next release: a unix daemon, a win32 service and some other minor issues.

Download the sources at http://hamsterdb.com/download.

chris Coding, hamsterdb, Libraries

hamsterdb-dotnet: release 0.0.3

April 19th, 2010

… is available for download, including most of the functionality in hamsterdb 1.1.4.

chris Coding, hamsterdb, Libraries

hamsterdb: release 1.1.4

April 16th, 2010

Version 1.1.4 is now available!

This is mainly a bugfix release, and in case you’re not haunted by these bugs, there’s no need for you to update.

First one: hamsterdb only supports one Transaction at a time, but nevertheless it was allowed to create temporary, unnamed Transactions while another one was already running. -> fixed

Second one: on win32, if you have a cache size of more than a gigabyte and fill up the cache then the non-paged memory pool can be exhausted. -> fixed

What else? some macros in the header file were renamed for consistency reasons, but the old macros still exist and source compatibility was not broken.

Everything’s available here: http://hamsterdb.com/download.

Next thing on the TODO list: update the .NET wrapper. And then finally implement remote access.

chris Coding, hamsterdb, Libraries

hamsterdb java wrapper: release 0.0.3

April 7th, 2010

I just released a new version of the java wrapper, after neglecting things for a long time. Most of the current functionality is now available.

Next on the TODO list is the .NET wrapper.

Everything’s available for download, including precompiled win32/win64 libraries.

chris Coding, hamsterdb, Libraries

hamsterdb: release 1.1.3!

March 16th, 2010

Four weeks after 1.1.2, here’s the next! The headline is “partial read/write” – records can now be read or written partially. This can be a benefit if your records are REALLY big. But it will also enable you to “stream” records.

This feature caused changes in the layout of ham_record_t. Therefore the ABI of hamsterdb is no longer compatible (but the API and the database file format are compatible). To avoid crashes, i incremented the libtool version and embedded the hamsterdb version in the win32 dll/lib filenames.

Also, i fixed a performance related bug in the caching – 1.1.3 should therefore be much faster than 1.1.2.

I added a new function “ham_get_env” to retrieve the Environment handle of a Database. (This handle always exists, even if it was not created explicitely).

Everything’s available on http://hamsterdb.com/download.

Next big feature will be a remote client/server setup. And i’ll FINALLY update the java/python/.NET wrappers.

chris Coding, hamsterdb, Libraries

Presentation for OpenHUG Munich

February 26th, 2010

Yesterday i was invited to give a short presentation about hamsterdb for OpenHUG (Hadoop User Group) in Munich.

And i really enjoyed this meeting – most of the audience was coming from the Web 2.0/Enterprise area, where i do not have that many insights.

The OpenHUG was organized by Bob Schulze – thanks for the invitation, and thank you for the beer :)

Here’s the presentation.

hamsterdb

chris Coding, hamsterdb

hamsterdb: release 1.1.2!

February 13th, 2010

Release 1.1.2 is available for download!

New features

  • Duplicate keys can now be sorted. Sorting has to be enabled with HAM_SORT_DUPLICATES. The default collation can be overwritten with ham_set_duplicate_compare_func.

Bugfixes

  • If multiple Databases in an Environment are open, an open Transaction was not immediately closed when the first Database was closed (with ham_close)
  • If multiple Databases in an Environment are open, and just one Database was closed, then the pages of this Database were not flushed correctly
  • Fixed crash on Linux 64bit/gcc 4.4 with compiler optimization

Other Changes

  • The documentation is now reduced to public interfaces; internal documentation is only built when requested
  • A lot of refactoring and code improvements

Everything’s available on http://hamsterdb.com/download.

chris Coding, hamsterdb, Libraries

David Bolton blogs about hamsterdb

February 4th, 2010

I like the title – “A Small Furry Database” :)

http://cplus.about.com/b/2009/12/15/a-small-furry-database.htm

chris Coding, hamsterdb