Loadbalancer Musings

So recently I have been thinking about getting a load balancer/service, but worried about it being a single point of failure, as well as a hefty price. So how about a setup where we have multiple frontend webservers which are all setup to be a load balancer for each other?

Something like the following would be configured in DNS:

This would round robin the requests to any of the available frontend web servers.

In the Nginx configuration for each we would then load balance as well (including itself), this would automatically detect if a web server was unavailable and try another:

When I tested this with some VM’s it has worked flawlessly. Any thoughts or further improvements that could be made?

Pebble Watch

image

This Christmas I received my first ever proper wearable device -a Pebble smartwatch. I’ve been wanting one for ages and was chuffed to bits when Nicolas parents got me one.

I chose the Pebble Steel in matt black. So far, after using it a few days its been super useful for getting notifications from the phone, also from apps like swarm and my monitoring apps (New Relic & Pagerduty)

Continue reading

Best Operating System for me.

IMG_0276

Over the years I’ve changed my operating system a lot. Sometimes too regularly. A lot if my day to day work is managing remote servers over SSH or RDP.

OSX

I’ve been using a Mac mini at work now for a little over a year. Its a great spec, (i7, 16GB RAM) and with multiple dual 24″ monitors it’s a system to be reckoned with. It’s got an underling *nix system so I have native access to linux tools, including SSH. With the addition of Homebrew a lot of tools are easily installable too.

Windows

I still lean towards Windows for gaming, mainly on Steam.

FPS is still loads better on my Windows 7 i5 machine.

Debian GNU Linux

I LOVE Debian. It’s always been my server os of choice. If multi monitor support was better and less work, no doubt it would be my main desktop OS. Gaming is getting so much better too.

OS Pros Cons
 OSX  Native *nix stuff. Great Multi monitor support.  Poor graphics support for gaming.
 Windows  Great multi monitor support  No native SSH/linux stuff.
 Debian  Flexibility, performance.  Poor multi monitor support.

It looks like I’m keeping a few different systems a while longer!