Older blog entries for bugg (starting at number 1)

Running multiple webservers on a single port (sortof)

Play with any webserver long enough, and you'll realize, they aren't all the same.
On one end, you have light webservers that respond to requests for static content off of a disk, and then send it to the user. thttpd is an extreme example of a webserver like this. Others instead will use apache with hardly any modules installed and, if apache 2.x, a worker MPM can be used that enables each process to serve multiple requests.
Well, that's all fine and dandy, but if you're using PHP or some other language you might find that your web applications aren't thread-safe. Suddenly you have concurrency issues, because you'll have two PHP interpreters running inside of the same process, and this can create enough issues where php recommends against it.
So you equip your apache with mod_php and off you go - but now each request for a small static file bogs down a massive apache process. Which is a bummer, because thttpd or even apache could serve the request with far fewer resources.

read more

Syndicated 2006-12-09 21:16:54 from papasian.org - lifehacking

Ok, so here I am on advogato. And wow, things have been hectic for me lately. First of all, I've got a 15-30 page paper due on Thursday the 12th. Uh-Oh.

As for my other self, the Open-Source developer guy, he's busy working on chessd. It's a pretty neat project; some might say it suffers from second system syndrome - who wants to work on a server without any clients, and who wants to work on a client without an installed userbase?

khazad is working on client support (and the protocol itself) with eboard, and I'm going to learn GTK+ soon and work on a GTK+ client. Really, I am.

Is it just me, or can advogato be pretty unreliable? Perhaps they should switch to, oh I don't know, BSD ;)

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!