News for hackers. Stuff that matters.
Re:YugaByteDB – A Transactional Database with Cassandra, Red... by isoos on Sunday December 02, 2018 @02:34PM (#18584059)
Several months ago, setup of a Citus Cluster seemed to be a not straightforward, while at the same time I was able to setup and run a CockroachDB cluster in less than half hour with docker. I've checked YugaByte documentation about setup, and CockroachDB still won in operation complexity.

I doubt that the same will be done with PostgreSQL or MariaDB anytime soon. People are begging for a good and easy psql HA cluster setup for ages, and it is just not happening (yeah, they are getting closer and closer), while such DBs fill a need with good results.

Re:YugaByteDB – A Transactional Database with Cassandra, Red... by bmatican on Sunday December 02, 2018 @02:56PM (#18584182)
@isoos, I'd be curious to understand more about why you thought YugaByte would be more operationally complex to deploy, as we strive to make things as easy to get started with as possible...

For example, for local testing, in our Quick Start docs section, we have info for: mac/linux, involving just downloading and unpacking the release and you should be good to go; for local docker, you can download our control script; for k8s download our sample yml.

Finally, for non-local testing, we have a Deploy > Manual Deployment section, highlighting the 3 steps for downloading YugaByte, bringing up Masters (metadata nodes) and then Tservers (data nodes).

Note: I work at YugaByte.

Re:YugaByteDB – A Transactional Database with Cassandra, Red... by isoos on Sunday December 02, 2018 @04:40PM (#18584729)
With CockroachDB, I was able to create a cluster with three commands, one command on each node (docker run ....), one port on each node. It can't really get more simple than that.

With YugaByteDB: I needed to think about master and tserver nodes, to run them and connect them separately. There was no clear guide that had "run these three docker command on the three different nodes" and be done with it.

Note: I run everything is in simple docker images (and not compose, not swarm, not kubernates, just plain docker images).

Re:YugaByteDB – A Transactional Database with Cassandra, Red... by manigandham on Sunday December 02, 2018 @07:54PM (#18585597)
CRDB is only has one node type which are all symmetrical, deployed as a single binary. It doesn't get simpler than that.

Most other databases insist on multiple layers and dependencies which only shifts more work onto developers who have to install and maintain it.

Re:YugaByteDB – A Transactional Database with Cassandra, Red... by lykr0n on Sunday December 02, 2018 @03:57PM (#18584517)
When I tried Citus, their documentation has everything except what I needed to do to get their product to work. My guess is they want to sell you engineering support. The docs might have been updated, but I do agree with the docs.

> People are begging for a good and easy psql HA cluster setup for ages

I've been using Stolon in production for a bit, and while not a native solution- it works quite well.

Re:YugaByteDB – A Transactional Database with Cassandra, Red... by ddorian43 on Monday December 03, 2018 @06:35AM (#18587983)
Stolon has no sharding
Re:YugaByteDB – A Transactional Database with Cassandra, Red... by lykr0n on Monday December 03, 2018 @04:25PM (#18593234)
It has HA. Sharding is a different beast which I think Citus has solved.
Re:YugaByteDB – A Transactional Database with Cassandra, Red... by ddorian43 on Monday December 03, 2018 @04:36PM (#18593331)
Can you combine it with some other tool that has sharding ?
Re:YugaByteDB – A Transactional Database with Cassandra, Red... by lykr0n on Tuesday December 04, 2018 @11:11AM (#18600677)
I think Citus can do both- sharing and replication. The docs are not 100% clear on this, but they do talk about replication and sharing together.

To use a solution like Stolon would require changes in the core logic to dynamically re-configure whatever sharing plugin you use.