Decouple and add resilience by applying asynchronous design to a microservice architecture

While thinking back to when I was first learning about microservice architecture, I recall a few related subjects that I had come across such as asynchronous/connectionless messaging. The idea is that many areas of the system can operate independently of the client that invoked them. In other words, if I …

Interesting detailed dream

A break from coding to document a dream. I thought it was interesting maybe not so much for the content so much as the detail. I remember exact images, times, thoughts, and words. I was in Hawaii (where I grew up) with a close friend of mine, Tasia. We drove …

Building an aspnetcore linux docker image with Snowflake ODBC drivers installed and DSN configured

So we’re in the middle of testing Snowflake as a data warehouse solution and in addition to testing out it’s performance and general experience, I wanted to make sure that I was going to be able to communicate with it from a .net core application. Right off the bat, a …

Environments

So the problem to solve today is environments as it comes to the event store implementation. Currently, we have 3 different environments, prod, qa, and dev. In true essence of COMPLETELY BLASPHEMY, the previous implementation had a single database that was used for all environments which is just… omg. That’s …

First push… the event store

So we went with event store (geteventstore.com) and so far, it’s working pretty well out of the box, but I think we’re already starting to deal with some of the issues that come with event sourcing which is making sure that events are being processed in the right order. The …

Step 1: What do our instincts tell us?

The neat thing about this project is that it’s greenfield but… not. We understand our domain pretty well and we have an existing system to use as a reference, we just need to bring the system up to date with technology and practices. So obviously, rebuilding a system isn’t something …

The new challenge

So a few months ago, we got a new CTO that came to us from eBay and Amazon. His vision? Rejuvenate the software vision and maybe even convert us from an agency with a tech department to a tech company with some agency services. First order of business? Re-build the …

So, I created a new log tailer/monitor…

So we were getting a bit frustrated with some of the popular log tailing solutions out there. Nothing *quite* fit what we needed so I decided to roll my own. I did it in .Net 4.5.1 using C# 6.0 and modern practices. Hope you like it! http://dasjestyr.github.io/swifttailer/

Why do you code?

I responded to this question on reddit. I just wanted to archive this here —————————————– It is a puzzle that will never be fully solved, and a discipline that you will never master because its “mastery” in this field is purely subjective. I think it’s more about competency and flexibility …

Short circuit your code, for science!

I think that the topic of short-circuiting is an under-appreciated one. In short, short-circuiting is simply ending an evaluation the instant it becomes false:

In this example, the second condition doesn’t get evaluated in either case. In the first example, the compiler sees that both conditions have to be …