<?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 Elliott Foster on Medium]]></title>
        <description><![CDATA[Stories by Elliott Foster on Medium]]></description>
        <link>https://medium.com/@elliotttf?source=rss-fe1703c006b7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*bscmzC6VMYPEaMts.jpg</url>
            <title>Stories by Elliott Foster on Medium</title>
            <link>https://medium.com/@elliotttf?source=rss-fe1703c006b7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 14:32:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@elliotttf/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[On Observability]]></title>
            <link>https://medium.com/@elliotttf/on-observability-c8ee6867e21b?source=rss-fe1703c006b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/c8ee6867e21b</guid>
            <category><![CDATA[observability]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Elliott Foster]]></dc:creator>
            <pubDate>Fri, 28 Oct 2022 16:58:45 GMT</pubDate>
            <atom:updated>2022-10-28T16:58:45.175Z</atom:updated>
            <content:encoded><![CDATA[<p>Every week, a couple of the engineering teams I manage gather for a meeting we call devsync. This isn’t a standup, it’s not a status meeting, it’s an opportunity for engineers to collaborate, to talk about hard technical problems, to think and dream big without the rigor of a meeting like scrum rituals. It’s a practice I first encountered while working with the team at NBC (now part of Peacock) and it led to some huge advancements in the platform and the team’s ability to solve problems in innovative ways. This story isn’t about devsync though, it’s a musing following a session about observability of our systems at Episource.</p><p>Over the summer, my washing machine stopped working. I would start a load, but it just spun without water starting. This of course happened the day before my family was set to leave for vacation, as seems to usually be the case with this sort of thing. Tensions were high, I needed it fixed <em>now</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WmJkOEKQIAVu0ZQp11G0Og.jpeg" /><figcaption><a href="https://www.flickr.com/photos/30087504@N00/931913018">“fisheye washing machine</a>” by <a href="https://www.flickr.com/photos/30087504@N00">Ikayama</a> is licensed under <a href="https://creativecommons.org/licenses/by-nc-sa/2.0/?ref=openverse">CC BY-NC-SA 2.0</a>.</figcaption></figure><p>Being technical minded and handy with a wrench and a multimeter, I pulled up YouTube and figured out how to walk through diagnosing the problem.</p><ul><li>I tested the water lines to make sure water was getting to the machine — PASS!</li><li>I tested that the inlet valves were all free of debris — PASS!</li><li>I tested the electrical connectivity of the inlet valves and its manifold — PASS!</li></ul><p>Having nearly exhausted the list of things that <em>could </em>go wrong, I settled on the fill valve sensor as a likely suspect. Up to now, everything that I had been testing was either on the exterior of the machine, or in the easily accessible control panel on top of the machine. The fill valve sensor is the component that tells the machine to stop adding water because it’s full. It basically works by detecting a change in pressure in the machine and closing a circuit. As such, it’s buried in the bowels of the machine and required me removing most of the outer panels, in addition to getting access to the control panel with my multimeter. At some point, the banging of sheet metal in the laundry room as I removed it from the machine caught my wife’s attention. I can only imagine what was going through her head when she saw me sitting in a room, surrounded by bolts, screws, and a very bare looking washing machine.</p><p>I ran the appropriate tests, and the valve was indeed showing that it had bad connectivity — FAIL.</p><p>Ah hah! A problem I can fix (after I get back from vacation). I ordered the part and we ran a load of laundry through our neighbor’s machine to meet the immediate need. I left the machine mostly disassembled since I knew I’d be digging around in it to replace the sensor when I got home.</p><p>Upon returning from vacation, I replaced the sensor — an easy task since I’d pre-loaded the time consuming work of removing all that pesky plastic and sheet metal from the machine. Pleased with my quick work, I bolted everything back together, reconnected the water, plugged in the machine, and got ready to fire it up. I set the machine for a normal cycle and stepped back, certain everything would now be fine. I waited. And waited. And got a little concerned. And waited some more. And then disgusted and defeated unplugged the machine and started going to work disassembling everything. I must have missed a connection somewhere!</p><p>After confirming that the sensor was indeed correctly connected, I re-connected everything “enough” — think control panel hanging by its wire harness and an exposed washer drum — and prepared to run another test. Same result, ugh! I pulled the sensor and tested it with the multimeter. It too was showing bad connectivity. At this point I was really suspicious. This is not a complicated piece of electronics, the design of this component hasn’t changed really in 40+ years (thanks to YouTube I know a lot about this now).</p><p>At this point I went back to the internet and (gasp) the owner’s manual (who even reads documentation, right?). I discovered that this washing machine, being a newer model, was capable of running a self diagnosis. Annoyed that I didn’t think to check that sooner, I ran through the steps to set up and execute the test. Valves began clicking, the drum spun some, and then water started flowing into the machine. What?! I attempted to run a normal cycle again, but it was the same story as before. Lots of noise and spinning, but no water. Losing patience and running short on ideas, I took the machine apart again, put the original fill sensor back, and ran the self diagnosis again. Again, everything came back normal!</p><p>Uncertain what to do next, I did what every do-it-yourselfer dreads: I called a repair man. Obviously whatever was wrong was outside of my wheelhouse and required <em>professional</em> help! The next day, two appliance technicians showed up with their tool bags and sharp uniforms. I walked them through everything I had tried, hoping that they’d uncover some tid-bit of wisdom about washing machines that YouTube and forum posts from the mid 2000’s just didn’t contain. They set to work.</p><p>The first thing they did: try to run a normal cycle. There was the familiar noises, the spinning, and no water. But these repair guys did something I didn’t do. They kept waiting and watching, patiently observing the machine to see what would happen next. After nearly two minutes from the start of the cycle, water began to flow and the machine began normal operations. They looked over at me and shrugged. They ran some more tests, everything was normal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4V_DnuhQ-earddDobKJ6lw.jpeg" /><figcaption><a href="https://depositphotos.com/stock-photos/medicine-health.html">Young man looking at camera and doing shrug gesture in front of brick wall</a> — depositphotos.com</figcaption></figure><p>I think my embarrassment was pretty obvious to the lead technician. He was a good sport and said that sometimes the control boards go bad and cause intermittent problems like this. I still needed to pay their service fee, but if it broke down again in the next couple of weeks they’d come out again free of charge.</p><p>So, why did I write this and how the heck does it relate to the discussion I had with my teams? I approached the problem all wrong. I assumed I had correctly identified what the issue was after running some tests that aligned with my understanding of the problem, classic confirmation bias. I started changing something before I had the whole picture. If I had just been patient, like the appliance technicians, I would have discovered that there was in fact nothing wrong with the machine, it just takes a <em>really</em> long time to sense a load and actually start washing. Furthermore, if I had used the simplest tool first, the self diagnosis, I might have completely changed my approach, saving myself time, money, and a bruised ego.</p><p>We as software engineers have at our disposal lots of fantastic tools to enable observability: <a href="https://aws.amazon.com/cloudwatch/">Amazon CloudWatch</a>, <a href="https://www.datadoghq.com/">DataDog</a>, <a href="https://newrelic.com/">NewRelic</a>, <a href="https://www.splunk.com/">Splunk</a>, to name a few. If we aren’t doing our best to leverage these tools as first class citizens and including their watchful eyes as part of every stage of development, we’re setting ourselves up for problems further down the road. If you wait until there’s a problem to start introducing these tools, you’re at risk of falling into a confirmation bias trap and spending resources fixing something that might not even be broken.</p><p>Don’t be like me. When possible, make sure you have a good and complete picture of operating conditions before you jump in head first and start ripping panels off your washing machine. Observability is key!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c8ee6867e21b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing epiAnalyst for Medicaid]]></title>
            <link>https://medium.com/episource-developers/introducing-epianalyst-for-medicaid-43b5b254ff90?source=rss-fe1703c006b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/43b5b254ff90</guid>
            <category><![CDATA[software]]></category>
            <category><![CDATA[medicaid]]></category>
            <category><![CDATA[epianalyst]]></category>
            <category><![CDATA[episource]]></category>
            <category><![CDATA[developer]]></category>
            <dc:creator><![CDATA[Elliott Foster]]></dc:creator>
            <pubDate>Wed, 02 Jun 2021 17:47:31 GMT</pubDate>
            <atom:updated>2021-06-02T17:47:31.717Z</atom:updated>
            <content:encoded><![CDATA[<p>Episource’s industry leading risk adjustment epiAnalyst product is now available for Medicaid! Hot on the heels of the 2.0 release of epiAnalyst in September 2020, the team began working on a version of the product for Medicaid. The front-end application code is largely shared between products, so the interface will be familiar for users of the Medicare product. Behind the curtain though, a new API, suspecting engine, and data pipeline are feeding the new product.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QTRXMMZakTAZBOMV-xEh7Q.png" /><figcaption>epiAnalyst home page metrics</figcaption></figure><p>The initial launch prioritizes the most important features that epiAnalyst offers, including member and provider indices, advanced search, and report downloads. Let’s take a look at each one for more detail!</p><h3>Member Features</h3><p>The member index, when combined with our powerful advanced search, allows our users to slice and dice member populations based on whatever criteria they deem is important. The filtered results from the index may be downloaded as a CSV, or saved within the application for future retrieval.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RXzoJjy_JS5L_7Ak5YjGyg.png" /><figcaption>epiAnalyst member index</figcaption></figure><p>The member index is also one of many gateways into a member’s details page, where our users can review a high level snapshot about a given member, their dates of service, and risk score.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QKrCQ3565LC4DWcKkRbpyg.png" /><figcaption>epiAnalyst member details</figcaption></figure><p>If deeper insights about a member are needed, head on over to the chronic codes registry tab where a member’s codes, suspect sources, and associated dates of service can be reviewed, filtered, and exported.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GpYU-SkClbZGKTpWCSB6qQ.png" /><figcaption>epiAnalyst member chronic codes registry</figcaption></figure><h3>Provider Features</h3><p>The provider index offers all of the same features as the members index but adds a quick inspect feature so that users can review aggregate information about a provider at a glance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bhc0oZ_DP8TroXw-xg9SoQ.png" /><figcaption>epiAnalyst provider index with inspect panel</figcaption></figure><p>Navigating to a provider’s details page will offer a familiar highlights listing for providers and quick access to their top ten member opportunities for the fiscal year.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FGTsiAY2nIPwmwnEV4tIFA.png" /><figcaption>epiAnalyst provider details</figcaption></figure><p>The members tab from a provider details page will allow users to browse, filter, and export a provider’s members based on eligibility and the provider’s relationship to the member (PCP or Specialist).</p><h3>Report Features</h3><p>The initial launch of the Medicaid product includes six valuable report exports where our users can quickly download commonly queried data about members and codes for a given fiscal year.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qcBOgb-JmIThfmUdQAHlSA.png" /><figcaption>epiAnalyst reports</figcaption></figure><h3>Technical Improvements</h3><p>Ever in pursuit of more performant, scalable, and secure systems, the team took lessons we learned from developing epiAnalyst 2.0 and continued to improve the platform. The Medicaid product replaces Medicare’s excellent REST API with a more flexible GraphQL interface. Performance improvements such as caching and asynchronous work-loads were also heavily leveraged during the development of the Medicaid application. The good news doesn’t stop there though, our Medicare and Medicaid teams are in constant communication so improvements to one application are often quickly adopted by the other!</p><p>In the coming months the team will continue to launch new features and improvements for all of our users, including dashboards, lists, and campaigns. We’re very excited about this initial offering and can’t wait to see how our users interact with the product!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=43b5b254ff90" width="1" height="1" alt=""><hr><p><a href="https://medium.com/episource-developers/introducing-epianalyst-for-medicaid-43b5b254ff90">Introducing epiAnalyst for Medicaid</a> was originally published in <a href="https://medium.com/episource-developers">Episource Developers</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Instrumenting node.js with NewRelic]]></title>
            <link>https://medium.com/front-end-weekly/instrumenting-node-js-with-newrelic-c70b10455864?source=rss-fe1703c006b7------2</link>
            <guid isPermaLink="false">https://medium.com/p/c70b10455864</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[new-relic]]></category>
            <dc:creator><![CDATA[Elliott Foster]]></dc:creator>
            <pubDate>Wed, 16 Aug 2017 22:28:48 GMT</pubDate>
            <atom:updated>2017-08-16T22:28:48.861Z</atom:updated>
            <content:encoded><![CDATA[<p>When working with node at scale it is imperative to have insight into your node processes: how much memory and CPU are in use, what your average throughput is, how long response times are, etc. Without this information you are completely in the dark when diagnosing problems in production. It’s easy enough to gather these statistics when working locally but local behavior is seldom helpful when you’re tasked with diagnosing performance problems in production. This is why instrumentation tools like <a href="https://newrelic.com/">NewRelic</a> are important; they give you real time insight into how your application is behaving wherever you deployed it!</p><h3>Tracking Web Requests</h3><p>If your application serves web requests via express or similar you’re in luck, simply adding `require(‘newrelic’);` to the beginning of your main script and setting up the `newrelic.js` config file will enable request analytics (see the getting started <a href="https://www.npmjs.com/package/newrelic#getting-started">documentation</a> for specifics). In order to surface information about CPU and memory you will need to install the companion <a href="https://www.npmjs.com/package/@newrelic/native-metrics">@newrelic/native-metrics</a> module, but again there’s no special configuration that you need to begin gaining insights to your application.</p><h3>Tracking Non-Web Requests</h3><p>What if you want to track behavior that happens outside of a web request, or if your application serves no web requests? In that case you will need to take advantage of the NewRelic API to add tracking information to the routines you are interested in. That may sound a little daunting at first, and the documentation is admittedly not very clear about how to do this, but don’t abandon ship yet, we’ll walk through a simple example together.</p><p>First, you will need to locate the operation you wish to track. I suggest trying not to group too many transactions together if possible as this can make locating problems more difficult. After you have located the entry and exit points for the code you will need to wrap the transaction with the `<a href="https://docs.newrelic.com/docs/agents/nodejs-agent/supported-features/nodejs-agent-api#createBackgroundTransaction">newrelic.createBackgroundTransaction</a>` method and end it with the `<a href="https://docs.newrelic.com/docs/agents/nodejs-agent/supported-features/nodejs-agent-api#endTransaction">newrelic.endTransaction</a>` method. All of the code that you wish to track must execute in the callback passed into `createBackgroundTransaction()` so you will need to take care with async code.</p><p>Here is a simple example of tracking a non-web transaction:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3f87b55d6a6a1d177264cdbc79c9982c/href">https://medium.com/media/3f87b55d6a6a1d177264cdbc79c9982c/href</a></iframe><p>Note that regardless of whether the transaction ultimately succeeds or fails you must call `endTransaction()`, this is how NewRelic knows it can stop tracking your background work. You also need to take care while naming your transactions, too many names can cause problems in NewRelic and make tracing specific types of operations difficult. For this reason, the `createBackgroundTransaction()` method provides an optional `group` parameter so that transactions that are discrete but similar can be logically grouped together.</p><p>If all goes well, you’ll be able to dive into your non-web transactions with pretty graphs like these:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/0*_sPJG8xsZXPZkoXx." /></figure><p>You will have greater insight into what is actually happening during runtime and can line up server statistics with log events to help isolate memory leaks or CPU spikes. Your applications will be more robust and easier to debug and your users (and support team) will be happier for it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c70b10455864" width="1" height="1" alt=""><hr><p><a href="https://medium.com/front-end-weekly/instrumenting-node-js-with-newrelic-c70b10455864">Instrumenting node.js with NewRelic</a> was originally published in <a href="https://medium.com/front-end-weekly">Frontend Weekly</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>