https://slatedb.io logo
Local Disk Cache Improvement on startup,...
# general
h
Hello, We were looking into having predictable read perf in SlateDB and that lead us to opening these two issues https://github.com/slatedb/slatedb/issues/703 https://github.com/slatedb/slatedb/issues/704 It seems some of this is already under consideration (let me know if I missed something and any of this is already implemented) . Wanted to know your thoughts about adding these features.
c
Hi! Yep, saw these pop up now. Much of it has, indeed, been discussed.
I'm planning to leave a comment with some related GH issues
But I think the bulk is work that'll need to be done. But it all makes sense 🙂
p
Btw @criccomini why isn't the local disk cache using
object_store
too?
c
Hahaha this is something I was thinking about
We just didn't think of it initially
But having the FS API in SlateDB is really annoying for DST fault injection
tokio/std FS apis are 😭
p
That'd also allow to replace the in memory block cache with a single implementation
c
Yep
p
Because you could just use
InMemory
there
It's more of a linux thing
h
Great to hear that this is all considered. Happy to help in implementing some of this.
c
@Hussein that would be great
p
@criccomini Cannot epoll files
h
Also I agree, using object_store for the disk cache makes sense
p
I think
io_uring
fixes that?
c
Yep
Doesn't use spawn_blocking at all
For file ops
c
ya! I'm excited about that
@Hussein I'll try and get to the issues to respond later today or tomorrow.. trying to get some code stuff done on my day off from meetings 😛
h
Of course. No rush in responding. I'm just happy we are on the same page here 😆
I submitted the draft PR for the disk change https://github.com/slatedb/slatedb/pull/747 I just learned that discord has threads 😅 , I guess we can this for discussion on these two issues if needed.
c
Was just looking at this!
h
Feel free to butcher my rust code as well. I'm a noob here.
c
Haha no worries.. we all are 😛
I have a ton of code reviews to do, so it might be mon/tue before I get to it 😅 (/cc @flaneur233 I haven't forgotten about yours either)
h
yeah, I noticed there is a good number of PRs. It's a good problem to have I hope
c
Haha ya definitely a good problem 😛
It's been a bit quiet over the summer. I'm hoping folks show up again as we hit sept+
There's just a ton of stuff going on in the project, too lol
h
We are still going to start running benchmarks with SlateDB in about month. We have a nice list of exciting features that we will hopefully add over time.
c
😄 awesome!
I have some basic benchmarking set up on the perf page--i'm updating it right now
Under the loads in that bencher script, we're able to saturate the network
(this is a hetzner machine talking to tigris over open internet)
(both are in frankfurt, though)
@Pierre has done a lot of experimentation with perf. And Responsive, too, a while back.
h
I have it on my TODO to learn how these benchmarks are setup. This should be very useful
c
LMK if you have any questions. There are docs there, but there's a lot going on 😛
h
Thanks. Will ask here if I need anything
c
Left some comments, but feel free to proceed 🙂
h
I couldn't get to address the comments except today. I pushed the updated version addressing the comments.
c
no worries! Lots going on anyway 🙂
Will try and take a look this weekend