MemSQL, VoltDB Vie For In-Memory Big Data Role - InformationWeek

InformationWeek is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

IoT
IoT
Data Management // Big Data Analytics
News
2/12/2015
11:46 AM
Connect Directly
Google+
LinkedIn
Twitter
RSS
E-Mail
100%
0%

MemSQL, VoltDB Vie For In-Memory Big Data Role

MemSQL, VoltDB present in-memory databases as alternatives to a menagerie of "science projects" used in real-time big data apps. Is SQL simpler?

Why use a battery of "complicated" and "immature" tools like Kafka, Zookeeper, and NoSQL databases to support low-latency big data applications when you can use a durable, consistent, SQL-compliant in-memory database?

This is the question NewSQL in-memory database vendors MemSQL and VoltDB are posing to big-data developers who are trying to build real-time applications. MemSQL this week announced a two-way, high-performance MemSQL Spark Connector designed to complement the fast-growing Apache Spark in-memory analytics platform.  

"There's a lot of excitement about Spark, but many data scientists struggle with complexity and the high degree of expertise to work with related data pipelines," said Erik Frenkiel, CEO and cofounder of MemSQL, in a phone interview with InformationWeek. "As a database, MemSQL offers durability and transaction support, so it can simplify those real-time data pipelines, providing the ability to ingest data and query the system through a SQL interface."

[ Want more on this topic? Read 10 In-Memory Database Options Power Speedy Performance. ]

MemSQL sees two key use-cases for its connector, and in both cases the idea is operationalizing the Spark data-exploration and data-analysis platform. One use-case is taking the models developed in Spark and pushing them into MemSQL, a persistent, durable, and highly available database that can run enterprise applications, while also propagating the results of Spark-developed models at data-driven decision points.

A conventional, non-in-memory database could serve in this same role, ensuring snapshots, replication, and high-availability. But if you're tapping Spark for in-memory speed, chances are you're interested in performance and would not want to introduce disk-based write-and-retrieve bottlenecks elsewhere in a data-driven application.

A second use-case is stream or event processing where Spark ingests a real-time event feed, such as interactions on a social site or an e-commerce site, parses, and transforms that data into a SQL-query-friendly format, and then hands the results off to MemSQL. The database makes the events of interest -- likes or favorites on a social site or purchases on the e-commerce site -- SQL-accessible to applications and end-users.

MemSQL says its Spark connector is multi-threaded and highly parallelized to sustain low-latency performance. MemSQL also has connector to Hadoop, announced late last year, so the database can harness that high-scale platform as either a source of data or a final destination for results. But Hadoop still has a reputation as a batchy, complicated world that's not suited to real-time apps, despite the introduction of YARN and talk of low-latency engines running on top of it. 

MemSQL presents itself as a complement to Apache Spark.
MemSQL presents itself as a complement to Apache Spark.

 

