It was a miserable failure for us. Your best bet is to run on Linux.
- Has anyone done any benchmarks with it? Is there any reason this
couldn’t be viable for production loads? (feel free to speculate if
When it finally worked, after two weeks of trial and error (and we can’t
reproduce it again) it performs poorly under IIS. It looks good until
you start hitting it with any benchmarks. It really slows down.
- Are there any practical suggestions for laying out an application
(one web site) that is both asp.net and RoR for the regex isapi
(sub-domain them, different paths etc)
Your best bet is to install Apache on Windows, set it to run on a higher
port and use ISAPIRewrite to proxy to that higher port.
Even then, it’s dog slow.
I’m in a Windows shop, so believe me, I know what you’re going through.
The reaility is that Ruby itself does not run well under Windows. It’s
noticeable in the task manager when you run Console or even IRB.
Your best bet is to do what I did:
Learn how to set up Lighttpd on Debian. (Debian is easy and stable,
so your boss will like it)
f. http://brainspl.at/rails_stack.html (Thanks to Ezra for this
Learn how to set up multiple Rails apps on Debian with Lighttpd. I’ve
got config files if you’d like them.
Write your application and keep track of the hours you spend on it.
Install Rails under IIS. Just try to make it work. After a few days
of random frustration, you might get it to run. Run performance tests
against it. It will be slow
Install Apache on Windows, on a higher port. Load your app as a
FastCGI. Performance test it. It will also be slow
6 Test your app on the Linux machine. It will be lots faster.
Show your boss that you can develop much faster with this enviornment,
thus saving money in both development time and turnaround time. Also
write tests so you can show why Rails is better. Additionally, if you
use SubVersion (which will run on Windows) and a Linux production
server, you can use SwitchTower to manage your deployments which is a
Let me know if I can be of any help. It’s unfortunate that there’s not
much love for Windows out there.
Zed S.'s Mongrel now runs under Windows, so you might have some luck
with that but you’ll need to make sure you’re running the latest ruby
(1.8.4) so you can use the services stuff. I have not tested this yet
but I do plan to give it a spin.
Sorry to burst your bubble
Learning & Technology Services
University of Wisconsin-Eau Claire
715 836 3585