问题
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