News for hackers. Stuff that matters.
Re:Snap: A Haskell Web Framework by mightybyte on Sunday May 23, 2010 @12:51AM (#1371823)
Yes, but it's also useful to compare similar levels of effort. Using 4 threads with Snap is a similar level of effort to using thin. Setting up 4 separate processes with passenger requires quite a bit more effort, especially if you haven't done it before.
Re:Snap: A Haskell Web Framework by davidmathers on Sunday May 23, 2010 @05:46AM (#1372076)
You can set up 4 processes with thin, just do:

> thin -e production -s 4 start

The problem is that each process listens on its own port. They can't all listen on port 3000, so you need some sort of proxy to parcel out the requests.