Blog Posts

  • Permissions with OSX in Docker

    I’ve been flailing around with being able to do something that should be relatively trivial: mount a folder in a MySQL container in Docker. If nothing else, this is necessary for persisting a local database so that it doesn’t get deleted when you remove the container. As it turns out, this is harder than it […]

    Read the full post
  • Fun with envconsul and background processes

    We’re using the excellent (Ruby) Sneakers library for running background processes, and Consul and envconsul for handling environment variables. Turns out that getting all of this to work, along with a service to keep the processes up, is harder than it seems.

    Read the full post
  • RabbitMQ, AWS ELB, and you

    I’ve set up a RabbitMQ cluster (well, just one node for now) and put an AWS Elastic Load Balancer in front of it to handle traffic in case I need to add more nodes and deal with increased traffic. Unfortunately, ELB can’t really handle serving RabbitMQ traffic without causing all sorts of strange issues.

    Read the full post
  • Serve dynamic SSL certificates in Nginx

    So I’ve been working on a way to serve dynamic SSL certificates from Nginx. The use case here is that you have a certain number of websites that you want to serve¬†over HTTPS from the same servers, but you don’t want to have to update your Nginx config every time you have a new addition. […]

    Read the full post
  • MRI, Rubinius, or JRuby?

    I’ve been messing around with Ruby runtimes for the past few days in an attempt to find a way to do true mulithreaded processing. I did some quick tests of the three big ones: MRI, Rubinius 2.5, and the preview of JRuby.

    Read the full post