<?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 Jun Kim on Medium]]></title>
        <description><![CDATA[Stories by Jun Kim on Medium]]></description>
        <link>https://medium.com/@jkim65537?source=rss-dbc64368736f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*tTHedQDz7bwni6ugzo4luA.jpeg</url>
            <title>Stories by Jun Kim on Medium</title>
            <link>https://medium.com/@jkim65537?source=rss-dbc64368736f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 09:31:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jkim65537/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[A Letter to My Friends]]></title>
            <link>https://jkim65537.medium.com/a-letter-to-my-friends-693ed314d52a?source=rss-dbc64368736f------2</link>
            <guid isPermaLink="false">https://medium.com/p/693ed314d52a</guid>
            <category><![CDATA[happiness]]></category>
            <category><![CDATA[friends]]></category>
            <category><![CDATA[covid19]]></category>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[life]]></category>
            <dc:creator><![CDATA[Jun Kim]]></dc:creator>
            <pubDate>Sat, 26 Dec 2020 02:20:24 GMT</pubDate>
            <atom:updated>2020-12-26T02:22:32.920Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/940/0*sFsj_fJYyFnIPErM.png" /><figcaption>#2020WRAPPED</figcaption></figure><p><strong>Dear Friends,</strong></p><p>What a year it has been. 2020 has strangely been a year of extremes without the middle. It feels like no days have passed since we went into the lockdown in March and somehow also feels like it has been <em>years</em> since we have been in quarantine. There is no middle. Even as I sit here and reflect on my year, I feel ambivalent about 2020. Frankly, I am still unsure whether I hated or loved it. I hated it, because we could not enjoy each other’s company as much and do the things that we love doing together, like clubbing, annual camping trip, or even just larger gatherings. I loved it, because we still found ways to connect, whether it was through a virtual game night over Zoom calls or small dinner parties that made us feel real fucking old. See? No middle.</p><p>But during the year of uncertainties and oxymorons, I learned one lesson that I feel certain and happy about: I am grateful to have each and every one of you as a friend in my life. Hence why I wanted to write this letter to share what else I learned this year that made me happy, so we can all end this confusing year on a definitively happier note.</p><p><strong>No Comparisons</strong></p><p>My entire life, I found my own social and personal worth in life by comparing myself to other people. My accomplishments only felt greater in comparison to others, the same way they felt like nothing in comparison to others. I learned to celebrate my victories for what they are and it made me much happier.</p><p><strong>It’s Okay to Not Be Okay</strong></p><p>I try my best to hide it, but y’all know that I am an anxious person. I always felt somewhat ashamed about it and found ways to be dismissive of my anxiety by making silly self-deprecating jokes about it. Unfortunately, with 2020 being a rough year for everyone including myself, things got pretty bad to the point where I had to seek therapy again to feel better. Fortunately, I became happier by learning that it’s okay to not be okay.</p><p><strong>Real Friends</strong></p><p>As juvenile as it sounds, I always struggled with who is my real friend and who isn’t. The two lists often traded names any time someone wronged me or did right by me. Like the time when Francis took a stranger’s side in an argument I was in one day and shoved an angry Uber driver who was marching towards me the very next day. This year, I learned that we are all imperfect. And there will be times when I will ride or die for you and also times when I won’t even show up because I got work the next day, but it makes me happy knowing that we are all <em>real</em> friends.</p><p><strong>Conclusion</strong></p><p>There is not like a grand conclusion to this letter. I just want YOU that read this all the way through to be happy. And if you didn’t, you are not a real friend and I hope you die. Just kidding. I want all of us to be happy. I truly wish the best for each and every one of you. If you have anything to share back with me, we should connect. Otherwise, here’s to another happy year <a href="https://emojipedia.org/clinking-glasses/">🥂</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=693ed314d52a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Engineering: The Hottest Career You Can Pursue]]></title>
            <link>https://medium.com/inside-outcome/data-engineering-the-hottest-career-you-can-pursue-56078007c0c3?source=rss-dbc64368736f------2</link>
            <guid isPermaLink="false">https://medium.com/p/56078007c0c3</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[towards-data-science]]></category>
            <dc:creator><![CDATA[Jun Kim]]></dc:creator>
            <pubDate>Thu, 06 Feb 2020 17:35:29 GMT</pubDate>
            <atom:updated>2020-02-06T17:35:29.108Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/446/1*oZ4r65N2gj-XXmwMTpknhA.png" /><figcaption>Making data engineering “sexy”<em> (source: reddit.com) (</em>Images may be subject to copyright.)</figcaption></figure><p><strong>Making data engineering “sexy”</strong></p><p>Data science is the sexiest profession of the 21st century — according to Harvard Business Review anyways. And I agree. We get to use cutting-edge technology to solve interesting problems with immense impact while being paid to do so. Yes, this is another article that is going to explain how sexy data science is and how you should work in data science. Well more specifically, data engineering.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/0*RxUGeW4UVsSgmYE5.jpg" /><figcaption>Get paid to solve interesting problems? Count me in. (source: <a href="https://imgur.com/gallery/bjD7f3p">i</a>mgur.com)</figcaption></figure><p>(TLDR; Data engineering is sexy. Cutting-edge technology is sexy. Big impact is sexy.)</p><p><strong>What is Data Engineering?</strong></p><p>You don’t know what data engineering is? Data engineering is the core aspect of data science that focuses on the design and development of data pipelines that perform data ingestion. It is the necessary step of data science in order for any enterprise to pull actionable business insights out of their data. If you would like to read more about it, check out Robert Chang’s article on the guide to data engineering. It reads like a data engineering bible: <a href="https://medium.com/@rchang/a-beginners-guide-to-data-engineering-part-i-4227c5c457d7">https://medium.com/@rchang/a-beginners-guide-to-data-engineering-part-i-4227c5c457d7</a>.</p><p>(TLDR; data engineering = data pipelines.)</p><p>Before I go any further, I know what you are thinking. Data ingestion does not sound too sexy but hear me out, because there is a way to make it sexy (the real reason behind me writing this article). Essentially, there are two ways to ingest data: batch processing or real-time processing (streaming).</p><p>(TLDR; you can ingest data in a batch or in a stream (real-time) and real-time is the sexy way.)</p><p><strong>What is Batch Processing?</strong></p><p>Simply put, batch processing is a process of jobs executed in batches. The real life example is dirty laundry in a hamper. Doing laundry every Sunday after you have collected a week’s worth of dirty clothes is considered batch processing. A business-y example is a computer program that aggregates for the sum of sales for a prior day or week. In most cases, batch processes tend to be triggered by a time-based trigger (e.g. every Sunday).</p><p>(TLDR; batch processing ingests data in batches.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FkMKVyF8a_dKdm9G" /><figcaption><em>Laundry in a batch </em><a href="https://emojipedia.org/thumbs-up-sign/"><em>👍</em></a><em> (source: alamy.com)</em></figcaption></figure><p><strong>What is Real-time Processing?</strong></p><p>Real-time processing is a process of jobs executed in real time. The real life example is washing your clothes as soon as they get dirty. You may think that this example is a poor application of real-time processing and you are absolutely right. Some processes (like doing your laundry) are better left as batch than real-time unless your favorite shirt is dirty and you have a date tonight. A more relevant and appropriate real life example is washing your hands after each time you go use the bathroom. A business-y example is a computer program that runs whenever a new sale is made to get a running sum of sales for the day. Unlike batch processes, real-time processes tend to be triggered by an event-based trigger (e.g. sale).</p><p>(TLDR; real-time processing ingests data in real-time.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/0*cvvaEEJXi_Zbl1jH" /><figcaption><em>Washing just a shirt? I don’t know about that </em><a href="https://emojipedia.org/thinking-face/"><em>🤔</em></a><em>(source: alamy.com)</em></figcaption></figure><p><strong>What Got me Thinking about Real-time Process</strong></p><p>I work as a data engineer for a health-tech company called Outcome Health (OH). OH is the leading point-of-care experience platform that supports the patient and physician relationship by providing relevant content for the most important moments of the health journey.</p><p>Proof of play is an auditing process that shows our stakeholders that relevant content (advertisement for example) was displayed on digital displays of more than 100,000 devices OH has installed in doctor’s offices all over the States. OH’s proof of play process leverages the technology of image processing and EXIF data. With automated proof of play process, OH is able to offer its stakeholders 3 T’s: transparency, trust, and technology.</p><p>(TLDR; Outcome Health uses proof-of-play to make sure the devices play the correct content.)</p><p><strong>My First Real-time Data Pipeline Project</strong></p><p>I joined OH last October to help passage this proof-of-play batch process to run in real time. The proof-of-play process ran in batches, meaning that at the end of each day, it ran the auditing process of all screenshots saved for the prior day. The impact of this lag was not too abysmal but needed to be addressed. As it meant the proof-of-play process was not fully optimized. This lag meant OH was not always able to utilize all of its resources to its maximum capacity.</p><p>(TLDR; Outcome Health wanted proof-of-play to run in real-time and I got hired to work on it.)</p><p><strong>Tech Stacks for Real-time Process</strong></p><p>Now the fun part. For the real-time process of proof-of-play, OH’s data engineering team decided on the tech stacks of AWS micro-services (Lambda, S3, and RDS) with python as the programming language. The reasoning behind using AWS was that managed AWS services improve productivity as well as reduce overhead expenses, and plus, OH is a Python + AWS shop.</p><p>(TLDR; I built real-time process using Lambda, S3, RDS, and Python.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QhIvfSa6hngD2eMG" /><figcaption>Diagram of real-time proof-of-play process</figcaption></figure><p><strong>Considerations</strong></p><p>There were four major considerations that were taken into account in the design and development of real-time proof-of-play process, which were</p><ol><li>Concurrency</li><li>Error handling</li><li>Performance (speed and accuracy)</li><li>Cost</li></ol><p><strong>Concurrency and Error Handling</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/926/0*qMdFWKH3KUjnWKz_" /><figcaption>Upload count of screenshots per minute</figcaption></figure><p>It was estimated that we would see at most 750 screenshots per minute (as you can see in the graph above). With concurrency limit set at 1,000 as default, we were more than safe to push real-time proof-of-play lambda into production. But we needed to be REALLY sure. That is why we chose to asynchronously invoke our lambda function. You can read more about asynchronous invocation here: <a href="https://docs.aws.amazon.com/lambda/latest/dg//invocation-async.html">https://docs.aws.amazon.com/lambda/latest/dg//invocation-async.html</a>.</p><p>Use of asynchronous invocation meant Lambda would manage the function’s asynchronous event queue and attempt to retry on errors all on its own. Even in the cases of reaching over the concurrency limit, lambda requests would be throttled and moved back into the queue and be retried for up to 6 hours.</p><p>Concurrency, check. Error handling, check.</p><p><strong>Performance and Cost</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/0*5jNbTnVN9gnKinVZ" /><figcaption>Distribution of billed duration of 6,000 test Lambda requests</figcaption></figure><p>Addressing the concern of speed performance, we ran speed performance tests to make sure each auditing process does not take too much time to run. We learned that with the cold start of each EC2 instance required to run an AWS lambda function taken into account, it only takes 10,800 ms/run on average. We also ran accuracy performance tests to make sure each auditing process that is run in real-time produces the same results as the batching processing auditing process produces.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tX5stUbjIkrjkEqG" /><figcaption>Estimate of AWS Lambda cost</figcaption></figure><p>To sum up, at 10,800 ms/run and 300,000 runs/month, it costs approximately $6.83/month to run the real-time processing of proof of play. How much would you pay to be able to address your core business problems immediately rather than a day from today? In other words, how much would you pay to be sexy?</p><p>Performance, check. Cost, check.</p><p>(TLDR; Concurrency, error handling, performance, and cost were considered and addressed in building the process.)</p><p><strong>Conclusion</strong></p><p>If you followed along the entire way without just reading the TLDRs, then I thank you and hope we are on the same page about data engineering — that it is not just about moving data from point A to point B. It is the <em>art </em>of moving data from point A to point B in the most efficient, logical, and robust way possible. And that in most cases, making your data pipelines real-time opens up the door to many different opportunities that you were not able to explore before. And also that, data engineering is indeed sexy.</p><p><strong>Appendix I: Concurrency Testing</strong></p><p>In order to best replicate the concurrency problem on a local machine, I utilized multiprocessing to write S3 objects that acted as triggers to the lambda function.</p><p>If you are interested in reading more about it, check out: <a href="https://docs.python.org/2/library/multiprocessing.html">https://docs.python.org/2/library/multiprocessing.html</a>.</p><p><strong>Appendix II: Where the Lambda Request Data Came from</strong></p><p>Each lambda request that is run spits out a Cloudwatch log that contains the following relevant information: billed duration, max memory used, and timestamp of each request. The analysis of lambda requests were done using Cloudwatch log data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56078007c0c3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/inside-outcome/data-engineering-the-hottest-career-you-can-pursue-56078007c0c3">Data Engineering: The Hottest Career You Can Pursue</a> was originally published in <a href="https://medium.com/inside-outcome">Inside Outcome</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>