Image for post
Image for post

Last week, I tried to investigate raw data from Dead Letter Queue (DLQ) at work. One of the functionalities that I want to do is poll sources from the SQS DLQ and write those data in a file for further investigation. I thought using FS2 will be a great use-case for this.

FS2 is a light-weight streaming library that can help you do a lot of data processing functionality. Often, we want to get some data from upstream and write them to a file for any investigation.

I want to share how we can create a simple type class for writing data to a file system with FS2. …

An assortment of clocks.
An assortment of clocks.
Photo by Lucian Alexe on Unsplash.

In a 2004 interview, famous novelist Haruki Murakami discussed his daily habit: He would wake up at 4 a.m. …


Edward Huang

Software Engineer @ Disney Streaming. Sharing my notes and document my journey in learning FP and Careers |

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store