Recent Blog Entries

Play Nicely - Celery, RabbitMQ & ELB Idle Timeout

14 Mar 2016 | Tagged with Python, AWS, Celery,

When RabbitMQ and Celery are behind an Elastic Load Balancer, problems occur when ELB sends TCP connections to your EC2 instances. In a normal request/response cycle, the ELB keeps the connection open for a short time afterwards (default is 60 seconds). Known as the 'idle timeout', under certain circumstances, Celery won't be notified that the connection is closed.

Read More

Part 2: Django on AWS Elastic Beanstalk with Docker

20 Dec 2015 | Tagged with Django, Docker, AWS,

So far you've learned some of the fundamentals of deploying a Django site to AWS using a Dockerfile. In this tutorial you're going to learn about the Docker command line by creating your own image from a boilerplate template, pushing your image to a public repository (Docker Hub) and have Beanstalk run your pre-built image as a container on an EC2 instance.

Read More

API Authentication with Taffy

27 Aug 2013 | Tagged with API, Coldfusion,

Recently I have been working with Taffy to create a simply REST API. The API is used by a native mobile application on the iPhone. When it was complete I needed a simply way to authentication the application talking to the API.

Read More