我刚刚完成了一个Rails应用程序,我现在想上传到网上。这是对现有应用程序的重写,我预计每天大约有4000名访问者,有时达到每天10000人次。
我正在考虑三种方法:
- Seems quite easy (even though I haven't gotten it to work yet)
- Also seems expensive, if I need more nodes. How many nodes should I expect to need?
使用VPS Windows服务器的
- I know Windows and it would be fairly easy to install and get it set up
- My friend (who is more of a Rails expert) says that Windows and Rails is not a good match.
- My crashes on my local environment makes me nervous about this option
使用VPS Ubuntu服务器的
- Seems to be the cheapest option (in terms of paying up-front)
- Seems to be the most stable option
- I don't know Ubuntu and I am not too eager to learn a whole new OS to get this set up.
你能帮我指路吗?Windows服务器真的对Rails不利吗?
发布于 2011-10-06 19:51:57
我建议不要使用windows服务器。根据我的经验,主要的ruby实现没有针对windows进行优化--而且运行缓慢。为了最终用户的利益,Linux上的rails堆栈可以提供显著的性能提升(或者同样减少服务器预算)。
使用bundler和rails 3,服务器上的维护工作量应该是最小的。登录,部署,退出。(看看像capistrano这样的工具,让它变得更加简单)。
https://stackoverflow.com/questions/7679581
复制相似问题