Ship Serverless Functions to your Docker Swarm with FaaS

Functions as a Service or FaaS (by Alex Ellis) is a really neat way of implementing serverless functions with Docker. You can build out functions in any programming language and then deploy them to your existing Docker Swarm. In this post we'll look at an experimental CLI for making that even easier Below is a quick example of how easy this is to do. How it works This diagram gives an overview of how the FaaS function package, the Docker image, and the faas-cli deploy command fit together. To deploy a function onto a FaaS stack, you firstly must write the function itself. This is really easy and you can do it in any language which runs inside Docker (i. continue...

DockerCon 2017 - highlights & experiences

So, DockerCon! It turns out that building cool stuff gets you places. Back in 2016, I built a Docker Swarm from 5 Raspberry Pis by following Captain Alex Ellis’ tutorial and then went on to create two different visualisations for the swarm to demonstrate real time load balancing. This was picked up by Alex who got in touch soon after with the amazing news that Docker wanted to invite me to DockerCon17 in Austin, TX! I was incredibly excited about the prospect and asked if I would be able to give a talk showing some of the things I’ve done with Docker, so it was to my delight that they agreed. What is DockerCon like? DockerCon is the most continue...

TweetDock at DockerCon

A couple of weeks before DockerCon 2017, Victor Coisne asked me whether I would like to create a demo for the DockerCon museum. Having built a hardware gauge with two dials already, it wasn’t going to be very hard to build another! This time, instead of showing load on a swarm, I hooked the dials up to the Twitter Search API to monitor the usage of #DockerCon on Twitter in real time. This was a really fun and quick project to build as I already knew how to make all the hardware. The code is very simple, in essence what it does is: Connect to the Twitter API & configure the servos Every 5s, query the API for the continue...

How and why I migrated from Wordpress to Ghost

To be honest, it wasn't Wordpress that was the issue. Having all my content spread across the web wasn't really working very well anymore so I decided to take the plunge and migrate fxapi.co.uk to finnian.io/blog. To start with, I thought I'd just move the entire site to it's new home on my server but I ended up changing my mind entirely and started using Ghost. Why? I love how hackable Ghost is - writing custom themes is such a breeze compared to Wordpress. I know PHP and have some experience with WP themes but Ghost's Handlebars API is very very well designed and makes the whole process far easier. Research I did some poking around continue...

My programming story... so far

Early days When I was 12, I was given a Raspberry Pi. For the first couple of days, it was really fun. After I had browsed the web for a while and played a bit of Minecraft, it sat in it's box for a few months. I really had no idea what to do with it. That was until I discovered that I could build a website with it. Wow, that was cool. I installed Apache and spent some time finding out where I needed to put the code. I started off getting to grips with HTML in nano (using inline styling, of course) until I realised I could write CSS in separate files and load them in. That was continue...