Building a Message Queue in Redis

A few months ago a co-worker sent me this blog post to give me a few ideas for a development message queue system that he wanted. We are planning on using Kafka in our production environment, but he wanted something lighter weight (no dependency on zookeeper, etc) so that devs working on our platform could bring up and develop against our message queue library quickly. I borrowed a few ideas from the linked post, but also changed the architecture a bit in order to tailor the system for our needs. This was also a learning exercise in Redis, which is a part of our stack that I wanted to become more familiar with.

Read More

Change port in sbt for Scalatra app

I’ve been diving into the Scala(tra) world as part of a new project at work, and I wanted to share a useful piece of information here that I had trouble finding on the Interwebs. My task involves running two different Scalatra apps that are talking to each other, so of course they need to run on different ports when bringing them up locally. I am using sbt as the build manager for this app, and my build settings are all contained in project/build.scala, but I couldn’t figure out where to put the port information. Alas, after I created a build.sbt file in the root folder for the app and added the port information everything worked out perfectly. The following line in build.sbt will set the container’s port to 3002 when running ./sbt container:start

Read More

Learning and Leveraging Skills in a new Environment

I’ve always been a proponent of learning by experience. The best way to get familiar with something new is to dive right in and try not to hurt yourself. It is for this reason that in my junior year of college, my team in our “weed out” design course (hilarious looking back at that as a weed-out course) chose Java and Eclipse as a platform for development. I didn’t really have any direction at that point in college, but knew that Java was used widely in the software engineering world, so better late than never to learn it.

Read More

Introduction

Hey, everyone! Thanks for stopping by my blog. If you haven’t taken a look at the About Me page, well, then you have no idea what this blog is or who I am. In short, I’m just a software developer looking to share some ideas with anyone willing to listen. I’m going to try and keep this blog active and make sure I share some meaningful information as well as provide a bit of entertainment for anyone who stumbles in here.

Read More