by didgetmaster · 2y ago · 0 comments
Most systems use things like file extended attributes or a separate database to store such metadata; but I wanted something different. It needed to be able to attach tags to hundreds of millions of objects and find things that matched certain tags quickly.
I invented a key-value store to hold the metadata and got it working well. When it started to look like a big columnar store with sparsely populated rows; I decided to see if it could handle queries like a relational database. To my surprise it not only did it well, it could outperform many of them.
There are data models besides relational that can work extremely well for certain data sets.
But for my one hobby project, I'm using RDF and a triple store. Even with a "small" dataset, you can get an explosion of properties.
I want to be able to add arbitrary properties to arbitrary things and relate them all together. Build the graph organically.
So far, its working really well. But underneath, its (likely) just a couple of b+trees do all of the heavy lifting.
Aint that just neat?
But, for RDF its exactly what I want, I'm not interested in schemas and such for this work, so it's perfect for my scenario.
Need to do a non-trivial merge of complex domain graphs? Why have you tried string concatenating turtle files?