* Marc-Andr? Cournoyer (macournoyer / gmail.com) wrote: > * Add cluster support through the -s option in the thin script, start 3 > thins like this: > thin start -s3 -p3000 > 3 thin servers will be started on port 3000, 3001, 3002, also the port > number will be injected in the pid and log filenames. Is it infeasable to support preforking after the listen socket's been opened, so many processes serve off the same port? I've done this for a while now with FastCGI and other Ruby servers. When I questioned Zed about it re mongrel a few years ago he mentioned something about IO streams getting confused, which I've never seen; perhaps OS-specific, on systems where concurrent accept() on a socket isn't supported? Be nice to have a multiprocess server that didn't require a fancy load balancer, at least on "safe" platforms, if possible. -- Thomas 'Freaky' Hurst http://hur.st/