https://slatedb.io logo
https://github.com/slatedb/slatedb/pull/123 - In d...
# general
m
https://github.com/slatedb/slatedb/pull/123 - In draft rn but would be great to have any feedback at this point. Will add a few more tests
c
Nice! Will take a look
Might be tomorrow-- that OK?
Did a quick scan: this is looking good to me. @Rohan might have more thoughts.
(leaving a couple review comments)
Main thing I noted was using SsTableFormat instead of Block
m
I’m not quite sure what you mean by that?
I am using SsTableFormat right
c
I think the idea was to do the encode/decode inside
EncodedSsTableBuilder
and
SstTableFormat
rather than inside the
block.rs
. So you would use the
BlockBuilder
as normal, and then take the bytes it returns and encode that inside the table builder.
Around line 240 of
finish_block
in
sst.rs
@Rohan if you have a sec, want to double check my comment here? ^
Want to make sure I'm not misguiding
r
yeah that's what I had in mind. The thinking is that this way we try to keep the details about how the sst is serialized decoupled from the types that describe its contents
c
yea
I like that. It seems much cleaner.
m
Yup that was much cleaner
just pushed
c
Will take a look shortly!
@macha____ marking your PR ready for review to get CI's to run and stuff
m
I am trying to understand scenarios for which SlateDB would be well suited, looking at Rockset it seems like a RocksDB cloud type product would be great for OLAP right is there a reason why OLTP became primary focus?
c
I think the main thing is the storage format. If you wanted OLAP, you'd want something with a columnar storage format
You could use Slate for OLAP. As you said, that's what Rockset does.
But I think you could do more optimal stuff if you had columnar-based storage
https://tonbo.io/ Has some intesreting notes
They are a lot like SlateDB, but use Arrow+Parquet for storage. That enables predicate pushdown and more efficient aggregation behavior
OTOH, if you want to do row lookups, SlateDB is much better
m
Okay I might come back with more questions because I dont completely understand even Rocket's business value, but thanks for explaining!
c
AFAIK, Rockset was kind of branding itself as HTAP and search
Something like singlestore
Most of their marketing copy is about search, though :/
m
Yeah I couldnt understand how openAI could benefit from such a database haha
c
Not sure I understand their busines value either šŸ˜…
I suspect they're using it for vector search/RAG
The last PR for rocksdb-cloud is from OpenAI
m
Oh thats interesting
I read somewhere they actually use qdrant
for RAG
c
Interesting.. could be
I'm just lookin' at PRs and guessing šŸ˜›
m
wonder if they are using it for their search product
c
Ohhh maybe
@macha____ Reviewed your pr: https://github.com/slatedb/slatedb/pull/123 .. looks good! Just a couple of stylistic tweaks and I think we're good to go.
Can you run
cargo fmt
and
cargo clippy --all-targets --all-features
as well?
m
Yes will do
Just updated
c
šŸ‘€
Still seeing this: https://github.com/slatedb/slatedb/pull/123/files#r1720382249 Am I missing where it's being used?
rubs eyes
m
Yeah its a trait
c
Ah!
Gotcha
Merged!
Thanks! šŸ™‚
2 Views