Ruby on Rails 的最佳托管(截至 2012 年)

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11436930/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-03 03:40:34  来源:igfitidea点击:

Best hosting for Ruby on Rails (as of 2012)

ruby-on-railshosting

提问by Dan

I was wondering what people think is currently the best host for Ruby on Rails. I found some older posts on here on the subject but I wanted to know what the current agreement is. Shared hosting is ok for now but I would like an option from dedicated hosting later.

我想知道人们认为目前 Ruby on Rails 的最佳主机是什么。我在这里找到了一些关于这个主题的较旧的帖子,但我想知道当前的协议是什么。共享主机现在还可以,但我希望以后可以选择专用主机。

Thanks!

谢谢!

回答by varatis

Even though some will complain, Herokuis still the best in my mind. Super easy to set up, super easy to scale. You can deploy to Heroku in all of 2 minutes. Best of all, it's free with basic usage.

尽管有些人会抱怨,但Heroku仍然是我心目中最好的。超级容易设置,超级容易扩展。您可以在 2 分钟内部署到 Heroku。最重要的是,它是免费的,基本使用。

Another thing I like about Heroku is that it has an unparalleled community using it, which means a lot of support on StackOverflow (https://stackoverflow.com/questions/tagged/heroku).

我喜欢 Heroku 的另一件事是它有一个无与伦比的社区使用它,这意味着对 StackOverflow 的大量支持(https://stackoverflow.com/questions/tagged/heroku)。

If you need to know what ratio of web/worker dynos you'd need, look here: Heroku: web dyno vs. worker dyno? How many/what ratio do I need?

如果您需要知道您需要的网络/工作器 dyno 的比例,请看这里: Heroku:网络 dyno 与工作器 dyno?我需要多少/什么比例?

Although keep this in mind: it will be a whileuntil you need to scale. As 37signals says, deal with scaling when you have that problem.

尽管请记住这一点:您需要扩展之前还需要一段时间。正如 37signals 所说,当你遇到这个问题时处理缩放。



If you're looking for more flexibility, Amazon EC2is always a good option. You pay only for what you use, which is always nice.

如果您正在寻求更大的灵活性,Amazon EC2始终是一个不错的选择。您只需为使用的内容付费,这总是很好。



Linodeis still decent, and fairly cheap too.

Linode还是不错的,而且也相当便宜。

回答by squiter

I think the best choice is AWSor Heroku

我认为最好的选择是AWSHeroku

回答by Yuriy Goldshtrakh

It all depends on what you are building and how you are building it. If you app is pretty straight forward rails app and you are not doing anything special on the system level (lets say working with transcribing video in a way that heroku add-ons would support it) than heroku is probably one of the fastest way to get started an move along. If you are are building something on the system level where you app needs to have access to anything on the system you probably better off going with linode or AWS route, It also depends alot about the level of control/responsibility your are looking for.

这一切都取决于您正在构建什么以及如何构建它。如果您的应用程序是非常直接的 rails 应用程序,并且您没有在系统级别上做任何特别的事情(可以说以 heroku 附加组件支持的方式转录视频),那么 heroku 可能是最快的获取方式之一开始了一起行动。如果您正在系统级别构建某些内容,您的应用程序需要访问系统上的任何内容,您可能最好使用 linode 或 AWS 路由,这也很大程度上取决于您正在寻找的控制/责任级别。

THere is also survey being done right now about this very topic, they havent published the 2012 results but 2009 are available:

现在也正在就这个话题进行调查,他们还没有公布 2012 年的结果,但 2009 年的结果是可用的:

http://rails-hosting.com/Results/SurveySummary.html

http://rails-hosting.com/Results/Sur​​veySummary.html