<?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[Stories by Brendan Slezak on Medium]]></title>
        <description><![CDATA[Stories by Brendan Slezak on Medium]]></description>
        <link>https://medium.com/@brendanslezak?source=rss-ab675ce93ead------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*styPXUPfX5sMVEL9TFkKQg.jpeg</url>
            <title>Stories by Brendan Slezak on Medium</title>
            <link>https://medium.com/@brendanslezak?source=rss-ab675ce93ead------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 18:31:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@brendanslezak/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Using Kinesis Analytics and Elasticsearch to bring real-time data delivery to Hyperion’s Activity…]]></title>
            <link>https://medium.com/@brendanslezak/using-kinesis-analytics-and-elasticsearch-to-bring-real-time-data-delivery-to-hyperions-activity-5eccce727f29?source=rss-ab675ce93ead------2</link>
            <guid isPermaLink="false">https://medium.com/p/5eccce727f29</guid>
            <category><![CDATA[risk-analysis]]></category>
            <category><![CDATA[risk]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[tech-notes]]></category>
            <dc:creator><![CDATA[Brendan Slezak]]></dc:creator>
            <pubDate>Thu, 26 Jul 2018 14:25:10 GMT</pubDate>
            <atom:updated>2018-08-01T12:16:41.469Z</atom:updated>
            <content:encoded><![CDATA[<h3>Using Kinesis Analytics and Elasticsearch to bring real-time data delivery to Hyperion’s Activity GRiD</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lU1GaKUfTnO4nEW2I8qCCg.png" /><figcaption>Hyperion’s Activity GRiD shows a spike in news activity in South Africa after a significant event.</figcaption></figure><p>GeoSpark Analytics is working to deliver data and analytics even faster to its users by leveraging <a href="https://aws.amazon.com/kinesis/data-analytics/">Amazon’s Kinesis Data Analytics</a>. Kinesis Data Analytics is a service provided by Amazon Web Services (AWS) that can continuously process incoming streaming data in real time using a customized SQL query. The results are then pushed to an output stream which can be listened to by another service to either store the results into a database or run a Lambda function to trigger an event based on the results. As new data comes, in these analytic queries are updated to include the new data and the updated values are delivered to the output service in a fraction of a second.</p><h4>What is the Activity GRiD?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*IGWQiCxq3bog5Na1rdf2IA.png" /><figcaption>Hyperion Activity GRiD over Europe.</figcaption></figure><p>The Hyperion Activity GRiD takes geospatially tagged social media posts and news sources and bins their counts into geographical cells. It scores these counts based on the “normal” activity for the area over time and turns the cell RED when there is abnormally high activity in that area. High activity often indicates a significant event in that area. Check out some of our other blog posts to witness the power of the Activity GRiD in action!</p><p><a href="https://blog.geospark.io/know-everything-that-happens-anywhere-as-it-happens-f5f9b5fe7b99">Know Everything that Happens Anywhere as it Happens</a></p><p><a href="https://blog.geospark.io/blueglass-activity-grid-alerts-to-oil-price-changes-in-colombia-c50702682d3c">Activity GRiD Alerts to Oil Price Changes in Colombia</a></p><h4>How much does Kinesis really improve Activity GRiD?</h4><p>A lot! We are already running this process for our Social Media GRiD so we’ve already had a chance to witness these improvements in practice. Before we started using Kinesis, we were running a process every 15 minutes. This process would pull all the geotagged data we collected across the world for that day and bin their totals into over 8,000 cells and then push those results to Elasticsearch. It is unnecessary to update most cells on a regular interval because they only get a few records per day and don’t need to be updated every 15 minutes. Some cells get thousands of records per day and need to be updated way more frequently. By moving to Kinesis Analytics, not only are we delivering the analytics in real-time, but we are only updating the cells that need to be updated, saving us on compute time. We plan to move our News Activity GRiD to this process very soon.</p><h4>Other System Benefits</h4><p>Using Kinesis Analytics will bring some other system benefits. Our previous method of gathering analytics for the entire world on a regular interval was not only slower but was also causing massive spikes in memory usage for our Elasticsearch cluster followed by a period of low resource usage. By offloading some of the analytics to Kinesis, we only need to process some of the more advanced analytics a few cells at a time. This will create a much smoother stream of usage in our cluster which allows us to effectively scale it to meet our requirements.</p><h4>Challenges and Limitations</h4><p>Unfortunately, we won’t be able to do EVERYTHING we need for the Activity GRiD with Kinesis Analytics. There are a couple limitations that are stopping us. First, Kinesis Analytics can only hold data for up to 7 days, so running analytics on current scores compared to scores older than 7 days is not possible. To work around this we’ll still need to run some of our analytics through another compute service with the historic values stored elsewhere. Second, we will be limited by the analytic functions provided in SQL. Currently, this isn’t a problem for us, but as our algorithms mature we may find this to be constricting. But hey, maybe there will be another blog post in the future about that challenge!</p><h4>Every Second Counts</h4><p>Every second counts to our users, and the faster the system can alert them of abnormalities, the more time they have to respond. GeoSpark Analytics will continue to improve Hyperion to deliver advanced analytics, intelligence reports, and timely alerts. Kinesis Analytics is the next step to reaching our vision. For more information about Hyperion and the GRiD send an email to <a href="/service/mailto:info@geospark.io">info@geospark.io</a> and follow us on our <a href="https://blog.geospark.io/">blog</a> and on <a href="https://www.linkedin.com/company/11176344/">LinkedIn</a> for updates on future improvements!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5eccce727f29" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>