<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[The Ramp - Medium]]></title>
        <description><![CDATA[When you need to get ahead, ramp up! - Medium]]></description>
        <link>https://medium.com/the-ramp?source=rss----c69ca8293c7e---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>The Ramp - Medium</title>
            <link>https://medium.com/the-ramp?source=rss----c69ca8293c7e---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 05:36:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/the-ramp" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Importance of Apache Drill to the Big Data Ecosystem]]></title>
            <link>https://medium.com/the-ramp/the-importance-of-apache-drill-to-the-big-data-ecosystem-8371d24e4365?source=rss----c69ca8293c7e---4</link>
            <guid isPermaLink="false">https://medium.com/p/8371d24e4365</guid>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[business-strategy]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Jim Scott]]></dc:creator>
            <pubDate>Wed, 20 Jul 2016 12:31:01 GMT</pubDate>
            <atom:updated>2016-07-20T12:31:01.515Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aoCF-cHp9hoT3X0SwRE6rg.jpeg" /></figure><p>There are many lessons that our high school teachers tried to teach us. Some stuck and others went in one ear and out the other. The one that really stuck for me is that “history repeats itself.” The lesson here wasn’t meant to be strictly literal, but more so that we should learn from the mistakes of the past in order to prevent repeating them again in the future.</p><p>You might be wondering what bearing a history lesson may have on a technology project such as Apache Drill. In order to truly appreciate Apache Drill, it is important to understand the history of the projects in this space, as well as the design principles and the goals of its implementation. The lessons that have been learned from this space directly contribute to the reasons why Apache Drill is a serious big data tool with zero barriers to entry, which will enable organizations to leverage big data in ways that were not possible with other tools.</p><p>Inspired predominantly by Google’s Dremel, Apache Drill is an open source, low latency SQL query engine for Hadoop and NoSQL that can query across data sources. It can handle flat fixed schemas and is purpose-built for semi-structured/nested data.</p><p>In the early days of Hadoop, SQL was thought of as somewhat of an archaic concept, if only for the reason that SQL was mostly used in relational databases. The concept of NoSQL was born because these big data systems were very different from traditional relational database systems, and access was restricted to writing new software as opposed to using off-the-shelf standard tools.</p><p>Later, SQL-derivative big data projects were created, and NoSQL was then repurposed into “Not only SQL.” These projects did not deliver enough SQL functionality to allow relational database users to fully function in a big data environment. Hive, an asynchronous, SQL-like, batch-oriented MapReduce job creator, is such a project. It was not created to be ANSI SQL-compliant. People wanting fast answers had to wait, which is counter to the general expectations set by traditional relational databases. Its biggest technical limitation is that it requires users to predefine schemas for the data it queries. This is very similar to a relational database, and thus it lacks the true flexibility to deal with rapidly changing data formats. Impala then came along, which leverages Hive’s metadata and enables queries to execute in a non-batch-oriented fashion. While it sped up the process of querying big data, it still had to use a predefined metadata store. In addition, Impala is implemented natively in C++, while the software in the Hadoop ecosystem is primarily written in Java.</p><p>In a time when data is being created at ever-increasing rates, people need to rethink how they handle the processes for getting data into their system and into a format that can be leveraged by their tools to find the information they require. With Drill, this burden will be significantly reduced, as the speed at which Drill operates means that expensive ETL processes may very well be abandoned, and data will be queried in place, in the same format it landed in. After all, why waste time converting the data between file formats when the tool can read the data in the format in which it landed? It is simpler for both the design and engineering of a platform to just use it as it is. The tools of the past were not capable of operating in this manner; Drill is finally opening the door to this inevitable future for real-time business intelligence. The walls between the data silos that contain important information will deteriorate. Receiving and storing data in real time will not suffer lags because of ETL processes that take an extensive amount of time, but instead will be able to happen on-the-fly to move business to real time with a much simpler approach.</p><p>At this point, there is little argument to be made that SQL is here to stay. With Apache Drill, organizations now have a solution that enables them to perform easy analysis of complex data structures and datasets using well-known SQL semantics. In essence, Drill has taken the approach of learning from history instead of repeating it. By understanding the limitations of other tools in this space, Drill is enabling businesses to leverage big data in new and powerful ways that have not previously been available from within this big data ecosystem.</p><p><em>Originally published at </em><a href="http://www.dbta.com/BigDataQuarterly/Articles/The-Importance-of-Apache-Drill-to-the-Big-Data-Ecosystem-103000.aspx"><em>www.dbta.com</em></a><em> on April 8, 2015.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8371d24e4365" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-ramp/the-importance-of-apache-drill-to-the-big-data-ecosystem-8371d24e4365">The Importance of Apache Drill to the Big Data Ecosystem</a> was originally published in <a href="https://medium.com/the-ramp">The Ramp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Turning Data Into Value with Hadoop and Spark — Infographic]]></title>
            <link>https://medium.com/the-ramp/turning-data-into-value-with-hadoop-and-spark-infographic-2976d5c39acf?source=rss----c69ca8293c7e---4</link>
            <guid isPermaLink="false">https://medium.com/p/2976d5c39acf</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Jim Scott]]></dc:creator>
            <pubDate>Mon, 18 Jul 2016 12:31:02 GMT</pubDate>
            <atom:updated>2016-07-18T12:31:02.204Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*abz8kg_Yku2Oqr-gUqSRMg.jpeg" /></figure><p>The faster questions can be asked the faster you can get answers. Waiting for data to be shipped off of servers to a central processing platform can take time and most businesses these days want to get as close to real time as possible. Technologies like Hadoop and Spark are making this easier to accomplish than ever before.</p><p><a href="https://www.mapr.com/sites/default/files/blogimages/mapr_ebook_graphic_01_r2_v3.pdf">Click here to view larger image</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4NyOTXZr6L1uj00VULpreg.jpeg" /></figure><p><em>Originally published at </em><a href="https://www.mapr.com/blog/turning-data-value-hadoop-and-spark-infographic"><em>www.mapr.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2976d5c39acf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-ramp/turning-data-into-value-with-hadoop-and-spark-infographic-2976d5c39acf">Turning Data Into Value with Hadoop and Spark — Infographic</a> was originally published in <a href="https://medium.com/the-ramp">The Ramp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Apache Spark in a Hadoop-based Big Data Architecture — Infographic]]></title>
            <link>https://medium.com/the-ramp/apache-spark-in-a-hadoop-based-big-data-architecture-infographic-9987d8ab1060?source=rss----c69ca8293c7e---4</link>
            <guid isPermaLink="false">https://medium.com/p/9987d8ab1060</guid>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[spark]]></category>
            <dc:creator><![CDATA[Jim Scott]]></dc:creator>
            <pubDate>Fri, 15 Jul 2016 12:31:02 GMT</pubDate>
            <atom:updated>2016-07-15T12:31:02.514Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gArMeZmoUqJhFpXWZ7o1kw.jpeg" /></figure><p>Note: If you’re interested in learning more about Apache Spark, download this free interactive ebook — <a href="https://www.mapr.com/getting-started-apache-spark?source=Social&amp;campaign=2015_Social_Blog">Getting Started with Apache Spark: From Inception to Production.</a></p><p>Streaming data enables businesses to respond to customers as close to real time as possible. There are many different ways to leverage a streaming platform and utilizing Spark in your streaming architecture is easier than you might think.</p><p><a href="https://www.mapr.com/sites/default/files/blogimages/mapr_ebook_graphic_architecture2.pdf">Click here to view larger image</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aevkGM_eOlGEhePEfIU4Bg.jpeg" /></figure><p><em>Originally published at </em><a href="https://www.mapr.com/blog/apache-spark-hadoop-based-big-data-architecture-infographic"><em>www.mapr.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9987d8ab1060" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-ramp/apache-spark-in-a-hadoop-based-big-data-architecture-infographic-9987d8ab1060">Apache Spark in a Hadoop-based Big Data Architecture — Infographic</a> was originally published in <a href="https://medium.com/the-ramp">The Ramp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Big Data on the Road]]></title>
            <link>https://medium.com/the-ramp/big-data-on-the-road-f9559b492f41?source=rss----c69ca8293c7e---4</link>
            <guid isPermaLink="false">https://medium.com/p/f9559b492f41</guid>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[transportation]]></category>
            <category><![CDATA[self-driving-cars]]></category>
            <dc:creator><![CDATA[Jim Scott]]></dc:creator>
            <pubDate>Wed, 13 Jul 2016 12:31:03 GMT</pubDate>
            <atom:updated>2016-07-13T12:31:03.259Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3eni6csvfD54AqfXz-9oyQ.jpeg" /></figure><p>Getting from point A to point B has been one of humanity’s greatest preoccupations throughout history. While we’ve developed new methods of transportation such as railroads, cars, trucks, and airplanes, they never seem to be fast enough. <a href="https://www.mapr.com/products/apache-hadoop">Big data</a> could make transportation even easier by making it possible to build systems that recognize traffic flows and respond quickly without any human intervention.</p><h4><strong>Traffic Lights</strong></h4><p>Take the humble traffic light. These things not only keep us safe, but also direct the flow of traffic in an orderly way to get us where we’re going.</p><p>The only problem is when people aren’t quite so orderly. A lot of these lights are programmed in isolation based on what an engineer thought would be “normal” traffic. If you’ve been stuck bumper-to-bumper after a sporting event or concert, then you’ll know how bad this can be.</p><p>A traffic system using big data can eliminate these headaches. A system could monitor the flow of traffic on the roads. It could adjust the flow of traffic based on the conditions it sees. For example, in light traffic it could use the standard timings. In heavy traffic, it could keep the green lights going longer in a certain direction. <a href="http://mashable.com/2014/10/01/data-traffic-jams/">Los Angeles</a> has already synchronized its traffic lights.</p><h4><strong>Connected Cars</strong></h4><p>A number of new cars are being sold as “connected cars” with an internet connection. Most of the time, they’re used to sync with smartphones to play music over the car stereo or serve as a hands-free device for phone calls.</p><p>They also have a lot of<a href="https://www.t-systems.com/umn/t-systems-use-case-big-data-automotive-/1146850_1/blobBinary/T-Systems-Use-Case_Big-Data-Connected-Car.pdf?ts_layoutId=989624">diagnostic information</a> on the engines and can report back to mechanics when the engines need maintenance. A smart traffic control system can make use of these connected cars. The system could query the car and see that its engine is idling, or that the car is accelerating and braking repeatedly. If it notices a lot of these at once,<a href="http://venturebeat.com/2015/04/03/how-microsofts-using-big-data-to-predict-traffic-jams-up-to-an-hour-in-advance/">the system will know that there’s a traffic jam</a>.</p><p>The system can start adjusting the timing of traffic lights once again without the need for an engineer to watch the traffic and guess light timings that might work. The system will get immediate feedback and be able to react in real time.</p><h4><strong>Pollution Monitoring</strong></h4><p>Many areas have installed monitors to track air quality. With a warming planet, we’re going to have to encourage people to keep the air as clean as possible.</p><p>While air quality monitors are useful for seeing what the atmosphere is doing, just like traffic lights, they’re all isolated from each other. A big data system can use this information to <a href="https://axibase.com/environmental-monitoring-using-big-data/">track the most heavily polluted areas</a> and then help authorities take action.</p><p>A high amount of particulates in an area could mean that a lot of people are driving. Perhaps the area isn’t served by enough transit. Maybe the roads can’t support enough cars. Planning agencies could convince bus companies to run more routes or local governments to upgrade their roads.</p><h4><strong>Seeing Patterns</strong></h4><p>The biggest advantage of big data is its ability to <a href="https://www.mapr.com/blog/it-iot-genesis-mapr-streams">sift through billions of data points</a>, including car trips, traffic light changes, and pollution monitors, to see larger trends much easier and more efficiently than a human can.</p><p>With big data, planners will be able to have a bigger view of transportation systems as a whole: cars, trains, light rail, buses, and even pedestrians. They’ll be able to see who’s going where, and plan for more capacity.</p><p>They’ll also be able to see who’s using which method of transportation. If an agency notices a lot of people driving when they could be using transit, they’ll want to know why. They can propose fare reductions on days when the sensors detect a lot of pollution.</p><p>For example, an agency could see that the route from one city to another is choked with commuters. An agency could propose a new artery or transit system to take off some of the load. They’ll be able to do this because they know exactly where people’s journeys are beginning and ending. They could track cars using devices that count the number of cars, traffic cameras, and even connected cars.</p><p><a href="http://www.informationweek.com/big-data/big-data-analytics/san-diego-taps-big-data-to-optimize-transit/d/d-id/1297178">The city of San Diego</a> uses big data to track who’s using smart cards on its buses and light rail system to cut down on fare evasion and to understand where passengers are going.</p><p>When they build a new road or transit stop, they’ll know that this is exactly what commuters need. In places where big transit projects are up for voter approval, they might have a better chance of getting approved because the proposals will be based on the actual data behind the need, rather than political pull.</p><h4><strong>Conclusion</strong></h4><p>Big data can make our lives on the road much easier by tying together isolated, local traffic patterns and integrating them into a coherent view, letting planners make the best possible decisions in the future.</p><p><em>Originally published at </em><a href="https://www.mapr.com/blog/big-data-road"><em>www.mapr.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9559b492f41" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-ramp/big-data-on-the-road-f9559b492f41">Big Data on the Road</a> was originally published in <a href="https://medium.com/the-ramp">The Ramp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Zeta Architecture: Hexagon is the new circle]]></title>
            <link>https://medium.com/the-ramp/zeta-architecture-hexagon-is-the-new-circle-9d27889ec8da?source=rss----c69ca8293c7e---4</link>
            <guid isPermaLink="false">https://medium.com/p/9d27889ec8da</guid>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Jim Scott]]></dc:creator>
            <pubDate>Mon, 11 Jul 2016 12:31:02 GMT</pubDate>
            <atom:updated>2016-07-11T12:31:01.970Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H7Oe3GUvCbVSe6MZm7x7cg.png" /></figure><p>Data processing in the enterprise goes very swiftly from “good enough” to “we need to be faster!” as expectations grow. The Zeta Architecture is an enterprise architecture that enables simplified business processes and defines a scalable way for increasing the speed of integrating data into the business. Following a bit of history and a description of the architecture, I’ll use Google as an example and look at the way the company deploys technologies for Gmail.</p><h4>Origin story and motivation</h4><p>I’ve worked on a variety of different information systems over my career, each with their own classes of challenge. The most interesting from a capacity perspective was for a company that delivers digital advertising. The biggest technical problems in that industry flow from the sheer volume of transactions that occur on a daily basis. Traffic flows in all hours of the day, but there are certainly peak periods, which means all planning must revolve around the capacity during the peak hours. This solution space isn’t altogether different than that of Amazon; they had to build their infrastructure to handle massive loads of peak traffic. Both Amazon and digital advertising, incidentally, have a Black Friday spike.</p><p>Many different architectural ideas came to my mind while I was in digital advertising. Real-time performance tracking of the advertising platform was one such thing. This was well before real-time became a hot buzzword in the technology industry. There was a point in time where this digital advertising company was “satisfied” with, or perhaps tolerated, having a two-to-three-hour delay between making changes to the system and having complete insight into the effects of the changes. After nearly a year at this company, I was finally able to get a large architectural change made to streamline log collection and management. Before the implementation started, I told everyone involved what would happen. Although this approach would enable the business to see the performance within approximately 5–10 minutes of the time a change was made, that this would not be good enough after people got a feel for what real-time could deliver. Since people didn’t have that taste in their mouths, they wouldn’t yet support going straight to real-time for this information. The implementation of this architecture was in place a few months after I departed the company for a new opportunity. The implementation worked great, and after about three months of experience with the new architecture, my former colleagues contacted me and told me they were looking to re-architect the entire solution to go to real time.</p><p>You might be wondering why I have decided to share this anecdote. It’s simple: “Good enough” doesn’t exist when it comes to technology. It is just a matter of time before people want more and faster. I predicted that my colleagues’ expectations would quickly change, and it proved to be true.</p><p>All of those expectations got me thinking, “what could I do to protect against those new expectations that I knew were bound to happen?” Over the following few months, I worked through the ramifications to all the pieces of an enterprise architecture to help solve this. But there was still something missing. I couldn’t put my finger on it until I attended 2014 <a href="http://events.linuxfoundation.org/events/mesoscon">MesosCon</a> in Chicago. Finally, the last piece of my architecture was sitting in front of me. I was missing global resource management. When I added that in, it opened up new doors and new ways to benefit from the rest of the pieces of my architecture. Suddenly it hit me: the strategic combination of all of these pieces was greater than the sum of each of the parts.</p><h4>High-level components with descriptions</h4><p>The high-level component view of this architecture is intended to support the goals defined for this new architecture. It is not intended to dictate which specific software or project, open source or otherwise, that must be used. There are seven pluggable components of this new architecture, and all of the components must work together:</p><ul><li>Distributed file system — Utilizing a shared distributed file system, all applications will be able to read and write to a common location, which enables simplification of the rest of the architecture.</li><li>Real-time data storage — This supports the need for high-speed business applications through the use of real-time databases.</li><li>Pluggable compute model / execution engine — Different groups within a business have different needs and requirements for meeting the demands put upon them at any given time, which requires the support of potentially different engines and models to meet the needs of the business.</li><li>Deployment / container management system — The need for having a standardized approach for deploying software are important and all resource consumers should be able to be isolated and deployed in a standard way.</li><li>Solution architecture — This focuses on solving a particular business problem. There may be one or more applications built to deliver the complete solution. These solution architectures generally encompass a higher level interaction amongst common algorithms or libraries, software components, and business workflows. All too often, solution architectures are folded into enterprise architectures, but there is a clear separation with the Zeta Architecture.</li><li>Enterprise applications — In the past, these applications would drive the rest of the architecture. However, in this new model, there is a shift. The rest of the architecture now simplifies these applications by delivering the components necessary to realize all of the business goals we are defining for this architecture.</li><li>Dynamic and global resource management — Allows dynamic allocation of resources to enable the business to easily accommodate for whatever task is the most important today.</li></ul><p>After putting all of my ideas on paper, there were two things I still needed to do: design a visual representation to explain this architecture and, most importantly, name it. After finally coming up with a visual representation that was simple to understand, a name finally came to me. Thus was the Zeta Architecture begotten (I’ll tell you the way I came up with the name in a future post).</p><p>While thinking through the visuals and implementation details of this architecture, something else hit me. I stumbled upon a way to document Google’s architecture. I’ve never seen Google document what I will call their enterprise architecture, but this is it. This diagram maps out how Google operates its technology stack, with Gmail as a use case. This architecture will allow anyone who implements it to be able to run at Google scale and efficiency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/0*_V2i35yskd6s9KSt.png" /></figure><p>There are a couple of the interesting points about Google’s technologies in this diagram. Borg is sometimes referred to as the project that is unnamed within Google, but outside of Google, it’s called Borg. <a href="http://research.google.com/pubs/pub41684.html">Omega is their scheduler</a>, and it is the crux of their dynamic distributed resource management. It figures out where and when to place jobs. Google has mentored open source projects like Apache Mesos, which takes many cues from Omega. From a solution architecture perspective, Gmail conceptually operates on top of a recommendation engine. The machine learning concepts in general are delivered in many of the products Google offers.</p><h4>What else?</h4><p>Web servers generate logs, they land on a local disk, and the logs are periodically rotated so they can be shipped elsewhere. They are moved to some other servers for data processing, and then jobs are run on the logs. This is a pretty standard story, and it isn’t so bad at small scale, but a lot of work goes into log shipping at scale. So, how could we make it better? We should run the distributed file system across all of these servers that are running Web servers. Logs would still get generated, but now they would land on the distributed file system. No other changes required, log shipping goes away, and the data is immediately available to the compute model / execution engine for analytics or any other process the business needs. There is a lot less monitoring required from the IT operations perspective.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/0*KCvDoBT5ZjDjYv0a.png" /></figure><p>If logs don’t have to be shipped, then technologies like Flume or Kafka can be removed from some application architectures. This does not obsolete those technologies; instead, those technologies should be used for use cases where streaming or queuing data makes sense. Overall, this is a big process simplification. In the anecdote I shared at the beginning of this article, we used Flume as the solution. My coworkers were able to configure and tune Flume to handle more than 1.5 million log lines per second, sustained throughout the day, and it worked fine. There were only hundreds or thousands of hours put into designing and building the solution, and then of course, managing it and maintaining the code base and configuration for deployment. Of course, we can’t forget that it also needed to be monitored. All of those things become unnecessary with the Zeta Architecture, at least for this use case.</p><h4>Less is more</h4><p>Nearly every application architecture needs to concern itself with many different things, including data protection schemes, how to backup data, recovery from failures, load balancing, and even running multiple versions of software. The Zeta Architecture simplifies those application architectures because it delivers or supports those important issues. Fewer moving parts means fewer potential failure points. Better hardware utilization means less to operate and lower operational costs. The business is then capable of leveraging a global set of resources to solve any problem based on what is most important right now. These days, priority number one seems to change fast and often, and this architecture supports a business that needs to change things instantly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/0*-z1-VBJSh20l7PQc.png" /><figcaption><em>Web server before Zeta.</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/0*5lEhzGuFhPwd0Bh0.png" /><figcaption><em>Web server after Zeta</em></figcaption></figure><h4>Additional materials</h4><p>If you’re interested in learning more, I have written <a href="https://www.mapr.com/zeta-architecture">a free downloadable technical white paper documenting the Zeta Architecture</a>. I have also written a free downloadable executive summary titled <a href="https://www.mapr.com/data-centric-enterprise"><em>Building the Data-Centric Enterprise</em></a> that covers this topic.</p><p><em>Originally published at </em><a href="http://radar.oreilly.com/2015/04/zeta-architecture-hexagon-is-the-new-circle.html"><em>radar.oreilly.com</em></a><em> on April 15, 2015.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d27889ec8da" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-ramp/zeta-architecture-hexagon-is-the-new-circle-9d27889ec8da">Zeta Architecture: Hexagon is the new circle</a> was originally published in <a href="https://medium.com/the-ramp">The Ramp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Guide to Spark Streaming — Code Examples Included]]></title>
            <link>https://medium.com/the-ramp/a-guide-to-spark-streaming-code-examples-included-4e3e640593ae?source=rss----c69ca8293c7e---4</link>
            <guid isPermaLink="false">https://medium.com/p/4e3e640593ae</guid>
            <category><![CDATA[apache-spark]]></category>
            <category><![CDATA[spark]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[hadoop]]></category>
            <dc:creator><![CDATA[Jim Scott]]></dc:creator>
            <pubDate>Fri, 08 Jul 2016 12:31:04 GMT</pubDate>
            <atom:updated>2016-07-08T12:31:04.505Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nUYiY6DcmDD4ZT0KjB5F5g.jpeg" /></figure><p><a href="https://www.mapr.com/products/apache-spark">Apache Spark</a> is great for processing large amounts of data over large clusters, but wouldn’t it be great if you could process data in near real time? You can with <a href="https://www.linkedin.com/pulse/quick-guide-spark-streaming-jim-scott">Spark Streaming</a>.</p><h4>What Is Spark Streaming?</h4><p>Spark Streaming is a special SparkContext that you can use for processing data quickly in near-time. It’s similar to the standard SparkContext, which is geared toward batch operations. Spark Streaming uses a little trick to create small batch windows (micro batches) that offer all of the advantages of Spark: safe, fast data handling and lazy evaluation combined with real-time processing. It’s a combination of both batch and interactive processing.</p><p>You can adjust the window for processing latency down to half a second, but this is more memory intensive. Spark Streaming is used for everything ranging from <a href="https://www.mapr.com/blog/game-changing-real-time-use-cases-apache-spark-on-hadoop">credit card fraud detection</a> to the identification of threats on the Internet.</p><h4>What kinds of data can you analyze?</h4><p>You might be wondering <a href="https://www.mapr.com/blog/quick-guide-spark-streaming#data-ingestion">what kind of data you can ingest into Apache Spark</a>. The short answer is pretty much everything.</p><p>More specifically, you can import data from Twitter, Flume, Kafka, ZeroMQ, a custom feed, and HDFS. You can also export into HDFS, as well as other databases, applications, and dashboards.</p><h4>DStream and RDDs</h4><p>How is all this possible? It all comes down to the primary data type of Spark: the RDD, or Resilient Distributed Dataset. An RDD is an abstraction of the data that’s held in memory, which is a lot faster than storing and fetching things from disk. This already gives you a significant speed boost over other systems.</p><p>RDDs are also safer to use because the transformations keep the original data in lineages, returning new RDDs with the transformations applied. This allows Spark to reconstruct the data with all the changes should something go wrong with one of the nodes in the cluster, such as a power failure.</p><p>DStream takes the concept of RDDs and applies it to streams. A DStream is simply a stream of RDDs, giving all of the advantages of speed and safety in near real time. <a href="https://spark.apache.org/docs/1.0.1/api/scala/index.html#org.apache.spark.streaming.dstream.DStream">The DStream API</a> offers a limited set of transformations compared to the standard Apache Spark.</p><h4>Spark Streaming Transformations</h4><p>If you’re wondering what kind of transformations you can do on DStreams, they’re pretty similar to the standard Spark transformations.</p><p>We’ll borrow some examples from the <a href="https://dzone.com/refcardz/apache-spark">Apache Spark Reference Card</a> to give you a taste. Let’s pretend we’re reading data over some kind of stream, such as from a social media feed.</p><p><strong>Let’s start our Spark Streaming Context:<br></strong>val ssc = new StreamingContext(sc, Seconds(1))<br>val lines = ssc.socketTextStream(“localhost”, 9999)</p><p>For example, map(func) takes func as an argument and applies it to each element, returning a new RDD.<br> <br><strong>Here’s an example multiplying each line by 10:<br></strong>lines.map(x=&gt;x.toInt*10).print()</p><p>We’ll send some data with the Netcat or nc program available on most Unix-like systems. Spark is reading from port 9999, so we’ll have to make sure Netcat points there.</p><p>prompt&gt; nc –lk 9999<br>12<br>34</p><p><strong>Here’s what the output looks like:<br></strong>120<br>340</p><p>flatmap() is similar, but can return 0 or more items.</p><p><strong>This example splits text, putting each word on separate lines:<br></strong>lines.flatMap(_.split(“ “)).print()</p><p><strong>Let’s try it with the string “Spark is fun”:<br></strong>prompt&gt; nc –lk 9999<br>Spark is fun</p><p><strong>And here’s the output:<br></strong>Spark<br>is<br>fun<br> <br>count() is obvious enough. It counts the number of data elements.</p><p><strong>We can count the lines in our stream:<br></strong>lines.flatMap(_.split(“ “)).count()</p><p><strong>And here are some lines:<br></strong>prompt&gt; nc –lk 9999<br>say<br>hello<br>to<br>spark</p><p>The output should be 4.<br> <br>reduce() is similar, but applies a function as an argument to the data elements instead of just adding them.</p><p><strong>We can use this to add up all the numbers:<br></strong>lines.map(x=&gt;x.toInt).reduce(_+_).print()</p><p><strong>And let’s get some numbers into Spark Streaming:<br></strong>prompt&gt; nc –lk 9999<br>1<br>3<br>5<br>7</p><p>The answer should be 16.<br> <br>countByValue() counts the number of occurrences of each data set.</p><p><strong>We can use this to count the number of times each word occurs:<br></strong>lines.countByValue().print()</p><p><strong>We’ll include some duplicate lines just to show you how it works:<br></strong>prompt&gt;nc –lk 9999<br>spark<br>spark<br>is<br>fun<br>fun</p><p><strong>The output will look like this:<br></strong>(is,1)<br>(spark,2)<br>(fun,2)</p><p><strong>An alternate way we could do this is by using the reduceByKey() function:<br></strong>val words = lines.flatMap(_.split(“ “))<br>val wordCounts = words.map(x =&gt; (x, 1)).reduceByKey(_+_)<br>wordCounts.print()</p><h4>Conclusion</h4><p>By now, you have seen the power of Spark Streaming and what it can do for your near-real-time big data needs. If you want to experiment, you can <a href="https://www.mapr.com/products/mapr-sandbox-hadoop">download a private Sandbox</a>, a full virtual machine with Apache Spark that you can play around with.</p><p><em>Originally published at </em><a href="http://www.smartdatacollective.com/kingmesal/384878/guide-spark-streaming"><em>www.smartdatacollective.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e3e640593ae" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-ramp/a-guide-to-spark-streaming-code-examples-included-4e3e640593ae">A Guide to Spark Streaming — Code Examples Included</a> was originally published in <a href="https://medium.com/the-ramp">The Ramp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Closer Look at RDDs]]></title>
            <link>https://medium.com/the-ramp/a-closer-look-at-rdds-ad881956f7a0?source=rss----c69ca8293c7e---4</link>
            <guid isPermaLink="false">https://medium.com/p/ad881956f7a0</guid>
            <category><![CDATA[big-data-analytics]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Jim Scott]]></dc:creator>
            <pubDate>Wed, 06 Jul 2016 12:31:04 GMT</pubDate>
            <atom:updated>2016-07-06T12:31:04.296Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/727/0*aiTt1K7cxTNp_QpM.jpg" /></figure><p><a href="https://www.mapr.com/products/apache-spark">Apache Spark</a> has gotten a lot of attention for its fast processing of large amounts of data. But how does it get up to speed? The biggest reason that Spark is so fast is its use of the Resilient Distributed Dataset, or RDD.</p><p>These RDDs are the heart of Spark — the engine that allows it to process so much data so quickly and reliably.</p><h4><strong>What Are RDDs?</strong></h4><p>RDDs are a data structure that’s distinctive of Apache Spark. The “resilient” part comes from the fact that Spark ensures a degree of safety when dealing with data. Operations on RDDs are split into two categories: transformations and actions. (This will be explained later in the article.) Operations on data are made out of chained transformations, which makes it easy to recover from machine loss.</p><p>Since MapR made its name as a company supporting <a href="https://www.mapr.com/products/apache-hadoop">Hadoop</a>, it’s not surprising that distributed filesystems are a major focus for Spark. RDDs can be distributed across many nodes, being controlled by a “master” node. If a “slave” machine goes down, the data can be reconstructed from other nodes, like a giant RAID system. Hadoop comes in by providing the reliable, distributed HDFS system to store the data.</p><p>RDDs also hold as much data as possible in memory. With powerful nodes, most clusters shouldn’t have any problem.</p><h4><strong>Lazy Evaluation</strong></h4><p>You might think that having all of this data in memory might be as slow as molasses, but Spark borrows a technique from functional programming languages like Haskell. RDD operations are <a href="https://wiki.haskell.org/Lazy_evaluation">lazily evaluated</a>. That means that the operations aren’t actually executed until they’re needed. This lets you specify some complicated operations without suffering the performance hits.</p><p>You could work out an algorithm in the interactive Spark shell, do something else, then ask for some output. If you find that it takes a long time, you can put it into a script to be run in batch mode.</p><p>This is in contrast to eager evaluation, where everything’s evaluated immediately.</p><h4><strong>Transformations vs. Actions</strong></h4><p>Transformations make changes to data, such as sorting, counting, or filtering items that meet certain criteria. These transformations simply return a new RDD from the old one nondestructively. In case of a failure, RDDs can be rebuilt from other transformations, as operations on data are made of chained transformations. Transformations include filtering, mapping, and reducing, as well as operations derived from set theory, such as unions and intersections.</p><p><a href="http://spark.apache.org/docs/latest/">The Spark documentation</a> shows <a href="http://spark.apache.org/docs/latest/programming-guide.html#transformations">all of the transformations</a> you can make to your data. You can build all kinds of complex transformations to explore your data out of these simple building blocks.</p><p>Actions are operations that produce some kind of output. Actions include counting elements in an RDD, flattening them into arrays, and retrieving the first N items from an RDD. You can also save RDDs in a text file for exporting.</p><h4><strong>Lineage</strong></h4><p>A lot of the resiliency in RDDs comes from lineages. As mentioned earlier, transformations are nondestructive, preserving the earlier RDD. Spark relies on lineages, which are records of all the previous versions of RDDs. Since all transformations are made out of other transformations, if a node fails, the master can reconstruct the data out of the lineage on other nodes.</p><p>Of course, that assumes that nothing bad has happened to driver application and whether it is running in client or cluster mode. In any case, the lineage feature is very powerful and allows a great degree of safety, but you should focus on good practices such as keeping up-to-date backups and having an off-site backup plan for data that really matters. If you can afford it, you might want to build clusters in another area for continuity. These days, it’s also easy to use cloud providers to have clusters in different places without having to wire up servers yourself.</p><h4><strong>Conclusion</strong></h4><p>The heart of a good program is, as any really talented programmer will tell you, the data structures, rather than the algorithm. RDDs provide a good data structure for Big Data because of their reliability combined with their simplicity. With Spark and RDDs, the only limit will be your imagination, especially when backed by the support of MapR’s Spark distribution.</p><p>Take a deeper dive into Spark with the free interactive eBook: <a href="https://www.mapr.com/ebooks/spark/">Getting Started with Spark: From Inception to Production</a>, <em>by James A. Scott</em>.</p><p><em>Originally published at </em><a href="http://www.smartdatacollective.com/kingmesal/354115/closer-look-rdds"><em>www.smartdatacollective.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad881956f7a0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-ramp/a-closer-look-at-rdds-ad881956f7a0">A Closer Look at RDDs</a> was originally published in <a href="https://medium.com/the-ramp">The Ramp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How the Internet of Things Impacts Big Data Strategies]]></title>
            <link>https://medium.com/the-ramp/how-the-internet-of-things-impacts-big-data-strategies-f50c67f128c7?source=rss----c69ca8293c7e---4</link>
            <guid isPermaLink="false">https://medium.com/p/f50c67f128c7</guid>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[internet-of-things]]></category>
            <category><![CDATA[hadoop]]></category>
            <dc:creator><![CDATA[Jim Scott]]></dc:creator>
            <pubDate>Mon, 04 Jul 2016 12:31:03 GMT</pubDate>
            <atom:updated>2016-07-04T12:31:02.998Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jVx3MtL05GTvLebnWB2MGw.jpeg" /></figure><p>What exactly is the <a href="https://en.wikipedia.org/wiki/Internet_of_Things">Internet of Things</a>? Put simply, the Internet of Things (IoT) connects devices such as everyday consumer objects and industrial equipment to a network. Software is used to manage and gather information about these devices in order to increase efficiency, enable new services, and achieve other kinds of health, safety, or environmental benefits.</p><h4>Four main categories</h4><p>When we think about IoT in terms of the user, we can group it into four main categories: personal, group, community, and industrial.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hnQ-Qo5DWP7iuQMz.jpg" /></figure><p><strong>Personal IoT</strong> sets the focus on a single person. For example, users might be wearing a smartwatch (such as <a href="http://www.android.com/wear/">Android Wear</a> or <a href="http://www.apple.com/watch/">Apple Watch</a>) that measures heart rate, which becomes a piece of data that can be shared with the user’s doctor.</p><p><strong>Group IoT</strong> extends its scope to a fairly small group of people, such as a family. For example, in the context of a <a href="http://www.smarthome.com/">smart home</a>, sensors capture temperature and lighting conditions for optimal comfort. In a <a href="http://blog.bosch-si.com/categories/manufacturing/2013/02/iot-and-predictive-maintenance/">car</a>, group IoT is made up of the people inside it, and may include the same types of sensors found in a smart home.</p><p><strong>Community IoT</strong> takes into account a larger group of people (thousands or more). For example, public infrastructure, such as <a href="http://www.smartcities.info/">smart cities</a> may contain sensors that track cars and road conditions to help maintain a smooth and efficient traffic flow. Another example is found in <a href="http://www.forbes.com/sites/85broads/2014/03/26/4-ways-the-internet-of-things-is-transforming-healthcare/">health care</a>. A patient’s heart rate, body temperature, and blood pressure may be monitored 24/7 and their health status made available to the medical staff.</p><p><strong>Industrial IoT</strong> is the most established branch of the Internet of Things. It features examples ranging from individual companies operating a <a href="http://www.industryweek.com/technology/dawn-smart-factory">smart factory</a> to various organizations working together, as in the case of a <a href="http://insights.wired.com/profiles/blogs/retailers-turn-to-big-data-and-hadoop-to-stay-competitive-1">retailer supply chain</a>.</p><h4>The third wave</h4><p>The Internet of Things is emerging as the third wave in the development of the Internet. As a point of reference, the first wave was actually getting people connected to the Internet; the second wave was people “going mobile.” <a href="http://newsroom.cisco.com/feature-content?type=webcontent&amp;articleId=1208342">Cisco predicts</a> that connectivity costs (for businesses and consumers) will decline by 25% annually between 2013 and 2020, while the annual growth in the number of connected objects will grow by 25% during the same time period. Based on those assumptions, we can expect <a href="http://newsroom.cisco.com/feature-content?type=webcontent&amp;articleId=1208342">50 billion connected things by 2020</a>, and the digital infrastructure is growing rapidly — actually 5x faster than electric and telecommunication industries.</p><p>This rapid expansion of smart objects will impact our personal lives, workplace productivity, and consumption. In addition, there will be a string of new related businesses that will expand the Internet “pipes,” those that will analyze streams of data, and others that will make new things we haven’t even thought of yet.</p><h4>IoT use cases in deployment</h4><p><strong>Harley-Davidson Inc.</strong> has recently launched a new manufacturing facility in which every piece of equipment is a connected device, and every variable is constantly measured and analyzed. Software at their plant in York, PA, keeps track of how different pieces of equipment are performing — measuring the temperatures and speeds of fans in a painting booth, for example. If the software detects that a measurement has deviated from the acceptable range, it will automatically adjust the machinery.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xDeFMA2xmD3c4BBL.jpg" /></figure><p>All of these <a href="http://www.wsj.com/news/articles/SB10001424127887324059704578472671425572966">data points</a> come together in <a href="http://www.sap.com/asset/detail.2015-01-jan.sap-connected-manufacturing-mp4.html">SAP Connected Manufacturing</a>, which integrates the manufacturing results with real-time feeds into the SAP HANA platform. This process makes it possible to perform predictive analytics, which drives cost efficiencies and achieves higher asset utilization. The result? Harley-Davidson can now build 1,700 motorcycle variations on one production line, and ship a customized motorcycle every 90 seconds. In addition, the company can now make deliveries within just six hours instead of 21 days.</p><p><strong>Self-driving cars</strong> use many sources of data, from lasers to stereo cameras to windshield wiper rain detectors, to figure out what’s happening around them. Google’s self-driving car, for example, <a href="https://www.linkedin.com/pulse/20130502024505-9947747-google-s-self-driving-car-gathers-nearly-1-gb-per-second">gathers 750 megabytes of sensor data per second</a>. It captures everything it sees that is moving, from trucks to pedestrians to rolling balls. The car uses personal computers that process 1.3 million laser measurements and make 20 driving decisions every second. Google doesn’t have the only set of wheels on the IoT highway — six automakers recently announced plans at the Consumer Electronics Show (CES) 2015 for autonomous driving vehicles that will be on the road between 2017 and 2020.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*aHIYI2tMFTwTWy5Q.jpg" /></figure><p><a href="http://smartcity.bcn.cat/en"><strong>Barcelona</strong></a> has embraced the Internet of Things, creating a smart city to stimulate the local economy, improve communications among city departments, and minimize government costs. One citywide improvement relates to <a href="https://www.youtube.com/watch?v=TCbvxb5t5_8">traffic and parking</a> — in the past, 40% of city traffic was caused by drivers looking for parking. Now, in-ground parking sensors communicate with in-car devices to quickly direct cars to open parking.</p><p>Barcelona has also transformed the experience of waiting for a bus; now, riders use <a href="http://smartcity.bcn.cat/en/new-bus-network.html">“smart” bus stops and buses</a> to find route information, as well as information about the area, via smart panels located on buses and in bus shelters. The city has also installed highly efficient street lights, which are dynamically managed in order to save energy and optimize maintenance — and the street lights brighten whenever they sense pedestrians.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3naQyzaW3jTwZY2c.jpg" /></figure><p>The Australian government funded <a href="http://www.smartgridsmartcity.com.au/About-Smart-Grid-Smart-City.aspx"><strong>Smart Grid, Smart City</strong></a>, a $100 million project called Ausgrid, which tested a range of smart grid technologies — gathering information about the benefits and costs of implementing these technologies in Australia. The project was used to provide near real-time information about power use to help customers control costs. In addition, detailed real-time data about the city’s power supply meant that potential equipment faults could be proactively identified and repaired to avoid power interruptions. Up to 30,000 households participated in the project (which ran between 2010 and 2014).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4NY-dHuvRONr59f3.jpg" /></figure><p>The Ausgrid project, overall, provided a safe and reliable electricity supply to more than 1.6 million homes and businesses across the Sydney area, and led a consortium of partners working together on this trial. <a href="http://www.smartgridsmartcity.com.au/EnergyAustralia-trial.aspx">EnergyAustralia</a>, the Smart Grid, Smart City retailer partner, tested innovative technology and pricing offers. These products also made the most of new smart meters and were designed to give homes greater choice and control over their bills.</p><p>Data that falls into the IoT category tends to be time-series based data. That is to say, the data coming from sensors is specific to a sensor at a point in time. Storing the data for long-term usage and analytical purposes can be rather cumbersome. Fortunately, there are databases that are dedicated to storing time series data — <a href="http://opentsdb.net/">OpenTSDB</a> is one.</p><p>When running a database like this, the first concern is usually how fast it can ingest data. Since this type of database scales linearly, it is possible to ingest data at a rate upwards of <a href="https://www.mapr.com/blog/loading-time-series-database-100-million-points-second">25 million data points per second</a> per server in a cluster. With 10 servers in a cluster, it can handle 250 million data points per second. OpenTSDB is a good way to get started with time series data, and it also comes out of the box with the ability to downsample and perform different types of aggregations (avg, sum, min, max).</p><p>There’s no doubt about it — the Internet of Things has moved into the mainstream, and there’s great potential as companies store, process, and analyze IoT data and turn that data into relevant business insights.</p><p><em>Originally published at </em><a href="https://www.oreilly.com/ideas/how-the-internet-of-things-impacts-big-data-strategies"><em>www.oreilly.com</em></a><em> on November 18, 2015.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f50c67f128c7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-ramp/how-the-internet-of-things-impacts-big-data-strategies-f50c67f128c7">How the Internet of Things Impacts Big Data Strategies</a> was originally published in <a href="https://medium.com/the-ramp">The Ramp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[NoSQL and Real-Time Analytics: What You Need to Know]]></title>
            <link>https://medium.com/the-ramp/nosql-and-real-time-analytics-what-you-need-to-know-94082f367abf?source=rss----c69ca8293c7e---4</link>
            <guid isPermaLink="false">https://medium.com/p/94082f367abf</guid>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[hadoop]]></category>
            <dc:creator><![CDATA[Jim Scott]]></dc:creator>
            <pubDate>Mon, 27 Jun 2016 12:31:02 GMT</pubDate>
            <atom:updated>2016-06-27T12:31:01.828Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dhZGtatxu0LwhXunDueXew.jpeg" /></figure><p>If you’re in business, you need to know what’s going on both inside and outside your company operations. You need some kind of analytics to understand what your employees and your customers are doing. Analytics has been part of business for a while, but with the 24/7 nature of modern business you need <a href="https://www.mapr.com/solutions/quickstart/spark-hadoop-time-series-analytics-quick-start">real-time analytics</a>. And if you’re looking for real-time analytics, an in-Hadoop NoSQL database will help support your data needs.</p><h4><strong>Why NoSQL?</strong></h4><p>Old database and analytics systems were designed for a different era of computing, when programmers submitted batch jobs to run overnight on a mainframe. While SQL was a revolution in data storage in 1970, it’s still very much tied to that era — back when E. F. Codd was working for IBM.</p><p>Modern real-time analytics is much quicker, offering response times of under a minute, even for complex queries. Much of the performance power comes from the different kinds of data models that NoSQL databases can support. SQL databases only offer the familiar tables tied together with foreign keys. But with NoSQL, you can use whatever data model makes the most sense for the job at hand. You can explore relationships between data points with <a href="https://www.mapr.com/products/product-overview/graphx">graph databases</a>, or you can use key-value databases to represent data as simpler key-value pairs. You can also use wide tables for a more traditional tabular view, but with the ability to have arbitrarily large number of columns. You can also scale out more easily by adding more nodes to your cluster instead of having to move everything to bigger machines.</p><p>The relatively lightweight nature of NoSQL also allows for more advanced applications. While it’s possible to use machine learning programs like those built with <a href="https://www.mapr.com/products/apache-spark">Apache Spark</a>, the greater performance that NoSQL offers will make machine learning tasks that much faster. If you’re running credit card fraud detection, you can monitor thousands of transactions every second and flag potentially fraudulent transactions before the credit card company is on the hook for them.</p><h4><strong>Kinds of Analytics</strong></h4><p>So what kinds of analytics are available?</p><ul><li><strong>Decisive analytics </strong>help you make a decision.</li><li><strong>Descriptive analytics</strong> show you what’s happening.</li><li><strong>Predictive analytics</strong> try to forecast what’s going to happen in the future.</li><li><strong>Prescriptive analytics</strong> make recommendations.</li></ul><p>The key to real-time analytics is that you can see what’s going on and make decisions quickly.</p><h4><strong>Applications</strong></h4><p><a href="https://www.mapr.com/blog/machine-learning-american-express-benefits-and-requirements">Fraud detection</a> is a good example of an application that benefits from real-time analytics — and one that many companies are going to need in the future, given the large number high-profile data breaches. Credit card companies can sift through hundreds of thousands of transactions and look for patterns. Transactions that seem out of character, such as sudden big-ticket items purchased far from where the cardholder lives can be flagged as potentially fraudulent.</p><p>Have you sat through a marathon of your favorite shows on Netflix or Hulu? Chances are you aren’t the only one watching. Streaming media services want to keep you glued to the screen and paying that $7.99 a month. They take your viewing habits and guess what else you’ll want to watch by combining your viewing habits against those with similar tastes. <strong><em>Building customer profiles</em></strong> this way is an example of predictive analytics.</p><p>Like most companies, your data center is your business — and you should know what’s going on in there. As with fraud detection, you can monitor incoming connections for anything out of the ordinary to avoid becoming the next costly and embarrassing data breach story. You can also look at the software your employees are using. Do they spend most of their time videoconferencing or sending instant messages? Do they have trouble using a particular program?</p><p>With the changing media landscape, it’s more challenging for marketers and advertisers to reach prospects. By some measures, Netflix viewership <a href="http://variety.com/2015/digital/news/netflix-viewing-abc-cbs-fox-nbc-1201527442/">is outpacing network TV</a>. Netflix doesn’t have commercials, so marketers will have to find ways to maximize their return on investment. With real-time analytics, they can <a href="http://www.smartdatacollective.com/sameernori/282016/5-common-use-cases-hadoop-retail"><em>see what’s influencing purchase decisions</em></a> and meet potential customers there. Marketers can sift through support records to see where customers are struggling and suggest possible changes to product design.</p><h4><strong>Conclusion</strong></h4><p>The world is changing, and real-time analytics will help you keep up. In-Hadoop NoSQL lets you deploy a reliable, distributed database quickly that can scale with your needs.</p><p><em>Originally published at </em><a href="http://www.dataversity.net/nosql-and-real-time-analytics-what-you-need-to-know/"><em>www.dataversity.net</em></a><em> on January 11, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94082f367abf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-ramp/nosql-and-real-time-analytics-what-you-need-to-know-94082f367abf">NoSQL and Real-Time Analytics: What You Need to Know</a> was originally published in <a href="https://medium.com/the-ramp">The Ramp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Recognizing and Rescuing a Failing Big Data Project]]></title>
            <link>https://medium.com/the-ramp/recognizing-and-rescuing-a-failing-big-data-project-126412137ee0?source=rss----c69ca8293c7e---4</link>
            <guid isPermaLink="false">https://medium.com/p/126412137ee0</guid>
            <category><![CDATA[information-technology]]></category>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[business-strategy]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Jim Scott]]></dc:creator>
            <pubDate>Fri, 24 Jun 2016 12:31:03 GMT</pubDate>
            <atom:updated>2016-06-24T12:31:02.789Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yOq6TR7HLAPi7yuR7MQicQ.jpeg" /></figure><p>If you ran an analysis, you may discover there is a good chance your big data project will not proceed according to plan. According to <a href="http://cdn2.hubspot.net/hub/174427/file-18729484-pdf/docs/Infochimps_CIOs_and_Big_Data_Report.pdf">an Infochimps report</a> on CIOs and big data, 55% of big data projects fail because of the lack of communication between the top managers who had the overall project vision and those who were in charge of actually implementing it. The result? Providers were unable to deliver the benefits promised when the project was in its planning stages.</p><p>In order to help keep your team’s data analytics project on track, I’ve compiled a list of signs that your big data project is heading toward failure, along with some suggestions based on my own industry experience on how to remediate the problems.</p><h4>The project is always expanding.</h4><p><a href="http://www.mckinsey.com/insights/business_technology/delivering_large-scale_it_projects_on_time_on_budget_and_on_value">Research by McKinsey</a>, conducted in collaboration with the University of Oxford, suggests that large IT projects typically run 45% over budget and 7% over schedule, while delivering 56% less value than predicted. The typical reasons for stakeholder disenchantment are poorly defined success criteria, often teamed with slippage of project deliverables. Some tips to overcome this obstacle are as follows:</p><ul><li>When you notice that your project has been “90% done” for an extended period of time, stop building.</li><li>Define measurable key performance indicators (KPIs) that will signal when the project has met its defined objectives. If you don’t know what success looks like, you won’t be able to recognize it! Examples of KPIs include increased customer satisfaction via profiling, personalization and customer lifetime value analysis, and improved procurement and acquisition productivity through spend analysis.</li><li>Lock down the scope, define new milestones, and purge any tasks that cannot be delivered in incremental steps from the project process.</li><li>Prioritize aspects of the project that will yield savings and/or profit for the business.</li><li>Once the foundation is solid, proceed with the project.</li></ul><h4>You have very few users.</h4><p>You built it, but they didn’t come? Take comfort in the fact that you’re not alone. In <a href="http://www.gartner.com/newsroom/id/3051717">a Gartner study</a> on enterprise big data projects, 70% of respondents reported having only between 1 and 20 users accessing Hadoop, and 4% reported having no users at all.</p><p>Before you can address this problem, you need to understand <em>why</em> there is such a lack of enthusiasm about your big data deployment. Users may not fully see the value in working with big data, or they may feel intimidated by the advanced technical skills they believe are a prerequisite to working with big data. Some suggestions I have for this problem are as follows:</p><ul><li>Emphasize an iterative process over the end-product, and allow users to explore. Baby steps yield far better results and a faster feedback loop to positive outcomes.</li><li>Make tools available, such as <a href="https://www.mapr.com/products/apache-drill">Apache Drill</a>, that enable users to leverage their existing SQL skills. This will allow users to ask questions quickly without the immediate need to learn new technologies.</li><li>Allow users to elevate their knowledge through <a href="https://www.mapr.com/services/mapr-academy/big-data-hadoop-online-training">training</a> that can explain the basics of big data technologies to those who are non-technical. Training can also help those who are more technical to see new ideas and approaches to solving problems.</li><li>If you can gain managerial support, it would be useful to align employee performance incentives and annual goals with the company’s big data project goals.</li></ul><h4>Your data is still in silos.</h4><p>Data streams need to converge for big data to deliver its full potential, but in-house politics or policies may stem the flow. If individual departments are still making business decisions based solely (or primarily) on their own data, you have a developing problem. For example, looking at historical sales data alone is significantly less useful than looking at sales trends, customer relationship management (CRM), and social media data together. History alone may soothe a company into thinking a dip in sales is due to a seasonal slowdown and can be ignored — but CRM and social media may point to a developing issue that is impacting brand value and is worth addressing right away. If you recognize your organization’s data is disjointed, here are some ideas to help bring it together:</p><ul><li>Define a critical <em>common</em> goal that each department can agree to pursue, and use that goal to break data out of its silos. An example may be to pull data from each silo and identify new details for what causes a customer to stick to or bounce from a website. This is obviously not an easy fix, and you will need top-down support to make it happen.</li><li>Be ready with a plan to ensure that data is suitably scrubbed, verified, and secured. Tools such as Apache Drill or <a href="http://spark.apache.org/">Apache Spark</a> can be utilized to transform data from one format to another, or to clean the fields of data. This type of plan is important, as it will allow your team to deliver a common view of the data from multiple data sources back to the users. It will also help to prevent confusion among data sources where individuals may be accustomed to seeing data presented in one particular way.</li><li>Ensure users have access to solutions that support analysis of structured, semi-structured, and unstructured data. The goal here is to simplify the process and remove pain points for the users. A tool like Apache Drill, which uses SQL, can help to overcome this barrier.</li></ul><h4>Answers to questions are not helpful.</h4><p>If the answers aren’t useful, it’s possible that your users — or your data scientists — are asking the wrong questions. It is important to manage expectations around your big data project. In the beginning, it is likely that no one will be asking the right questions or querying the right data sets. One example of a bad question would be to aggregate a set of numbers that consist of averages. Since asking a good question can be difficult, offer an example of the data sources and demo how to ask a question like: how many viewers visited the website in a certain time frame, from a certain region, and what is the demographic makeup of that region? Expect some failures in the beginning stages, but work with people to spread knowledge on how to frame useful queries and fully leverage big data potential. Additional tips include:</p><ul><li>Encourage users to define a project by first establishing the desired outcome (e.g., we will increase conversions). Much like the scientific process, define your expectations upfront.</li><li>Determine what business decisions you will need to make to successfully support that outcome (e.g., what channels should we use? What message will resonate? How much will we spend? Historically, what percentage of leads can we expect to convert?).</li><li>Let the analytic results drive the project. Measure success by defining the benefits of the results.</li><li>Tweak processes if needed, and repeat with another project.</li></ul><h4>Your business has changed.</h4><p>Significant IT projects, in an enterprise setting, typically take between 18 and 24 months to fully deploy. During that time, business conditions can shift, new compliance regulations may change data governance processes, in-house talent may leave to pursue other opportunities, or you may simply find that the technological decisions made a couple of years ago are not the decisions you’d make today.</p><p>Obviously, this situation is difficult to remediate in a cost-effective way after the deployment goes live. If you are still in the development process, you can build in some of the following best practices to help ensure the project meets your shifting needs as you move forward:</p><ul><li>To avoid getting locked into a limited solution set, choose IT solutions that have robust support from your vendor and the user community. Tools like Apache Drill (which support ANSI SQL), Apache Spark (which can be used with common programming languages, including Java, Scala, and Python) are good choices. Look for solutions that are commonly used in the big data space and that leverage skills gained from multiple disciplines.</li><li>Select software that is designed for users with a variety of data analytics skills, such as Apache Spark. Enabling the largest number of users with a smallest number of technologies is a far simpler way to get started than supporting one technology per person. As experience grows, new technologies can always be added.</li><li>Bring in representatives across the enterprise in the early stages of project planning and keep them involved as the project progresses. Regular communication will allow your team time to adjust to any major changes in business direction or technologies.</li><li>Appoint project leaders who can effectively engage stakeholders across all business divisions to ensure alignment between your big data project and the primary business needs.</li><li>Set checkpoints during the buildout and deployment processes to verify that goals and needs have not changed, and to make sure your big data project remains focused on robust business objectives.</li></ul><h4>Final takeaways</h4><p>Promptly implementing small pieces of a plan tends to lead to more successful implementations down the road, as those pieces can quickly prove business value. Proving business value with small pieces of functionality and new information is the best way to gain support and boost morale with projects of scale — all players can see the benefits early and gain assurance that the project is moving forward successfully.</p><p>Ensure that communication channels for positive and negative feedback exist. The last thing you want is for an unhappy user to torpedo the efforts of these projects because you didn’t know they were unhappy.</p><p>Finally, make sure that users know who to talk to about any technical issues. Having a gatekeeper to moderate technical issues, or having a list of subject matter experts available to consult with users, is paramount to the success of your project.</p><p><em>Originally published at </em><a href="https://www.oreilly.com/ideas/recognizing-and-rescuing-a-failing-big-data-project"><em>www.oreilly.com</em></a><em> on November 24, 2015.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=126412137ee0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-ramp/recognizing-and-rescuing-a-failing-big-data-project-126412137ee0">Recognizing and Rescuing a Failing Big Data Project</a> was originally published in <a href="https://medium.com/the-ramp">The Ramp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>