There are also a number of us here to answer any questions about this Jepsen work or about VoltDB generally.
There are also a number of us here to answer any questions about this Jepsen work or about VoltDB generally.
Kudos.
It's interesting to read about some of the relatively "unusual" choices VoltDB has made as well. Like this one:
> network partitions cause minority nodes to shut down permanently; operator intervention is required to restore full service
...combined with requiring majorities of current rather than original clusters to continue. This is, for human operational interactions, really interesting. There's a big history of self-healing systems getting a little carried away and masking or sometimes even triggering bigger issues. Making signoff to rejoin nodes a required operation seems like it makes a whole category of "flapping" problems a non-issue. Kudos for making these "unusual" choices; this is a great horizon to explore :)
Personally, when a node fails, I still want to try to understand why before I take the next operational step.
Thanks for your words, BTW.
For 100% read workloads, the impact to maximum throughput can be significant. That's a pretty uncommon workload for us though. It's likely a single-digit percentage problem at 50% reads.
Two nice things about VoltDB users: 1) They often are very write heavy, 99% read-write transactions isn't uncommon. 2) Few are using anywhere near the maximum throughput for their machines. Most size their clusters for appropriate storage and redundancy, not throughput.
The lost write issues weren't optimizations, just implementation bugs. Sigh.
First, Raft wasn't a thing when we started.
Second, the consensus algorithm we use today is used for cluster membership, schema changes and other agreement purposes, but not for the main transactional path. However, in versions before 3.0 it was.
At the time, we wanted to make really different tradeoffs than something like Paxos. Namely, we wanted to be able to run with two copies, rather than the three that Paxos/Raft require. We also wanted crazy throughput and low performance variation, which are hard things to get with Paxos/Raft. The main tradeoff is that our system doesn't work well across high-latency links, which is ok with us.
Ultimately we added a second layer protocol for transactions in 3.0, and this made the transaction path not dependent on clock skew. This layer actually looks a lot like Raft, but does differ in some key ways.
We may even someday switch to Raft for the core agreement stuff, but there's a lot of work to be done for that to happen.
This link has more info about how transactions work in VoltDB: https://voltdb.com/sites/default/files/tn-transactions.pdf
Kyle Kingsbury started something like this (in Clojure) as part of this project (https://github.com/jepsen-io/voltdb/tree/master/replication-...), but it's a large task and would probably take more than a few days.
We have done some initial work on TLA+, but it may be a while to finish anything. If someone wants to help, there's probably a publishable paper in it.
i mean, i can use a postgres or mssql cluster for SQL needs and/or i can use riak/... for kv and/or cassandra/... for column indexed storage and/or ... etc. why should i look at voltdb?
But my more typical answer is the combination of throughput and transactional logic. No other system does both as well as VoltDB. This comes up a lot in policy enforcement, fraud detection, online gaming, ad-tech, billing-support and more.
Here are some blog posts that might help:
https://voltdb.com/blog/winning-now-and-future-where-voltdb-... https://voltdb.com/blog/apps-need-acid https://voltdb.com/blog/call-center-example-integrating-proc...
This video's not bad:
https://voltdb.com/resources/video/transactional-streaming-i...
http://www.se-radio.net/2013/12/episode-199-michael-stonebra...
Why can't a sequence of statements between a begin and end be transparently treated as though they were the body of a stored procedure?
In practice, this isn't always all that useful without a real stored procedure language.
Supporting other ways to make procedures is something we've always planned and at some point we will get to it. I personally like javascript and lua.