What is Play framework web server

随声附和 提交于 2020-01-11 17:07:42

问题


Do anyone know which web server is used by play! framework?

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.


回答1:


The internal server is Netty.

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.

My preferred way of deploying Play is attached to a screen session, but "play start" should also do the trick :)




回答2:


Use the play internal server and use apache IIS or whatever is preferred in your company as a reverse proxy.



来源:https://stackoverflow.com/questions/6634715/what-is-play-framework-web-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!