Headshot_large

Richard Clayton

What's Making Me Happy - 01/21/2019

React w/out Redux, Kubernetes Node Draining, and Customizing DataDog

Hey friends, welcome back to WMMH! It's about a month since my last post -- my sincere apologies; work and vacation have sapped my free time. Fortunately, the extra time has given me more things to be happy about!

Over the last couple of weeks, I have been working on various projects up and down the stack. This work included . . .

Read More

Posted in: kuberneteswmmh

January 29, 2019

Kube-Native Workflows with Argo

Stitching Docker containers together to get stuff done fast!

About a month ago, was looking for a tool to help automate some of the analytic jobs our data scientist built in Python. My goal was to automate the following process:

  1. Execute Python jobs that analyze the day's activities, producing a CSV output.
  2. Create a new table in Postgres (that hold the CSV data).
  3. Insert the . . .

Read More

Posted in: architecture

December 20, 2018

Implementing "Options Object" Pattern using TypeScript and Joi

The Options Object pattern [1][2] is a technique in JavaScript for configuring a component using a single function parameter:

const client = createClient({
 host: 'localhost',
 port: 12345,
 username: 'foobar',
 password: 'work-at-peachjar',
});

This approach has many benefits over . . .

Read More

December 10, 2018

What's Making Me Happy - 11/30/2018

Grafana, TimescaleDB, Apache Beam, and ThoughtWorks Tech Radar Q4

Hey folks, sorry I missed the last couple of weeks (was out on vacation or busy at work). However, I'm back just in time for the holidays with another addition of "WMMH" in the software world.

The theme for this week is data analytics. I've been working on a metrics project at work and have been pleasantly surprised . . .

Read More

December 01, 2018

What's making me happy - 11/07/2018

Inspired by NPR's Pop Culture Happy Hour, I'm going to try posting once a week about topics in technology that are making me happy.

Lately, I've been working on our EDA platform at Peachjar that uses NATS as a Command/Query transport and Kafka as an event store. Naturally, adding any technology to your infrastructure . . .

Read More

November 07, 2018

Node.js and Kafka in 2018

Yes, Node.js has support for all of the Kafka features you need.

If you want to use Node and Kafka together and are struggling to find straightforward answers to some basic questions, I hope this helps you out. We've been building out an event system at Peachjar using Node and Kafka and some of this knowledge is the fruit of our research.

    . . .

Read More

Posted in: kafkanodejs

October 31, 2018

How to Use the Instance Role Credentials Manually on an EC2 Instance

A couple of days ago I found myself needing to use the AWS CLI to perform some actions using the IAM Role of the local EC2 instance (and not my own -- partly because I didn't want to use/leave my credentials on the machine).

Crawling through the AWS documentation, I pieced together the steps one should follow to perform this . . .

Read More

July 04, 2018

Archive