So I have a blob of data. This blob of data has some metadata associated with it. Both are static and won’t be changing after insertion. Originally, I was planning on creating a key like this:
(category 1, category 2, timestamp, ID, version, timestamp ) = blob
Does this key seem too large to anyone? It’s designed this way because I’ll potentially be doing range reads on each prefix in this key (except for possibly the last timestamp). Another pro is that a single entry gives me the blob and all it’s metadata (instead of reading from multiple entries to get all this info).
Am I using the abstractions properly here? Should I be using directories for any of these prefixes instead of simple keys?