Re:Distributed SQLite for Go applications
by bluejekyll on Friday April 06, 2018 @12:15AM
(#16770831)
Just because somethings already been done, doesn’t mean you can do it too, or even better.
[ Parent
| on HN ]
Re:Distributed SQLite for Go applications
by hardwaresofton on Friday April 06, 2018 @12:20AM
(#16770845)
Yeah, but it's probably not smart to re-invent the wheel too many times. Especially when the projects that came before don't look badly written or unreasonable.
I think I do have something to offer -- mostly trying gossip and making use of aggressive automatic sharding -- but I'm also more interested in what I wanted to build on top of distributed SQLite as well. No need to get down in the weeds if someone's already done the hard work for me :)
Re:Distributed SQLite for Go applications
by bluejekyll on Friday April 06, 2018 @12:36AM
(#16770906)
All great points. I was just responding to what seemed like a defeated perspective.
By all means contribute to this project. Everything starts somewhere!
Re:Distributed SQLite for Go applications
by free-ekanayaka on Friday April 06, 2018 @02:17AM
(#16771279)
I implemented dqlite in Go for convenience (a production-ready raft library was available, github.com/hashicorp/raft). It'd be interesting to implement something similar in C or event batter in rust, so you can link the library from languages than just Go. But not sure there'd be good use cases for that.
There's a Raft implementation in Rust to help get started:
Re:Distributed SQLite for Go applications
by hardwaresofton on Friday April 06, 2018 @05:56AM
(#16772101)
Rust is exactly what I wanted to implement mine in -- I figure any performance savings can go towards making SQLite look more performant :)
I've been looking at https://github.com/pingcap/raft-rs