Libp2p experiments with NGINX Unit

Intro I recently picked up libp2p again. It’s a project that I’ve been checking in on for a number of years, and decided to check it again recently. The difference is that this time I had a use for it! You can find out more about libp2p here What is it? Libp2p is a peer to peer library for a multitude of languages. It provides a modular networking stack that you can use in your projects....

December 30, 2021 · 17 min · codecowboy.io

SQL Server on Kubernetes - Part 2

Intro So in my last post I showed how you could create databases on Kubernetes. There are many reasons to do this. Equally, there are reasons not to do this, but for highly distributed deployments it does make sense. This post is going to focus on the storage components of running a database on Kubernetes. Why do I need persistent storage Persistent storage as the name implies allows you to store your data between container restarts....

December 1, 2021 · 5 min · codecowboy.io

SQL Server on Kubernetes - Part 1

Intro Recently, I’ve been working with a customer who wants to provide databases on their Kubernetes cluster. Ever since Microsoft’s SQL Server was released on Linux some years ago, I’ve been fascinated with it. I decided to give it a go recently on Kubernetes, and get it all working. This is part one, where I deploy SQL server without persistent storage. In part two, I will discuss using persistent storage....

November 1, 2021 · 6 min · codecowboy.io

Terraform Maps

Intro I’ve been doing a lot with terraform lately, and I’ve been looking for ways to make my terraform configurations a lot simpler and have less repetition. Like a lot of people, I’ve found myself repeating the same code over and over. An example is where I repeat the same resource over and over but with different configuration parameters. It’s essentially the same resource. Why should I do this? There has to be a better way....

September 26, 2021 · 3 min · codecowboy.io

NGINX Unit

Intro I recently discovered NGINX Unit - now there’s a disclaimer here as well - I work for the company that produces this software. I do think that it’s a very very cool piece of open source software, so it generally suits my ethos: Open Source Super cool software Extensible Makes my life as a developer easier It pretty much ticks all the boxes. What is it? This one is a little harder to answer....

August 11, 2021 · 5 min · codecowboy.io