Hitting on some of these same real-time themes, VoltDB late last month announced a 5.0 release aimed at supporting a variety of streaming-data and Internet-of-things-style applications. VoltDB presents itself as an alternative to Spark Streaming and other streaming options, including Apache Storm and the Lambda Architecture associated with developing streaming data pipelines alongside Hadoop. [Author's note: This article was corrected to reflect that VoltDB presents its DBMS as an alternative to Spark Streaming specifically, not the entire Spark framework.]

"We got started on this because Crashlytics gave a talk about an implementation of Lambda that used Zookeeper, Kafka, Storm, and Cassandra on the speed layer and HDFS, Cascading, Kafka, and Zookeeper on the batch layer," John Hugg, a software engineer at VoltDB told InformationWeek. "Instead of running all of these disparate systems, you can replace several of them with VoltDB."

VoltDB expects to displace Spark Streaming, Storm, and other tools.
VoltDB expects to displace Spark Streaming, Storm, and other tools.

Specifically, Hugg says VoltDB can replace the ingestion of Kafka, the data-agreement of Zookeeper, the state-management of Cassandra, and the distributed processing of Storm. To provide integration options toward this end, the VoltDB 5.0 release incorporates a battery of new big data infrastructure connectors, including Hadoop (specifically, HDFS Export), HTTP Export, Kafka Export, and RabbitMQ Export. It also provides a Kafka Loader and bulk-data-import options, including JDBC Loader, Hadoop OutputFormat, and HP Vertica UDx.

What MemSQL and VoltDB are both underscoring is an important limitation of platforms like Spark and Storm, which have captured lots of mindshare for their analysis capabilities, but have yet to be put into production widely as parts of applications and systems.

"[Databases] can directly respond to queries, but with Storm and Spark Streaming, the question is how do I query that data?" Hugg explains. "I can use those systems to process data, but how do you get answers?"

Do you want to master myriad tools to solve that problem, or do you want to use a fast, scalable in-memory database to handle multiple roles?

Dark Reading's new Must Reads is a compendium of our best recent coverage of vulnerability management. Learn how a design flaw in an older version of the SSL encryption protocol could be used for man-in-the-middle attacks, how the Mayhem botnet malware kit serves enterprising criminals, why it's time to raise the bar on static analysis, and more. Get the Must Reads: Vulnerability Management issue of Dark Reading today. (Free registration required.)

Doug Henschen is Executive Editor of InformationWeek, where he covers the intersection of enterprise applications with information management, business intelligence, big data and analytics. He previously served as editor in chief of Intelligent Enterprise, editor in chief of ... View Full Bio

We welcome your comments on this topic on our social media channels, or [contact us directly] with questions about the site.
Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
ryanbetts
50%
50%
ryanbetts,
User Rank: Apprentice
2/12/2015 | 5:12:21 PM
Re: Correction: VoltDB says it can replace Spark Streaming, not the entire Spark framework
Thank you Doug.


VoltDB competes with Spark streaming - especially in cases where spark streaming is used to sessionize, transform incoming streams or implement real time analytics (in the style of a Lambda speed layer).

However, VoltDB integrates with a breadth of OLAP and Hadoop tooling - including Spark. In these cases, developers use Spark to calculate OLAP style analytics against large data sets and use those outputs in VoltDB to build real time applications for personalization, fraud alerting, and streaming analytics.

For example, one VoltDB user deploys VoltDB in combination with Spark to detect online advertising bot fraud. VoltDB is performing a sessionization function - processing 100,000's of events per second into sessions -  while Spark is used to run machine learning algorithms that detect fraud. 
D. Henschen
50%
50%
D. Henschen,
User Rank: Author
2/12/2015 | 2:30:25 PM
Correction: VoltDB says it can replace Spark Streaming, not the entire Spark framework
I've tweaked this article to say that VoltDB specifically presents itself as an alternative to Spark Streaming (as you'll note if you follow the link I provided in the story), not the entire Apache Spark framework (the article originally said just "Spark"), which addresses multiple types of data analysis. It also says it can be complementary to Spark, but if you're rejecting Spark Streaming for use in a streaming app that you're choosing VoltDB to support, I'm not quite sure what's left for Spark to handle. I've asked the folks at VoltDB to add a comment on that nuance, so hopefully you'll see more on that here.
News
8 AI Trends in Today's Big Enterprise
Jessica Davis, Senior Editor, Enterprise Apps,  9/11/2019
Slideshows
IT Careers: 10 Places to Look for Great Developers
Cynthia Harvey, Freelance Journalist, InformationWeek,  9/4/2019
Commentary
Cloud 2.0: A New Era for Public Cloud
Crystal Bedell, Technology Writer,  9/1/2019
White Papers
Register for InformationWeek Newsletters
Video
Current Issue
Data Science and AI in the Fast Lane
This IT Trend Report will help you gain insight into how quickly and dramatically data science is influencing how enterprises are managed and where they will derive business success. Read the report today!
Slideshows
Flash Poll