News for hackers. Stuff that matters.
Re:Design Review: Key-Value Storage by floatingatoll on Thursday November 08, 2018 @09:15PM (#18411886)
Transactions let you perform any series of SQL commands with various expectations around data safety and locking guarantees depending on isolation level.

Batch writes provide a tiny subset of the full possibilities of transactions. While sufficient in many cases, that cannot be generalized to "LevelDB supports transactions".

Re:Design Review: Key-Value Storage by romed on Thursday November 08, 2018 @11:35PM (#18412348)
That's just your pet definition of transaction. That is not universally accepted.
Re:Design Review: Key-Value Storage by barrkel on Friday November 09, 2018 @05:24AM (#18413535)
Atomicity and consistency. The classic case is balance transfer. Batch writes only cope with this to the degree that you can model your computation purely in database primitives that can execute server-side as part of the batch. If your computation involves anything else, such as external data or a computation that can't be modelled, then microbatches aren't good enough: you risk lost updates and inconsistent reads.
Re:Design Review: Key-Value Storage by floatingatoll on Sunday November 11, 2018 @05:16PM (#18428996)
Universal acceptance is not a valid criterion for human beings at scale.

Schizophrenic people don’t accept facts like “this wall exists”, yet we still reach agreement as a society that a wall exists and don’t try to walk through walls because they exist.

You are of course welcome to hold any belief you wish, but believing something that puts you in direct contradiction to an entire industry significantly raises the bar of proof you must provide in order to convince others to listen to you.

Your reply does not provide that proof, and thus your argument is not persuasive.

Re:Design Review: Key-Value Storage by Twirrim on Friday November 09, 2018 @01:01AM (#18412625)
I would love to see an example of someone actually knowledgeable about databases who has a different definition for transaction.
Re:Design Review: Key-Value Storage by erpellan on Friday November 09, 2018 @04:45AM (#18413381)
Atomicity, consistency, isolation, durability.

https://en.wikipedia.org/wiki/ACID_(computer_science)

But that's just like, the industry's opinion, man.

Re:Design Review: Key-Value Storage by Twirrim on Friday November 09, 2018 @10:53AM (#18415297)
Maybe I completely misunderstood the parents description of a transaction, but that was exactly what they were saying.