Troubleshooting a Slow API Client in Golang

Troubleshooting a Slow API Client in Golang

Thursday, Dec 13, 2018

@ Chris Suttles

I'm writing an API client in golang, and while testing the API with curl, my results were reasonable (0.8 seconds REAL time), but when I got my API client working in golang with resty, I found that my response time was very slow (over 75 seconds). This is a true (and ugly) story about figuring out what was wrong and resolving the issue.Here's my boilerplate resty code: resty.SetDebug(true) resty.SetTLSClientConfig(&tls.Config{ InsecureSkipVerify: true }) resp, err := resty.
Using Jenkins and AWS to Build and Push Docker Images

Using Jenkins and AWS to Build and Push Docker Images

Monday, Dec 25, 2017

@ Chris Suttles

This post will explore publishing a very simple Docker image to Docker Hub in a simple CI pipeline. I used a couple similar posts and documentation for reference while setting this up: Building your first Docker image with Jenkins 2: Guide for developers How To Build Docker Images Automatically With Jenkins Pipeline Using a Jenkinsfile You can find my repository for this post here: https://github.com/csuttles/dockerci Overview The CI pipeline built in this post is something like this:
AWS Certified SysOps Administrator – Associate

AWS Certified SysOps Administrator – Associate

Saturday, Nov 4, 2017

@ Chris Suttles

Trifecta! Last week, I passed the AWS Certified SysOps Administrator - Associate exam. This is my third AWS associate level certification, and I am excited to finish the associate tier. This was the toughest associate level exam by far. Preparation Like the other exams I took, I used LinuxAcademy and ACloudGuru content (purchased through Udemy). I also bought a Quiklabs subscription again; I canceled my previous one after a month, because it's a little pricy if you aren't using it actively.
Limiting Access in Security Groups

Limiting Access in Security Groups

Tuesday, Oct 24, 2017

@ Chris Suttles

Here's a very quick, practical example why it is important to limit access in AWS security groups for your bastion hosts (jump hosts). sudo grep -oP '(?:\d+\.){3}\d+' -h /var/log/secure* | sort |uniq -c | sort -n | awk '{sum +=$1 ; count ++} END {print sum, count}' 65546 1680 This is a sum of log lines (auth attempts) per IPv4 address and count of unique IPv4 addresses in /var/log/secure* from an instance with SSH open to the world.
AWS CodeStar Challenge

AWS CodeStar Challenge

Wednesday, Sep 13, 2017

@ Chris Suttles

I've exceeded the AWS free tier, and happened upon a post from a friend that leads to an easy $50 AWS credit. Introducing the AWS Codestar Challenge. Codestar follows the pricing model of CloudForms and Elastic Beanstalk. It's free, but the resources created by CodeStar follow their respective pricing models. CodeStar brings together a bunch of AWS services to form an incredibly easy to use CI/CD pipeline. I was able to deploy a CI/CD pipeline for a Lambda based Python app in minutes, including setting up my access.
AWS Certified Developer – Associate

AWS Certified Developer – Associate

Tuesday, Aug 22, 2017

@ Chris Suttles

One More Today I crushed the AWS Certified Developer – Associate. There's a lot of overlap between this exam and the AWS Certified Solutions Architect - Associate, so I decided to make the most of my recent study efforts and go for a second AWS certification. Preparation I went through a lot of the same materials I used for the exam I passed last week. I used the course from ACloudGuru on Udemy that covers this test, and I spent more time working on DynamoDB, SQS, Lambda, and SNS.
AWS Certified Solutions Architect - Associate

AWS Certified Solutions Architect - Associate

Wednesday, Aug 16, 2017

@ Chris Suttles

Why? I'm going to break away from my usual focus here, and talk about my experience studying for and achiving the AWS Certified Solutions Architect - Associate. I chose to pursue this certification for a few reasons: There's a lot of overlapping concepts between OpenStack and AWS AWS is the leader of the pack in public clouds by a very wide margin The last reason is a little long for a bullet point.

Social Links