News for hackers. Stuff that matters.
Re:ArangoDB: Multi-model highly available NoSQL database by manigandham on Wednesday January 16, 2019 @06:31PM (#18926692)
The main thing to compete on is distributed scale-out and high-availability which PostgreSQL does not have a good answer for.
Re:ArangoDB: Multi-model highly available NoSQL database by zbentley on Wednesday January 16, 2019 @08:51PM (#18927622)
That's absolutely true. However, most systems that think they need scale-out are either worrying about a problem they don't have yet, suffering performance problems due to poor database design, or have not fully explored logical (dynamic or hash-based) sharding as a solution to their problems.

A huge proportion of modern software businesses can run on single-writer RDBMS instances, properly engineered, at a fraction of the operational and implementation cost of a scale-out solution. That applies to hosted and self-managed solutions equally, in my experience.

Re:ArangoDB: Multi-model highly available NoSQL database by manigandham on Thursday January 17, 2019 @01:31AM (#18928815)
Sure, but scale isn't everything. Operations are far more important, especially when you're a small team.

Modern distributed databases scale better but also have better replication, high-availability with automatic failover and no downtime, easier upgrades, easier backups, and generally less maintenance. Removing the single-point of failure with efficient distribution while being able to run easily on docker/kubernetes makes a big difference over a single monolithic database server.

Re:ArangoDB: Multi-model highly available NoSQL database by zorga on Wednesday January 16, 2019 @11:44PM (#18928442)
The desire is generally for high availability now and ability to scale out in the future; while a single write db is generally more than enough performance wise, it doesn't give you high availability which is the main desire.
Re:ArangoDB: Multi-model highly available NoSQL database by lykr0n on Wednesday January 16, 2019 @06:36PM (#18926737)
CitusDB for sharding & replication. Patroni & Stolon for automated replication. Not native solutions, but are an answer.
Re:ArangoDB: Multi-model highly available NoSQL database by contrahax on Wednesday January 16, 2019 @06:43PM (#18926787)
CitusDB has a ton of limitations on your schema/table structure right now. Over time it has gotten better, so hopefully in the future it will be a true drop-in scale out solution. Specifically some types of relationships + indexes are not supported.
Re:ArangoDB: Multi-model highly available NoSQL database by doh on Wednesday January 16, 2019 @07:16PM (#18927087)
True, but as you said, the compatibility is quickly increasing. They actually did a great job and there is fairly little that is not compatible, usually on very advanced side (which is exactly what we would love to have), but the team is especially good at what they are doing and believe they will get there sooner than later.
Re:ArangoDB: Multi-model highly available NoSQL database by lykr0n on Wednesday January 16, 2019 @06:49PM (#18926839)
Oh yeah totally; it's a slow march forward. MySQL Galera took some time before it was ready for serious use, but the fact that it's semi-usable is awesome.
Re:ArangoDB: Multi-model highly available NoSQL database by manigandham on Wednesday January 16, 2019 @07:35PM (#18927218)
Citus only does sharding, not replication. Either way, this is a fundamental design limitation with traditional single-master relational systems.
Re:ArangoDB: Multi-model highly available NoSQL database by bsg75 on Wednesday January 16, 2019 @11:25PM (#18928377)
Re:ArangoDB: Multi-model highly available NoSQL database by manigandham on Thursday January 17, 2019 @01:18AM (#18928785)
Yea, that's just normal Postgres replication, nothing to do with Citus.
Re:ArangoDB: Multi-model highly available NoSQL database by tpetry on Thursday January 17, 2019 @03:27AM (#18929248)
Citus is doing sharding and replication: Citus will shard your data and place every shard on e.g. 3 servers. So one server dying is no problem because the data is replicated 2 times.
Re:ArangoDB: Multi-model highly available NoSQL database by manigandham on Friday January 18, 2019 @10:57AM (#18940143)
Ah I see that now. However that's not by default and it still only applies to "distributed" tables, not all the data in the database. Combined with a single-master, it's nowhere near the replica functionality provided by natively distributed storage systems.
Re:ArangoDB: Multi-model highly available NoSQL database by jbergens on Thursday January 17, 2019 @06:29AM (#18929979)
Do they have ACID transactions around writing to all 3 servers? Doesn't that cause bad performance?

You might also end up with a LOT of servers unless you starting sharing servers for different shards (but still with different sets of 3 servers for every shard).

Re:ArangoDB: Multi-model highly available NoSQL database by 75dvtwin on Thursday January 17, 2019 @12:36AM (#18928635)
what about PostgresXL. it is a release v behind Postgres. But it has ACID and cluster. I do not have personal experience with it, but would be interested to hear what folks say.

Overall, I agree -- PG with JsonB is extraordinary powerful system, covering document oriented and typical row-oriented use cases.

PGs ecosystem with external foreign interfaces, and in memory streaming solutions (like PipelineDB) - must be an envy of any other db ecosystem.

Re:ArangoDB: Multi-model highly available NoSQL database by _Codemonkeyism on Thursday January 17, 2019 @03:57AM (#18929362)
Valid point, for 99% of startups scaling on one machine (todays SSD based multi core, GB memory hardware is very powerful) with read slaves and failover (Patroni) works just fine. Many I meet as a consultant though want to scale out when they have 100 customers.