https://slatedb.io logo
What do we think about storing relatively static m...
# general
v
What do we think about storing relatively static metadata the DB? For example - schema of key, value to help with serialization, mapping the instance of the DB to an external system (for example, this DB mirrors a Kafka partition / iceberg partition). Here are a few possible options 1. Don't do anything, store it externally - need access to the external system to understand DB content. 2. Add a general property map to manifest - these relatively static configs are copied over and over again. 3. Store it in a different key space - it won't be a standard, every application would do it differently. 4. Add another file, and a reference in manifest. - is it an overkill?
c
My preference is (3). I think apps can write their metadata to some specific key if they want.
Does RocksDB offer anything special here?
v
Column family provides a nice primitive to separate the key spaces. Besides that, I am not aware of any.
c
Ya.. that was what I thought
WDYT we should do?
v
As the DB gets used as the store for many stream processors, there is value in standardizing some aspects, so that other tools , operating on read-only clients can be built. Iceberg for example, has puffin spec to standardize custom metadata to an extent..https://iceberg.apache.org/puffin-spec/ With that, either 2 or 4 could provide value. But we should see such variations getting built first.
c
SGTM. I'm inclined to wait-and-see. I really want to be watchful about complexith with sl8