Spark fires up near-real-time big data

 

Connecting state and local government leaders

Rapid in-memory processing of distributed data is the “core capability” of Apache Spark, which enables the analysis of streaming big data.

With the “next big thing” in IT there inevitably comes a time when user experience falls short of the hype. So it is with big data and its promise of fast and precise analysis of huge volumes of distributed data.

Big data = big money

A couple of recent surveys that found that data analysts and engineers with big data chops are earning more than $120,000, compared with the reported average IT salary of $89,450. And Storm and Spark users can pull down $150,000, compared to the median total salary of all data analysts and engineers of $98,000. Read more.

In the current big data universe, Hadoop is the software used to store and distribute large amounts of data and MapReduce is the engine used to process it. The combination has proven itself in non-time critical, batch processing of data.

But what about analysis of near real-time big data?  Apache Spark, the most advanced of these next-generation, open source technologies, sets the stage for analysis of streaming data from video, sensors and transactions as well as for machine learning and predictive modeling. It enables genomics research, packet inspection, malware detection and the Internet of Things.

Like MapReduce it can be used for batch processing, but for those algorithms that perform a number of interactions on a dataset, Spark can store the intermediate results of those actions in cache memory. MapReduce, in contrast, has to write the result of each action to disk before it can be brought back into the system for further processing.

That rapid in-memory processing of resilient distributed datasets (RDDs) is the “core capability” of Apache Spark.

“Once operations are done (on the datasets) they can be streamed and connected to each other so that transformations can be made very quickly,” said Dave Vennergrund, director of predictive analytics for Salient Federal Solutions, which is working on developing analytics products for government organizations using Spark.

“Couple that with the ability to do this across many machines at the same time, and you have a recipe for a very strong response,” he added.

Proponents of Spark claim both scale and speed advantages for Apache tool compared to its competitors. It’s been shown to work well for small datasets up to volumes measuring in the petabytes.

A November, 2014, benchmark contest had Apache Spark sorting 100 terabytes of data three times faster than Hadoop MapReduce, on a machine cluster one-tenth of the size of that used for the MapReduce sort.

A recent survey by Typesafe, a software developer, showed a rising level of interest by organizations in using Spark.

Only 13 percent were currently using it, but over 30 percent were evaluating it, a fifth of the respondents were planning to begin using it sometime this year, and another 6 percent expected to use it in 2016 or later. However, 28 percent of those surveyed also had no knowledge of Spark, which emphasizes its still “bleeding edge” status.

For the government space, “testing and evaluation is where it’s at right now,” said Cindy Walker, vice president of Salient’s Data Analytics Center of Excellence. Agencies that have “sandboxes and R&D budgets” are the early adopters, she said.

“Many of our customers aren’t yet signing on the bottom line to implement big data, in-memory analytics, streaming solutions,” she said. “So, at this time, we are using Spark to help guide them to what they can expect once they get to that point.”

So while Spark won’t be a replacement for MapReduce, it will eventually claim a section of the big data analytics spectrum devoted to speedy data processing, according to analysts.  

The Apache Spark ecosystem comprises several integrated components:

Spark Core, the underlying execution engine for the platform, supports a range of applications, as well as Java, Scala and Python application programming interfaces (APIs).

Spark SQL (structured query language), with which users can explore data.

Spark Streaming enables analysis of streaming data from sources such as Twitter. This is in addition to Spark’s ability to also do batch processing.

Machine Learning Library (MLlib), a distributed machine learning framework, delivers high-quality algorithms up to 100 times faster than MapReduce.

Graph X helps users build and manipulate graph-based representations of text and tabular data to find various relationships within the data.

SparkR, a package for the R statistical language with which R users can use Spark functionality from within the R shell.

BlinkDB, a massively parallel engine that allows users to run “approximate” SQL queries on large volumes of data, useful in situations where speed is more important than absolute accuracy.

 

 

 

X
This website uses cookies to enhance user experience and to analyze performance and traffic on our website. We also share information about your use of our site with our social media, advertising and analytics partners. Learn More / Do Not Sell My Personal Information
Accept Cookies
X
Cookie Preferences Cookie List

Do Not Sell My Personal Information

When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Click on the different category headings to find out more and change our default settings according to your preference. You cannot opt-out of our First Party Strictly Necessary Cookies as they are deployed in order to ensure the proper functioning of our website (such as prompting the cookie banner and remembering your settings, to log into your account, to redirect you when you log out, etc.). For more information about the First and Third Party Cookies used please follow this link.

Allow All Cookies

Manage Consent Preferences

Strictly Necessary Cookies - Always Active

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data, Targeting & Social Media Cookies

Under the California Consumer Privacy Act, you have the right to opt-out of the sale of your personal information to third parties. These cookies collect information for analytics and to personalize your experience with targeted ads. You may exercise your right to opt out of the sale of personal information by using this toggle switch. If you opt out we will not be able to offer you personalised ads and will not hand over your personal information to any third parties. Additionally, you may contact our legal department for further clarification about your rights as a California consumer by using this Exercise My Rights link

If you have enabled privacy controls on your browser (such as a plugin), we have to take that as a valid request to opt-out. Therefore we would not be able to track your activity through the web. This may affect our ability to personalize ads according to your preferences.

Targeting cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Social media cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

If you want to opt out of all of our lead reports and lists, please submit a privacy request at our Do Not Sell page.

Save Settings
Cookie Preferences Cookie List

Cookie List

A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

Strictly Necessary Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Functional Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Performance Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Social Media Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Targeting Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.