https://slatedb.io logo
Exciting stuff! I hope your project
# general
a
Exciting stuff! I hope your project works out. I don't think it would hurt to add a few more bytes to the SsTableInfo struct for the last key / timestamp / size in bytes even though those are duplicate info you can get otherwise, thoughts @Rohan @criccomini? I do like keeping things minimal when possible as a design choice but we can create tickets tracking it to see if it's a common ask
r
I wouldn't be opposed to adding some additional metadata. It's not free though. The per-sst metadata is the main thing that determines how big the manifest gets, which can start to be a problem as its flushed/polled pretty frequently.
c
I prefer keeping stuff as light as possible in the metadata. timestamp is in the ULID already right? Size is in object store and estimated_size can be calculated at runtime. last key can be derived. I'd prefer we keep these out and instead add helper methods in code to make it easier to retrieve this stuff.