https://slatedb.io logo
Hi all. Been playing around with with a
# general
r
Hi all. Been playing around with with a quick Foyer - SlateDB - Garage type of thing on my homelab mesh and has been working pretty well for all sorts of things I throw at. Hopping here to keep tabs. Good stuff ❤️
c
Awesome! Garage actually just came up today with @Pierre
Is it working well for you with SlateDB? I was under the impression that it didn’t support precondition writes
p
Garage just ignores if-match @criccomini
c
Ahhh
p
😅
c
Interesting.. so it kinda does what you were asking for already huh
I mean… that’s a good signal that adding an option to SlateDB should just work…
p
Not really, kind of dangerous because it does not enforce anything
Yes I guess
c
@RobLach are you writing from only one machine or do you do failover to another machine?
r
Mostly one so far. Beginning to find the edges with more.
c
Nice. I’d love to hear how it goes if you ever set up a failover mechanism for your DB. SlateDB depends on preconditions to fence old writers. Garage does not support preconditions. It is possible in certain failure scenarios that you might end up with multiple writers at once if you fail over. That can lead to potential data loss (overwrites by one writer or the other). It might also lead to panics. We haven’t tested any of that since SlateDB is built specifically for precondition object stores. But I’d be very curious to see how it goes for you.
r
Will do. Have a call with quentin from Deuxfleurs on tuesday to get a sense about where they're heading with garage, which will be good to bring up.
c
Would be amazing to get precondition support in it 🙂
p
I've read a bit about this before
> Unfortunately adding this to Garage is not possible with our weak-consistency replication model, it would require a full rearchitecturing to use a strong consensus algorithm, which would make garage much slower.
r
good find
Alas, sounds like they've been discussing it but will require a lot of community buy-in (or resourcing? they're spinning up a consulting arm) to focus on it.
c
Kinda jives with what @Pierre said. I think they'll have to do it, but since it's hard, I get that it'll take a while 🙂
p
IHMO one cannot really claim to be "s3 compatible" without that
It's becoming too much of a staple