<?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 Arijit Mukherji on Medium]]></title>
        <description><![CDATA[Stories by Arijit Mukherji on Medium]]></description>
        <link>https://medium.com/@arijit_mukherji?source=rss-14ad8229afca------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_BzKQBHbAQEcjtNbhHhONg.jpeg</url>
            <title>Stories by Arijit Mukherji on Medium</title>
            <link>https://medium.com/@arijit_mukherji?source=rss-14ad8229afca------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 08:38:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@arijit_mukherji/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[Is 4 or 5 nines of uptime a myth for cloud based services?]]></title>
            <link>https://medium.com/@arijit_mukherji/is-4-or-5-nines-of-uptime-a-myth-for-cloud-based-services-df08c4749600?source=rss-14ad8229afca------2</link>
            <guid isPermaLink="false">https://medium.com/p/df08c4749600</guid>
            <category><![CDATA[reliability-engineering]]></category>
            <category><![CDATA[multi-cloud]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[service-level-agreement]]></category>
            <dc:creator><![CDATA[Arijit Mukherji]]></dc:creator>
            <pubDate>Wed, 26 Jun 2019 18:00:55 GMT</pubDate>
            <atom:updated>2019-06-26T22:45:52.889Z</atom:updated>
            <content:encoded><![CDATA[<h3>Is 4 or 5 nines of uptime a myth for cloud based services? Tips on achieving very high reliability</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CL-twTPemr82Zj9DTsyXQw.jpeg" /><figcaption>.9999 or “Nein Nein Nein Nein” ?</figcaption></figure><p>The <a href="https://www.theverge.com/2019/6/18/18683625/google-calendar-down-worldwide-outage-404-error">recent Google Calendar outage</a> got me reflecting on SLAs of online services and platforms. We are all using or providing SaaS and PaaS. We expect high SLAs from the services we use, and are expected to provide high SLAs to our users in return. The question is — what levels up uptime and availability are practically achievable and what does it take? When do we travel from the land of reality to the realm of hopes and dreams and unrealistic expectations? In other words, is <strong>very high availability</strong> (4 or 5 nines) a myth for a modern cloud based service?</p><p>As a background, I recommend this excellent paper by Jeffrey Mogul and John Wilkes of Google (<a href="https://storage.googleapis.com/pub-tools-public-publication-data/pdf/f647d24ee7eeb338acebf1eb73a5d11b357620b0.pdf">Nines are Not Enough — Meaningful Metrics for Clouds</a>). They talk about why cloud providers resist guaranteeing very high SLOs because technically it is extremely hard, and must take into account customer behavior (which can affect reliability greatly). They also point out that SLOs obsess about the worst cases and ignore ‘expected behavior’. They propose ‘sharing risk” between providers and customers — where service providers set Service Level Expectations (SLE) that are partially based on Customer Behavior Expectations (CBE) from the customer. In short, “if you don’t misuse our service, then this is how reliable you should expect the service to be typically”. This article on the other hand explores things from the customer’s side — the reality, challenges, and thoughts/strategies for achieving very high reliability for services running in modern cloud environments.</p><h3>“I don’t drink unless I’m thirsty” aka “The service is up except when it’s down” syndrome</h3><p>We often tend to delude ourselves into imagining our services to be more robust than they are. You’ll hear things like “our service is really solid, except when we had this one outage…:. Unfortunately, uptime means uptime. It doesn’t mean uptime on weekdays or uptime when the cloud provider isn’t having an issue. If we’re really serious about uptime, we need to look at the long term trends — e.g. “We’ve been down for a total of X minutes in the last N years” or “In the last N months, we’ve failed to meet our SLA M times”.</p><p>4 9’s of uptime means your service cannot be down for more than 4 minutes (259.2 seconds to be exact) per month. 5 9’s of uptime equates to 26 seconds downtime per month! Can you really guarantee or be confident in such availability numbers — not just for a month but long term? Let us look into why that is hard.</p><h3>Environments are inherently prone to fail</h3><p>An instance of a service cannot be more available than the underlying substrate (i.e. platform and infrastructure) it is running on. Today, the best examples of such substrates are the public clouds or private clouds of large enterprises like Google, Facebook, Salesforce etc. Unless you are willing to spend inordinate amounts of money and effort, your own clouds are probably not going to run as well as theirs, because these companies have huge budgets, resources and accumulated experience in doing this well.</p><p>In spite of this, failures happen as the list below shows. That is not a criticism, but a testament to how hard of a job it is, and how complex and unpredictable these environments are by nature. As the Google paper points out — reliability not only depends on the cloud providers themselves, but also on how the customers of their services behave? These are multi-tenant services, and it is extremely hard to predict and protect against misuse by users.</p><p>Here are some recent failures — not comprehensive by any means but you’ll get the idea</p><ul><li>June 2019: <a href="https://www.theverge.com/2019/6/18/18683625/google-calendar-down-worldwide-outage-404-error">Google calendar was down for 3 hours</a><br>* 35 years of downtime budget at 5 9’s</li><li>June 2019: <a href="https://status.cloud.google.com/incident/cloud-networking/19009">Major GCP outage related to network congestion</a> — lasted almost 4 hours<br>* 45 years of downtime budget at 5 9’s</li><li>May 2019: <a href="https://www.zdnet.com/article/azure-global-outage-our-dns-update-mangled-domain-records-says-microsoft/">Azure DNS outage affected multiple customers</a> — lasted 2+ hours<br>* 33 years of downtime budget at 5 9’s</li><li>March 2019: <a href="https://www.theverge.com/2019/3/14/18265185/facebook-instagram-whatsapp-outage-2019-return-back">Facebook, Instagram, Whatsapp outage</a> — last more than 24 hours<br>* 278 years of downtime budget at 5 9’s</li><li>Sep 2018: <a href="https://devblogs.microsoft.com/devopsservice/?p=17485">Azure SOUTH-CENTRAL outage + global impact</a> — lasted 21 hours<br>* 243 years of downtime budgets at 5 9’s</li><li>May 2018: <a href="https://status.salesforce.com/incidents/3815">Salesforce service disruption followed by degradation</a> — 4 days disruption, 8 days degradation<br>* A millennium! (1181 years) of downtime budget at 5 9’s</li><li>Feb 2017: <a href="https://aws.amazon.com/message/41926/">AWS S3 outage in US-EAST-1</a> lasted 4+ hours<br>* 50 years of downtime budget at 5 9’s</li></ul><h3>It’s not ‘partial’ or ‘minor’ if it affects you</h3><p>The cloud providers do a great job limiting the scope of these outage. In general you’ll never see a whole cloud go down, or rarely (if at all) see multiple regions fail at the same time. Often, an outage will affect a small subset of cloud services among many. In that sense, the cloud providers can claim very high availability in aggregate and they’re right!</p><p>However, none of us are using all the (hundreds or so) cloud services available, nor are we deployed in every region in the world. <strong>What might be a ‘glitch’ in one service may be severe and business affecting for you!</strong> We must then consider the availability of the services we depend on rather than an aggregate availability number. This may seem obvious, but we frequently don’t consider things that way, and choices are made based on convenience or cost. In most of the discussions I’ve been involved in, buyers of SaaS services will leave uptime and availability as a last moment contract negotiation item and expect the service to be equally available regardless of which cloud or which cloud services it is running on.</p><h3>Wait — it gets worse! “Beware of the serial killer!”</h3><p>Cloud and microservices adoption bring with them another problem — services depend on far more components than they used to. <strong>The more underlying components your service depends on, the less reliable it will be</strong>. In fact, it can be statistically shown that your service’s reliability will be far worse than even the least reliable component in its ‘critical path’. Probability theory indicates that the expected failure % of a microservice based application would be close to the sum of the failure % of all its dependencies. If service X depends on 10 components that all fail independently and individually have 4 9’s of uptime, then X’s expected downtime % would be 0.001 (= 10 * 0.0001) which equates to 3 9’s availability.</p><h3>So, is 4 or 5 nines of uptime an unachievable dream?</h3><p>Absolutely not! There is hope despite all the doom and gloom. Reliability is a vast topic with many accomplished experts providing much good advice. Here are some of my personal suggestions when it comes to very high SLAs.</p><h3>Observe observe observe. Measure measure measure … at high resolution</h3><p>You can’t guarantee what you can’t measure. It is important that you be able to observe your service’s health in detail and identify when it is running or degraded. What sort of alerts do you have in place? Are you observing all the key aspects that might affect the service’s user experience?</p><p>A special challenge with high SLA situations is resolution of measurements. When you have 260 seconds or 26 seconds (depending on your 9’s level) of downtime budget in a month, you cannot measure health every few minutes and act like you’re serious about very high availability. <strong>If seconds of downtime matter to you, then by golly you need to measure at second resolution</strong>. In real life, this translates into having a high frequency high resolution monitoring system in place, which may be harder than you’d expect — probably the only practical way to do this right is with a high-resolution streaming architecture <a href="https://medium.com/swlh/what-does-streaming-mean-as-it-relates-to-monitoring-why-is-it-better-3cc43ffcba10?source=friends_link&amp;sk=a2f0d9d90ef5887ac0be15b6a61c00d8">which I blogged about recently</a>. At <a href="https://signalfx.com/">SignalFx</a>, it took us almost 3 years to develop and perfect that technology.</p><h3>Series to Parallel — reduce criticality of component outages. Aim for degradations, not failures</h3><p>I mentioned how two different components A and B both in the critical path make your service twice as unreliable. Well the reverse is true. If you just needed either A or B to function properly, then the reliability of your service is vastly greater than either A or B’s. This is another way of stating the obvious — that redundancy is good for health.</p><p>However, redundancy doesn’t necessarily mean having two of the same (which is twice as costly). You can implement graceful degradation strategies where your <strong>service degrades but continues to be available when one of its components dies</strong>. Database caching is a great example. If you cache the recent values in a database’s dataset in memcache, then your cache could still service requests when the database goes down, and vice versa. Sure the service will be affected (maybe writes won’t be allowed if the database fails, or reads will become slower if the cache fails) but it won’t go completely down. At SignalFx, we employ a similar strategy that has really worked well for us — with a 3 level tiered storage for timeseries data that spans RAM, SSDs, and cloud storage. If the cloud storage goes down, we still have the recent data available and usable and that is good for 90%+ of typical use cases.</p><p>Database caching (e.g. <a href="https://efficientcodeblog.wordpress.com/2017/11/05/how-facebook-scale-memcache/">Facebook does this at huge scale</a>) is just one example. The <a href="https://docs.microsoft.com/en-us/azure/architecture/patterns/bulkhead">Bulkhead design pattern</a> partitions a microservice so that failures only affect a subset of resources (e.g. customers). It is far better to have a few angry customers rather than have every customer be angry, and the Bulkhead pattern has found its way into the SignalFx architecture just like the Circuit Breaker has. <a href="https://docs.microsoft.com/en-us/azure/architecture/patterns/circuit-breaker">Circuit breaking</a> exploits the principle of higher availability through parallelism, and works really well for scale out microservices that are redundant or stateless. In fact, modern service meshes are starting to have built-in support for such operational design patterns. If you’re interested, I covered this and more at <a href="https://www.youtube.com/watch?v=jXjvnKIprq4&amp;list=PLv7DAMMoLPd_dQVqCefYqmPNOTZP3vnHL&amp;index=2">my talk in AWS re:invent 2018</a> on harnessing the power of service meshes for microservices. If you’re into design patterns for reliability, here is a <a href="https://medium.com/becloudy/architecting-for-reliability-part-2-resiliency-and-availability-design-patterns-for-the-cloud-cf7aaaed0df2">great blog summarizing many of them</a>.</p><h3>Sorry humans, but very high availability cannot be achieved without timely automation</h3><p>(Video gamers and fighter pilots excluded) When was the last time you reacted to imminent problem with sub-second speed? Going beyond 3 9’s, <strong>when we enter into the realm of very high availability, human reaction is simply not fast enough</strong>. When there are seconds to spare, automation is <a href="https://www.youtube.com/watch?v=xIFJLMyUwrg">our only hope</a>. Automation can react fast and quickly to take corrective or remedial action.</p><p>The important thing to remember is this — <strong>not only do automated actions need to execute quickly, they need to be triggered within seconds in order to achieve very high reliability</strong>. That circuit breaker we talked about earlier? Pushing a new configuration to bypass a down host might take a second, but how long was it before we detected the host was down? If detection took minute(s), then it’s no good for very high availability purposes. What this means is that our high-resolution high-frequency monitoring system must also notice problems and trigger automated actions in seconds. Again, implementing/adoption a real time streaming monitoring system is your best best.</p><h3>True multi-cloud redundancy may be the only answer. It will cost you</h3><p>We can make our service as robust as possible and implement all kinds of schemes to reduce the scope of issues. However, as I discussed earlier, the substrate on which they’re running (the public clouds for example) will have outages, and our services will never be more reliable than the foundation they’re built on. Cloud services can fail, data centers can fail, cloud regions can fail. <strong>The only reliable way then is to parallelize your whole service environment</strong>, and have redundant copy (or copies) run in different regions, or better still, in different clouds! This way you’ll be protected from the vast number of failure modes.</p><p>There is obviously a big caveat with this — cost and complexity. It costs money to run redundant copies of your service, but I never said very high availability is cheap. You might try to cheat by having a token minimum version of your service running in cloud/region B with hope that you’ll ‘quickly spin up’ that version if you primary instance on cloud/region A goes down. This may not be such a good idea — are you so sure that you’ll be able to reserve all that extra capacity when you need it? Remember, you’ll be doing this in response to a major outage with a cloud that also affected hundreds or thousands of others — they might all be competing with you to make similar reservations at the same time.</p><h3>Conclusion</h3><p>High 4 and 5 nines uptime guarantees are hard — harder to achieve than we might think. Clouds and cloud services do suffer periodic outages. Complex microservice architectures with more components enable us to innovate faster but can be more unreliable. You can address these by measuring your health with high resolution, employing reliability oriented design patterns like graceful degradation, circuit breakers, etc. Automation is an absolute must when it comes to rapid resolution/remedy of issues, and for very high reliability that automation must be triggered in near real time. Finally ponying up the dollars and investing in true multi-cloud redundancy is probably one of the most effective strategies.</p><p>Thoughts?</p><h3>References</h3><ol><li>Jeffrey Mogul, John Wilkes: <a href="https://storage.googleapis.com/pub-tools-public-publication-data/pdf/f647d24ee7eeb338acebf1eb73a5d11b357620b0.pdf">Nines are not enough: meaningful metrics for clouds</a></li><li>Adrian Coyler: <a href="https://blog.acolyer.org/2019/06/19/nines-are-not-enough/">Nines are not enough: meaningful metrics for clouds</a></li><li>Arijit Mukherji: <a href="https://medium.com/swlh/what-does-streaming-mean-as-it-relates-to-monitoring-why-is-it-better-3cc43ffcba10?source=friends_link&amp;sk=a2f0d9d90ef5887ac0be15b6a61c00d8">What does “streaming” mean as it relates to monitoring? Why is it better?</a></li><li>Sathiya Shunmugasundaram: <a href="https://medium.com/becloudy/architecting-for-reliability-part-2-resiliency-and-availability-design-patterns-for-the-cloud-cf7aaaed0df2">Architecting for Reliability Part 2 — Resiliency and Availability Design Patterns for the Cloud</a></li><li>Efficientblog: <a href="https://efficientcodeblog.wordpress.com/2017/11/05/how-facebook-scale-memcache/">How Facebook scaled Memcache</a></li><li>Microsoft Azure docs: <a href="https://docs.microsoft.com/en-us/azure/architecture/patterns/bulkhead">Bulkhead pattern</a></li><li>Microsoft Azure docs: <a href="https://docs.microsoft.com/en-us/azure/architecture/patterns/circuit-breaker">Circuit Breaker pattern</a></li><li>Arijit Mukherji: <a href="https://www.youtube.com/watch?v=jXjvnKIprq4&amp;list=PLv7DAMMoLPd_dQVqCefYqmPNOTZP3vnHL&amp;index=2">AWS re:Invent 2018: Fully Realizing the Microservices Vision with Service Mesh (DEV312-S)</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df08c4749600" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What does “streaming” mean as it relates to monitoring? Why is it better?]]></title>
            <link>https://medium.com/swlh/what-does-streaming-mean-as-it-relates-to-monitoring-why-is-it-better-3cc43ffcba10?source=rss-14ad8229afca------2</link>
            <guid isPermaLink="false">https://medium.com/p/3cc43ffcba10</guid>
            <category><![CDATA[observability]]></category>
            <category><![CDATA[streaming]]></category>
            <category><![CDATA[real-time-analytics]]></category>
            <category><![CDATA[monitoring]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Arijit Mukherji]]></dc:creator>
            <pubDate>Wed, 05 Jun 2019 19:06:26 GMT</pubDate>
            <atom:updated>2019-06-06T19:57:44.480Z</atom:updated>
            <content:encoded><![CDATA[<p>Streaming technology is revolutionizing the field of data processing, and is being adopted by monitoring vendors too as a result. In my role as CTO@<a href="https://www.signalfx.com/">SignalFx</a> (which is one of those vendors) I get asked about streaming a lot, especially as it relates to the observability domain. Below is a framing of how I look at both the challenges and opportunities with this, and how you can evaluate streaming monitoring technology yourself.</p><h3>Part 1: The Backdrop</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rn-ZRhX_Wx0cleth" /></figure><p>We live in fast times. Teslas accelerate from 0–60 mph in under 3 seconds, news travels around the world instantly through social media, and online flash sales <a href="https://bleacherreport.com/articles/1954115-nike-air-yeezy-2-sells-out-in-10-minutes-after-surprise-release">sell out within minutes</a>. Digital applications and services that power many of these trends have become highly <a href="https://github.com/knative/serving/blob/master/docs/scaling/DEVELOPMENT.md#panic-mode">dynamic and fast moving</a> as a result. Monitoring these digital services effectively is key to “Move fast, don’t break things!”, and monitoring systems need to keep up with the pace of modern cloud native environments.</p><h3>Part 2: The Hype</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*k_VvKtpBhW2vBSku" /></figure><p>It’s no wonder then that phrases like “real time” and “streaming analytics” are reaching peak hype in the monitoring landscape. Commercial vendors and OSS solutions loudly proclaim these capabilities. And why not? Technologies like <a href="https://spark.apache.org/streaming/">Apache Spark Streaming</a> have truly transformed big data analytics, allowing us to process far more data volumes far more quickly — making concepts like streaming data processing familiar to most.</p><h4>Part 2(a): Streaming for monitoring datasets faces unique challenges</h4><p>“Processing more data, faster” never hurt anyone and streaming technology would obviously benefit the monitoring space. The exponentially growing data volumes and complexity of modern environments are rendering traditional batch approaches insufficient. However, streaming technology when applied to monitoring datasets faces unique challenges. Telemetry data tends to be smaller (Gigabytes to Terabytes instead of Petabytes and Exabytes). Payloads are smaller and more numerous (many individual events instead of fewer, larger data blocks). Timing and proper ordering of data are also far more critical in monitoring because these systems are used to maintain high SLAs for digital services. Clearly, monitoring analytics is not exactly the same as traditional big data processing.</p><h4>Part 2(b) — The Question</h4><p>Given that streaming monitoring can be greatly beneficial to businesses yet is harder to achieve, the question arises — “What does streaming mean in the context of monitoring? Why is it better?”. What should we expect from a streaming monitoring system? What qualities should we design for if we’re building such a system? As an adopter or buyer of this technology, how can you cut through the marketing hype and objectively evaluate “streaming” monitoring systems?</p><p>This article is an attempt to answer these questions.</p><h3>Part 3: Why is streaming better for monitoring? What qualities must it have?</h3><p>When someone mentions streaming monitoring, the audience subconsciously associates multiple qualities with it. If we break things down objectively, there are <strong>3 qualities</strong> that are necessary to truly qualify as an effective streaming monitoring system. <strong>Lacking even one of these qualities will make it lose the benefits that streaming provides.</strong> That’s a strong statement that needs justification, so let me dig into what these qualities are, why they are beneficial and why we need all of them.</p><h4>Part 3(a): Scale: Streaming systems should support dramatically more concurrent queries and users compared to batch systems</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dAaaO7s7P4aPOQr1" /></figure><p>This is probably the most obvious quality of a streaming system, and one that everyone will agree with intuitively. For monitoring use cases, efficiency is good, because it equates to performance. Have you counted the total number of containers you have lately? How many zeroes do you need to express the number of hosts in your environment? How about the number of humans and bots that are using your monitoring system concurrently? Answer these questions and you’ll quickly realize why you need a scalable monitoring system (or will need one soon).</p><p>Streaming solves the performance problem by breaking large queries (e.g. average latency of a 1,000 container service over last week) into small “incremental” chunks that are processed in sequence. This not only makes very large queries tractable (because the system does not have to load *all* the data into memory at the same time), but also allows dramatically more queries to be run concurrently (because each query is utilizing far less resources at any given time).</p><p>Let me explain with some numbers. In the example above, Let us assume your 1,000 containers are reporting business critical metrics like latency every second. In batch mode, you’ll be processing 1,000 * 86,400 * 7 = 600 Million datapoints each time you run the 1-week query! To make matters worse, this query is probably backing one just chart out of 10–20 similar charts in a single dashboard out of hundreds of dashboards being viewed by a single user out of many users in your organization! In streaming mode however, you’ll process 1,000 datapoints each second (one new data point reported by each container every second) which is *orders* of magnitude more efficient. In other words, 600,000 concurrent streaming queries will process data at the same rate as the batch query running just once per second. Furthermore, this ratio 600,000::1 for a 1 week chart remains the same whether your containers report data every second or every hour!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SMQ_wBQ7wzwNK1zN" /></figure><p>Clearly, streaming is a superior approach. So how do you evaluate this capability? If you’re doing-it-yourself and building a streaming system, make sure it can update its results in an incremental fashion with the latest set of data to arrive. This will require you to maintain some state with each streaming query of course. If you’re evaluating a 3rd party solution, investigate how the product works, whether it can support large number of concurrent queries. The key is to smoke out the fakers — ones that try to run batch mode queries just more frequently to ‘simulate’ the feeling of streaming — because that approach will definitely not scale and will lead to unpleasant surprises down the line.</p><h4>Part 3(b): Timeliness: Streaming monitoring systems should produce results in near real time</h4><p>Timeliness is the second important requirement in modern monitoring along with scale. Everybody’s a service provider for someone — whether it is a SaaS serving their customers, or an internal micro-service providing a function to the other micro-services within a company. Service providers must maintain SLAs. What’s more, in today’s social media age of instant communication, bad news spreads like wildfire, and poor user experience with your service can get virally amplified before you can spell o.u.t.a.g.e.. So yes, reacting to problems as close to real time as possible is important.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mOnjfa2UhM68dmg2" /></figure><p>Since streaming works in an incremental fashion and looks only at data that arrived in the very recent past, it has the potential to produce results very quickly, very close to real time. In fact, we often automatically assume that “if it’s streaming it must be real time” too. Worse still, this tendency of ours causes this term to be exploited to deceptively market non-real-time services. So are we justified in assuming streaming services must be timely? Unfortunately, the answer is no. Let me explain …</p><p>A streaming system that produces results a few hours late is obviously not a real-time system. For example, one can run streaming Spark pipelines every night to perform routine data processing tasks like data rollup and aggregation. While it is true that those pipelines work in ‘streaming’ fashion, they won’t magically make the overall service real-time by any stretch of the imagination. In fact, as far as an end user is concerned, it would make no difference whatsoever whether these offline data processing tasks were performed using a batch or streaming technology. So, while evaluating streaming monitoring, one must understand how and where streaming techniques are employed, and whether that results in the service becoming timely.</p><p><strong>What does timeliness mean? How quickly should a ‘timely’ alert be fired?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7h6H52UqxgSXfTJ0" /></figure><p>A more important question is — what is the timeliness standard that must be met — i.e. what does real time mean? If you talk to a high frequency trader, real-time could mean within micro-seconds. If you talk to monitoring vendors, they might say ‘seconds’. So what’s the right answer? The answer depends on the end goal we are trying to achieve. For high frequency traders, the end goal is to execute trades before the other traders can do the same. For monitoring, the end goal is to maintain service uptime and SLAs. Unfortunately, alerts are only the first step in an incident’s lifetime. For example, if you get alerted about a slowing API endpoint, most of the time will be spent triaging and isolating the offending component (e.g. microservice X), debugging the root cause (e.g. CPU starvation), coming up with a remediation plan (e.g. add more capacity), executing the remediation plan (e.g. deploy new containers for microservice X), and finally verifying the fix (i.e. ensure that the API slowness alert got cleared). If you are aiming for 4 9’s of uptime which give you 4 mins/month across all incidents end-to-end, alerting needs to happen within single digit seconds to really give automation (alert bots) or orchestrators (e.g. Kubernetes) time to react and take remedial actions (e.g. auto-scaling). If you are aiming for 3 9’s (40 mins/month across all incidents end-to-end), then alerting must happen within a few 10’s of seconds.</p><h4>Part 3(c): Accuracy: Streaming monitoring systems must address data-ordering issues in order to prevent false alarms and results</h4><p>False alarms are the bane of operations. Operators are drowning in alert volume already, and false alarms only exacerbate an already bad situation. They waste valuable time and reduce the quality of life of engineers through unnecessary interruptions. Far more worrisome is that when operators lose trust in their monitoring system, they will start ignoring valid alarms too, leading to further service degradations.</p><p>Data accuracy is by far the hardest problem with streaming monitoring. It is also the one challenge that is least obvious or understood. In the real world, the vast majority of streaming data analytics pipelines ignore timing to a large extent. Similarly, batch monitoring systems (ones that rely on repeatedly querying a database) solve the accuracy problem at the expense of delay. They will recommend that critical queries like alerts be run a few minutes late, allowing data to “settle” and all relevant data to arrive before evaluating a condition. Offline data pipelines (e.g. nightly jobs) whether streaming or batch don’t need to worry about timing because they process data minutes or hours after it arrives. However, streaming monitoring has a higher bar. Since it needs to produce accurate results in a timely fashion, it must worry about the logical timestamp of data (i.e. when it was generated) as opposed to when it was received by the monitoring system. Not doing so will produce inaccurate results and false alarms — in other words a monitoring system that is unfit to monitor anything.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3cJXsOjFpklHhl2P" /></figure><p>Let me explain with an example. Let us say we wanted to monitor the number of API errors across the previously discussed service running on 1000 containers with each container reporting an error count every second. It is pretty much guaranteed that those 1000 containers won’t report data all at the same time. There are numerous reasons for data to get delayed — some that may be due to the conditions on the server (e.g. slowness due to high CPU), and some that are external — e.g. network latency. Making matters worse, the number of containers can keep changing — containers tend to die suddenly for no apparent reason, or Kubernetes might spin up a few more when load is high. Getting accurate results requires that we aggregate data points and events that share the same logical timestamp regardless of when they reached our monitoring system. E.g. we don’t want to compute total # of errors across data measured by host1@12:00, host2@12:01 and host3@11:58 just because those measurements happened to reach our monitoring system at the same time. How long do we wait to make sure we got all the measurements made @12:00? Therein lies the true challenge with streaming monitoring, the hardest nut to crack. When do we compute a result so that it is accurate yet timely?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*j1U4Mh5DCOPbengp" /></figure><p>As we already discussed, waiting an arbitrary number of minutes or hours is not a solution because it throws timeliness out of the window. Another approach is to generate partial results and to update them as and when new data is seen — a strategy sometimes used by AWS Cloudwatch. For example, I might produce a total API error count quickly from 800 servers which already reported, and then subsequently update the result 2–3 times in future as the other 200 send their data in. The problem with this approach is that the user of these ‘evolving’ results has no idea when the result will become final. When is it a partial result and when is it not? In the end, this is no better than the previous strategy, because our best bet is to wait for data to settle — which again violates the timeliness requirement. The only effective solution is for the streaming monitoring system to be acutely aware of the timing characteristics of every data stream individually, so that it can produce one answer with high confidence and low latency.</p><p>This sounds hard and it is, but it is solvable and there are solutions that have solved this problem. As a builder of streaming monitoring, you will need to solve the same problem yourself. If you are evaluating a streaming monitoring system, you must dig into the question of accuracy and understand how the system in question guarantees accurate results and prevents false alarms.</p><h3>Part 4: The Conclusion</h3><p>While streaming analytics technologies are gaining traction throughout the industry, streaming analytics for the purposes of monitoring has to deal with some additional challenges. When it comes to monitoring, engineers associate the word streaming with qualities that may or may not be present in the system in question. If you are evaluating (or building) such a system, you must be mindful and ensure that these requirements are met.</p><h4>Part 4(a): A framework for evaluating streaming monitoring systems</h4><p>To summarize, here is a quick cheat-sheet to help guide you on this journey.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_wxY52ozCe4kYshREql_2Q.png" /></figure><p>I hope this makes the case for the three qualities of streaming monitoring and provides justification for why all of them are necessary. What do you think? What have you seen? Any interesting stories to share? Would love to hear your feedback to continue the discussion.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3cc43ffcba10" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/what-does-streaming-mean-as-it-relates-to-monitoring-why-is-it-better-3cc43ffcba10">What does “streaming” mean as it relates to monitoring? Why is it better?</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing SignalFx Microservices APM]]></title>
            <link>https://medium.com/signalfx/introducing-signalfx-microservices-apm-d79f5ae6f3d5?source=rss-14ad8229afca------2</link>
            <guid isPermaLink="false">https://medium.com/p/d79f5ae6f3d5</guid>
            <category><![CDATA[fx-signals]]></category>
            <category><![CDATA[apm]]></category>
            <category><![CDATA[distributed-tracing]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[monitoring]]></category>
            <dc:creator><![CDATA[Arijit Mukherji]]></dc:creator>
            <pubDate>Thu, 15 Nov 2018 16:07:18 GMT</pubDate>
            <atom:updated>2018-11-15T16:07:18.488Z</atom:updated>
            <content:encoded><![CDATA[<p>Today’s announcement of SignalFx Microservices APM marks an exciting moment for SignalFx and for our customers. Microservices APM is the newest component of the SignalFx monitoring platform, designed to address the monitoring and operating needs of modern applications based on a microservices or service-oriented architecture. With Microservices APM, SignalFx completes a second major step in its strategy to deliver the next-generation cloud monitoring platform.</p><h4>The microservices revolution is in full swing</h4><p>We hear it every day in conversations with customers. This new data from IDC Research summarizes it perfectly:</p><blockquote><em>“By 2022, 90% of all new apps will feature microservices architectures that improve the ability to design, debug, update, and leverage third-party code; 35% of all production apps will be cloud-native.”<br> Source: Forbes</em></blockquote><p>This trend isn’t surprising. Digital pioneers like Google, Facebook and Amazon have shown the huge payoffs that can be achieved by mastering microservices designs along with elastic cloud infrastructure and agile DevOps delivery models. What is less known is that these pioneers needed new monitoring systems to achieve their goals — and they had to build them from scratch.</p><p>The SignalFx team knows this well; several of us were directly involved in the initial creation of Facebook’s ODS monitoring system 12 years ago, during its infamous ‘move fast and break things’ culture.</p><p>Today, most enterprises don’t have the resources and time to do what Google, Facebook, and Amazon did. So it’s our mission at SignalFx to help our customers by providing an enterprise-ready, real-time cloud monitoring platform that meets the new requirements.</p><h4>The new monitoring requirements</h4><p>Moving to microservices means breaking up applications into smaller modules that can be developed and updated independently. While this approach allows for faster code releases, it also makes our applications an order of magnitude more fragmented and complex. In this context, holistic monitoring requires powerful analytics to extract the signals that matter from a sea of noise. This new environment also requires the ability to understand the health of each service as well as the overall transaction performance across multiple services. The complexity of modern applications shifts the value of APM solutions from instrumentation — now increasingly commoditized and available from open standards — to fast predictive analytics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Wupi6j3yyCkwrm8K.png" /></figure><p>The elastic cloud infrastructure on which microservices run add additional requirements for speed and scale as VMs, containers and functions become increasingly short-lived and deployed by the thousands. This means that monitoring software needs to be able to deal with unprecedented volumes of data and detect anomalies in seconds without creating storms.</p><p>As customers adopt tens or even hundreds of microservices, identifying and isolating problems has become harder than ever. Existing solutions are just not up to the mark. Customers not only want to monitor per-microservice health, but also the transaction flow between microservices in order to optimize end-user experience. After all, even a single unhappy user can affect the perception of a company’s brand. The complex interdependencies between microservices, however, make isolating the root cause of slow transactions harder than ever. A monitoring system must learn the behavior of the complex environment and assist the operator during the triage process.</p><h4>SignalFx Microservices APM brings to market the first distributed tracing solution built on streaming analytics</h4><p>From day one, our mission at SignalFx has been to help companies accelerate their cloud-native journey to Cloud, Microservices and DevOps by providing a new class of monitoring system centered around powerful real-time analytics.</p><p>In 2016, we solved the challenges of cloud infrastructure monitoring by building the industry’s first and only large-scale, real-time streaming analytics platform for metrics. Our customers love how SignalFx Infrastructure Monitoring scales reliably to monitor all their VMs, containers and functions. They also love how they can aggregate and correlate all their application, infrastructure and cloud service metrics. But, more importantly, they love that SignalFx can monitor highly bursty workloads in real-time and alert within seconds of a problem. This means they can prevent snowballs from turning into avalanches of pain.</p><p>With the release of Microservices APM, we are entering the second phase of our journey: tackling the problem of application complexity. Microservices APM extends our real-time metrics platform adding new distributed tracing capabilities that allow our customers to monitor transaction flows for service-oriented applications.</p><p>Users now have the ability to observe every single transaction, understand the complex dependencies between their services, and identify every anomaly (not just a small sample). Because the volume of trace data can be overwhelming, we have embedded powerful analytics to direct the operator through the troubleshooting process to the root cause of the most critical issues. Features like Outlier Analyzer are truly unique in the industry and judging by the feedback of early beta customers will be extremely valuable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ILwKK6j7Ob8e0sMf.png" /></figure><p>I am super excited about the value that we’re delivering with this latest release — and we’re already seeing its transformational impact across companies ranging from cloud-native disruptors to global scale enterprises. That’s what you can expect from SignalFx — and that’s what a cloud monitoring system should do for you.</p><h4>Next steps</h4><ul><li><a href="https://www.signalfx.com/blog/announcing-signalfx-microservices-apm">Read</a> more about key product features of Microservices APM</li><li><a href="https://www.signalfx.com/microservices-apm">Learn</a> how our customers are already leveraging Microservices APM to diagnose the root cause to their issues and drive down MTTR</li><li>See it live at Amazon re:Invent We’ll be at re:Invent (Booth #1613) demonstrating the only cloud monitoring platform with streaming analytics and NoSample™ tail-based distributed tracing. See a live demo. Meet our executive team. Win an experience of a lifetime.</li><li><a href="https://www.signalfx.com/aws-reinvent/">Learn more</a></li></ul><p><em>Originally published at </em><a href="https://www.signalfx.com/blog/introducing-signalfx-microservices-apm/"><em>www.signalfx.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d79f5ae6f3d5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/signalfx/introducing-signalfx-microservices-apm-d79f5ae6f3d5">Introducing SignalFx Microservices APM</a> was originally published in <a href="https://medium.com/signalfx">signalfx</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Lessons Learned From Monitoring Next Gen Infrastructure]]></title>
            <link>https://medium.com/signalfx/lessons-learned-from-monitoring-next-gen-infrastructure-86ceb67f6e94?source=rss-14ad8229afca------2</link>
            <guid isPermaLink="false">https://medium.com/p/86ceb67f6e94</guid>
            <category><![CDATA[metrics]]></category>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[monitoring]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloud]]></category>
            <dc:creator><![CDATA[Arijit Mukherji]]></dc:creator>
            <pubDate>Fri, 02 Nov 2018 00:10:17 GMT</pubDate>
            <atom:updated>2018-11-02T00:10:17.281Z</atom:updated>
            <content:encoded><![CDATA[<p>Modern infrastructure and DevOps practices are evolving rapidly. Over the last few years, we’ve consistently seen organizations large and small dealing with this reality as it pertains to monitoring. While monitoring systems have been around for a long time, they are being greatly challenged by these changes. At SignalFx we deal with these challenges every day. In this blog post, we present some of the lessons learned and best practices we have found useful.</p><h3>The Times They Are A Changin’</h3><p>What are some of these changes? Businesses want to deliver new customer applications at a faster, more efficient, and more cost-effective way. In just the last few years, there have been rapid changes in how infrastructure and software development practices have evolved.</p><ul><li>Clouds: clouds are everywhere, enabling startups like SignalFx to exist and also large enterprises to expand and grow.</li><li>On-demand auto-scaling services: the flexibility of today’s infrastructure means that services are only scaled up with demand, and therefore IT teams can optimize their costs.</li><li>Containers &amp; micro-services: the adoption we saw with clouds a few years back, we’re seeing again with containers now. Transitioning from monolithic to micro-service and containerized applications means that teams can move faster to deliver new features.</li><li>Function-as-a-service: in the name of moving faster, more and more teams are exploring function-as-a-service (FaaS). AWS Lambda is leading the charge in this area, but many are quick to follow.</li><li>CI/CD &amp; DevOps: in an age where teams are pushing for more and more frequent deployments, silos between Dev and Ops are not sustainable. Breaking down these silos and embracing a culture of collaboration enables teams to move even faster.</li></ul><p>Many organizations jump at the opportunity to evolve their infrastructure to take advantage of the newest innovation edge. Yet many do not plan accordingly for the impact on their monitoring systems.</p><h3>Challenge #1: There Are Way More Metrics Than You Expect</h3><p>Server-centric estimation of monitoring capacity is dead</p><p>Determining the baseline of how many time-series one’s monitoring system should be capable of handling tends to be fairly arbitrary and purely based on experience. A common strategy is to multiply the number of servers by some factor (e.g. 100 metrics per server) and perhaps allow for some future growth. Yet we’re seeing (and experiencing first-hand) that these simplistic assumptions are inadequate. When we look into why, we uncover a variety of reasons.</p><p>Firstly, there are many more monitored resources. Our environments are far more dynamic than the static environments of yesterday. While micro-services and right-sized instances promote component isolation, they also increase number of servers/instances. The democratization of scale-out architectures means that organizations have more difficulty anticipating the number of instances in their environment at any given time. Now add multiple containers on top of each of these instances and we get into some serious increases in number of time-series being reported.</p><p>Secondly, we’re observing a trend where business and product teams are recognizing the benefits of more fine-grained monitoring. They want to measure things that have nothing to do with the number of servers they have, but critical to their business or service. For example per customer metrics, or tracking metrics related to business KPIs such as jobs, orders, or queries for example, can greatly amplify the number of time-series.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tY0mxvXTuDzejK0C.png" /></figure><p>Conventionally we’ve measured of monitoring system capacity solely in terms of data-point volume. However, in this new world, the number of time-series becomes important too, especially since there are many more of them. Querying and analyzing data spread across a large number of time-series presents its own computational challenge and directly affects the responsiveness and efficiency of your monitoring system.</p><p>Even small organizations can have a large time-series footprint</p><p>The volume of data and metrics that your metrics system has to deal with is greatly affected by your environment and use cases. Build and select your metrics system carefully to be able to handle this volume.</p><h3>Challenge #2: History Is Hard: Tracking Performance Over Time Is A Computing Challenge</h3><p>There are many use cases that require historical reporting — you might want to know the number of API calls per second received over the last week or the trend of active user sessions over the last quarter in order to plan your capacity. Perhaps you want to compare week-over-week or year-over-year growth KPIs to determine whether you’re on track and alert you if trends are off in order to rectify the issue immediately.</p><p>History makes the problem of scale significantly worse. Firstly there is a time based multiplier on the number of datapoints — querying longer periods of time means querying and processing proportionately more data. This leads to longer querying durations. Secondly, there is a ‘churn’ based multiplier which increases the number of time-series that need to be processed. It also leads to more complex query and analytics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vq6sJjEfBTNqcoCA.png" /></figure><p>In this context, we define churn as when a time-series is replaced by a different but equivalent one. This happens in next gen infrastructure often. Here are some examples:</p><ul><li>You replaced an AWS instance in your environment, creating a new instance_id as a new source of metrics.</li><li>A Docker container is restarted, creating a new container_id that starts reporting.</li><li>An AWS EMR map-reduce cluster is spun up, creating an entirely different set of instances that report metrics.</li><li>Your dev team pushes a new version of your application code, causing all your app metrics to report with a new version. In some organizations this may happen multiple times a day.</li></ul><p>Churn is insidious — things may work great at first, and get gradually worse and worse over time as more time-series accumulate. Preventing churn is not a practical solution based on our experience for two reasons a) customers do care about software versions etc. and b) even if you didn’t, enforcing churn-free data reporting practices across a whole organization is hard.</p><p>A better strategy to handle churn is to optimize around it. Here are some effective strategies we have seen that you can use:</p><ul><li><strong>Cache queries</strong> to prepare to more quickly compute repeat queries.</li><li><strong>Pre-compute services aggregates</strong>, for example compute and publish the mean latency across a service as a separate time-series. This reduces the number of time-series queried for common use cases.</li><li><strong>Pre-compute time rollups</strong>, reducing the number of datapoints. For example keeping 1-hr aggregates of each time-series means a 1-day report needs to consider 24 aggregate 1-hr data-points instead of 86,400 1-sec data-points.</li></ul><h3>Challenge #3: It’s Easy To Lose Sight Of the Forest For The Trees</h3><p>Infrastructure and cloud environments are becoming increasingly diverse, causing metrics systems to have to deal with more and more different types of data-sets and sources. On top this, there is a diversity of uses cases from different levels on your organization which all need to be satisfied by your monitoring system.</p><ul><li>DevOps engineer wants <em>per-instance health</em></li><li>Team lead/manager wants <em>microservice health</em></li><li>Big boss wants <em>overall service health</em></li></ul><p>Getting a holistic view that can span these different types of data is increasingly hard. It’s inefficient, and frankly disruptive, to have different point monitoring solutions to address each of the views. Instead, what you need in your monitoring solution is <strong>scalable analytics</strong>.</p><ul><li>You need <em>scale-out</em> so your DevOps engineer can monitor 10 servers simultaneously as easily and as quickly as a 1000 servers.</li><li>The health of microservices requires <em>aggregations</em> and <em>combines</em>. Determine the 99th percentile aggregation for API latency across a whole service tier, or combine cache hit and cache miss counts to find cache hit ratio across N memcache servers.</li><li>From instances to microservice to overall service health, each component provides a different piece of info and piecemeal context that gives a partial view. Having the ability to view up, down, and across your environment for overall service health requires <em>joining across disparate data sets</em> and <em>analytics chaining</em> so you can combine partial results and build them up into the eventual value to monitor. For example the total requests across a tier (application metric, aggregation) and the average CPU utilization across the same tier (system metric, aggregation) when chained together to calculate the ratio gives you an important capacity planning metric for your service (# API calls / % CPU).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_pCn8QzW29TfThTJ.png" /></figure><p>The proliferation of SaaS means that you are providing SLA guarantees and relying on SLAs from third-party APIs. As many organizations completely refresh their environment through the adoption of next gen infrastructure, maintaining those SLAs is becoming harder, because now there is added complexity:</p><ul><li>Containers are increasingly ephemeral with life cycles as short as a few minutes.</li><li>Having numerous microservices means more complicated interactions and dependencies between them. Root cause analysis and predictability is more challenging and may increase MTTR.</li></ul><p>Determining SLA in today’s world is more than an IT issue — it’s business-critical. For a SaaS solution guarantee 99.9% or 99.99% uptime means they’re allowed 43 minutes or 4 minutes respectively of total downtime over a whole month. That’s barely enough time to humanly find and fix an issue, and automated triage and remediation is a must.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JIdSUmt_xdPKy-HS.png" /></figure><p>So what contributes to time-to-resolution?</p><ul><li>Sampling frequency of raw metrics. Nyquist’s sampling theorem says if you measure at 1-min intervals, you’ll need at least 2 or more minutes to confirm a problem. The same is true in reverse: you’ll need another 2 minutes to verify a fix.</li><li>Time needed to analyze the sampled raw metrics to raise an alert. Add that to total remediation time for an incident.</li><li>Human/bot time to react, do root cause analysis, and take remediation steps. Add that to total remediation time too.</li></ul><p>By this point, our chances are looking pretty slim. What we’ve learned at SignalFx is the need to <em>produce fast results</em>. This means:</p><ul><li><strong>Measure metrics at high resolution.</strong> The higher the frequency, the better. At SignalFx, we use 1 second resolution. This is a trend among our customers too as they are also moving to more frequent measurements.</li><li><strong>Analytics and alerting must be fast.</strong> High-frequency raw metrics is only half the story. You need to apply analytics to them, create aggregate or composite metrics that model important KPIs, and alert on those trends quickly. This needs to happen across your entire infrastructure. This means your analytics system needs to be triggered quickly and produce results fast. For example, it is no good if you measure every 1 second but your alerting system polls the measured data every 5 minutes.</li></ul><h3>What’s Next</h3><p>We are just at the beginning of this transition of next gen infrastructure and addressing the key challenges and trends created as a result. Based on the experience of the SignalFx engineering team and many of our forward-thinking customers, we strive to continue sharing our lessons learned and best practices in monitoring.</p><p>What key trends are you seeing and experience? Share your thoughts and keep the conversation going!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pji5HWO4iTVqenG6.gif" /></figure><p><em>Originally published at </em><a href="https://www.signalfx.com/blog/lessons-learned-monitoring-next-gen-infrastructure/"><em>www.signalfx.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86ceb67f6e94" width="1" height="1" alt=""><hr><p><a href="https://medium.com/signalfx/lessons-learned-from-monitoring-next-gen-infrastructure-86ceb67f6e94">Lessons Learned From Monitoring Next Gen Infrastructure</a> was originally published in <a href="https://medium.com/signalfx">signalfx</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Meta at Hack 4 Your Life: The 4th Annual SignalFx Hackathon]]></title>
            <link>https://medium.com/signalfx/getting-meta-at-hack-4-your-life-the-4th-annual-signalfx-hackathon-e8c48fbf978?source=rss-14ad8229afca------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8c48fbf978</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[startup-life]]></category>
            <category><![CDATA[hackathons]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Arijit Mukherji]]></dc:creator>
            <pubDate>Fri, 02 Nov 2018 00:07:02 GMT</pubDate>
            <atom:updated>2018-11-02T00:07:02.613Z</atom:updated>
            <content:encoded><![CDATA[<p>Last week we held the 4th Annual SignalFx Hackathon at our headquarters in downtown San Mateo. It was our largest and most impressive hackathon to date! 60 participants formed 29 teams to hack, and hack, and then hack some more in an epic battle for glory and treasure. Here’s what we did and what happened.</p><h3>Hackathons at SignalFx</h3><p>We have always done our hackathons a little differently. First, we have them for 3 full days instead of a day or two, allowing more time for teams to develop ideas or take on more challenging hacks. We also include the whole product organization, such as product managers, documentation specialists, and technical writers, because we want to encourage more cross-functional collaboration. In terms of timing, we hold the hackathon during the middle of the week so that our engineers from remote offices can fly in, hack, and return before the weekend. Our hackathons also take place in the summer so that our talented interns have a chance to participate and bring their energy. On the last day, we conclude with a Hackathon Forum. Each team presents their project to the company and the winners are announced and receive their prize…with the real prize being bragging rights for the rest of the year. Last, to help keep everyone energized and focused, we cater breakfast, lunch, dinner, snacks and more because coding really does work up an appetite.</p><p>To encourage the competitive spirit, teams compete for prizes in 4 different categories, with Supportability and Operability added this year due to the rapid growth in size and maturity of the engineering and product team.</p><h3>Award Categories</h3><ul><li>People’s Choice: chosen by popular vote by the hackathon participants</li><li>Most Productizable: close to getting shipped and solves an important use case</li><li>Supportability: best addresses a common issue faced by Customer Support</li><li>Operability: helps make operating the SignalFx service easier</li></ul><h3>SignalFx’s 4th Annual Hackathon: Hack 4 Your Life</h3><h3>New Hires Started Out With A Bang</h3><p>Overall, the response to this year’s hackathon was quite overwhelming despite some of our initial concerns — Will the food and drinks be as awesome as in past years? Would the many fresh, new hires be able to do interesting projects given their newness to the product and codebase? Will we end up doing hackathon presentations for a whole day now with the expansion of the engineering and product teams? Let’s just say we should not have worried.</p><p>Our new team members and larger size only enhanced the spirit and fun of the event. What’s more, not only did our newer members participate, they participated with the most energy. Many more teams were able to be formed this year compared to previous hackathons, with a mix of new and experienced engineers and teammates from other departments. In fact, two of the four awards went to such cross-functional teams! This reaffirms that our SignalFx culture will continue to have a bright future.</p><h3>The Hackathon Forum</h3><p>On the last day during the Hackathon Forum, the effort put in and collaboration across team members showed through in the final projects and presentations. This year, teams made a special effort to make their presentations fun and memorable, by putting on quite a show for the audience. While this may have something to do with chances of winning the People’s Choice award, we will certainly encourage this trend going forward! For example, we saw a hilarious reenactment of the cult classic movie, ‘<a href="https://en.wikipedia.org/wiki/The_Room_(film)">The Room</a>’, where a team went all-out with a 4-person cast — the lead actor channeling James Franco channeling Tommy Wiseau in the role of Johnny — all in an effort to present their hack to reduce triage time for critical alerts in production.</p><h3>This Hackathon Was So Meta</h3><p>The diverse set of projects ran the gamut from new chart visualizations (tracking drones on a world map, anyone?), to real-time metrics ingest from logs, to SignalFx tutorial videos with hand-drawn animation, to improved search experience in the product. One of the popular themes this year was metadata analysis — SignalFx has always been strong in handling large volumes of metadata from diverse and ephemeral environments, and this trend carried through to the hacks. Examples were dimensional analysis to answer questions about analytics usage (to help customer support and operations) and datapoint submission (to answer questions about the nature of time series data being sent by our customers and understand when/why it changed). Last but not least, our interns put on a great show by developing and demonstrating a native mobile app using React Native to view charts and alerts.</p><h3>The Hackathon Winners</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_Tbz0gfPsatEGhxS.jpg" /></figure><h4>People’s Choice</h4><p>No More Tears: No more tears for customer reporting issue, support person handling incoming requests, engineer fixing issues. The project helps streamlined reproducing steps from end to end without losing any data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OqXZDDegMIJSa3zk.jpg" /></figure><h4>Most Productizable</h4><p>Allows users to link detectors and charts. This in turn makes it easy to know the health of a chart or dashboard at a glance, and when troubleshooting an alert, to get a list of relevant dashboards to drill into.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*guXpNIERt1y67VMM.jpg" /></figure><h3>Supportability</h3><p>An integrated search tool to help users find SignalFx resources like blog posts, technical docs, product docs across our knowledge repositories.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xFa82IX-iNIueSe2.jpg" /></figure><h3>Operability</h3><p>“tsdbtop- a TSDB data visualizer to visualize how data flows through the SignalFx time series database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eOIkjtLb8JJvJVsH.jpg" /></figure><h3>The Disaster Artist</h3><p>I love hackathons. They are about ideas and creative expression and collaboration — things that make working in our industry so fun and rewarding. But it wasn’t all wine and roses in the SignalFx hackathon this year. My personal project was a disaster. In true hackathon fashion, a few hours before presentations, where I was surely going to dazzle everyone with a brilliant project solving everything but world hunger, my code started crashing. For the life of me, I could not figure out why. But let us look at the positive side — ‘The Room’ and Tommy Wiseau and James Franco notwithstanding, if there was an awards category for ‘<a href="https://en.wikipedia.org/wiki/The_Disaster_Artist_(film)">The Disaster Artist</a>’ in this hackathon, there can be no doubt who the winner was going to be.</p><p>We’re already looking forward to the next SignalFx Hackathon with new engaged talent, new clever ideas, and new productive ways to help our customers become more successful. Interested in learning more about career opportunities in engineering, product, or service, take a look at all of our open positions <a href="https://www.signalfx.com/company/careers/">here</a>. We’re hiring!</p><p>At SignalFx we’re always working for ways to make our alerts more accurate and powerful. This post will show you how to use compound conditions.</p><p><a href="https://www.signalfx.com/blog/refining-real-time-alerts-with-compound-conditions/">Continue reading</a></p><p>Categories:<a href="https://www.signalfx.com/blog-categories/engineering/">Engineering</a>•<a href="https://www.signalfx.com/blog-categories/monitoring/">Monitoring</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/0*Xvz_m2qmWEpRIYMx.png" /></figure><p>Incremental-decremental implementations of double exponential smoothing and the KPSS statistic expand the range of analytics for streaming.</p><p><a href="https://www.signalfx.com/blog/incremental-decremental/">Continue reading</a></p><p>Categories:<a href="https://www.signalfx.com/blog-categories/engineering/">Engineering</a>•<a href="https://www.signalfx.com/blog-categories/monitoring/">Monitoring</a></p><p><em>Originally published at </em><a href="https://www.signalfx.com/blog/getting-meta-at-hack-4-your-life-the-4th-annual-signalfx-hackathon/"><em>www.signalfx.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8c48fbf978" width="1" height="1" alt=""><hr><p><a href="https://medium.com/signalfx/getting-meta-at-hack-4-your-life-the-4th-annual-signalfx-hackathon-e8c48fbf978">Getting Meta at Hack 4 Your Life: The 4th Annual SignalFx Hackathon</a> was originally published in <a href="https://medium.com/signalfx">signalfx</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>