问题描述
有人知道游戏使用哪个Web服务器!框架?
Do anyone know which web server is used by play! framework?
我正计划使用Play制作一个小型Intranet应用的原型!而且我想知道是否应该使用默认的播放Web服务器或内部使用的Apache或IIS.
I'm planning to prototype a small intranet app using Play! and I am wondering whether I should use the default play web server or Apache or IIS as used internally.
我无法预测应用程序正在运行的多个实例,也不需要负载平衡.
I don't predict several instances of the application running nor a need for load balancing.
推荐答案
内部服务器是 Netty .
除非您被迫在Servlet容器中部署Play应用程序,否则不要这样做.在Netty上,Play的性能更好,因为它无需跳入箍来支持servlet标准,从而节省了大量的开销.
Unless you are forced to deploy a Play application in a servlet container, don't do it. Play performs better on Netty as it doesn't need to jump through hoops to support the servlet standard, which shaves off quite a bit of overhead.
我首选的Play部署方式附在 screen 会话中,但播放开始"也应该可以解决问题:)
My preferred way of deploying Play is attached to a screen session, but "play start" should also do the trick :)
这篇关于什么是Play框架Web服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!