News for hackers. Stuff that matters.
Re:Serializable, Lockless, Distributed: Isolation in Cockroa... by teraflop on Wednesday May 04, 2016 @07:10PM (#11632724)
CockroachDB doesn't currently support joins, but it's been designed so that it can potentially support them, unlike most NoSQL databases. In particular, it supports cross-machine transactions, which are a critical building block for both correctness and performance.

For instance, suppose you want to join on a column that's not a primary key. No big deal in a typical RDBMS; just do an index lookup on the join column. But if your data is sharded across machines, that doesn't work, because you can't update the index without running the risk that readers will observe it in an inconsistent state. Unless you can do transactions, that is.

So I'm optimistic that Cockroach will get join support before too long. The necessary primitives are available, making it "merely" a matter of figuring out the engineering details.

Re:Serializable, Lockless, Distributed: Isolation in Cockroa... by sriram_malhar on Thursday May 05, 2016 @08:39AM (#11635520)
Yes, distributed joins are well understood. But I'm not at all convinced that the relational model is a good fit for a scale-out, widely distributed, fault-tolerant database. The engineering decisions for each of these aspects add enough latency to the process as it is.