If you’re using AWS Data Pipelines you probably noticed that the pipelines work better when used incrementally. There are many examples on how to use the pipelines on the AWS Site but the one example I was missing was how to set up an incremental sync between two databases. It turns out that just setting…
7 Ways to save money with AWS
AWS can get very expensive as your company grows and you start using more of it’s features. There are however few easy ways to save money with AWS and make the most of cloud computing. 1. Use correct instance type In cloud it’s easy to resize instances as you need to always start small, and expand…
Reliable services with monit
Monit is a brilliant bit of software that monitors if your services are still up, and can reload them if they die. This definitely helps with first level of support when your servers get a little bit overworked. It can also check that the filesize, checksum and the permissions of the program remained the same….
Upstream PHP-FPM for better performance
PHP–FPM is a mighty beast, but throw too much it’s way and it will crash and burn. If you’re running your application via a PHP socket, consider load balancing the traffic and passing it to multiple PHP processes. Here you can learn how to improve PHP-FPM performance using upstream and nginx. In order to do…
Best Tech Books Summer 2016
I like to share tech books I recently read. Please have a look below for my latest recommendations. If you have any you think I should read please comment below. The Pheonix Project Gene Kim, Kevin Behr, George Spafford The Pheonix Project is one of those books that I always noted down as a “to…
Set Aside One Hour for Personal Development
A while ago I decided to dedicate an hour a day to my personal development time. There’s always been projects I had “in a pipeline” but they never finished, and work was always conveniently “getting in the way.” The aim of on hour experiment is to stop the excuses, and for the personal projects have to…
Web Application Deployment: Webistrano & Capistrano
One of the 12 steps to better code, according to Joel Spolsky’s blog is one-click deployment. I’ve worked in places where the deployment process contained about 20 steps and involved a lot of copy-pasting of the paths and environment variables. It was obviously prone to errors, and very stressful for the developers involved. God forbid…
CentOS Minimal Installation Network Configuration
By default CentOS minimal install does not come with pre-configured network, here’s how to make it work: $ ping google.com ping: unknown host google.com To fix this we’ll need to edit the set up for the ethernet. Let’s start with editing this file: $ vim /etc/sysconfig/network-scripts/ifcfg-eth0 IPADDR=x.x.x.x BOOTPROTO=none NETMASK=255.255.255.0 GATEWAY=y.y.y.y DNS1=y.y.y.y DNS2=y.y.y.y USERCTL=yes HWADDR=’your mac…
Deploying PHP Projects with Webistrano
In my previous article I talked about installing Webistrano. Now, let’s start using it. Most of the applications I write, are PHP based, so all of my examples will be based on that assumption, but you can re-use the ideas mentioned for software written in any other programming language. The setup mentioned below discusses just…
Installing Git on a New Server
I’ve been hearing a lot of good about Git in the last few years, from the simplicity of use, speed to decentralized repositories. I’ve been a happy user of SVN for many years, and I know that it’s got it’s problems, but I suspect so does Git. The time has come to experience them though….