<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Using Storm and Kafka for System of Insight (HDP) to and from System of Engagement (i.e.mobile app) interaction? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Storm-and-Kafka-for-System-of-Insight-HDP-to-and-from/m-p/149657#M24055</link>
    <description>&lt;P&gt;Thanks Vadim, like the approach, much appreciated.  Using Docker I could go the node.js route also.&lt;/P&gt;</description>
    <pubDate>Thu, 31 Mar 2016 04:22:47 GMT</pubDate>
    <dc:creator>dconnolly</dc:creator>
    <dc:date>2016-03-31T04:22:47Z</dc:date>
    <item>
      <title>Using Storm and Kafka for System of Insight (HDP) to and from System of Engagement (i.e.mobile app) interaction?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Storm-and-Kafka-for-System-of-Insight-HDP-to-and-from/m-p/149653#M24051</link>
      <description>&lt;P&gt;The SoI pushing to SoE insights seems like a great fit, but how about a sync or async API call from mobile app that needs something a little more than a precalculated SoI store and needs to do some additional quick analytics work in SoI to deliver the response.  So thought is Storm with Trident (maybe JMS) from API and/or Bus platform for sync call, and possibly include kafka for the async API scenario where response would be stored in cache for async retrieval.  Does this seem like a good fit? Thinking Service wrapper down the road may also make sense?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 18:25:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Storm-and-Kafka-for-System-of-Insight-HDP-to-and-from/m-p/149653#M24051</guid>
      <dc:creator>dconnolly</dc:creator>
      <dc:date>2016-03-30T18:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Using Storm and Kafka for System of Insight (HDP) to and from System of Engagement (i.e.mobile app) interaction?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Storm-and-Kafka-for-System-of-Insight-HDP-to-and-from/m-p/149654#M24052</link>
      <description>&lt;P&gt;I have recently built a demo that does something like this. Keep in mind that as soon as you add a CEP tool like Storm or a queuing system like Kafka or JMS into the architecture your solution becomes asynch. For the synch portion just setup a basic REST web service that makes a synch call to the backend. For the asynch with analytics part try this:&lt;/P&gt;&lt;P&gt;Nifi listening on HTTP to receive the rest web service call from the mobile app --&amp;gt; use Nifi to shape the request and route it to the correct Kafka queue in case you need multiple points of entry. In either case it gives you the flexibility to change the data model of the request and/or the response without having to change both the client and the server --&amp;gt;  Kafka queues the request to support once and only once delivery --&amp;gt;  Storm to consume request and apply whatever analytics you need. Get whatever data is required from data serving layer --&amp;gt; you can use cache or a data grid like Ignite or Gemfire, however, unless you need sub millisecond response or you are doing 250K TPS or more I would just go with Hbase as the data serving layer (HBase can handle 250K + TPS but you need more region servers and some tuning) --&amp;gt;  At this point Storm should have the response and can either post it back to Kafka or HTTP where Nifi can consume it and deliver it to the mobile app through something like Google Cloud Messaging. This architecture will give you a very flexible, very near real time asynch analytics platform that will scale up as far as you want to go.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2016 20:41:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Storm-and-Kafka-for-System-of-Insight-HDP-to-and-from/m-p/149654#M24052</guid>
      <dc:creator>vvaks</dc:creator>
      <dc:date>2016-03-30T20:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using Storm and Kafka for System of Insight (HDP) to and from System of Engagement (i.e.mobile app) interaction?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Storm-and-Kafka-for-System-of-Insight-HDP-to-and-from/m-p/149655#M24053</link>
      <description>&lt;P&gt;Thanks Vadim, this helps.  On the sync side, if the web service or API manager handling the Rest call from client sits outside of hadoop cluster, what would be your recommendation for handling the sync call into cluster if some of the work is better done there.  I know many options, just curious of perspective.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2016 00:51:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Storm-and-Kafka-for-System-of-Insight-HDP-to-and-from/m-p/149655#M24053</guid>
      <dc:creator>dconnolly</dc:creator>
      <dc:date>2016-03-31T00:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using Storm and Kafka for System of Insight (HDP) to and from System of Engagement (i.e.mobile app) interaction?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Storm-and-Kafka-for-System-of-Insight-HDP-to-and-from/m-p/149656#M24054</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3759/dconnolly.html" nodeid="3759"&gt;@dconnolly&lt;/A&gt; The simplest approach is to build a REST web service on a servlet container like Tomcat or Jetty. Strictly speaking, you could publish that web service anywhere, however, I would recommend that you leverage the existing resources available in the Hadoop cluster use Slider to run the web service on Yarn. Try this:&lt;/P&gt;&lt;P&gt;Create a web service and build it as a runnable jar. Put that jar into a linux docker container and then create the configuration files need to run the docker container with slider. &lt;/P&gt;&lt;P&gt;&lt;A href="https://slider.incubator.apache.org/docs/slider_specs/application_pkg_docker.html"&gt;https://slider.incubator.apache.org/docs/slider_specs/application_pkg_docker.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.slideshare.net/hortonworks/docker-on-slider-45493303"&gt;http://www.slideshare.net/hortonworks/docker-on-slider-45493303&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Use Slider to start the docker container on Yarn and secure the listener endpoint with Knox. This would allow you to leverage the resources of the cluster, manage the synch service resources with Yarn, and provide security for the API endpoint with Knox.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2016 01:33:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Storm-and-Kafka-for-System-of-Insight-HDP-to-and-from/m-p/149656#M24054</guid>
      <dc:creator>vvaks</dc:creator>
      <dc:date>2016-03-31T01:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using Storm and Kafka for System of Insight (HDP) to and from System of Engagement (i.e.mobile app) interaction?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Storm-and-Kafka-for-System-of-Insight-HDP-to-and-from/m-p/149657#M24055</link>
      <description>&lt;P&gt;Thanks Vadim, like the approach, much appreciated.  Using Docker I could go the node.js route also.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2016 04:22:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Storm-and-Kafka-for-System-of-Insight-HDP-to-and-from/m-p/149657#M24055</guid>
      <dc:creator>dconnolly</dc:creator>
      <dc:date>2016-03-31T04:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using Storm and Kafka for System of Insight (HDP) to and from System of Engagement (i.e.mobile app) interaction?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Storm-and-Kafka-for-System-of-Insight-HDP-to-and-from/m-p/149658#M24056</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3759/dconnolly.html" nodeid="3759"&gt;@dconnolly&lt;/A&gt; My pleasure. Would you mind accepting the answer and up voting?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2016 02:01:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Using-Storm-and-Kafka-for-System-of-Insight-HDP-to-and-from/m-p/149658#M24056</guid>
      <dc:creator>vvaks</dc:creator>
      <dc:date>2016-04-01T02:01:16Z</dc:date>
    </item>
  </channel>
</rss>

