Yes sir, no sir, 3 bags NoSQL: Aerospike, DataStax, ScyllaDB all freshen up as community preps for cloudy future
- Reference: 1589284806
- News link: https://www.theregister.co.uk/2020/05/12/aerospike_datastax_scylladb_nosql_releases/
- Source link:
The updates are part of a flurry of activity in the NoSQL database world, that has also seen Aerospike, a value-key database used by PayPal and the European Central Bank, launch its fifth iteration, with features including low latency and consistency in transactional applications distributed across global locations.
Although Cassandra and its derivatives have different strengths and use cases to Aerospike, the releases show how the NoSQL market is gearing up in terms of performance, scale, and cloud-readiness.
The Multi-Site Clustering in Aerospike's Database 5 is said to eliminate the trade-off between data consistency and high performance, often a problem with legacy relational DBs. Aerospike reckons this holds true whether the database runs across multiple data centres, cloud locations or between on-premises and cloud in different regions.
All about that DBaaS: NoSQL cheerleader MongoDB sees revenue spike, but expects 'up to' $25m Covid-19 hit for 2021 [2]READ MORE
Srini Srinivasan, chief product officer and founder of Aerospike, told The Register : "An entire database can be in one rack, so you could drive one rack of the cluster in a public cloud, another in your own data centre region as a single cluster and between them there will be a coordinated distributed transaction for every write."
Meanwhile, the database can be read locally within an application, because an entire copy of the cluster is held on a single rack. "You get no read latency," he claimed. "And also, the system is active so an update which is happening in one place, is immediately reflected across on the other sites."
While there was still fractional latency running the system across the globe, it was greatly reduced compared with rival NoSQL systems, he said. "It depends on the distance between sites. You know that could be anywhere between a couple of milliseconds if it's the same city, or across the continent, it could be 150 milliseconds. And that's a small price to pay to do some of these processes, which currently take hours or days to be consistent."
Aerospike is popular in the financial services sector, with customers including Barclays, but it is branching out into IoT applications in industry and logistics.
Donald Feinberg, Gartner distinguished VP and analyst, said it is a feature that global organisations will want to see. "Getting data centres running together consistently, that's always created a problem of latency. If you want consistent transactions in a multi-region application, the traditional approach is a two-phase commit and it takes time and can slow the transaction."
DataStax buries Apache hatchet and launches features to make NoSQL Cassandra faster, safer and more graphable [3]READ MORE
While there will be some lag in AeroSpike's approach – "you can't change the speed of light," he said – it was talking about a greatly reduced time to achieve consistency improving overall service levels.
Although it has built a connector to the Apache Spark analytics engine, Aerospike remains largely a transactional database.
Unlike Aerospike, Apache Cassandra was not designed primarily for transactions, but as a distributed storage system for managing structured data that can scale to a very large size across many commodity servers. The lead vendor contributing to the project is DataStax, which today announces the general availability of DataStax Astra, a DBaaS for Apache Cassandra applications. The objective is to reduce cloud application deployment time from weeks to minutes, removing the biggest obstacle to Cassandra deployments. Developers can also build applications without the operational overhead of Cassandra, DataStax said.
Astra is available on Google Cloud Platform (GCP) and AWS with support for Azure expected to follow.
Amazon pushes the button on Keyspaces: Cassandra lookalike to boost its NoSQL credentials [4]READ MORE
Ed Anuff, DataStax chief product officer, said: "A challenge for databases like Cassandra is it's a lot more complicated to operate in the cloud [than a relational database]. Back in the day when people were using MySQL, you could just run a single instance of it, whether it was on your laptop or on an ISP account. When you're running a distributed database it's a lot more complicated to operate."
DataStax's customers include Bank of America, eBay and online learning company Coursera. Although some customers want to run Cassandra themselves, others wanted the DBaaS option, he said.
Gartner's Feinberg agreed that customers were looking to ease deployment and management headaches with Cassandra. "They tell us the number one issue is management. If you have multiple nodes it can become complex and cumbersome."
The same reasoning is behind the development of [5]Amazon Keyspaces , a serverless rendition of a Cassandra copy-cat database, he said.
Amazon how easy it is to swap...
Another Cassandra clone, ScyllaDB, released its fourth iteration last week. It promises APIs compatible with both Cassandra and a DynamoDB, Amazon's other Cassandra lookalike, to make it easier to swap applications to a new database and avoid vendor lock-in, ScyllaDB said.
It can run on-premises, on a preferred cloud platform, or on Scylla's fully managed DBaaS, Scylla Cloud.
But the secret sauce is in the code, said ScyllaDB CEO Dor Laor. From the ground up, the database was rewritten in C++ rather than the Java which underpins Cassandra.
"The first advantage is performance and better performance means cost reduction because you always run the database distributed: when you drive more performance from a smaller cluster it cost less and it's simpler to manage. So, we can perform six to 10 x times better than Cassandra, both in throughput and in latency together. We don't have Java, so we don't have the JVM, which is a big layer in the middle. We've also implemented many algorithms that allow us to perform better.
"For example, we control our own memory management, whereas in Java they rely on Linux page cache which is a cache in Linux which is generic: our cache is tuned for us, and we have just one main cache and not many."
Although Comcast, Starbucks, and Samsung have adopted ScyllaDB, Gartner's Feinberg remained sceptical about the company's performance claims.
He said in every respective release of ScyllaDB and Cassandra, each would claim better performance than the other. Meanwhile, AWS DynamoDB supports Amazon Prime. Although "the guy who wrote it is sitting next door," it does show the performance possibilities with the database, he said.
He was not convinced ScyllaDB performance advantages would make customers move. "Why not use Cassandra if it is working fine for you?" he said.
As the NoSQL market grows, the names get more ridiculous and the options become more baffling – especially with numerous replicas of essentially the same database. But IT teams should be wary and pick according to the cost and use case, rather than pure performance or marketing vision. ®
Sponsored: [6]How To Accelerate Brilliant Digital Experiences With Low-Code
[1] https://www.theregister.co.uk/2020/04/07/datastax_upgrade/
[2] https://www.theregister.co.uk/2020/03/18/mongodb_quarterly_results/
[3] https://www.theregister.co.uk/2020/04/07/datastax_upgrade/
[4] https://www.theregister.co.uk/2020/04/24/amazon_cassandra_lookalike_generally_available/
[5] https://www.theregister.co.uk/2020/04/24/amazon_cassandra_lookalike_generally_available/
[6] https://go.theregister.co.uk/tl/1936/-8552/how-to-accelerate-brilliant-digital-experiences-with-low-code?td=wptl1936
Re: You have it backwards
>There's a reason why Facebook doesn't use Cassandra for anything critical in-house
And very few of those reasons have anything to do with Cassandra or the JVM. Cassandra was originally ditched for HBase because of its much (much) simpler operations, much broader community adoption and the tighter integration with HDFS and the Hadoop ecosystem. They didn't move away to get rid of the JVM - they brought a lot more of the things in.
Later on many - but not all - of the applications running on HBase were swapped out for a custom MySQL frontend backed by RocksDB (MyRocks) because, at the end of the day, it's cheaper to work in SQL and Rocks as a storage engine provided some nice benefits for datacentre-level replication that can be challenging to get out of HBase and all the baggage it brings across.
You have it backwards
Cassandra was written at Facebook by Avinash Lakshman, one of the authors of Dynamo at Amazon. DynamoDB is essentially the external version of the in-house Dynamo tool that predates Bezos' famous API directive.
As for ScyllaDB vs. Cassandra, if you are starting from scratch, why would you incur the overhead and GC pauses of Java if you don't have to? There's a reason why Facebook doesn't use Cassandra for anything critical in-house, even though they originally developed it.