Phillip Pearson - web + electronics notes

tech notes and web hackery from a new zealander who was vaguely useful on the web back in 2002 (see: python community server, the blogging ecosystem, the new zealand coffee review, the internet topic exchange).

2008-7-19

Phusion Passenger up and running locally

Seems to be working all right. One nice touch: it runs Rails apps as the user who owns them. So it should work very nicely on shared hosting, which often suffers from the problem that making everything visible to the web server also means everyone can read everyone else's database passwords.

I wonder if it's possible to configure it to run in pure-forking mode, i.e. so that Apache+Passenger starts up and boots a copy of each Rails app, then on each request, it forks a child process, which processes the request then exits. It's uncommon for servers to run that way as it kills performance, but it's great for memory usage, so should work much better on memory-limited servers (like my old dedicated box and Slicehost VPS, with 256M each), especially if you want to run several Rails apps (which I'd of course like to do).

... more like this: []

Bugs

Heh. In early 2006 I registered 64bugs.com, just in case I was ever going to spend any time taking the piss out of Web 2.0. Was amused to see today that there is a serious bug tracker app on 16bugs.com.