I’m tracking a linux filesystem (that could be any type) with pyinotify module for python (which is actually the linux kernel behind doing the job). Many directories/folders/files (as much as the user want to) are being tracked with my application and now i would like track the md5sum of each file and store them on a database (includes every moving, renaming, new files, etc).
I guess that a database should be the best option to store all the md5sum of each file… But what should be the best database for that? Certainly a very performatic one. I’m looking for a free one, because the application is gonna be GPL.
Sounds like you want a key-value store rather than a full-blown database. You could take a look at LevelDB from Google. Given it doesn’t have the features that a full-blown SQL db has, and was designed for efficiency, it’s likely to be the most performatic solution. There’s some performatance numbers on the linked page.