Brandon Lamb

Indie MMORPG Server Software Design

IntroductionMy day job is being a lead software developer engineer, building JVM-based microservices (Kotlin, Micronaut, Kubernetes, Kafka, ScyllaDB). Seeing as how I work professionally with the JVM, when developing a backend server for my small-scale MMO, I prefer to write…

Kotlin coroutines, no-arg, and all-open

My team uses this on every microservice repo we have as a default. This enables all classes having certain annotations to be generated as open, as well as creating a no-arg constructor. You can remove the coroutine line if you…

Upgraded Ghost to 2.2

Someone alerted me that the LetsEncrypt cert had expired over a month ago, hey yay that people actually read any of the few blog posts I've created. Figured I would upgrade Ghost, which wasn't easy as the version I was…

LXD/LXC on LVM Thin Provisioned (thinpool)

Install APT PackagesWe'll need to install some packages if they aren't already, including bridge utils and xfs for filesystem. Ubuntu 16.04 comes with LXD 2.0, with 2.14 being current stable (as of 2017-06-04). We'll add the ppm…

Ubuntu 16.04, LVM, Thin Provisioning (thinpool)

IntroductionI've been working on building out my virtual host servers, and figuring out how to configure them to allow building a Kubernetes (k8s) cluster, as well as using LXD containers for some VMs (instead of xen/kvm). Server statsI'm running…

Creating a CDI Producer for an ElasticSearch Node Client

I recently began diving into ElasticSearch and trying to learn the Java API. While the documentation is actually good, it also doesn't provide a clear big picture. After a few hours on trial and error, I was finally able to…

WildFly Swarm - Basic Setup

Original post was in 2016, migrating to new blogSo I came across WildFly probably a month or two ago, bookmarked as something to come back to. While reading up more on it recently I stumbled upon WildFly Swarm, which seems…

Kotlin - An Introduction

Last Friday (2016-06-24), I happened to come across and actually do some reading on Kotlin. I had heard the name once a week ago or so. It's amazing! Kotlin is a JVM language being actively developed by JetBrains (maker of…

Kotlin Singleton EJBs and CDI

Part of my learning curve in picking up Kotlin over the last three days was figuring out how to get dependency injection working using CDI (Java EE). I tried lateinit field injection but couldn't seem to get it working. package…

Creating a Linux Software Raid with mdadm

At home I have a HP ProLiant G7 N54L MicroServer. I've performed the BIOS update, swapped out the CD-ROM with a trayless swap drive and installed four 500G SATA drives. I did attempt to upgrade to 2.5" SSDs but…

Ubuntu 16.04 LXD Configuration

PackagesThe following are standard packages I use on my host servers. xrdptightvncserver (see https://freevps.us/thread-14110.html on tightvncserver vs vnc4server)xfce4 (desktop environment, or lxde/lxqt)zfsutils-linuxhtopiftopethtooldstatufwxrdp configMy /etc/xrdp/xrdp.ini looks like the following [globals] bitmap_…
<--! Footer JS --> <--! Footer stylesheets --> <--! Supported Languages -->