Django Gotchas Part 3 - Windows Services

Continuing with my series of Django Gotchas in this post I will speak about something I haven’t seen anywhere else: Django as a Windows Service (yuck!).

Continue Reading »

Very simple benchmarking

I’ve used CouchDB for a project at work and now I’m just seeing opportunities for using it everywhere. At the moment I’m just starting out a new project (more on that later) and I think CouchDB just fits the bill (lots of reads, high availability, etc.) So, how about I benchmark CouchDB first and see what we can make out of it?

Much along the lines of Chris’ post on benchmarking CouchDB I decided to have a jab at it.

DISCLAIMER 1: I’m still very new to CouchDB, there’s no guarantees that my setup is right, that mi views are right or that I benchmarked the whole thing properly. You’ve been warned.
DISCLAIMER 2: I really like CouchDB so you will see a couple of “wow”, “awesome” and “yeah!” all throughout this article. Don’t expect me to be unbiased.

Continue Reading »

Erlang: another step forward

Some time ago I posted here that I was trying to learn Erlang. My first encounter with the language had been quite a number of years back and thanks to a dear friend who was my teacher at the time and I must admit it hadn’t been the happiest of all my encounters.

It seems to be that the new trend is all about map/reduce, cloud computing and RoR. Well, fine, we can drop the last one. But still, all the hype seems to be about fault tolerance, high availability, replication, speed, massive number crunching and data processing (feel free to thrown in a few extra buzz words/concepts). So why not jump in and see what this is all about. Enters Erlang.

Much like with spoken languages a programming language is only worth learning if it teaches you how to think, and therefore code, differently. I will work one example in the remainder of this post (I promise I will write a second post with a second and more interesting example) in two languages: Python and Erlang. The two languages are going to be focused on text processing so I expect one of the two to end up looking like the most approriate for both tasks yet I also expect a few surprises to creep up along the road.

Continue Reading »