作者:usually111131 | 来源:互联网 | 2023-05-17 02:13
ImbuildingasystemthatmanageshomeHVACandusesaRaspberryPirunningRubyonRails3.2with
I'm building a system that manages home HVAC and uses a Raspberry Pi running Ruby on Rails 3.2 with Ruby 2.0. Nearly all web content is dynamic. Scalability is not important, as it's only used within a home network and by only one or two simultaneous users. What's important is using minimal memory. Reliability is also very important. Fast is good. Does it make sense to just use the default Webrick server in production, or is there value in fronting it with say Apache or Cherokee and/or replacing it with Passenger or Puma or something else?
我正在构建一个管理家用HVAC的系统,并使用运行带有Ruby 2.0的Ruby on Rails 3.2的Raspberry Pi。几乎所有的网络内容都是动态的。可扩展性并不重要,因为它仅在家庭网络中使用,并且仅由一个或两个同时用户使用。重要的是使用最少的内存。可靠性也很重要。速度很快。在生产中使用默认的Webrick服务器是否有意义,或者说使用Apache或Cherokee和/或用Passenger或Puma或其他东西替换它是否有价值?
1 个解决方案