English 中文(简体)
主办多个低频铁路/西那特拉应用程序的最佳网络/应用程序服务器
原标题:Best web/app server to host multiple low hit rails/sinatra apps

我需要主办许多简单的铁路/西纳特拉/马德里应用程序,每个应用程序都有不同的红宝石版本,每天点击率低0.0。它们属于不同的所有者,应该相互隔离。

当一个应用程序被击中时,它应该在相当短的时间内作出反应,但我预计同时访问同一网站的几位来访者将是一个罕见的情况。

我要为每个应用程序创建单独的 os 用户。 我当然愿意尽可能多地按服务器设置用户。 因此我需要选择记忆足迹最小的网络服务器,该服务器可以代表不同红宝石版本和宝石版本的不同用户运行应用程序。

我认为Webrick,nginx+passenger,apache+passenger,thin,pache+passenger。 我认为所有选择的可靠性都足以胜任这样的工作,虽然业绩不是一个问题,但记忆消耗却是一个问题。

我发现许多关于业绩问题的文章,但大多数都讨论业绩调试和问题。 我找不到网络服务器闲置时记忆使用率的比较。

"过程"是Webrick的最好选择吗?

我无法想出如何解决子域与使用 Webrick 应用端口的子域。 需要我使用 nginx 或 apache 来解决这个问题吗?

问题回答

我并不很了解自己,但用Webrick来制作不是一个好主意。您也可以查看我在生产过程中看到的马铃薯。 在多数情况下,您可能想在薄与独角兽之间做出选择。 看看这个 < href=>, rel=“nofollow'>或googlear.> 祝你好运:-)

为什么不使用赫洛库呢?它自由了,让你摆脱服务器配置和维护的麻烦。





相关问题
rails collection_select vs. select

collection_select and select Rails helpers: Which one should I use? I can t see a difference in both ways. Both helpers take a collection and generates options tags inside a select tag. Is there a ...

SSL slowness in EC2

We ve deployed our rails app to EC2. In our setup, we have two proxies on small instances behind round-robin DNS. These run nginx load balancers for a dynamically growing and shrinking farm of web ...

Auth-code with A-Za-z0-9 to use in an URL parameter

As part of a web application I need an auth-code to pass as a URL parameter. I am currently using (in Rails) : Digest::SHA1.hexdigest((object_id + rand(255)).to_s) Which provides long strings like : ...

RubyCAS-Client question: Rails

I ve installed RubyCAS-Client version 2.1.0 as a plugin within a rails app. It s working, but I d like to remove the ?ticket= in the url. Is this possible?

activerecord has_many :through find with one sql call

I have a these 3 models: class User < ActiveRecord::Base has_many :permissions, :dependent => :destroy has_many :roles, :through => :permissions end class Permission < ActiveRecord::...

Ordering a hash to xml: Rails

I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml

Text Editor for Ruby-on-Rails

guys which text editor is good for Rubyonrails? i m using Windows and i was using E-Texteditor but its not free n its expired now can anyone plese tell me any free texteditor? n which one is best an ...

How to get SQL queries for each user where env is production

I’m developing an application dedicated to generate statistical reports, I would like that user after saving their stat report they save sql queries too. To do that I wrote the following module: ...

热门标签