Feeds

Cassandra can FINALLY predict the future

Via Spark-based real-time analytics, that is

The smart choice: opportunity from uncertainty

The company behind the Cassandra database has partnered with a big-brained computer science company to add real-time analytics to its technology.

Datastax announced on Thursday that it had partnered with Apache Spark's steward Databricks to bring the service to Cassandra, giving users of the system a way to rapidly generate insights over ingested data. This could potentially let them spot the warning signs for bank fraud, along with other hard-to-spot occurrences.

Spark is an open source data-processing system that was developed at UC Berkeley's computer science hothouse AMPLab in 2009, then published as open source in 2010.

The technology "provides high-level APIs in Scala, Java, and Python that make parallel jobs easy to write, and an optimized engine that supports general computation graphs. It also supports a rich set of higher-level tools including Shark (Hive on Spark), MLlib for machine learning, GraphX for graph processing, and Spark Streaming," according to an FAQ.

When it launched, it was designed to be run on top of the Hadoop File System (HDFS) and was therefore chiefly used as an extremely fast batch processing system.

Now, Databricks has worked with Datastax to layer Spark on top of Cassandra, bringing a capable data processing engine right on top of a database management system, giving companies involved in ecommerce, fraud detection, and others a handy tool.

"Our customer base and community concentrates on real-time apps that needs a real-time database," explained Datastacks' executive vice president of engineering, Martin van Ryswyk, in a chat with El Reg. "There are a lot of use cases where you're processing data very quickly that is immediately fed back to users in a web application. A database like Cassandra under the covers is the most appropriate choice."

To get Spark to work with Cassandra, the two company's worked to make sure that Spark's underlying storage interface, the Resilient Distributed Dataset (RDD), could make sense of Cassandra-stored data.

"You have to worry about connections like connecting to the database and being efficient and doing threading. We're using [Cassandra Query Language] – making sure it's up to date, [and there's been] a lot of work in making sure that things like datatypes map between the two, and how to do that," van Ryswyk said.

Datastax plans to publish the technology as open source soon, and may develop a paid option as well.

"We have a candidate we are working on that is well into development. It will be released into open source and you do not have to pay anybody for it," he said.

The tie-up between Spark and Cassandra mirrors a similar partnership that was announced last week between MongoDB and Cloudera.

That deal saw the companies agree to work together to more tightly integrate Hadoop and associated analytics technologies with MongoDB, and to build on existing work like MongoDB's "Hadoop Connector".

By partnering with Databricks, Cassandra-company Datastax is hoping to skip the use of HDFS altogether, and load analytics directly on top of its DBMS. It's an interesting move and one that highlights how the worlds of data analysis and data storage are, as they have many times in the past, dancing closer together. ®

Securing Web Applications Made Simple and Scalable

More from The Register

next story
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
DARPA-derived secure microkernel goes open source tomorrow
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
Apple: We'll unleash OS X Yosemite beta on the MASSES on 24 July
Starting today, regular fanbois will be guinea pigs, it tells Reg
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
prev story

Whitepapers

Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Top 8 considerations to enable and simplify mobility
In this whitepaper learn how to successfully add mobile capabilities simply and cost effectively.
Seven Steps to Software Security
Seven practical steps you can begin to take today to secure your applications and prevent the damages a successful cyber-attack can cause.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.