问题描述
有谁知道play使用的是哪个web服务器!框架?
Do anyone know which web server is used by play! framework?
我计划使用 Play 制作一个小型 Intranet 应用的原型!我想知道我是否应该使用默认的播放网络服务器或内部使用的 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 应用程序,否则不要这样做.Play 在 Netty 上的表现更好,因为它不需要跳过箍来支持 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 服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!