News for hackers. Stuff that matters.
Re:An embedded database written in Rust by tormeh on Monday May 28, 2018 @03:16AM (#17171016)
No clustering :( I feel like good multi-master asynchronous and synchronous clustering is truly the frontier in DBs.
Re:An embedded database written in Rust by Groxx on Monday May 28, 2018 @03:23AM (#17171041)
clustering and embedded seem like almost opposite ends of the spectrum
Re:An embedded database written in Rust by spacenick88 on Monday May 28, 2018 @05:06AM (#17171410)
Then again embedded databases are a great building block for things like etcd. It also might even make sense to have something like this in process because that would remove quite a few failure modes coming from the client connection and simplify deployment
Re:An embedded database written in Rust by jacquesm on Monday May 28, 2018 @03:48AM (#17171136)
You can't cluster an embedded database, this comment makes not sense.

Compare with SQLite, not with Orcale or Postgres.

Re:An embedded database written in Rust by krenoten on Monday May 28, 2018 @03:56AM (#17171172)
Currently it's even more basic. The current usable parts are a pagecache following the llama approach, some great testing utility libraries, and an index (that you can use as a kv) that follows the bwtree approach. Later it will have structured access support, but it needs some more db components to get there. It is a construction kit as well as a kv.
Re:An embedded database written in Rust by Hello71 on Monday May 28, 2018 @08:28AM (#17172060)
So... SQLite FoundationDB?
Re:An embedded database written in Rust by spacenick88 on Monday May 28, 2018 @05:08AM (#17171423)
Not really, when the embedded database is allowed to run its own threads and network connections embedding something like etcd makes perfect sense. It removes the failure modes of the client connection and simplifies deployment.
Re:An embedded database written in Rust by jinqueeny on Monday May 28, 2018 @03:20AM (#17171030)
What about TiKV (https://github.com/pingcap/tikv), a distributed transactional Key-Value store?
Re:An embedded database written in Rust by krenoten on Monday May 28, 2018 @04:18AM (#17171253)
Use it for large scale HTAP! It's great for its flexible use cases at high scales :)
Re:An embedded database written in Rust by fleetfox on Monday May 28, 2018 @03:42AM (#17171113)
What would be the use-case for multi-master clustering in embedded?
Re:An embedded database written in Rust by fowl2 on Monday May 28, 2018 @04:11AM (#17171227)
"real" serverless - mesh databases! ;p
Re:An embedded database written in Rust by krenoten on Monday May 28, 2018 @04:27AM (#17171277)
This is honestly a use case I'm experimenting with using a mix of CRDTs and OT. Our systems are becoming more and more location agnostic and I don't feel that our current data infrastructure is adequate to serve the workloads we're going to be facing as compute migrates to the edge.
Re:An embedded database written in Rust by krenoten on Monday May 28, 2018 @03:59AM (#17171186)
It's modular, and there is a paxos implementation, but it has been built totally in simulation so far and I haven't plugged it into an io layer yet. But this is trivial. That said, sled will always be a bwtree index, and the other modular crates will stand on their own.
Re:An embedded database written in Rust by keithnz on Monday May 28, 2018 @03:18AM (#17171026)
what do you think of FoundationDb?
Re:An embedded database written in Rust by krenoten on Monday May 28, 2018 @04:17AM (#17171249)
I am a total devotee to their approach to building simulable systems, although I seek to push it even farther and integrate lineage driven fault injection from an early stage. I see a lot of cool things in what they have done, technically. Sled is free from day one.