Skip to content
  • Home
  • Archive
  • We’re Hiring!

Grinding Gears

Tales of code crunching from the FreeAgent Engineering team

We're hiring! Check out our vacancies

A day in the life of a Web Analyst

Posted by Lana Turnbull on April 9, 2021

Hi, I’m Lana and I’m a Web Analyst within the Analytics team here at FreeAgent. I primarily look after our Google platform products such as Google Analytics 360, Google Optimize, Google Data Studio and Google Tag Manager. When I tell people my job title, usually the next question I get is ‘So what is it you actually do then?’ To help answer this question, I decided to spend a day… Continue reading

➼ Read other posts about analytics or google analytics or Web Analyst

Shopping for data: How thinking about supermarkets might help you to manage your Looker implementation

Posted by Rob Brown on March 26, 2021

This blog makes a comparison between a well run supermarket and a well designed Looker implementation. Continue reading

➼ Read other posts about data or looker

Timecop vs Rails TimeHelpers

Posted by Matt Bearman on March 25, 2021

TL;DR - You probably can’t replace Timecop with Rails' built in TimeHelpers, as TimeHelpers only recreates Timecop’s freeze method, and can’t handle nested travelling. Timecop is the go-to gem for testing time-dependent code, as it allows you to manipulate the current time during test runs. This is important because without control over the time, flakey tests can emerge in your codebase. A very simple example is testing the created_at attribute… Continue reading

➼ Read other posts about ruby or ruby on rails or testing or timecop

We're hiring! Check out our vacancies 👈

We’re Gonna Need a Bigger Boat

Posted by Richard Grey on March 9, 2021

Earlier this year, the FreeAgent marketing website www.freeagent.com was the target of a volumetric Distributed Denial of Service (DDoS) HTTP flood attack. This was a relatively unsophisticated attack in that it targeted a particular static endpoint of our website with a massive number of HTTP GET requests from multiple remote IP addresses around the globe, as visualised on the map below. Predominantly serving the UK small business base, FreeAgent wouldn’t… Continue reading

➼ Read other posts about security

Exciting Python code on screen

Managing Python dependencies across multiple Data Science projects with Poetry

Posted by David Edwards on March 5, 2021

Python is the programming language of choice for running analysis, building models and running machine learning services in production for the Data Science team at FreeAgent. A key reason we chose Python is the great ecosystem of packages available: NumPy, pandas, SciPy and scikit-learn, deep learning frameworks like TensorFlow and more bespoke options for specific tasks like Click for developing CLIs. This wealth of options is a great strength of… Continue reading

➼ Read other posts about data science or python

Unpacking Amazon ECS

Posted by Paul Barber on February 22, 2021

The following post is a high-level description of Amazon Web Services’ Elastic Container Service (ECS), the relationship between its components, and how they can be used to deploy a web application. ECS is a fully managed container service. It is akin to Kubernetes, but ultimately it is simpler and has fewer moving parts. ECS offers the security, reliability and scalability that is customary with AWS. The Fargate engine provides a… Continue reading

➼ Read other posts about AWS or cloud or containers or ECS or fargate

The Mobile Apps and the Tester

Posted by Jessica Yong on January 19, 2021

The replatforming of our hybrid mobile app to separate iOS and Android native apps was already well under way when I arrived at FreeAgent as a test engineer for the mobile team. Since then we have carved out processes that the whole team can contribute to, giving us confidence that for each release our apps are in good shape. Here are a few things we are doing to ensure this.… Continue reading

➼ Read other posts about mobile or testing

Six years of data science and analytics interns at FreeAgent

Posted by Dave Evans on January 7, 2021

It’s hard to believe we’ve been running internships in our data teams for six years now, and we’re about to start recruitment for the seventh time. Things have changed a little since our first intern started, as last year saw more than four times as many staff in the wider team and our first remote internship during the coronavirus pandemic. I’ve always tended to think of our internships as a… Continue reading

➼ Read other posts about analytics or data science or internship

Dog working at a computer

Testing Child Processes in Ruby

Posted by Andy Stabler on January 6, 2021

I was recently writing a piece of code that we wanted to act as a supervisor of child processes. We wanted to ask this supervisor the following “Hello there, would you mind running this task in a child process? Thanks!”. From here the supervisor would create a process, keep track of it so we can stop it if necessary, and run the given piece of code in it. This supervisor… Continue reading

➼ Read other posts about process management or ruby or testing

Moving 100,000 customers from co-lo data centres to the cloud. With zero downtime.

Posted by Olly Headey on December 21, 2020

Running a SaaS app in AWS in 2020 is, in itself, not a particularly remarkable thing. Migrating a complex Rails app that is used daily by over 100,000 customers to an entirely different infrastructure, introducing a new underlying architecture, and doing so without customer downtime, really is something special.  In this article we take a look behind the curtain to see how we achieved this recently at FreeAgent. It's almost… Continue reading

Posts navigation

« Older posts

We're totally hiring!

See our current engineering vacancies

Built with ❤️ by the FreeAgent team.