Archive for the ‘Development’ Category

Network in a Box Part 2

Long, long, looong time ago I wrote about setting up a virtual network using XEN virtual machines, with everything running on the same server. In the first part of this post I’ve mostly described my 2-day experience with making this work and now I’m simply going to copy & paste a README file I’ve created [...]

Read the rest of this entry »

Network in a Box

I finally managed to get a new development server that I’ll use to build the ad server engine I was talking about. As you (might) know from my previous post, the system is supposed to run on multiple load-balanced servers. Using this setup I believe scaling won’t be a problem in the future, but I [...]

Read the rest of this entry »

Ad Server: System Design & Architecture

In a recent post I mentioned my next big project is to build an ad server engine. This will basically respond to ad requests and will record stats for served ads (such as impressions, clicks, custom interactions and whatever else you might want to track). This post is about the system’s design, how its different [...]

Read the rest of this entry »

The Importance of Logging

When it comes to testing and validating the code I write, I usually do it right after I write the actual code. As much as possible I try writing very small bits of code (a function or even half a function) and then test immediately. If the input range is fairly limited (for example a [...]

Read the rest of this entry »